In the following segment of code:

String queryString = "construct {?s a ?o} where {?s a ?o minus {?s a <http://xmlns.com/foaf/0.1/Person>}}";
Query query = QueryFactory.create(queryString);
QueryExecution qe = QueryExecutionFactory.create(query,m);
Model whoa = qe.execConstruct();

Rather than remove just the pattern {?s a <http://xmlns.com/foaf/0.1/Person>}, it removes all types as if the MINUS pattern was {?s a ?p}

    - Erich
========================
http://www.ebremer.com
http://haylyn.io

Reply via email to