http://franz.com/ns/allegrograph/6.2.0/attributesNameValue
Retrieve the names and values of attributes associated with triples
(?name ?value) <http://franz.com/ns/allegrograph/6.2.0/attributesNameValue> (?s ?p ?o) .
This magic property binds ?name
and ?value
to each of the <attribute-name, value>
pairs of the attributes associated with each <?s ?p ?o>
triple. Any of the ?name
, ?value
, ?s
, ?p
, and ?o
placeholders may be bound. For example, to find all of the values associated with the "color"
attribute of triples whose predicate is <ex://person>
, we would write
prefix attr: <http://franz.com/ns/allegrograph/6.2.0/>
select ?person ?color {
('color' ?color) attr:attributesNameValue (?person <ex://person> ?o) .
}
Notes
The following namespace abbreviations are used:
- fti - <http://franz.com/ns/allegrograph/2.2/textindex/>
- geo - <http://franz.com/ns/allegrograph/3.0/geospatial/>
- geofn - <http://franz.com/ns/allegrograph/3.0/geospatial/fn/>
- nd - <http://franz.com/ns/allegrograph/5.0/geo/nd#>
- ndfn - <http://franz.com/ns/allegrograph/5.0/geo/nd/fn#>
- sna - <http://franz.com/ns/allegrograph/4.11/sna/>
The SPARQL magic properties reference has additional information on using AllegroGraph magic properties and functions.