query-862bc3f1625c21d0e4a39fbabc323221
by Realworldobject, 2019-12-04
Short tail works that have been translated into English
SELECT DISTINCT ?original (SAMPLE(?originalTitle) AS ?originalTitle) (GROUP_CONCAT(DISTINCT ?authorLabel) AS ?authors) (GROUP_CONCAT(DISTINCT ?originalLangLabel) AS ?originalLangs) ?translation ?translationTitle ?translationLangLabel ?translatorLabel ?sitelinks WHERE { VALUES ?translationLang { wd:Q1860 # English } ?original wdt:P747 ?translation ; wdt:P407 ?originalLang ; wdt:P1476 ?originalTitle ; wdt:P50 ?author ; wikibase:sitelinks ?sitelinks . ?translation wdt:P655 ?translator ; wdt:P407 ?translationLang ; wdt:P1476 ?translationTitle; wdt:P655 ?translator .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". ?author rdfs:label ?authorLabel .?originalLang rdfs:label ?originalLangLabel} } GROUP BY ?original ?translation ?translationTitle ?translationLangLabel ?translatorLabel ?sitelinks ORDER BY DESC(?sitelinks) LIMIT 100
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 rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
# by Realworldobject, 2019-12-04
# Short tail works that have been translated into English
SELECT DISTINCT ?original (SAMPLE(?originalTitle) AS ?originalTitle) (GROUP_CONCAT(DISTINCT ?authorLabel) AS ?authors) (GROUP_CONCAT(DISTINCT ?originalLangLabel) AS ?originalLangs) ?translation ?translationTitle ?translationLangLabel ?translatorLabel ?sitelinks
WHERE {
VALUES ?translationLang {
wd:Q1860 # English
}
?original wdt:P747 ?translation ;
wdt:P407 ?originalLang ;
wdt:P1476 ?originalTitle ;
wdt:P50 ?author ;
wikibase:sitelinks ?sitelinks .
?translation wdt:P655 ?translator ;
wdt:P407 ?translationLang ;
wdt:P1476 ?translationTitle;
wdt:P655 ?translator .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". ?author rdfs:label ?authorLabel .?originalLang rdfs:label ?originalLangLabel}
}
GROUP BY ?original ?translation ?translationTitle ?translationLangLabel ?translatorLabel ?sitelinks
ORDER BY DESC(?sitelinks)
LIMIT 100