PREFIX declarations at the beginning of the request will not be parsedparsePrefix argument specifies if the PREFIX declarations at the beginning of the request will be parseddecl argument specifies how and if the PREFIX declarations at the beginning of the request will be parsedSELECT ?zone WHERE { ?zone rdf:type sitac:TaskZone . ?zone sitac:isTasked "true" . }To parse this request, we can do:
SPARQLParser parser = new SPARQLParser("sitac"); SparqlRequest request = parser.parseQuery(<the request String>);
Copyright 2025 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence