taxon (E1)

From Protist-Prokaryote Symbiosis Database
Revision as of 07:46, 4 April 2024 by Kbseah-wikibase (talk | contribs) (Updated Schema text)
Jump to navigation Jump to search
language codelabeldescriptionaliasesedit
entaxontaxon whose members interact with other organismsedit
PREFIX pp: <https://ppsdb.wikibase.cloud/entity/>
PREFIX ppt: <https://ppsdb.wikibase.cloud/prop/direct/>
PREFIX pps: <https://ppsdb.wikibase.cloud/prop/>
PREFIX ppss: <https://ppsdb.wikibase.cloud/prop/statement/>
PREFIX ppsq: <https://ppsdb.wikibase.cloud/prop/qualifier/>
PREFIX ppsr: <https://ppsdb.wikibase.cloud/prop/reference/>

<taxon> {
  # instance of
  ppt:P18 [pp:Q2] + ;
  # interacts with
  pps:P19 {
    ppss:P19 @<#taxon> ; 
    ppsq:P20 @<#localization> * ;
  } * ;
}

<localization> {
  # instance of 
  ppt:P18 [pp:Q5] + ;
}


/*******************
PREFIX pp: <https://ppsdb.wikibase.cloud/entity/>
PREFIX ppt: <https://ppsdb.wikibase.cloud/prop/direct/>
PREFIX pps: <https://ppsdb.wikibase.cloud/prop/>
PREFIX ppss: <https://ppsdb.wikibase.cloud/prop/statement/>
PREFIX ppsq: <https://ppsdb.wikibase.cloud/prop/qualifier/>
PREFIX ppsr: <https://ppsdb.wikibase.cloud/prop/reference/>

SELECT ?taxon
WHERE 
{
  ?taxon ppt:P18 pp:Q2.
}

# Validating the EntitySchema with ShEX:
https://shex-simple.toolforge.org/wikidata/packages/shex-webapp/doc/shex-simple.html?data=Endpoint:%20https://ppsdb.wikibase.cloud/query/sparql&hideData&manifest=[]&textMapIsSparqlQuery&schemaURL=//ppsdb.wikibase.cloud%2Fwiki%2FSpecial%3AEntitySchemaText%2FE1

*/