Difference between revisions of "Querying Coral Records"

From Linked Earth Wiki
Jump to: navigation, search
(Create example query page using the coral archive)
 
m (Fix typo)
Line 4: Line 4:
  
 
<pre>
 
<pre>
{{ #ask: [[Category:Dataset_©]] [[IncludesPaleoData_©.BasedOn_©.Name_©::coral]]
+
{{ #ask: [[Category:Dataset_©]] [[IncludesPaleoData_©.BasedOn_©.Name_©::Coral]]
 
  | ?IncludesPaleoData_©=PaleoData
 
  | ?IncludesPaleoData_©=PaleoData
 
  | format=broadtable
 
  | format=broadtable
Line 10: Line 10:
 
}}
 
}}
 
</pre>
 
</pre>
{{ #ask: [[Category:Dataset_©]][[IncludesPaleoData_©.BasedOn_©.Name_©::coral]]
+
{{ #ask: [[Category:Dataset_©]][[IncludesPaleoData_©.BasedOn_©.Name_©::Coral]]
 
  | ?IncludesPaleoData_©=PaleoData
 
  | ?IncludesPaleoData_©=PaleoData
 
  | format=broadtable
 
  | format=broadtable
 
  | limit=5
 
  | limit=5
 
}}
 
}}

Revision as of 03:15, 23 June 2016

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: Find the datasets with archive Coral (limit to 10)

{{ #ask: [[Category:Dataset_©]] [[IncludesPaleoData_©.BasedOn_©.Name_©::Coral]]
 | ?IncludesPaleoData_©=PaleoData
 | format=broadtable
 | limit=5
}}