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

Validate RDF Type property as a URI #314

Closed
Stephen-Gates opened this issue Dec 10, 2017 · 3 comments
Closed

Validate RDF Type property as a URI #314

Stephen-Gates opened this issue Dec 10, 2017 · 3 comments
Labels
env:MacOS This issue is related to running Data Curator on macOS env:Windows This issue is related to running Data Curator on Windows fn:Set-Properties priority:Medium problem:Bug A bug
Milestone

Comments

@Stephen-Gates
Copy link
Contributor

Current Behaviour (for problems)

RDF Type is not validated

Expected Behaviour

RDF Type must be a URI

Your Environment

  • Data Curator version: 0.7.0
  • Operating System and version: macOS High Sierra 10.13.1
@Stephen-Gates Stephen-Gates added env:MacOS This issue is related to running Data Curator on macOS fn:Set-Properties problem:Bug A bug labels Dec 10, 2017
@Stephen-Gates Stephen-Gates added this to the v1.x.x milestone Dec 10, 2017
@Stephen-Gates Stephen-Gates added priority:Medium env:Windows This issue is related to running Data Curator on Windows labels Dec 13, 2017
@Stephen-Gates Stephen-Gates changed the title RDF Type should be validated as a URI Validate RDF Type property as a URI Dec 31, 2017
@Stephen-Gates Stephen-Gates modified the milestones: v1.x.x, 0.9.0 Jan 10, 2018
@ghost
Copy link

ghost commented Jan 10, 2018

My understanding is that the rdf type can be any kind of URI, not always just a URL? - I think that this might be extremely hacky and difficult to do.
I notice that in the referring document from the spec, that the standard changed from URI to IRI, which seems even more generic.
Are we expecting that rdf classes are always some type of url, rather than iri?

@Stephen-Gates
Copy link
Contributor Author

Let's just validate as a URL for the moment

@ghost ghost closed this as completed in 483370b Jan 22, 2018
@Stephen-Gates
Copy link
Contributor Author

Stephen-Gates commented Jan 23, 2018

I didn’t see an error message with this validation when I quickly tested it. Is there one?

Should be like
screenshot 2018-01-23 20 08 06

RDF Type must be a valid URL e.g. http://schema.org/Country
screenshot 2018-01-23 20 10 12

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
env:MacOS This issue is related to running Data Curator on macOS env:Windows This issue is related to running Data Curator on Windows fn:Set-Properties priority:Medium problem:Bug A bug
Projects
None yet
Development

No branches or pull requests

1 participant