query-20216d373d68b1091be1078c511b7a63

rq turtle/ttl

TODO

Use at

select ?idx1 ?val1 ?idx2 ?val2 ?size 


 {
  {select (?idx as ?idx1 ) (?val as ?val1) {  {
  select ?idx ?val {
    values (?idx ?val) {
      (1 11.1)
      (2 22.2)
      (3 33.3)
      (4 44.4)
    }
  }
}} }
  {select (?idx as ?idx2 ) (?val as ?val2) {  {
  select ?idx ?val {
    values (?idx ?val) {
      (1 11.1)
      (2 22.2)
      (3 33.3)
      (4 44.4)
    }
  }
}} }
  {select (count(*) as ?size) { {
  select ?idx ?val {
    values (?idx ?val) {
      (1 11.1)
      (2 22.2)
      (3 33.3)
      (4 44.4)
    }
  }
}} }

  bind (2 as ?idx1)
  bind (4 as ?idx2)
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v7("?idx") v8("?idx1"):::projected v8("?idx2"):::projected v7("?size"):::projected v7("?val") v4("?val1"):::projected v6("?val2"):::projected bind0[/VALUES ?idx ?val/] bind0-->v7 bind0-->v7 bind00(["1^^xsd:integer"]) bind00 --> bind0 bind01(["11.1^^xsd:decimal"]) bind01 --> bind0 bind02(["2^^xsd:integer"]) bind02 --> bind0 bind03(["22.2^^xsd:decimal"]) bind03 --> bind0 bind04(["3^^xsd:integer"]) bind04 --> bind0 bind05(["33.3^^xsd:decimal"]) bind05 --> bind0 bind06(["4^^xsd:integer"]) bind06 --> bind0 bind07(["44.4^^xsd:decimal"]) bind07 --> bind0 bind1[/"?idx"/] v7 --o bind1 bind1 --as--o v8 bind2[/"?val"/] v7 --o bind2 bind2 --as--o v4 bind3[/VALUES ?idx ?val/] bind3-->v7 bind3-->v7 bind30(["1^^xsd:integer"]) bind30 --> bind3 bind31(["11.1^^xsd:decimal"]) bind31 --> bind3 bind32(["2^^xsd:integer"]) bind32 --> bind3 bind33(["22.2^^xsd:decimal"]) bind33 --> bind3 bind34(["3^^xsd:integer"]) bind34 --> bind3 bind35(["33.3^^xsd:decimal"]) bind35 --> bind3 bind36(["4^^xsd:integer"]) bind36 --> bind3 bind37(["44.4^^xsd:decimal"]) bind37 --> bind3 bind4[/"?idx"/] v7 --o bind4 bind4 --as--o v8 bind5[/"?val"/] v7 --o bind5 bind5 --as--o v6 bind6[/VALUES ?idx ?val/] bind6-->v7 bind6-->v7 bind60(["1^^xsd:integer"]) bind60 --> bind6 bind61(["11.1^^xsd:decimal"]) bind61 --> bind6 bind62(["2^^xsd:integer"]) bind62 --> bind6 bind63(["22.2^^xsd:decimal"]) bind63 --> bind6 bind64(["3^^xsd:integer"]) bind64 --> bind6 bind65(["33.3^^xsd:decimal"]) bind65 --> bind6 bind66(["4^^xsd:integer"]) bind66 --> bind6 bind67(["44.4^^xsd:decimal"]) bind67 --> bind6 bind8[/"count(*)"/] bind8 --as--o v7 bind9[/"'2^^xsd:integer'"/] bind9 --as--o v8 bind10[/"'4^^xsd:integer'"/] bind10 --as--o v8