Using sh:maxExclusive to compare (the values of) two datatype properties
问题 Connected to this question: I cannot use sh:lessThan with xsd:positiveInteger Indeed, I managed to make my example working by writing: sh:property [ sh:path ontology:has-age ; sh:maxExclusive 16 ; ] ; However, now I would like to compare the value of "ontology:has-age" not with a constant but with the value of another datatype property defined on the same individual (and having 16 as value): ontology:John rdf:type ontology:DataSubject ; ontology:has-age "14"^^xsd:positiveInteger ; ontology