Re: [dxwg] DCAT - schema.org alignment (profile)

my notes from yesterday towards a mapping tested by applying it to turning Google Dataset Search documentation into DCAT RDF is in https://twitter.com/danbri/status/1055787656318214144

The [python notebook](https://colab.sandbox.google.com/drive/1FKoN3HR69vqVN3fVH36E3MRkB7wSXGEt) runs a SPARQL CONTEXT query, based on consulting @dr-shorthair 's term mappings:

```
PREFIX s: <http://schema.org/>
PREFIX dcat: <http://www.w3.org/ns/dcat#>
PREFIX dct: <http://purl.org/dc/terms/>

CONSTRUCT { 
  ?d a dcat:Dataset ; dct:title ?t ; dct:description ?desc .
  ?d dcat:distribution [a dcat:Distribution ; dct:format ?ef ] .
  ?d dct:license ?lic .
  ?d dct:temporal ?tempC .
} WHERE { 
  ?d a s:Dataset; s:name ?t ; s:description ?desc . 
  ?d s:distribution [ s:encodingFormat ?ef ] .
  OPTIONAL { 
  ?d s:license ?lic . 
  }
  OPTIONAL {
  ?d s:temporalCoverage ?tempC .  
  }
}
```

It would be interesting to get at least one such query blessed by the WG. One motivation for doing so would be to communicate to Google what the WG thinks a DCAT version of a particular example ought to look like.

This is in the opposite direction to https://ec-jrc.github.io/dcat-ap-to-schema-org/#formal-definition-sparql-mapping-properties-dataset but the same basic approach.

-- 
GitHub Notification of comment by danbri
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/251#issuecomment-433386589 using your GitHub account

Received on Friday, 26 October 2018 12:10:10 UTC