Skip to content

Instantly share code, notes, and snippets.

@baskaufs
Created September 8, 2019 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baskaufs/e241196309697c19d5753ef56217a754 to your computer and use it in GitHub Desktop.
Save baskaufs/e241196309697c19d5753ef56217a754 to your computer and use it in GitHub Desktop.
Query Microsoft Academic Graph (http://ma-graph.org/sparql) for papers by Gary Sulikowski
http://ma-graph.org/sparql?default-graph-uri=&query=PREFIX+rdf%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23%3E%0D%0APREFIX+magc%3A+%3Chttp%3A%2F%2Fma-graph.org%2Fclass%2F%3E%0D%0APREFIX+dcterms%3A+%3Chttp%3A%2F%2Fpurl.org%2Fdc%2Fterms%2F%3E%0D%0APREFIX+foaf%3A+%3Chttp%3A%2F%2Fxmlns.com%2Ffoaf%2F0.1%2F%3E%0D%0APREFIX+fabio%3A+%3Chttp%3A%2F%2Fpurl.org%2Fspar%2Ffabio%2F%3E%0D%0APREFIX+prism%3A+%3Chttp%3A%2F%2Fprismstandard.org%2Fnamespaces%2F1.2%2Fbasic%2F%3E%0D%0APREFIX+xsd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema%23%3E%0D%0APREFIX+org%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Forg%23%3E%0D%0APREFIX+datacite%3A+%3Chttp%3A%2F%2Fpurl.org%2Fspar%2Fdatacite%2F%3E%0D%0A%0D%0Aselect+distinct+%3Fname+%3Fdoi+%3Ftitle%0D%0Awhere+%7B%0D%0A%3Fperson+a+%3Chttp%3A%2F%2Fma-graph.org%2Fclass%2FAuthor%3E.%0D%0A%3Fperson+foaf%3Aname+%3Fname.%0D%0A%3Fperson+foaf%3Aname+%22Gary+A.+Sulikowski%22%5E%5Exsd%3Astring.%0D%0A%3Fperson+org%3AmemberOf+%3Forg.%0D%0A%3Forg+foaf%3Aname+%22Vanderbilt+University%22%5E%5Exsd%3Astring.%0D%0A%3Fpaper+dcterms%3Acreator+%3Fperson.%0D%0A%3Fpaper+fabio%3AhasDiscipline+%3Ffield.%0D%0A%3Fpaper+datacite%3Adoi+%3Fdoi.%0D%0A%3Fpaper+dcterms%3Atitle+%3Ftitle.%0D%0A%23%3Ffield+foaf%3Aname+%3FfieldName.%0D%0A%3Ffield+foaf%3Aname+%22Chemistry%22%5E%5Exsd%3Astring.%0D%0A%0D%0A%7D+%0D%0ALIMIT+10&format=text%2Fhtml&timeout=0&debug=on&run=+Run+Query+
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX magc: <http://ma-graph.org/class/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX fabio: <http://purl.org/spar/fabio/>
PREFIX prism: <http://prismstandard.org/namespaces/1.2/basic/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX datacite: <http://purl.org/spar/datacite/>
select distinct ?name ?doi ?title
where {
?person a <http://ma-graph.org/class/Author>.
?person foaf:name ?name.
?person foaf:name "Gary A. Sulikowski"^^xsd:string.
?person org:memberOf ?org.
?org foaf:name "Vanderbilt University"^^xsd:string.
?paper dcterms:creator ?person.
?paper fabio:hasDiscipline ?field.
?paper datacite:doi ?doi.
?paper dcterms:title ?title.
#?field foaf:name ?fieldName.
?field foaf:name "Chemistry"^^xsd:string.
}
LIMIT 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment