Thanks Rupert for quick reply :). Will try and explore stanbol with smoother ontologies. -----Original Message----- From: Rupert Westenthaler [mailto:rupert.westentha...@gmail.com] Sent: Monday, February 02, 2015 4:34 PM To: dev@stanbol.apache.org Subject: Re: apache stanbol not recognising custom entities
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 rupert.westentha...@gmail.com | Bodenlehenstraße 11 ++43-699-11108907 | A-5500 Bischofshofen | REDLINK.CO .......................................................................... | http://redlink.co/ This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.