PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT ?s WHERE {
?s a dbo:Museum
}
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?s WHERE {
?s rdf:type <http://dbpedia.org/ontology/Museum>
}
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?s WHERE {
?s a dbo:Museum.
?s dbo:country <http://fr.dbpedia.org/resource/France>
}
PREFIX dbo: <http://dbpedia.org/ontology/>
SELECT ?city ( COUNT ( DISTINCT ?s ) as ?nb ) WHERE {
?s a dbo:Museum.
?s dbo:country <http://fr.dbpedia.org/resource/France>.
?s dbo:city ?city.
} GROUP BY ?city ORDER BY DESC(?nb)
PREFIX dbo:<http://dbpedia.org/ontology/>
SELECT ?m ( COUNT( DISTINCT ?o ) as ?nb_artwork ) ( COUNT( DISTINCT ?col ) as ?nb_collection ) WHERE {
?o a dbo:Artwork.
?o dbo:museum ?m.
?m dbo:city <http://fr.dbpedia.org/resource/Paris>.
OPTIONAL {?m dbo:collection ?col}
} GROUP BY ?m ORDER BY DESC(?nb_artwork)
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbpedia-fr:
SELECT DISTINCT ?o ?y WHERE {
?o a dbo:Artwork.
?o dbo:creationYear ?y.
FILTER( YEAR(?y) < 1900 && YEAR(?y) > 1850).
?o dbo:museum dbpedia-fr:Musée_du_Louvre.
}
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX dbpedia-fr: <http://fr.dbpedia.org/resource/>
SELECT ?a ( COUNT( ?o ) as ?nb ) WHERE {
?o a dbo:Artwork.
?o dbo:author ?a.
?o dbo:museum dbpedia-fr:Musée_du_Louvre.
} GROUP BY ?a ORDER BY DESC(?nb) LIMIT 10
DESCRIBE <http://fr.dbpedia.org/resource/Eugène_Delacroix>
PREFIX dbo: <http://dbpedia.org/ontology/>
ASK {
?o dbo:museum ?m.
?m a dbo:Museum.
?m dbo:city <http://fr.dbpedia.org/resource/Lyon>.
?o a dbo:Artwork.
?o dbo:author <http://fr.dbpedia.org/resource/Raphaël_(peintre)>
}