Skip to content

conversion:range

Timothy Lebo edited this page Feb 14, 2012 · 27 revisions
csv2rdf4lod-automation is licensed under the [Apache License, Version 2.0](https://github.com/timrdf/csv2rdf4lod-automation/wiki/License)

See conversion:Enhancement.

Resource range

conversion:range rdfs:Resource (how many times used in LOGD?) will promote the cell value to a URI.

Literal ranges

conversion:range rdfs:Literal will keep the cell value as a literal, but it can be typed with the following:

    PREFIX rdfs:       <http://www.w3.org/2000/01/rdf-schema#>
    PREFIX xsd:        <http://www.w3.org/2001/XMLSchema#>
    PREFIX conversion: <http://purl.org/twc/vocab/conversion/>

    SELECT count(distinct ?enhancement) as ?count
    WHERE {
      GRAPH <http://purl.org/twc/vocab/conversion/ConversionProcess> {
        ?dataset a void:Dataset;
          conversion:conversion_process [
            conversion:enhance ?enhancement
          ]
        .
        ?enhancement conversion:range xsd:date .
      }
    }
Clone this wiki locally