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:

The SPARQL magic properties reference has additional information on using AllegroGraph magic properties and functions.