PREFIX pq: <http://trex-taxonomy.wiki.opencura.com/prop/qualifier/>
PREFIX ps: <http://trex-taxonomy.wiki.opencura.com/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/direct/>
PREFIX trex: <https://trex-taxonomy.wiki.opencura.com/wiki/Item:>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
start = @<trex-taxonname>
<trex-taxonname> {
p:P1 @<is_a> ;
p:P15 @<hasTreatment> ;
p:P27 @<authority> ;
}
<is_a> {
ps:P1 [trex:Q20] ; # Q20= taxonname
}
<hasTreatment> {
ps:P15 {p:P1
{ps:P1 trex:Q22}; # is a treatment (Q22
};
}
<authority> {
ps:P27 xsd:string ;
}