Created
October 18, 2010 06:26
-
-
Save dajobe/631814 to your computer and use it in GitHub Desktop.
sparql protocol
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ utils/roqet -r table -p http://triplr.org/sparql 'PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?nick, ?name FROM <http://www.dajobe.org/foaf.rdf> WHERE { ?x a foaf:Person . ?x foaf:nick ?nick . ?x foaf:name ?name } ' 2>/dev/null | |
---------------------------------------------------- | |
| nick | name | | |
==================================================== | |
| string("danbri") | string("Dan Brickley") | | |
| string("libby") | string("Libby Miller") | | |
| string("sbp") | string("Sean B. Palmer") | | |
| string("ndw") | string("Norm Walsh") | | |
| string("mortenf") | string("Morten Frederiksen") | | |
| string("zool") | string("Jo Walsh") | | |
| string("shellac") | string("Damian Steer") | | |
| string("DanC") | string("Dan Connolly") | | |
| string("jang") | string("Jan Grant") | | |
| string("em") | string("Eric Miller") | | |
| string("emiller") | string("Eric Miller") | | |
---------------------------------------------------- | |
$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment