KnowWhereGraph / KWG-SHACL

This is the repository of SHACL shapes development/research for KWG.
1 stars 1 forks source link

sh:objectSubjectsOf should be replaced by sh:targetObjectsOf? #6

Closed kbluzhou closed 2 years ago

kbluzhou commented 2 years ago

sh:objectSubjectsOf should be changed to sh:targetObjectsOf in madeBySensorConstraints.ttl and madeObservationConstraints.ttl

cogan-shimizu commented 2 years ago

I do not think so. There should be one targetsOf and one objectsOf for domain and range, respectively.

kbluzhou commented 2 years ago

it's just simple syntax error because there is no objectSubjectsOf defined in SHACL. targetSubjectsOf and targetObjectsOf are two predicates used for domain and range restriction respectively.

cogan-shimizu commented 2 years ago

Oh, I misread the typo (many times)! Thanks for the catch.