query-81d309e841991b7175a9359e3bc1bd9b
Abfrage von Finn Årup Nielsen, die nach Personen mit Nachnamen sucht, die der Vergangenheitsform eines dänischen Verbs entsprechen. SELECT (COUNT(?person) AS ?count) ?lexeme ?lemma ?surname (SAMPLE(?person) AS ?example_person) (GROUP_CONCAT(?person_labels; separator=", ") AS ?names) WHERE { hint:Query hint:optimizer "None".
?lexeme dct:language wd:Q9035 . ?lexeme ontolex:lexicalForm ?form . ?form wikibase:grammaticalFeature wd:Q52434448 . ?lexeme wikibase:lemma ?lemma . ?form ontolex:representation ?word . BIND(STRLANG(CONCAT(UCASE(SUBSTR(STR(?word), 1, 1)), SUBSTR(STR(?word), 2)), "en") AS ?surname) ?surname_item rdfs:label ?surname . ?person wdt:P734 ?surname_item . ?person rdfs:label ?person_labels . FILTER(LANG(?person_labels) = "en") SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } GROUP BY ?lexeme ?lemma ?surname ORDER BY DESC(?count) 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 ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# Abfrage von Finn Årup Nielsen, die nach Personen mit Nachnamen sucht, die der Vergangenheitsform eines dänischen Verbs entsprechen.
SELECT
(COUNT(?person) AS ?count)
?lexeme ?lemma ?surname
(SAMPLE(?person) AS ?example_person)
(GROUP_CONCAT(?person_labels; separator=", ") AS ?names)
WHERE {
?lexeme dct:language wd:Q9035 .
?lexeme ontolex:lexicalForm ?form .
?form wikibase:grammaticalFeature wd:Q52434448 .
?lexeme wikibase:lemma ?lemma .
?form ontolex:representation ?word .
BIND(STRLANG(CONCAT(UCASE(SUBSTR(STR(?word), 1, 1)), SUBSTR(STR(?word), 2)), "en") AS ?surname)
?surname_item rdfs:label ?surname .
?person wdt:P734 ?surname_item .
?person rdfs:label ?person_labels . FILTER(LANG(?person_labels) = "en")
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?lexeme ?lemma ?surname
ORDER BY DESC(?count)
LIMIT 100