Project:SPARQL/examples: Difference between revisions

From TDKIV
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:


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

Revision as of 11:30, 25 September 2024

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!