query-a7e2a8c71ff080e83ca1d6f8cf1e8d1c
08:15, 16 December 2019 (UTC)) talk (Raccoon-swit works too long (I've got "Query timeout limit reached"). As I found out it works slowly due to nouns. Can you help me to get all data from my query? --To specify, the problem is to get all features of forms (<1mln) of Russian nouns . Even without labels and with limit the query times out: lexicographical data too big...Please help how to get grammatical features in forms of Russian nouns?
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 ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?l ?lemma ?word (GROUP_CONCAT(DISTINCT ?grammaticalFeature; SEPARATOR=', ') AS ?lem)
WHERE {
?l a ontolex:LexicalEntry ; dct:language ?language ;
wikibase:lexicalCategory wd:Q1084 ;
wikibase:lemma ?lemma ;
ontolex:lexicalForm ?form .
?form ontolex:representation ?word ;
wikibase:grammaticalFeature ?grammaticalFeature .
?language wdt:P218 'ru'.
# SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
} GROUP BY ?l ?lemma ?word ?lem
LIMIT 10
Query found at
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2019/12
- https://www.wikidata.org/wiki/Wikidata_talk:Lexicographical_data/Archive/2019/12