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

full URI's for aboutURL? #69

Closed
rlzijdeman opened this issue Mar 5, 2019 · 2 comments
Closed

full URI's for aboutURL? #69

rlzijdeman opened this issue Mar 5, 2019 · 2 comments

Comments

@rlzijdeman
Copy link
Member

rlzijdeman commented Mar 5, 2019

hi,

with the advent of xsd:anyURI we are now able to deal with full URI's in the cell value when one tries to define a (virtual) valueURL (i.e. the base URL is not added).

what about the aboutURL? I was given two columns with URI's for which I want to declare a skos:related relation. How can I avoid the prefix being added to the aboutURL?

Best,

Richard

@RoderickvanderWeerdt
Copy link
Contributor

This functionality is now available in COW (but not yet in the PyPi version). When you use the datatype xsd:linkURI in the JSON description of your dataset it will not add any prefix to the subject and to the object of the triple. For this to works the column has to be a virtual column. It will use the aboutUrl as the subject and the object will be the valueUrl.
For example:

{
  "virtual": true,
  "aboutUrl": "{id_person}",
  "propertyUrl": "OWL:sameAs",
  "valueUrl": "{id_country}",
  "datatype": "xsd:linkURI"
}

@RoderickvanderWeerdt
Copy link
Contributor

It is now also available in the new version of COW on PyPi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants