ocument }&#x000A;    GRAPH &lt;http://kasei.us/2009/09/sparql/data/data3.rdf&gt; { &lt;http://kasei.us/2009/09/sparql/data/data3.rdf&gt; a foaf:Document }&#x000A;} ;&#x000A;INSERT {&#x000A;    GRAPH &lt;http://example.org/protocol-update-dataset-full-test/&gt; {&#x000A;        ?s &lt;http://example.org/in&gt; ?in&#x000A;    }&#x000A;}&#x000A;WHERE {&#x000A;    {&#x000A;        GRAPH ?g { ?s a foaf:Document }&#x000A;        BIND(?g AS ?in)&#x000A;    }&#x000A;    UNION&#x000A;    {&#x000A;        ?s a foaf:D