Project:SPARQL/examples

From TDKIV
Jump to navigation Jump to search

Vzorové dotazy

Všechny pojmy s výkladem

PREFIX zwb: <https://tdkiv.wikibase.cloud/entity/>
PREFIX zdp: <https://tdkiv.wikibase.cloud/prop/direct/>
PREFIX zp: <https://tdkiv.wikibase.cloud/prop/>
PREFIX zps: <https://tdkiv.wikibase.cloud/prop/statement/>
PREFIX zpq: <https://tdkiv.wikibase.cloud/prop/qualifier/>
PREFIX zpr: <https://tdkiv.wikibase.cloud/prop/reference/>
PREFIX zno: <https://tdkiv.wikibase.cloud/prop/novalue/>

select ?item ?itemLabel ?vyklad where {
  
SERVICE wikibase:label { bd:serviceParam wikibase:language "cs,en". }
  

  ?item zdp:P16 zwb:Q4397 .
  ?item zdp:P1 ?vyklad .
 
  }

ORDER BY ASC(?itemLabel)

Try it!