Search Mailing List Archives
[protege-owl] How to detect undefined references in rdf:resource
bunsz at gmx.de
Mon Jan 25 05:39:11 PST 2010
Thank you again Thomas,
I am able to reproduce this, and now I really would like this
"protege:ExternalResource" class to be used within SQWRL rules in order
to collect all individuals of this type. Unfortunately this rule
"protege:ExternalResource(?e) ? sqwrl:select(?e)" seems to be
syntactically wrong ("Error: Invalid atom name
'protege:ExternalResource'.) For SQWRL this class doesn't seem to be
visible. Do you know why? And can this state be changed somehow?
Am 22.01.2010 22:17, schrieb Thomas Russ:
> On Jan 20, 2010, at 2:56 PM, Buns wrote:
>> Thank you, Thomas,
>> but how do I make UntypedResource a visible Class? Do I have to
>> define it explicitly?
> Actually, it seems to appear in the Protege 3.4.2 automatically
> whenever it is needed.
> The real name is "protege:ExternalResource".
> Attached is a screen shot from my editor showing this for a simple
> test ontology defined as:
> <owl:ObjectProperty rdf:ID="P"/>
> <owl:Thing rdf:ID="i">
> <P rdf:resource="#unknown"/>
> where there is one otherwise undefined RDF resource named "unknown".
>> The background is, I generate an ontology out of an XML-file using
>> XSLT in order to use it for verification purposes and for detecting
>> kind of inconsistencies. In this context ... can this UntypedResource
>> class be used as a dump, where all references to undefined resources
>> can be collected?
> Well, I would think that when you load the OWL file into Protege any
> such external resources would be collected under this class.
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the protege-owl