Jeff,

I don't know but it seems to work fine for me. I have tried it on the  
KennedySPIN ontology that comes as part of the beta. Then, when I run

SELECT ?frConstraint
WHERE {
    kennedys:Person spin:constraint ?frConstraint .
}

I correctly get two constraints, even though they are blank nodes.

It may be something specific with your ontology...

Holger


On Jan 7, 2009, at 11:01 AM, Schmitz, Jeffrey A wrote:

>
> Funny, but this doesn't work either (I get no results):
>
> SELECT ?prop ?frConstraint
> WHERE {
>    Neutral:FailureRate ?prop ?frConstraint .
>    FILTER (?prop = spin:constraint)
> }
>
>
> -----Original Message-----
> From: Schmitz, Jeffrey A
> Sent: Wednesday, January 07, 2009 12:54 PM
> To: [email protected]
> Subject: [tbc-users] SPARQL Query on spin:constraint weirdness
>
>
> Using TBC 3.0 beta, I have a class (Neutral:FailureRate) that I've
> attached a spin:constraint to.  When I try to query for the constraint
> from the SPARQL tab with:
>
> SELECT ?frConstraint
> WHERE {
>    Neutral:FailureRate spin:constraint ?frConstraint .
> }
>
> I get no result.  However, when I use:
>
> SELECT ?prop ?frConstraint
> WHERE {
>    Neutral:FailureRate ?prop ?frConstraint .
>    ?frConstraint a sp:Ask
> }
>
> I get a result, with ?prop being assigned "spin:constraint".  I don't
> understand why the first query doesn't return the constraint.  Any
> ideas?  Does it have to do with the Ask query being an anonymous mode?
>
> Thanks
> Jeff
>
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to