query-afd6b96e956d780ff06379e2d4b1dd95
propriétés les plus utilisées sur les églises de France SELECT ?property ?propertyLabel ?propertyDescription ?count WHERE { { select ?propertyclaim (COUNT() AS ?count) where { ?item wdt:P31/wdt:P279 wd:Q16970 . ?item wdt:P17 wd:Q142. ?item ?propertyclaim [] . } group by ?propertyclaim } ?property wikibase:claim ?propertyclaim . SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . } } ORDER BY DESC (?count)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#propriétés les plus utilisées sur les églises de France
SELECT ?property ?propertyLabel ?propertyDescription ?count WHERE {
{
select ?propertyclaim (COUNT(*) AS ?count) where {
?item wdt:P31/wdt:P279* wd:Q16970 .
?item wdt:P17 wd:Q142.
?item ?propertyclaim [] .
} group by ?propertyclaim
}
?property wikibase:claim ?propertyclaim .
SERVICE wikibase:label { bd:serviceParam wikibase:language "fr,en" . }
} ORDER BY DESC (?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?count"):::projected
v2("?item")
v4("?property"):::projected
v3("?propertyclaim")
a2((" "))
a1((" "))
c8(["bd:serviceParam"]):::iri
c10(["fr,en"]):::literal
c3(["wd:Q16970"]):::iri
c5(["wd:Q142"]):::iri
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v2 --"wdt:P17"--> c5
v2 -->v3--> a2
bind1[/"count(*)"/]
bind1 --as--o v4
v4 --"wikibase:claim"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end