---
:format: :json
:manifest: manifests.nt
:bibRef: ! '[[json-ld-api]]'
:name: JSON-LD 1.1 Processing Algorithms and API and Framing
:query: |
  PREFIX mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#>
  PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
  PREFIX jld: <https://w3c.github.io/json-ld-api/tests/vocab#>

  SELECT ?uri ?testAction ?manUri
  WHERE {
    ?uri mf:action ?testAction .
    OPTIONAL {
      ?uri jld:option [jld:specVersion ?version] .
    }
    FILTER (!bound(?version) || ?version != 'json-ld-1.0')
    OPTIONAL {
      ?manUri a mf:Manifest; mf:entries ?lh .
      ?lh rdf:first ?uri .
    }
  }
