Querying Coral Records
From Linked Earth Wiki
Revision as of 16:50, 4 September 2016 by Admin (Talk | contribs) (→Example: Get a list of datasets with archive coral and observation d18O)
Contents
This is an example on how to query the datasets on the wiki using Semantic Media Wiki (SMW) queries. The queries refer to the Special:Categories and Special:Properties defined in the wiki.
Example: Get a list of datasets datasets with archive coral (limit to 10)
{{ #ask: [[Category:Dataset_©]] [[archiveType::coral]] | mainlabel=Datasets | format=broadtable | limit=10 }}
The query result could not be obtained from the SPARQL database. This error might be temporary or indicate a bug in the database software.
Example: Get a list of datasets with archive coral and observation d18O
{{ #ask: [[Category:Dataset_©]] [[archiveType::coral]] [[IncludesPaleoData_©.FoundInMeasurementTable_©.IncludesVariable_©.Name_©::D18O]] | ?IncludesPaleoData_©=PaleoData | format=broadtable | limit=10 }}
The query result could not be obtained from the SPARQL database. This error might be temporary or indicate a bug in the database software.
Example: Search and map the records for the Atlantic
{{#ask: [[Category:Location_©]] [[CoordinatesFor.archiveType::Coral]] [[Ocean::Atlantic] | ?Coordinates | ?CoordinatesFor | ?Name_© | showtitle=off | maxzoom=14 | minzoom=1 | limit=500 | template=LiPDLocation | format=leaflet }}
The query result could not be obtained from the SPARQL database. This error might be temporary or indicate a bug in the database software.