followup questions to Arthur's proposal regarding scope/filter (ISSUE-43)

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