Hi  Rupert,
Thanks a lot for your response.

Have attached the simple ontology which I have used for this project at end of 
the mail.


The base for this Ontology is 
http://www.owl-ontologies.com/InsuranceOntology.owl

Based on your inputs made the changes.

When  I type a sentence like " Rama was born on 23/07/2000 and lived in Delhi" 
,  I expect to see following  :
Rama will be recognized as a Person
23/07/2000  will be recognized  as Person:dob.   ( Date of Birth of Rama )
Delhi will be recognized as Person:city  ( City of Rama)

However the only entity which I get is the language  en.
Have attached the JSONopt.txt holding the JSON output at end of mail.

Is my expectation of expected output correct?

Based on your suggestions below have created the following properties :  
Attached screen shot of all key configuration parameters.
In Entity hub linking have done following :
Added below under Type mappings
http://www.owl-ontologies.com/InsuranceOntology.owl/person > dbp-ont:Person

Under fields used for de-referencing added
http://www.owl-ontologies.com/InsuranceOntology.owl/person/name
http://www.owl-ontologies.com/InsuranceOntology.owl/person/dob
http://www.owl-ontologies.com/InsuranceOntology.owl/person/city


( Have also tried with the variation -  
http://www.owl-ontologies.com/InsuranceOntology.owl/name  with no change in 
results )

Not clear what should go under type field and have left it as rdf:type.

In Managed Site have made following changes

Add  this http://www.owl-ontologies.com/InsuranceOntology.owl/  in Entity Prefix

In Field mappings added below :
http://www.owl-ontologies.com/InsuranceOntology.owl/person/name > rdfs:label


Not clear of below question ?

What property, does your Entity use for the Name? By default the

EntityhubLinkingEngine uses "rdfs:label" for linking. If you use a

different property in your ontology you will need to adapt the

configuration of the "Label Field" for your EntityLinkingEngine



In Ontology the properties are 
http://www.owl-ontologies.com/InsuranceOntology.owl/Person is the class

http://www.owl-ontologies.com/InsuranceOntology.owl/city, 
http://www.owl-ontologies.com/InsuranceOntology.owl/  name, etc

are properties of the Person class.
If the above is on Ontology will adding the below in the field mappings of 
Managed site be sufficient or something more needs to be done.
http://www.owl-ontologies.com/InsuranceOntology.owl/person/name > rdfs:label


Going further the ontology will be expanded with specific concepts like 
company, their products and their properties.

Idea is to be able to retrieve all instances of customer, products and their 
properties from different unstructured data.
Can this approach be expanded to support this scenario?


Thanks and Rgds,
Arthi

Ontology  with instances.
<?xml version="1.0"?>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
    xmlns:protege="http://protege.stanford.edu/plugins/owl/protege#";
    xmlns:xsp="http://www.owl-ontologies.com/2005/08/07/xsp.owl#";
    xmlns:owl="http://www.w3.org/2002/07/owl#";
    xmlns:xsd="http://www.w3.org/2001/XMLSchema#";
    xmlns:swrl="http://www.w3.org/2003/11/swrl#";
    xmlns:swrlb="http://www.w3.org/2003/11/swrlb#";
    xmlns="http://www.owl-ontologies.com/InsuranceOntology.owl#";
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";
  xml:base="http://www.owl-ontologies.com/InsuranceOntology.owl"; >
  <rdf:Description rdf:about="#policyId">
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <rdfs:domain rdf:resource="#Policy"/>
  </rdf:Description>
  <rdf:Description rdf:about="#Name">
    <rdfs:domain rdf:resource="#Person"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
  </rdf:Description>
  <rdf:Description rdf:about="#isBeneficiary">
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
    <rdfs:range rdf:resource="#Policy"/>
    <rdfs:domain rdf:resource="#Person"/>
  </rdf:Description>
  <rdf:Description rdf:about="#Premium">
    <rdfs:domain rdf:resource="#Policy"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#float"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
  </rdf:Description>
  <rdf:Description rdf:about="#customerId">
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <rdfs:domain rdf:resource="#Person"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
  </rdf:Description>
  <rdf:Description rdf:about="#Policy_2">
    <Premium 
rdf:datatype="http://www.w3.org/2001/XMLSchema#float";>1250.0</Premium>
    <policyId rdf:datatype="http://www.w3.org/2001/XMLSchema#string";></policyId>
    <rdf:type rdf:resource="#Policy"/>
  </rdf:Description>
  <rdf:Description rdf:about="#dob">
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#date"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
    <rdfs:domain rdf:resource="#Person"/>
  </rdf:Description>
  <rdf:Description rdf:about="#Rama">
    <NinoNumber 
rdf:datatype="http://www.w3.org/2001/XMLSchema#int";>0</NinoNumber>
    <rdf:type rdf:resource="#Person"/>
    <owns rdf:resource="#Policy_2"/>
    <dob rdf:datatype="http://www.w3.org/2001/XMLSchema#date";>2000-07-11</dob>
    <city rdf:datatype="http://www.w3.org/2001/XMLSchema#string";></city>
    <Name rdf:datatype="http://www.w3.org/2001/XMLSchema#string";></Name>
    <customerId 
rdf:datatype="http://www.w3.org/2001/XMLSchema#string";></customerId>
  </rdf:Description>
  <rdf:Description rdf:about="#city">
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
    <rdfs:domain rdf:resource="#Person"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
  </rdf:Description>
  <rdf:Description rdf:about="#Person">
    <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
  </rdf:Description>
  <rdf:Description rdf:about="#owns">
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
    <rdfs:range rdf:resource="#Policy"/>
    <rdfs:domain rdf:resource="#Person"/>
  </rdf:Description>
  <rdf:Description rdf:about="#Policy">
    <rdf:type rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
  </rdf:Description>
  <rdf:Description rdf:about="#NinoNumber">
    <rdfs:domain rdf:resource="#Person"/>
    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#int"/>
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
  </rdf:Description>
  <rdf:Description rdf:about="#Policy_7">
    <rdfs:label rdf:resource="#Policy_2"/>
    <rdf:type rdf:resource="#Policy"/>
    <Premium 
rdf:datatype="http://www.w3.org/2001/XMLSchema#float";>2500.0</Premium>
    <policyId rdf:datatype="http://www.w3.org/2001/XMLSchema#string";></policyId>
  </rdf:Description>
  <rdf:Description rdf:about="">
    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Ontology"/>
  </rdf:Description>
</rdf:RDF>

<!-- Created with Protege (with OWL Plugin 3.4.8, Build 629)  
http://protege.stanford.edu -->



Json output.
{
  "@context": {
    "confidence": {
      "@id": "http://fise.iks-project.eu/ontology/confidence";,
      "@type": "http://www.w3.org/2001/XMLSchema#double";
    },
    "created": {
      "@id": "http://purl.org/dc/terms/created";,
      "@type": "http://www.w3.org/2001/XMLSchema#dateTime";
    },
    "creator": {
      "@id": "http://purl.org/dc/terms/creator";,
      "@type": "http://www.w3.org/2001/XMLSchema#string";
    },
    "Enhancement": "http://fise.iks-project.eu/ontology/Enhancement";,
    "extracted-from": {
      "@id": "http://fise.iks-project.eu/ontology/extracted-from";,
      "@type": "@id"
    },
    "language": "http://purl.org/dc/terms/language";,
    "LinguisticSystem": "http://purl.org/dc/terms/LinguisticSystem";,
    "TextAnnotation": "http://fise.iks-project.eu/ontology/TextAnnotation";,
    "type": {
      "@id": "http://purl.org/dc/terms/type";,
      "@type": "@id"
    },
    "xsd": "http://www.w3.org/2001/XMLSchema#";
  },
  "@id": "urn:enhancement-31a0f9a3-06fa-0763-51a8-ec03c3697b46",
  "@type": [
    "Enhancement",
    "TextAnnotation"
  ],
  "confidence": 0.99999565,
  "created": "2013-07-11T07:19:57.628Z",
  "creator": 
"org.apache.stanbol.enhancer.engines.langdetect.LanguageDetectionEnhancementEngine",
  "extracted-from": 
"urn:content-item-sha1-2614326980d0a395a026c1947f69f7d511f69c31",
  "language": "en",
  "type": "LinguisticSystem"
}

Thanks and Rgds
Arthi



Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

Reply via email to