# filename: ex212.rq PREFIX spin: PREFIX rdfs: PREFIX dm: CONSTRUCT { _:b0 a spin:ConstraintViolation . _:b0 rdfs:comment "Location value must be a URI" . _:b0 spin:violationRoot ?this . } WHERE { ?this dm:location ?city . FILTER (!isURI(?city)) . }