SELECT ?t WHERE {
<http://fr.dbpedia.org/resource/Musée_du_Louvre>
<http://fr.dbpedia.org/property/wikiPageUsesTemplate> ?t .
FILTER(CONTAINS(STR(?t),"Infobox"))
}
SELECT DISTINCT ?p (COUNT (DISTINCT ?s) as ?nb)
WHERE {
?s rdf:type <http://dbpedia.org/ontology/Museum> .
?s ?p ?v .
FILTER(strstarts(str(?p),"http://dbpedia.org/ontology"))
}
GROUP BY ?p ORDER BY DESC(?nb)
SELECT DISTINCT ?p (COUNT (distinct ?s) as ?nb)
WHERE {
{
SELECT DISTINCT ?s
WHERE {
?s rdf:type <http://dbpedia.org/ontology/Museum> .
} limit 10000
}
?s ?p ?v .
FILTER(strstarts(str(?p),"http://dbpedia.org/ontology"))
}
GROUP BY ?p ORDER BY DESC(?nb)
>