Closed fils closed 6 years ago
I'll do up a BIND VALUES example here
prefix schema: http://schema.org/
SELECT ?val ?desc ?pubname ?puburl
WHERE
{
VALUES ?ID
{
https://www.bco-dmo.org/dataset/3300
http://opencoredata.org/id/dataset/bcd15975-680c-47db-a062-ac0bb6e66816
}
?ID schema:variableMeasured ?res .
OPTIONAL {
?res a schema:PropertyValue .
?res schema:value ?val .
?res schema:description ?desc
}
OPTIONAL {
?ID schema:publisher ?pub .
OPTIONAL { ?pub schema:name ?pubname }
OPTIONAL { ?pub schema:url ?puburl }
}
}
Can this be done on an array of reosurces?