Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

ENH: Allow validation when extra types are included #10

Open
nicholsn opened this issue Jun 24, 2014 · 1 comment
Open

ENH: Allow validation when extra types are included #10

nicholsn opened this issue Jun 24, 2014 · 1 comment

Comments

@nicholsn
Copy link

Currently the validator will not recognize a shape if it includes additional rdf:type information. So the example below will only validate if prov:Entity is removed.

Is it within scope for the validator to simply ignore this additional information?

:ds001 
    a dctypes:Dataset, prov:Entity ;
    dct:title "Balloon Analog Risk-taking Task"@en ;
    dct:identifier "ds001"@en ;
    dct:description "Subjects perform the Balloon Analog Risk-taking Task in an event-related design."@en ;
    dcat:accessURL <https://openfmri.org/dataset/ds001> ;
    pav:hasCurrentVersion :ds001-1.0.0 ;
    dct:license <http://www.opendatacommons.org/licenses/pddl/1.0/> ;
    dct:publisher <https://openfmri.org> ;
    prov:specializationOf :this ;
    cogat:task :obart .
@AlasdairGray
Copy link
Owner

Certainly thought needs to be given as to which properties must be constrained to specific numbers and those which can have optional extra values.
On 24 Jun 2014, at 14:00, Nolan Nichols <[email protected]mailto:[email protected]> wrote:

Currently the validator will not recognize a shape if it includes additional rdf:type information. So the example below will only validate if prov:Entity is removed.

Is it within scope for the validator to simply ignore this additional information?

:ds001
a dctypes:Dataset, prov:Entity ;
dct:title "Balloon Analog Risk-taking Task"@en ;
dct:identifier "ds001"@en ;
dct:description "Subjects perform the Balloon Analog Risk-taking Task in an event-related design."@en ;
dcat:accessURL https://openfmri.org/dataset/ds001 ;
pav:hasCurrentVersion :ds001-1.0.0 ;
dct:license http://www.opendatacommons.org/licenses/pddl/1.0/ ;
dct:publisher https://openfmri.org ;
prov:specializationOf :this ;
cogat:task :obart .


Reply to this email directly or view it on GitHubhttps://github.com//issues/10.


Sunday Times Scottish University of the Year 2011-2013
Top in the UK for student experience
Fourth university in the UK and top in Scotland (National Student Survey 2012)

We invite research leaders and ambitious early career researchers to
join us in leading and driving research in key inter-disciplinary themes.
Please see www.hw.ac.uk/researchleaders for further information and how
to apply.

Heriot-Watt University is a Scottish charity
registered under charity number SC000278.

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

No branches or pull requests

2 participants