query-7178e14ad9914c37a8a9ad46f8d98550
title: Deutsche Filme SELECT DISTINCT ?item ?itemLabel ?article ?page_title ?year ?copyrightLabel WHERE { ?item wdt:P31 wd:Q11424; wdt:P495 wd:Q183; wdt:P364 wd:Q188. OPTIONAL { ?article schema:about ?item; schema:isPartOf https://de.wikipedia.org/; schema:name ?page_title. } OPTIONAL { ?item wdt:P577 ?date. } BIND(YEAR(?date) AS ?year) OPTIONAL { ?item wdt:P6216 ?copyright. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY (?year)
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title: Deutsche Filme
SELECT DISTINCT ?item ?itemLabel ?article ?page_title ?year ?copyrightLabel WHERE {
?item wdt:P31 wd:Q11424;
wdt:P495 wd:Q183;
wdt:P364 wd:Q188.
OPTIONAL {
?article schema:about ?item;
schema:isPartOf <https://de.wikipedia.org/>;
schema:name ?page_title.
}
OPTIONAL { ?item wdt:P577 ?date. }
BIND(YEAR(?date) AS ?year)
OPTIONAL { ?item wdt:P6216 ?copyright. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY (?year)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?article"):::projected
v6("?copyright")
v5("?date")
v2("?item"):::projected
v4("?page_title"):::projected
v6("?year"):::projected
c9([https://de.wikipedia.org/]):::iri
c14(["bd:serviceParam"]):::iri
c16(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c4(["wd:Q183"]):::iri
c2(["wd:Q11424"]):::iri
c6(["wd:Q188"]):::iri
v2 --"wdt:P31"--> c2
v2 --"wdt:P495"--> c4
v2 --"wdt:P364"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."schema:about".-> v2
v3 --"schema:isPartOf"--> c9
v3 --"schema:name"--> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P577".-> v5
end
bind0[/"year-from-dateTime(?date)"/]
v5 --o bind0
bind0 --as--o v6
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P6216".-> v6
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c14 --"wikibase:language"--> c16
end