On 11/22/10 10:48 AM, Bob DuCharme wrote: > I thought that maybe this would work, but it didn't, and I'm curious > why. (Nat King Cole still shows up, and > http://dbpedia.org/page/Nat_King_Cole shows that there is a triple > saying that he's a dbpedia-owl:Person.) > SELECT distinct ?x > WHERE { > ?x rdfs:label ?lbl . > filter(bif:contains(?lbl, "Cole")). > ?x a ?xClass . > FILTER (?xClass != dbpedia-owl:Person) . }
I'm not a SPARQL expert, but I assume it works for '?x a dbpedia-owl:Artist' and any of the other 14 things Nat_King_Cole is other than a dbpedia-owl:Person. ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
