Sha256: d3cfa55df9a340fa9e6327a94d62cbe53ff24c458a94992e852e3928670abe79

Contents?: true

Size: 634 Bytes

Versions: 14

Compression:

Stored size: 634 Bytes

Contents

PREFIX rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs:    <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos:    <http://www.w3.org/2004/02/skos/core#>
PREFIX qb:      <http://purl.org/linked-data/cube#>
PREFIX xsd:     <http://www.w3.org/2001/XMLSchema#>
PREFIX owl:     <http://www.w3.org/2002/07/owl#>

# IC-1. Unique DataSet

SELECT ?obs {
  {
    # Check observation has a data set
    ?obs a qb:Observation .
    MINUS { ?obs qb:dataSet ?dataset1 . }
  } UNION {
    # Check has just one data set
    ?obs a qb:Observation ;
       qb:dataSet ?dataset1, ?dataset2 .
    FILTER (?dataset1 != ?dataset2)
  }
}

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
publisci-0.1.6 spec/queries/integrity/1.rq
publisci-0.1.5 spec/queries/integrity/1.rq
publisci-0.1.4 spec/queries/integrity/1.rq
publisci-0.1.3 spec/queries/integrity/1.rq
publisci-0.1.2 spec/queries/integrity/1.rq
bio-publisci-0.1.0 spec/queries/integrity/1.rq
bio-publisci-0.0.8 spec/queries/integrity/1.rq
bio-publisci-0.0.7 spec/queries/integrity/1.rq
bio-publisci-0.0.6 spec/queries/integrity/1.rq
bio-publisci-0.0.5 spec/queries/integrity/1.rq
bio-publisci-0.0.4 spec/queries/integrity/1.rq
bio-publisci-0.0.3 spec/queries/integrity/1.rq
bio-publisci-0.0.2 spec/queries/integrity/1.rq
bio-publisci-0.0.1 spec/queries/integrity/1.rq