[rdfweb-dev] foaf rdql query question
french at SIMS.Berkeley.EDU
Thu Feb 26 21:17:46 UTC 2004
i'm trying in vain to understand rdql and maybe if i see an example or
two that i can apply directly to my own work, it will start to make
sense. i have a foaf file that's available here:
i'm trying to write a java class called FOAFPerson whose constructor
sucks in a FOAF file, and populates the private fields based on rdql
queries. the first query i want to do is to get the <foaf:name/> of the
owner of the foaf file, in this case, Bill French. secondly, i want to
get back a list of all the <foaf:name/>s that i <foaf:knows/>.
SELECT ?x, ?name FROM
<http://www.sims.berkeley.edu/~french/foaf/bill-french.rdf> WHERE (?x
x | name
<fb53f6:faf3a7d582:-8000> | "Bill French"
<fb53f6:faf3a7d582:-7fff> | "Bob"
<fb53f6:faf3a7d582:-7ffe> | "Parker"
thanks very much in advance,
More information about the foaf-dev