- From: Dimitris Kontokostas <kontokostas@informatik.uni-leipzig.de>
- Date: Thu, 7 Jan 2016 22:32:38 +0200
- To: public-data-shapes-wg <public-data-shapes-wg@w3.org>
- Message-ID: <CA+u4+a15uG=KVcQkGwo=u52KWkRLiZJus4Lsmm12cUpqFa7bUg@mail.gmail.com>
Assuming we have the following shapes graph
-------------------------------------
ex:IssueShape a sh:Shape;
sh:scopeClass ex:Issue ;
sh:property [
sh:predicate ex:submitter ;
sh:valueShape ex:SubmitterShape ;
]
sh:property [
sh:predicate ex:reviewer ;
sh:valueShape ex:MaintainerShape ;
]
ex:SubmitterShape a sh:Shape
sh:scopeClass ex:Person ;
sh:property [
sh:predicate ex:username ;
sh:minCount 1 ;
sh:maxCount 1 ;
]
ex:MaintainerShape a sh:Shape
sh:scopeClass ex:Person ;
sh:filterShape [
sh:property [
sh:predicate ex:maintainer ;
sh:hasValue true ;
]
]
sh:property [
sh:predicate ex:username ;
sh:minCount 1 ;
sh:maxCount 1 ;
]
-------------------------------------
and the following data graph:
-------------------------------------
<issue1> a ex:Issue ;
ex:submitter [ ex:username <rookie> ]
ex:reviewer [ ex:username <admin> ]
<issue2> a ex:Issue ;
ex:submitter [ a ex:Person; ex:username <rookie> ]
ex:reviewer [ a ex:Person; ex:username <admin> ]
<issue3> a ex:Issue ;
ex:submitter [ a ex:Person; ex:username <rookie> ]
ex:reviewer [ a ex:Person; ex:username <admin> ; ex:maintainer true]
<issue4> a ex:Issue ;
ex:submitter [ ex:username <rookie> ]
ex:reviewer [ ex:username <admin> ; ex:maintainer true]
-------------------------------------
which issues are valid according to your resolution?
I am trying to understand your proposal when the shape is referenced in
sh:valueShape and the targeted shape can have a scope and a filter.
--
Dimitris Kontokostas
Department of Computer Science, University of Leipzig & DBpedia Association
Projects: http://dbpedia.org, http://rdfunit.aksw.org, http://
http://aligned-project.eu
Homepage:http://aksw.org/DimitrisKontokostas
Research Group: http://aksw.org
Received on Thursday, 7 January 2016 20:33:34 UTC