Hello, Philip,

            Please find the attached file. In this file, there are
three "drill_fluid_additive" instances whose names begin with "SAFE".
All classes and properties have been defined in protont,owl properly
(and with a rdfs:label attribute for each class, in particular,
drill_fluid_additive is defined as a subclass of protont#material
which is a subclass of protont#object), and declared visible. After
importing this file by toolRDFImport.cmd, I have the following
problem:

          1. query: query instances for all "drill_fluid_additive",
all instances are retrieved; query instances for all
"drill_fluid_additive" starting with "SAFE", no result is returned.
The same problem occurs when I use these triples (either in RDF or in
N-Triple format) as a separate knowledge base that loaded by Sesame,
instead of importing triples by toolRDFImport.

         2. In Protege, I define a restriction "producedBy" for
drill_fluid_additive, linking the entity to its manufacturers, but in
WebGUI, after selecting X as an entity of "drill_fluid_additive", I
cannot select property "producedBy" in the drag-down box below it. But
for other three properties (e.g., primaryFunction, etc.) I can. I am
wondering why.

        3. The manufacturer locates in Houston, TX. How can I relate
the "Houston" in this newly imported RDF to the city "Houston" defined
in KIM wkb.nt? Because I want to take advantage of the underlying
geographic information in KIM.

Thank you so much for your help!

Fangkai

On Tue, Jun 22, 2010 at 2:26 AM, Philip Alexiev <[email protected]> wrote:
> No , the entity having a label should be sufficient:
>
> <entityURI> <rdfs:label> "label" .
>
>
> On 06/22/2010 01:45 AM, Yang Fangkai wrote:
>>
>>           Currently I am out of my office, so I will send you the rdf
>> file tomorrow. Do you think I must declare each label of the entity as
>> a "string" datatype before using the string-matching query mode such
>> as "startwith"?
>>
>
>
<rdf:RDF
    xmlns:wkb="http://www.ontotext.com/kim/2006/05/wkb#";
    xmlns:rdf123="http://rdf123.umbc.edu/ns/";
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";
    xmlns:protont="http://proton.semanticweb.org/2006/05/protont#";
    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";
    xmlns:protons="http://proton.semanticweb.org/2006/05/protons#"; >
  <rdf:Description rdf:about="http://www.ontotext.com/kim/2006/05/wkb#Drill_Fluid_Additive_Function.T.NULL";>
    <protons:generatedBy rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#DrillFluidAdditiveFunctionModelList"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>NULL</rdfs:label>
    <rdf:type rdf:resource="http://proton.semanticweb.org/2006/05/protont#Drill_Fluid_Additive_Function"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.ontotext.com/kim/2006/05/wkb#COModelList";>
    <rdf:type rdf:resource="http://proton.semanticweb.org/2006/05/protons#Trusted"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.ontotext.com/kim/2006/05/wkb#CommercialOrganization.T.M-I Drilling Fluids L.L.C..">
    <protont:locatedIn rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#Location.T.Houston"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>M-I Drilling Fluids L.L.C..</rdfs:label>
    <rdf:type>protonu:CommercialOrganization</rdf:type>
    <protons:generatedBy rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#COModelList"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.ontotext.com/kim/2006/05/wkb#LOCModelList";>
    <rdf:type rdf:resource="http://proton.semanticweb.org/2006/05/protons#Trusted"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.ontotext.com/kim/2006/05/wkb#Drill_Fluid_Additive.T.1.1";>
    <protont:secondsecondaryFunction rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#Drill_Fluid_Additive_Function.T.NULL"/>
    <protons:generatedBy rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#DrillFluidAdditiveModelList"/>
    <protont:primaryFunction rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#Drill_Fluid_Additive_Function.T.Viscosifiers"/>
    <protont:producedBy rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#CommercialOrganization.T.M-I Drilling Fluids L.L.C.."/>
    <rdf:type rdf:resource="http://proton.semanticweb.org/2006/05/protont#Drill_Fluid_Additive"/>
    <protont:firstsecondaryFunction rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#Drill_Fluid_Additive_Function.T.Filtration reducers"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>SAFE-VIS E</rdfs:label>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.ontotext.com/kim/2006/05/wkb#Drill_Fluid_Additive_Function.T.Filtration reducers">
    <protons:generatedBy rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#DrillFluidAdditiveFunctionModelList"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>Filtration reducers</rdfs:label>
    <rdf:type rdf:resource="http://proton.semanticweb.org/2006/05/protont#Drill_Fluid_Additive_Function"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.ontotext.com/kim/2006/05/wkb#DrillFluidAdditiveModelList";>
    <rdf:type rdf:resource="http://proton.semanticweb.org/2006/05/protons#Trusted"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.ontotext.com/kim/2006/05/wkb#Drill_Fluid_Additive_Function.T.Viscosifiers";>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>Viscosifiers</rdfs:label>
    <rdf:type rdf:resource="http://proton.semanticweb.org/2006/05/protont#Drill_Fluid_Additive_Function"/>
    <protons:generatedBy rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#DrillFluidAdditiveFunctionModelList"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.ontotext.com/kim/2006/05/wkb#Drill_Fluid_Additive.T.1.2";>
    <protont:secondsecondaryFunction rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#Drill_Fluid_Additive_Function.T.NULL"/>
    <protons:generatedBy rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#DrillFluidAdditiveModelList"/>
    <protont:primaryFunction rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#Drill_Fluid_Additive_Function.T.Viscosifiers"/>
    <protont:producedBy rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#CommercialOrganization.T.M-I Drilling Fluids L.L.C.."/>
    <rdf:type rdf:resource="http://proton.semanticweb.org/2006/05/protont#Drill_Fluid_Additive"/>
    <protont:firstsecondaryFunction rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#Drill_Fluid_Additive_Function.T.Filtration reducers"/>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>SAFE-VIS HDE</rdfs:label>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.ontotext.com/kim/2006/05/wkb#Location.T.Houston";>
    <rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string";>Houston</rdfs:label>
    <rdf:type rdf:resource="http://proton.semanticweb.org/2006/05/protont#Location"/>
    <protons:generatedBy rdf:resource="http://www.ontotext.com/kim/2006/05/wkb#LOCModelList"/>
  </rdf:Description>
  <rdf:Description rdf:about="http://www.ontotext.com/kim/2006/05/wkb#DrillFluidAdditiveFunctionModelList";>
    <rdf:type rdf:resource="http://proton.semanticweb.org/2006/05/protons#Trusted"/>
  </rdf:Description>
</rdf:RDF>
_______________________________________________
Kim-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion

Reply via email to