query-85e65325f34b93b617b932d3f24f85fa
title: Lexemes associated with topics that occur in the invasion biology literature SELECT DISTINCT ?qid (GROUP_CONCAT(DISTINCT ?lemma; separator=" // ") AS ?lexemes) (CONCAT("https://ordia.toolforge.org/Q", STR(?qid ) ) AS ?ordia)
WHERE { { ?invasion_biology_item wdt:P6104 wd:Q56241615 ; wdt:P921 ?item . } ?item ^wdt:P5137 ?sense . ?sense ^ontolex:sense ?lexeme . ?lexeme wikibase:lemma ?lemma . BIND(xsd:integer(STRAFTER(STR(?item), 'Q')) as ?qid) } GROUP BY ?qid ?lexemes ?ordia ORDER BY ASC(?qid)
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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#>
#title: Lexemes associated with topics that occur in the invasion biology literature
SELECT
DISTINCT ?qid
(GROUP_CONCAT(DISTINCT ?lemma; separator=" // ") AS ?lexemes)
(CONCAT("https://ordia.toolforge.org/Q", STR(?qid ) ) AS ?ordia)
WHERE {
{ ?invasion_biology_item wdt:P6104 wd:Q56241615 ;
wdt:P921 ?item . }
?item ^wdt:P5137 ?sense .
?sense ^ontolex:sense ?lexeme .
?lexeme wikibase:lemma ?lemma .
BIND(xsd:integer(STRAFTER(STR(?item), 'Q')) as ?qid)
}
GROUP BY ?qid ?lexemes ?ordia
ORDER BY ASC(?qid)