PrefixedName can be used as a key in a Map, a Set, a SortedMap, or a SortedSet.
PrefixedName:PrefixedName with the prefix and the name.people:Person.PrefixedName prefixed = new PrefixedName("people", "Person");
PrefixedName will be createdpeople:Person.SparqlRequest request = new SparqlRequest("people"); PrefixedName prefixed = new PrefixedName(request, "Person");Here we create a prefixed name which represents
friends:Person.SparqlRequest request = new SparqlRequest("people"); PrefixedName prefixed = new PrefixedName(request, "friends:Person");
PrefixedName. people:Person.SparqlRequest request = new SparqlRequest("people"); PrefixedName prefixed = new PrefixedName(request, "Person");Here we create a prefixed name which represents
:Person.PrefixedName prefixed = new PrefixedName("Person");Here we create a prefixed name which represents
friends:Person.PrefixedName prefixed = new PrefixedName("friends:Person");
PrefixedName as keys. SparqlRequest request = new SparqlRequest("sitac"); request.addSelect("zone"); request.addType("zone", "TaskZone");Have the following result:
SELECT ?zone WHERE { ?zone rdf:type sitac:TaskZone . }The
request.getWhereExpressions() method will return a List with one WhereExpression.WhereExpression with:zone variablesitac:TaskZonePropertyDecl for the elementCopyright 2025 Dassault Aviation. All Rights Reserved. Documentation and source under the LGPL v3 licence
Project Web Hosted by
Copyright 1999-2010 -
Geeknet, Inc., All Rights Reserved
About
-
Legal
-
Help