Closed nichtich closed 8 years ago
The SPARQL query can be extended by adding the label service and language from LC_LANG or command line option --language / -g.
$ wdq -g fr -nq '{ ?x wdt:P361 wd:Q544 } SELECT ?x ?xLabel WHERE { ?x wdt:P361 wd:Q544 . SERVICE wikibase:label { bd:serviceParam wikibase:language "fr" } }
See also #8 for another use.
The query can also be extended by descriptions (-d), aliases (-a) or all of them (-L).
-d
-a
-L
The SERVICE could always be added if this does not affect performance (?) It should only take effect if corresponding variables are included (qLabel, qDescription...).
The SPARQL query can be extended by adding the label service and language from LC_LANG or command line option --language / -g.
See also #8 for another use.
The query can also be extended by descriptions (
-d
), aliases (-a
) or all of them (-L
).