Last active
January 30, 2016 16:03
-
-
Save maxlath/53c632031dc6468c7359 to your computer and use it in GitHub Desktop.
Magneto - SPARQL Super villain
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
PREFIX dbp: <http://dbpedia.org/property/> | |
PREFIX ns: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
SELECT ?prop ?value | |
WHERE { | |
<http://dbpedia.org/resource/Magneto_(comics)> ?prop ?value | |
} | |
LIMIT 500 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Query to enter here http://dbpedia.org/sparql
And the same thing with http to get json results (which is just the url you get with "Run query" and adding &format=json)
http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=SELECT+%3Fp+%3Fo%0D%0AWHERE+{%0D%0A+%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FMagneto_%28comics%29%3E+%3Fp+%3Fo%0D%0A}%0D%0ALIMIT+500&format=text%2Fhtml&CXML_redir_for_subjs=121&CXML_redir_for_hrefs=&timeout=30000&debug=on&format=json