query-d84c009d5b146546f158581f6deea44b
title: Personen verurteilt für Hexerei SELECT ?item_title ?geschlecht ?land (GROUP_CONCAT(DISTINCT ?lang; SEPARATOR = ", ") AS ?sprachen) ?article ?item WHERE { ?item wdt:P1399 wd:Q259745. OPTIONAL { ?frwiki schema:about ?item; schema:isPartOf https://fr.wikipedia.org/; schema:name ?fr_title. } OPTIONAL { ?enwiki schema:about ?item; schema:isPartOf https://en.wikipedia.org/; schema:name ?en_title. } OPTIONAL { ?dewiki schema:about ?item; schema:isPartOf https://de.wikipedia.org/; schema:name ?de_title. } OPTIONAL { ?page schema:about ?item; schema:inLanguage ?lang. } OPTIONAL { ?item wdt:P21 ?gender. } OPTIONAL { ?item wdt:P27 ?country. } BIND(IF(BOUND(?dewiki), ?dewiki, IF(BOUND(?frwiki), ?frwiki, ?enwiki)) AS ?article) BIND(IF(BOUND(?de_title), ?de_title, IF(BOUND(?fr_title), ?fr_title, IF(BOUND(?en_title), ?en_title, ?item_title))) AS ?page_title) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],da,sv,cs,en". ?item rdfs:label ?item_title. ?gender rdfs:label ?geschlecht. ?country rdfs:label ?land. } } GROUP BY ?item_title ?geschlecht ?land ?article ?item
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title: Personen verurteilt für Hexerei
SELECT ?item_title ?geschlecht ?land (GROUP_CONCAT(DISTINCT ?lang; SEPARATOR = ", ") AS ?sprachen) ?article ?item WHERE {
?item wdt:P1399 wd:Q259745.
OPTIONAL {
?frwiki schema:about ?item;
schema:isPartOf <https://fr.wikipedia.org/>;
schema:name ?fr_title.
}
OPTIONAL {
?enwiki schema:about ?item;
schema:isPartOf <https://en.wikipedia.org/>;
schema:name ?en_title.
}
OPTIONAL {
?dewiki schema:about ?item;
schema:isPartOf <https://de.wikipedia.org/>;
schema:name ?de_title.
}
OPTIONAL {
?page schema:about ?item;
schema:inLanguage ?lang.
}
OPTIONAL { ?item wdt:P21 ?gender. }
OPTIONAL { ?item wdt:P27 ?country. }
BIND(IF(BOUND(?dewiki), ?dewiki, IF(BOUND(?frwiki), ?frwiki, ?enwiki)) AS ?article)
BIND(IF(BOUND(?de_title), ?de_title, IF(BOUND(?fr_title), ?fr_title, IF(BOUND(?en_title), ?en_title, ?item_title))) AS ?page_title)
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],da,sv,cs,en".
?item rdfs:label ?item_title.
?gender rdfs:label ?geschlecht.
?country rdfs:label ?land.
}
}
GROUP BY ?item_title ?geschlecht ?land ?article ?item