Template:DatasetValue

From Open Energy Information

This is the DatasetValue template. It is used to fetch a single value from an RDF-ready OpenEI dataset. It is used in the Country Profile template.


Properties
  • id - The Dataset's unique id (int)
  • subject - The SPARQL subject (string, var like '?v')
  • predicate - The SPARQL predicate (string) The following prefixes can be used in this field:
    • dsnav:
    • dsprop:
  • aggregateFn - The name of the aggregate function to call on the results. (string, example: 'max').


Example Usage
{{DatasetValue
|id=452
|subject=Argentina
|predicate=dsprop:provedNaturalGasReserves
}}