- Last 7 days
-
blog.wolfram.com blog.wolfram.com
-
www.youtube.com www.youtube.com
-
-
lca2022.linux.org.au lca2022.linux.org.au
- May 2023
-
graphdb.ontotext.com graphdb.ontotext.com
-
graphdb.ontotext.com graphdb.ontotext.com
-
For example, when merging four different datasets, you can use the following query on DBpedia to select everything about Sofia:
sparql SELECT * { { <http://dbpedia.org/resource/Sofia> ?p ?o . } UNION { <http://data.nytimes.com/nytimes:N82091399958465550531> ?p ?o . } UNION { <http://sws.geonames.org/727011/> ?p ?o . } UNION { <http://rdf.freebase.com/ns/m/0ftjx> ?p ?o . } }
sparql SELECT * { ?s ?p ?o FILTER (?s IN ( <http://dbpedia.org/resource/Sofia>, <http://data.nytimes.com/nytimes:N82091399958465550531>, <http://sws.geonames.org/727011/>, <http://rdf.freebase.com/ns/m/0ftjx>)) }
-
-
www.w3.org www.w3.org
Tags
Annotators
URL
-
-
www.w3.org www.w3.org
-
4.1 RDF/XML Service Description
```bash
Given the HTTP request:
GET /sparql/ HTTP/1.1 Host: www.example
the SPARQL service responds with an RDF/XML encoded
service description (no content negotiation or RDFa
encoding is used):
HTTP/1.1 200 OK Date: Fri, 09 Oct 2009 17:31:12 GMT Server: Apache/1.3.29 (Unix) PHP/4.3.4 DAV/1.0.3 Connection: close Content-Type: application/rdf+xml
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sd="http://www.w3.org/ns/sparql-service-description#" xmlns:prof="http://www.w3.org/ns/owl-profile/" xmlns:void="http://rdfs.org/ns/void#"> <sd:Service> <sd:endpoint rdf:resource="http://www.example/sparql/"/> <sd:supportedLanguage rdf:resource="http://www.w3.org/ns/sparql-service-description#SPARQL11Query"/> <sd:resultFormat rdf:resource="http://www.w3.org/ns/formats/RDF_XML"/> <sd:resultFormat rdf:resource="http://www.w3.org/ns/formats/Turtle"/> <sd:feature rdf:resource="http://www.w3.org/ns/sparql-service-description#DereferencesURIs"/> <sd:defaultEntailmentRegime rdf:resource="http://www.w3.org/ns/entailment/RDFS"/> <sd:extensionFunction> <sd:Function rdf:about="http://example.org/Distance"/> </sd:extensionFunction> <sd:defaultDataset> <sd:Dataset> <sd:defaultGraph> <sd:Graph> <void:triples rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">100</void:triples> </sd:Graph> </sd:defaultGraph> <sd:namedGraph> <sd:NamedGraph> <sd:name rdf:resource="http://www.example/named-graph"/> <sd:entailmentRegime rdf:resource="http://www.w3.org/ns/entailment/OWL-RDF-Based"/> <sd:supportedEntailmentProfile rdf:resource="http://www.w3.org/ns/owl-profile/RL"/> <sd:graph> <sd:Graph> <void:triples rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">2000</void:triples> </sd:Graph> </sd:graph> </sd:NamedGraph> </sd:namedGraph> </sd:Dataset> </sd:defaultDataset> </sd:Service> </rdf:RDF> ```
Tags
Annotators
URL
-
-
dbpedia.org dbpedia.org
Tags
Annotators
URL
-
-
dbpedia.org dbpedia.org
Tags
Annotators
URL
-
-
www.strategicstructures.com www.strategicstructures.com
-
roamjs.com roamjs.com
Tags
Annotators
URL
-
-
louisshulman.medium.com louisshulman.medium.com
-
www.sciencedirect.com www.sciencedirect.com
-
-
sparql SELECT ?type (COUNT(DISTINCT ?oeuvre) AS ?c) WHERE { VALUES ?type { wd:Q838948 } ?oeuvre wdt:P31 ?type. { ?oeuvre ?link ?museum. } union { ?museum ?link ?oeuvre. } ?museum wdt:P31 wd:Q33506. } GROUP BY ?type ORDER BY DESC (?c)
-
-
-
sparql SELECT ?type (COUNT(DISTINCT ?oeuvre) AS ?c) WHERE { VALUES ?type { <http://schema.org/CreativeWork> <http://schema.org/Painting> <http://dbpedia.org/ontology/Artwork> <http://dbpedia.org/ontology/Painting> } ?oeuvre a ?type . } GROUP BY ?type ORDER BY desc(?c)
-
- Apr 2023
-
vocab.getty.edu vocab.getty.edu
Tags
- wikipedia:en=Categories_for_the_Description_of_Works_of_Art
- wikipedia:en=Cultural_Objects_Name_Authority
- art
- sparql
- getty
- rdf
- wikipedia:en=Art_&_Architecture_Thesaurus
- culture
- wikipedia:en=Getty_Vocabulary_Program
- wikipedia:en=Union_List_of_Artist_Names
- wikipedia:en=Getty_Thesaurus_of_Geographic_Names
Annotators
URL
-
-
vocab.getty.edu vocab.getty.edu
Tags
Annotators
URL
-
- Mar 2023
-
web.archive.org web.archive.org
-
us.patents.aksw.org us.patents.aksw.org
-
-
www.bobdc.com www.bobdc.com
-
```sparql PREFIX wd: http://www.wikidata.org/entity/ PREFIX gist: https://ontologies.semanticarts.com/gist/ PREFIX dcterms: http://purl.org/dc/terms/
SELECT DISTINCT ?commitTitle ?commitTime ?filename ?textLine WHERE {
?commit a wd:Q20058545 ; # it's a commit gist:hasPart ?part ; dcterms:subject ?commitSubject ; gist:atDateTime ?commitTime .
?commitSubject dcterms:title ?commitTitle .
?part gist:produces ?contiguousLines .
?contiguousLines gist:occursIn ?file ; http://example.com/containedTextContainer ?textContainer .
?file gist:name ?filename . ?textContainer ?line ?textLine .
FILTER(contains(?textLine,"music")) } ```
Tags
Annotators
URL
-
-
Tags
Annotators
URL
-
-
ci.mines-stetienne.fr ci.mines-stetienne.fr
Tags
Annotators
URL
-
- Jan 2023
-
librarycarpentry.org librarycarpentry.org
Tags
Annotators
URL
-
-
lms.fun-mooc.fr lms.fun-mooc.fr
Tags
Annotators
URL
-
-
lms.fun-mooc.fr lms.fun-mooc.fr
-
documentation.huma-num.fr documentation.huma-num.fr
Tags
Annotators
URL
-
-
www3.cs.stonybrook.edu www3.cs.stonybrook.edu
Tags
Annotators
URL
-
-
vocabs.dariah.eu vocabs.dariah.eu
-
-
skosmos.org skosmos.orgSkosmos1
Tags
Annotators
URL
-
-
franz.com franz.com
-
query.wikidata.org query.wikidata.org
-
kit_wikidata PigmentosBIOcolores
SPARQL
-
- Dec 2022
-
depinfo.u-cergy.fr depinfo.u-cergy.frrdf1
-
linkeddatafragments.org linkeddatafragments.org
- Nov 2022
-
data.inventaire.io data.inventaire.io
Tags
Annotators
URL
-
-
streamreasoning.github.io streamreasoning.github.io
Tags
Annotators
URL
-
-
zazuko.com zazuko.com
Tags
Annotators
URL
-
-
Tags
Annotators
URL
-
-
rdf.insee.fr rdf.insee.fr
Tags
Annotators
URL
-
- Oct 2022
-
www.youtube.com www.youtube.com
-
- Sep 2022
-
api.bnf.fr api.bnf.fr
Tags
Annotators
URL
-
- Aug 2022
-
pats.cs.cf.ac.uk pats.cs.cf.ac.uk
Tags
Annotators
URL
-
-
pats.cs.cf.ac.uk pats.cs.cf.ac.uk
Tags
Annotators
URL
-
-
iiif.io iiif.io
Tags
Annotators
URL
-
-
stackoverflow.com stackoverflow.com
-
musicbrainz.org musicbrainz.org
-
bash curl -H 'Accept: application/ld+json' https://musicbrainz.org/artist/20ff3303-4fe2-4a47-a1b6-291e26aa3438
Tags
Annotators
URL
-
-
agrovoc.fao.org agrovoc.fao.org
Tags
Annotators
URL
-
- Jul 2022
-
perso.liris.cnrs.fr perso.liris.cnrs.fr
Tags
Annotators
URL
-
- Jun 2022
-
-
Servizi
Forse evidenzierei di già la possibilità di usare standard come SPARQL per accedere ai dati. Mentre per accedere ai dati in CSV (o dati su database) ho necessità di creare delle interfacce ad-hoc
-
- May 2022
-
dbtune.org dbtune.org
Tags
Annotators
URL
-
-
www.slideshare.net www.slideshare.net
Tags
Annotators
URL
-
-
www.slideshare.net www.slideshare.net
-
www.bobdc.com www.bobdc.com
-
-
rbdd.cnrs.fr rbdd.cnrs.fr
-
-
rbdd.cnrs.fr rbdd.cnrs.fr
-
-
www.bobdc.com www.bobdc.com
-
```sparql PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema# PREFIX i: http://learningsparql.com/ns/instrument/ PREFIX s: http://learningsparql.com/ns/schema/ PREFIX b: http://www.bobdc.com/ns/beatles/
SELECT ?britishGroup WHERE { ?bassist b:favoriteBritishGroup ?britishGroup . SERVICE https://dydra.com/bobdc/beatles-musicians/sparql { SELECT ?bassist WHERE { ?song a s:Song ; rdfs:label "The Long And Winding Road" ; i:bass ?bassist . } } } ```
-
-
www.bobdc.com www.bobdc.com
Tags
Annotators
URL
-
-
www.bobdc.com www.bobdc.com
-
sparql PREFIX osmt: <https://wiki.openstreetmap.org/wiki/Key:> SELECT * WHERE { ?museum osmt:addr:city "New York"; osmt:tourism "museum"; osmt:wikidata ?wikidataID . }
Tags
Annotators
URL
-
-
www.bobdc.com www.bobdc.com
-
-
gist.github.com gist.github.com
-
```sparql PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# PREFIX skos: http://www.w3.org/2004/02/skos/core# PREFIX schema: http://schema.org/ prefix owl: http://www.w3.org/2002/07/owl# prefix rdfs: http://www.w3.org/2000/01/rdf-schema#
CONSTRUCT { http://schema.org/ a skos:ConceptScheme ; skos:hasTopConcept schema:Thing . ?child a skos:Concept ; skos:broaderTransitive ?parent ; skos:broader ?ancestors ; skos:prefLabel ?label ; skos:definition ?desc ; skos:inScheme ?ext . ?parent skos:narrowerTransitive ?child . ?ancestors skos:narrower ?child .<br /> } WHERE { ?child rdfs:subClassOf ?parent . ?child rdfs:subClassOf+ ?ancestors . OPTIONAL { ?child rdfs:label ?label } OPTIONAL { ?child rdfs:comment ?desc } OPTIONAL { ?child schema:isPartOf ?ext } } ```
-
-
www.navigae.fr www.navigae.fr
Tags
Annotators
URL
-
-
opengeospatial.github.io opengeospatial.github.io
-
www.geosparql.org www.geosparql.org
Tags
Annotators
URL
-
-
pdfs.semanticscholar.org pdfs.semanticscholar.org
-
data.world data.world
Tags
Annotators
URL
-
-
les-ateliers-du-web-semantique.gitpages.huma-num.fr les-ateliers-du-web-semantique.gitpages.huma-num.fr
-
www.slideshare.net www.slideshare.net
Tags
Annotators
URL
-
-
data.culture.fr data.culture.fr
Tags
Annotators
URL
-
-
skos.um.es skos.um.es
Tags
Annotators
URL
-
-
fr.blog.openfoodfacts.org fr.blog.openfoodfacts.org
-
sparql PREFIX food: <https://data.lirmm.fr/ontologies/food#> SELECT ?s ?code WHERE { ?s <https://www.w3.org/1999/02/22-rdf-syntax-ns#type> food:FoodProduct . ?s food:containsIngredient ?i . ?i food:food <https://fr.openfoodfacts.org/ingredient/sucre> . ?i food:rank "1" OPTIONAL { ?s food:code ?code } . }
-
-
eur-lex.europa.eu eur-lex.europa.eu
Tags
Annotators
URL
-
-
foodkg.github.io foodkg.github.ioFoodKG1
Tags
Annotators
URL
-
-
wiki.myexperiment.org wiki.myexperiment.org
- Mar 2022
-
www.wikidata.org www.wikidata.org
Tags
Annotators
URL
-
-
wikidata-todo.toolforge.org wikidata-todo.toolforge.org
Tags
Annotators
URL
-
- Feb 2022
-
atomgraph.github.io atomgraph.github.io
Tags
Annotators
URL
-
-
Local file Local file
-
Zusätzlich bietet die Abfragesprache SPARQL die Möglichkeit,RDF-kodierte semantische Daten strukturiert abzufragen, wobei bereits (beschränkter)Gebrauch der Möglichkeit logischer Schlussfolgerungen gemacht werden kann.
SPARQL = Abfragesprache von RDF
-
-
github.com github.com
-
sql use "http://triplr.org/sparyql/sparql.xml" as sparql; select * from sparql where query="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 }" and service="http://sparql.org/sparql"
-
-
Tags
Annotators
URL
-
-
www.w3.org www.w3.org
Tags
Annotators
URL
-
-
crschmidt.net crschmidt.net
-
```xml <iq to='crschmidt@crschmidt.net/sparql' type='get' id='2'> <query xmlns='http://www.w3.org/2005/09/xmpp-sparql-binding'> SELECT ?a WHERE { ?a &http://xmlns.com/foaf/0.1/nick> "crschmidt". } </query> </iq>
<iq to='crschmidt@crschmidt.net/sparql' type='result' id='2' from='crschmidt@crschmidt.net/sparql'> <query xmlns='http://www.w3.org/2005/09/xmpp-sparql-binding'> <meta /> <sparql xmlns='http://www.w3.org/2001/sw/DataAccess/rf1/result'> <head> <variable name='a'/> </head> <results> <result> </result> <result> </result> <result> </result> </results> </sparql> </query> </iq> ```
Tags
Annotators
URL
-
- Jan 2022
-
www.iro.umontreal.ca www.iro.umontreal.ca
-
ods-qa.openlinksw.com ods-qa.openlinksw.comGrappa1
-
Grappa : A GraphQL-SPARQL-Bridge test tool
Tags
Annotators
URL
-
-
slideplayer.com slideplayer.com
-
-
www.slideshare.net www.slideshare.net
-
-
www.slideshare.net www.slideshare.net
Tags
Annotators
URL
-
- Dec 2021
-
comunica.dev comunica.dev
-
Flexible SPARQL and GraphQL over decentralized RDF on the Web.
-
- May 2021
-
www.ulisp.com www.ulisp.com
-
Note that variables cannot appear in the predicate position.
-
- Jun 2020
-
github.com github.com
-
sansa-stack.net sansa-stack.net
Tags
Annotators
URL
-
-
ceur-ws.org ceur-ws.org
Tags
Annotators
URL
-
- Jan 2020
- Nov 2019
-
medium.com medium.com
- Jun 2019
-
Local file Local file
- Nov 2018
-
www.wikidata.org www.wikidata.org
-
Now you know how to search for all works of art, or all buildings, or all human settlements: the magic incantation wdt:P31/wdt:P279*, along with the appropriate class. This uses some more SPARQL features that I haven’t explained yet, but quite honestly, this is almost the only relevant use of those features, so you don’t need to understand how it works in order to use WDQS effectively. If you want to know, I’ll explain it in a bit, but you can also just skip the next section and memorize or copy+paste wdt:P31/wdt:P279* from here when you need it.
wdt:P31/wdt:P279*
= magic incantation for Wikidata SPARQL to mean "instance of or subclass of"
Tags
Annotators
URL
-
- Oct 2018
-
www-sop.inria.fr www-sop.inria.fr
-
www.snee.com www.snee.com
-
github.com github.com
Tags
Annotators
URL
-
-
github.com github.com
Tags
Annotators
URL
-
-
www.mediawiki.org www.mediawiki.org
Tags
Annotators
URL
-
-
data.bnf.fr data.bnf.fr
-