Skip to content

Commit

Permalink
Updating mime type predicate
Browse files Browse the repository at this point in the history
  • Loading branch information
escowles committed Jul 16, 2015
1 parent efb9485 commit cb03334
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/org/fcrepo/it/SparqlRecipesIT.java
Expand Up @@ -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);
Expand Down

0 comments on commit cb03334

Please sign in to comment.