Hi Zahoor,

>
>   wine:PotableLiquid| d=entityhub:ref
>
>     wine:Region| d=entityhub:ref
>
>     wine:Vintage| d=entityhub:ref
>
>     wine:VintageYear| d=entityhub:ref
>
>     wine:WineDescrption| d=entityhub:ref
>
>     wine:Winery| d=entityhub:ref
>

in the mapping.txt you need to map properties not types.

> I have downloaded an ontology from <http://www.w3.org/TR/owl-guide/wine.rdf>
> <%3chttp:/www.w3.org/TR/owl-guide/wine.rdf%3e> based on this ontology i
> have created an index

The wine.rdf only contains the following labels

<rdfs:label>Wine Ontology</rdfs:label>
<rdfs:label xml:lang="en">wine</rdfs:label>
<rdfs:label xml:lang="fr">vin</rdfs:label>

Their are no other labels in the whole Ontology. Looks like they do
use the local-name of the URIs for "naming" and those can not be used
by Stanbol.

To summarize:

* The Wine ontology can not be used for Entity Linking as it seams not
to define any labels (local names of URIs do not count)
* If you can only extract "wine" it is the expected result given the
labels present in the Ontology. You should also be able to extract
"Wine Ontology" if mentioned in the text. Meaning that linking seams
to work as expected.

best
Rupert

-- 
| Rupert Westenthaler             [email protected]
| Bodenlehenstraße 11                              ++43-699-11108907
| A-5500 Bischofshofen
| REDLINK.CO 
..........................................................................
| http://redlink.co/

Reply via email to