Great! Thanks.
Dave P
Dave P
On Apr 27, 2012, at 12:17 PM, Andy Seaborne <[email protected]> wrote:
On 27/04/12 16:16, DAVID PATTERSON wrote:
> If I make an error in building a set of data in a ttl file and have
>
> :xa:Something ;
> …
>
> Where “Something” is not defined elsewhere in the data, is there an easy
> way to find it?
>
> I guess I could get a list of all resources and see if they were only
> subclasses of rdf:Resource and use that to make the decision, but is
> there an easier way?
>
> Thanks.
>
>
> Dave Patterson
Maybe:
SELECT *
{
?x a ?something
FILTER NOT EXISTS { ?something ?p ?o }
}
would return ?x where somehtign is not used as a subject.
Andy
>
>
