RDF Query Issues

ns foaf=<http://xmlns.com/foaf/0.1/>
ns pim=<http://www.w3.org/2000/10/swap/pim/>
ask (
  ?who swap:pim <mailto:eric+talk@w3.org>.
  ?who foaf:firstName ?givenName.
  ?who foaf:surname ?familyName)
collect (?givenName ?familyName)
express query comonents in XML
  • between a lot and too many angle brackets
RDF
  • express the query as an RDF graph
  • leads to reificiation (or misleading assertions)
other (ASCII)
  • SQL-like
  • XPath/XQuery-like
Templating -- express results XML
  • can re-use XQuery syntax (maybe some implementation?)