Skip to content
Permalink
Browse files

Merge pull request #13 from fcrepo4-labs/fcrepo-1532

Updating mime type predicate
  • Loading branch information...
awoods committed Jul 16, 2015
2 parents efb9485 + cb03334 commit a06a675808e5301cca82543cd52e001c4d618478
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/test/java/org/fcrepo/it/SparqlRecipesIT.java
@@ -228,11 +228,12 @@ public void testSparqlQueries1() throws IOException, InterruptedException {
new FusekiResponse(new String(response1b.toByteArray()).trim()).getValues("object"));

final String fusekiQuery1c = "prefix fcrepo: <http://fedora.info/definitions/v4/repository#>\n" +
"prefix ebucore: <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#>\n" +
"select ?object where { \n" +
" ?ds fcrepo:mixinTypes \"" + DATASTREAM_MIXIN_TYPE + "\" .\n" +
" ?ds fcrepo:hasParent ?object . \n" +
" ?ds " + DATASTREAM_RELATION + " ?content .\n" +
" ?content fcrepo:mimeType \"application/pdf\" \n" +
" ?content ebucore:hasMimeType \"application/pdf\" \n" +
"}";
final ByteArrayOutputStream response1c = new ByteArrayOutputStream();
queryFuseki(fusekiQuery1c).getEntity().writeTo(response1c);

0 comments on commit a06a675

Please sign in to comment.
You can’t perform that action at this time.