Template:DatasetValue

From Open Energy Information

Revision as of 10:17, 31 March 2014 by Jweers (talk | contribs) (Force rebuild.)

This is the DatasetValue template. It is used to fetch a single value from an RDF-ready OpenEI dataset. It should be called in the following format:

{{DatasetValue
|id=
|subject=
|predicate=
|aggregateFn=
}}

Edit the page to see the template text.

Properties
  • id (int) The Dataset's unique id.
  • subject (var) The SPARQL subject.
  • predicate (string) the SPARQL predicate. The following prefixes can be used in this field:
    • dsnav:
    • dsprop:
  • aggregateFn (string) name of the aggregate function to call on the results. Example: 'max'.
Example Usage
{{DatasetValue
|id=452
|subject=Argentina
|predicate=dsprop:provedNaturalGasReserves
}}