@prefix rs:      <http://www.w3.org/2001/sw/DataAccess/tests/result-set#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

[]    rdf:type    rs:ResultSet ;
      rs:resultVariable  "z" ;
      rs:resultVariable  "y" ;
      rs:resultVariable  "x" ;
      rs:solution
                  [ rs:binding  [ rs:value    "value"@en ;
                                  rs:variable  "z"
                                ] ;
                    rs:binding  [ rs:value    <http://rdf.hp.com/r> ;
                                  rs:variable  "x"
                                ] ;
                    rs:binding  [ rs:value    <http://rdf.hp.com/p2> ;
                                  rs:variable  "y"
                                ]
                  ] ;
      rs:solution
                  [ rs:binding  [ rs:value    "value" ;
                                  rs:variable  "z"
                                ] ;
                    rs:binding  [ rs:value    <http://rdf.hp.com/r> ;
                                  rs:variable  "x"
                                ] ;
                    rs:binding  [ rs:value    <http://rdf.hp.com/p3> ;
                                  rs:variable  "y"
                                ]
                  ] ;
      rs:solution
                  [ rs:binding  [ rs:value    "value"^^rdf:XMLLiteral ;
                                  rs:variable  "z"
                                ] ;
                    rs:binding  [ rs:value    <http://rdf.hp.com/p8> ;
                                  rs:variable  "y"
                                ] ;
                    rs:binding  [ rs:value    <http://rdf.hp.com/r> ;
                                  rs:variable  "x"
                                ]
                  ] ;
      rs:solution
                  [ rs:binding  [ rs:value    <http://rdf.hp.com/p2> ;
                                  rs:variable  "y"
                                ] ;
                    rs:binding  [ rs:value    "value"@zz ;
                                  rs:variable  "z"
                                ] ;
                    rs:binding  [ rs:value    <http://rdf.hp.com/r> ;
                                  rs:variable  "x"
                                ]
                  ] ;
      rs:solution
                  [ rs:binding  [ rs:value    <http://rdf.hp.com/r> ;
                                  rs:variable  "x"
                                ] ;
                    rs:binding  [ rs:value    "value"^^<http://rdf.hp.com/ns#someType> ;
                                  rs:variable  "z"
                                ] ;
                    rs:binding  [ rs:value    <http://rdf.hp.com/p1> ;
                                  rs:variable  "y"
                                ]
                  ] .
