Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define sparql queries which extract metadata records #6

Open
pvgenuchten opened this issue May 16, 2024 · 0 comments
Open

define sparql queries which extract metadata records #6

pvgenuchten opened this issue May 16, 2024 · 0 comments
Assignees

Comments

@pvgenuchten
Copy link
Contributor

Fetch all metadata records from sparql, to prepare script which dumps data to db

similar to

PREFIX dcat: <http://www.w3.org/ns/dcat#>
PREFIX odp:  <http://data.europa.eu/euodp/ontologies/ec-odp#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>

SELECT * WHERE { ?r a dcat:record} LIMIT 1000

Considering:

  • contacts, distributions, keywords are multiple per row
  • 2 records may share the same id, and are thus the same record (from different sources)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants