query-fb8b6dfeab9051b5cc72802448bf6a93
added before 2016-10
SELECT ?prop (count(?prop) as ?counts) WHERE {SELECT DISTINCT ?item ?prop WHERE { ?item wdt:P279 wd:Q7187 ; wdt:P703 wd:Q5 ; ?prop ?statement . FILTER(!(regex(str(?prop), "http://www.wikidata.org/prop/direct/" ) )) FILTER(regex(str(?prop), "http://www.wikidata.org/prop/" ) ) FILTER NOT EXISTS { ?item ?prop ?statement . ?statement prov:wasDerivedFrom ?derivedFrom .} } } GROUP BY ?prop ORDER BY desc(?counts) added before 2016-10
SELECT ?prop (count(?prop) as ?counts) WHERE {SELECT DISTINCT ?item ?prop WHERE { ?item wdt:P279 wd:Q7187 ; wdt:P703 wd:Q5 ; ?prop ?statement . FILTER(!(regex(str(?prop), "http://www.wikidata.org/prop/direct/" ) )) FILTER(regex(str(?prop), "http://www.wikidata.org/prop/" ) ) FILTER NOT EXISTS { ?item ?prop ?statement . ?statement prov:wasDerivedFrom ?derivedFrom .} } } GROUP BY ?prop ORDER BY desc(?counts) added before 2016-10
SELECT ?prop (count(?prop) as ?counts) WHERE {SELECT DISTINCT ?item ?prop WHERE { ?item wdt:P279 wd:Q7187 ; wdt:P703 wd:Q5 ; ?prop ?statement . FILTER(!(regex(str(?prop), "http://www.wikidata.org/prop/direct/" ) )) FILTER(regex(str(?prop), "http://www.wikidata.org/prop/" ) ) FILTER NOT EXISTS { ?item ?prop ?statement . ?statement prov:wasDerivedFrom ?derivedFrom .} } } GROUP BY ?prop ORDER BY desc(?counts) added before 2016-10
SELECT ?prop (count(?prop) as ?counts) WHERE {SELECT DISTINCT ?item ?prop WHERE { ?item wdt:P279 wd:Q7187 ; wdt:P703 wd:Q5 ; ?prop ?statement . FILTER(!(regex(str(?prop), "http://www.wikidata.org/prop/direct/" ) )) FILTER(regex(str(?prop), "http://www.wikidata.org/prop/" ) ) FILTER NOT EXISTS { ?item ?prop ?statement . ?statement prov:wasDerivedFrom ?derivedFrom .} } } GROUP BY ?prop ORDER BY desc(?counts) added before 2016-10
SELECT ?prop (count(?prop) as ?counts) WHERE {SELECT DISTINCT ?item ?prop WHERE { ?item wdt:P279 wd:Q7187 ; wdt:P703 wd:Q5 ; ?prop ?statement . FILTER(!(regex(str(?prop), "http://www.wikidata.org/prop/direct/" ) )) FILTER(regex(str(?prop), "http://www.wikidata.org/prop/" ) ) FILTER NOT EXISTS { ?item ?prop ?statement . ?statement prov:wasDerivedFrom ?derivedFrom .} } } GROUP BY ?prop ORDER BY desc(?counts) added before 2016-10
SELECT ?prop (count(?prop) as ?counts) WHERE {SELECT DISTINCT ?item ?prop WHERE { ?item wdt:P279 wd:Q7187 ; wdt:P703 wd:Q5 ; ?prop ?statement . FILTER(!(regex(str(?prop), "http://www.wikidata.org/prop/direct/" ) )) FILTER(regex(str(?prop), "http://www.wikidata.org/prop/" ) ) FILTER NOT EXISTS { ?item ?prop ?statement . ?statement prov:wasDerivedFrom ?derivedFrom .} } } GROUP BY ?prop ORDER BY desc(?counts) added before 2016-10
SELECT ?prop (count(?prop) as ?counts) WHERE {SELECT DISTINCT ?item ?prop WHERE { ?item wdt:P279 wd:Q7187 ; wdt:P703 wd:Q5 ; ?prop ?statement . FILTER(!(regex(str(?prop), "http://www.wikidata.org/prop/direct/" ) )) FILTER(regex(str(?prop), "http://www.wikidata.org/prop/" ) ) FILTER NOT EXISTS { ?item ?prop ?statement . ?statement prov:wasDerivedFrom ?derivedFrom .} } } GROUP BY ?prop ORDER BY desc(?counts) added before 2016-10
SELECT ?prop (count(?prop) as ?counts) WHERE {SELECT DISTINCT ?item ?prop WHERE { ?item wdt:P279 wd:Q7187 ; wdt:P703 wd:Q5 ; ?prop ?statement . FILTER(!(regex(str(?prop), "http://www.wikidata.org/prop/direct/" ) )) FILTER(regex(str(?prop), "http://www.wikidata.org/prop/" ) ) FILTER NOT EXISTS { ?item ?prop ?statement . ?statement prov:wasDerivedFrom ?derivedFrom .} } } GROUP BY ?prop ORDER BY desc(?counts) added before 2016-10
SELECT ?prop (count(?prop) as ?counts) WHERE {SELECT DISTINCT ?item ?prop WHERE { ?item wdt:P279 wd:Q7187 ; wdt:P703 wd:Q5 ; ?prop ?statement . FILTER(!(regex(str(?prop), "http://www.wikidata.org/prop/direct/" ) )) FILTER(regex(str(?prop), "http://www.wikidata.org/prop/" ) ) FILTER NOT EXISTS { ?item ?prop ?statement . ?statement prov:wasDerivedFrom ?derivedFrom .} } } GROUP BY ?prop ORDER BY desc(?counts) added before 2016-10
SELECT ?prop (count(?prop) as ?counts) WHERE {SELECT DISTINCT ?item ?prop WHERE { ?item wdt:P279 wd:Q7187 ; wdt:P703 wd:Q5 ; ?prop ?statement . FILTER(!(regex(str(?prop), "http://www.wikidata.org/prop/direct/" ) )) FILTER(regex(str(?prop), "http://www.wikidata.org/prop/" ) ) FILTER NOT EXISTS { ?item ?prop ?statement . ?statement prov:wasDerivedFrom ?derivedFrom .} } } GROUP BY ?prop ORDER BY desc(?counts)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
#added before 2016-10
SELECT ?prop (count(?prop) as ?counts) WHERE
{SELECT DISTINCT ?item ?prop WHERE {
?item wdt:P279 wd:Q7187 ;
wdt:P703 wd:Q5 ;
?prop ?statement .
FILTER(!(regex(str(?prop), "http://www.wikidata.org/prop/direct/" ) ))
FILTER(regex(str(?prop), "http://www.wikidata.org/prop/" ) )
FILTER NOT EXISTS {
?item ?prop ?statement .
?statement prov:wasDerivedFrom ?derivedFrom .}
}
}
GROUP BY ?prop
ORDER BY desc(?counts)
Query found at
- https://www.wikidata.org/wiki/User:Amitie_10g/Sandbox/Wikidata:SPARQL_query_service/queries/examples/maintenance
- https://www.wikidata.org/wiki/User:Amitie_10g/Sandbox/Wikidata:SPARQL_query_service/queries/examples/maintenance/en
- https://www.wikidata.org/wiki/User:Amitie_10g/Sandbox/Wikidata:SPARQL_query_service/queries/examples/maintenance/es
- https://www.wikidata.org/wiki/User:Amitie_10g/Sandbox/Wikidata:SPARQL_query_service/queries/examples/maintenance/zh
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/cs
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/en
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/es
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/fr
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/ja
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/nl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/pl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/sv
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/maintenance/uk