Cat (E2)

From Wikidata
Jump to navigation Jump to search
language codelabeldescriptionaliasesedit
enCatExample Schema that verifies that cats have a birthday. Related Query: https://w.wiki/3rNedit
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX prv: <http://www.wikidata.org/prop/reference/value/>
PREFIX pr:  <http://www.wikidata.org/prop/reference/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>

start = @<wikidata-cat>

<wikidata-cat> {    
	## STATEMENTS
	p:P31 @<P31_instance_of_house_cat> ;
        p:P569 .
} 

# Shape expression for Wikidata statements
<P31_instance_of_house_cat> {
	 ps:P31 [wd:Q146] ; 
}