query-528152dc77cee793ee1e65ccce213b1b
data repository
with license, owner, operator, maintainer
SELECT ?item ?itemLabel ?copyright_licenseLabel ?owned_byLabel ?operatorLabel ?maintained_byLabel ?itemDescription WHERE { SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } ?item (wdt:P31/(wdt:P279*)) wd:Q5227240. OPTIONAL { ?item wdt:P275 ?copyright_license. } OPTIONAL { ?item wdt:P127 ?owned_by. } OPTIONAL { ?item wdt:P137 ?operator. } OPTIONAL { ?item wdt:P126 ?maintained_by. } } ORDER BY (?itemLabel) LIMIT 1000
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#>
# data repository
# with license, owner, operator, maintainer
SELECT ?item ?itemLabel
?copyright_licenseLabel
?owned_byLabel
?operatorLabel
?maintained_byLabel
?itemDescription WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?item (wdt:P31/(wdt:P279*)) wd:Q5227240.
OPTIONAL { ?item wdt:P275 ?copyright_license. }
OPTIONAL { ?item wdt:P127 ?owned_by. }
OPTIONAL { ?item wdt:P137 ?operator. }
OPTIONAL { ?item wdt:P126 ?maintained_by. }
}
ORDER BY (?itemLabel)
LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?copyright_license")
v2("?item"):::projected
v1("?itemLabel"):::projected
v6("?maintained_by")
v5("?operator")
v4("?owned_by")
a1((" "))
c2(["bd:serviceParam"]):::iri
c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c7(["wd:Q5227240"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c7
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P275".-> v3
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P127".-> v4
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P137".-> v5
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P126".-> v6
end