query-065310bf7943a113df3731c76db46e48

rq turtle/ttl

Synia: Lexical category

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX target: <http://www.wikidata.org/entity/Q24905>

SELECT 
  ?description ?descriptionLabel
  ("#lexicalcategory" AS ?descriptionUrl)

  ?value ?valueLabel

  ?wikidata ?wikidataUrl

  ?ordia ?ordiaUrl

WHERE {
  BIND(1 AS ?order)
  BIND(wd:Q82042 AS ?description)

  BIND(target: AS ?value)

  BIND(CONCAT(SUBSTR(STR(target:), 32), "&nbsp;↗") AS ?wikidata)
  BIND(CONCAT("https://www.wikidata.org/wiki/", SUBSTR(STR(target:), 32)) AS ?wikidataUrl)

  BIND("Ordia ↗" AS ?ordia)
  BIND(CONCAT("https://ordia.toolforge.org/lexical-category/", SUBSTR(STR(target:), 32)) AS ?ordiaUrl)


  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }        
}
ORDER BY ?order

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?description"):::projected v8("?descriptionUrl") v2("?order") v6("?ordia"):::projected v7("?ordiaUrl"):::projected v3("?value"):::projected v4("?wikidata"):::projected v5("?wikidataUrl"):::projected c2(["bd:serviceParam"]):::iri c4(["#91;AUTO_LANGUAGE#93;,en"]):::literal bind0[/"'1^^xsd:integer'"/] bind0 --as--o v2 bind1[/"'wd:Q82042'"/] bind1 --as--o v2 bind2[/"'wd:Q24905'"/] bind2 --as--o v3 bind3[/"concat(substring(str('wd:Q24905'),'32^^xsd:integer'),'&nbsp;↗')"/] bind3 --as--o v4 bind4[/"concat('https://www.wikidata.org/wiki/',substring(str('wd:Q24905'),'32^^xsd:integer'))"/] bind4 --as--o v5 bind5[/"'Ordia ↗'"/] bind5 --as--o v6 bind6[/"concat('https://ordia.toolforge.org/lexical-category/',substring(str('wd:Q24905'),'32^^xsd:integer'))"/] bind6 --as--o v7 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end bind7[/"'#lexicalcategory'"/] bind7 --as--o v8