hm, not sure if this is relevent,
but my subProperty, sxml:text
has
domain sxml:TextNode
range xsd:string
whereas rdfs:label has
domain: rdfs:Resource
range : rdfs:Literal
could those values be conflicting with eachother in any way?
I wouldn't think so, based on my understanding of what domain and
range do,
but I'm having trouble locating what else could be going on.
also, my main ontology file has a lot of imports; the definitions of
rdfs:label and sxml:text, as well as the various instances are in
different places. that's another difference between my case and the
example.
On Oct 23, 10:43 am, donundeen <[EMAIL PROTECTED]> wrote:
> yes, your example works.
> will have to figure out what I'm doing wrong with my ontology.
>
> On Oct 22, 10:44 pm, Scott Henninger <[EMAIL PROTECTED]>
> wrote:
>
> > Don; I'm not sure what is happening in your case, but subPropertyOf works
> > as you outline. I've attached a min-ontology to demonstrate this. Run the
> > following query with and without inferencing and you will see that turning
> > on inferences invokes the subPropertyOf relationship.
> > SELECT ?lbl
> > WHERE {
> > ?thing a :Thing_1 .
> > ?thing rdfs:label ?lbl .
> > }
> > -- Scott
> > donundeen wrote:Hi, I'm working some queries using subproperties. my
> > understanding is that IF sp subPropertyOf s AND x sp y THEN x s y For
> > example, I've made sxml:text a subproperty of rdfs:label therefore,
> > shouldn't the queries: CONSTRUCT { ?node sxml:text ?found . }WHERE{ ?node
> > sxml:text ?found . } and CONSTRUCT { ?node sxml:text ?found . }WHERE{ ?node
> > sxml:text ?found . ?node rdfs:label ?found . } return the same thing, if
> > inferencing is turned on when you do the query? Right now, I've got my
> > inferencing configured to just do SwiftOWLIM. It seems as though
> > inferencing isnt' doing anything with subProperties. When I run inferencing
> > alone, I also don't see any new properties being added based on
> > subproperties.
>
> > unnamed0.owl
> > 1KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---