EntitySchema:E1: Difference between revisions

From Protist-Prokaryote Symbiosis Database
Jump to navigation Jump to search
(Updated Schema text)
(Updated Schema text)
Schema / Line 7: Schema / Line 7:


<taxon> {
<taxon> {
   ppt:P18 [pp:Q2] ; # instance of
   ppt:P18 pp:Q2
}
}



Revision as of 07:59, 4 April 2024

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> {
  ppt:P18 pp:Q2
}


/*******************
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

*/