modelRDFS.open();
URI hasTag = new URIImpl("prop://hasTag");
URI tagSemweb = new URIImpl("tag://semweb");
URI fileA = new URIImpl("file://a");
modelRDFS.addStatement(fileA, hasTag, tagSemweb);
Assert.assertTrue(modelRDFS.sparqlAsk("ASK WHERE { " + fileA.toSPARQL() + " "
+ hasTag.toSPARQL() + " ?tag . }"));
Assert.assertTrue(modelRDFS.sparqlAsk("ASK WHERE { " + fileA.toSPARQL() + " " + " ?prop "
+ tagSemweb.toSPARQL() + " . }"));
Assert.assertFalse(modelRDFS.sparqlAsk("ASK WHERE { " + fileA.toSPARQL() + " "
+ "<prop://bogus>" + " ?tag . }"));