Open jefferya opened 7 years ago
This is ok provided within the ontology the full URIs are
@prefix : <http://example.org/book/> .
:book12 <info:fedora/fedora-test:label> "Bleh Blah" .
Then I could query it one of two ways, without a prefix:
SELECT ?pid ?text
WHERE {
?pid <info:fedora/fedora-test:label> ?text
}
or using a prefix (more conventional since it is terse and makes related elements of the same namespace easy to grab)
PREFIX :fedora <info:fedora/fedora-test:>
SELECT ?pid ?text
WHERE {
?pid fedora:label ?text
}
Note that I specified ':' at the end of the URI in my prefix as that is what used in the turtle was used, it could also be '#'if that was used.
What seems likely to me is that 'fedora-model' is a longer URI in the ontology and that should be be a prefix with that URI but again it is possible that is not the case.
ToDo:
PREFIX fedora-model: <info:fedora/fedora-system:def/model#>
fedora-model:label
and fedora-model:hasModel
What this does?
How to test
https://github.com/cwrc/islandora_cwrc_writer/blob/1b07d950faae95fd502240657d4a89bc5b45b02a/includes/callbacks.inc#L18-L23
Reproduce: