Created
August 8, 2010 23:04
-
-
Save LeifW/514675 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| XQueryCall.run("""declare namespace mp='http://musicpath.org'; | |
| declare namespace r='http://www.w3.org/2005/sparql-results#'; | |
| mp:sparql('SELECT * WHERE {<http://musicpath.org/people/melissa> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?t }')//r:result[1]""") |
This file contains hidden or 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
| declare namespace foaf = "http://xmlns.com/foaf/0.1/"; | |
| <html> | |
| <head> | |
| </head> | |
| <body> | |
| { for $name | |
| where { <http://musicpath.org/people/melissa> foaf:givenname $name } | |
| return <li>{$name}</li> | |
| } | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment