[Kim-discussion] insert new instances into KIM
Yang Fangkai
wolfgang.yang at gmail.com
Tue Jun 22 09:27:40 EDT 2010
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 <philip.alexiev at sirma.bg> 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"?
>>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.rdf
Type: text/xml
Size: 5437 bytes
Desc: not available
URL: <http://ontotext.com/pipermail/kim-discussion/attachments/20100622/36a55077/attachment-0001.xml>
More information about the Kim-discussion
mailing list