使用sparql删除查询

时间:2015-08-26 14:12:20

标签: apache rdf sparql jena fuseki

我正在尝试使用此查询删除一些三元组,但它给了我以下错误

  

此行无效

我不明白我做错了什么。谁能帮我?

DELETE DATA{ 
GRAPH <http://vitali.web.cs.unibo.it/raschietto/graph/ltw1536>
            { [ a   oa:Annotation;
                   rdfs:label "Author"^^<http://www.w3.org/2001/XMLSchema#string> ;
                   vurp:type "hasAuthor"^^<http://www.w3.org/2001/XMLSchema#normalizedString> ;
                   oa:AnnotatedAt "2015-8-26T10:1:25"^^<http://www.w3.org/2001/XMLSchema#dateTime>;
                    oa:AnnotatedBy <ccc>;

                oa:hasBody [ a rdf:Statement;
                    rdf:object [ a <http://xmlns.com/foaf/0.1/Person> ;
                    rdf:subject  <http://vitali.web.cs.unibo.it/raschietto/person/s-undefinedstocazzo> ;  
                    rdfs:label "stocazzo"^^<http://www.w3.org/2001/XMLSchema#string>                 
                    ];

            rdf:predicate <http://purl.org/dc/terms/creator> ;      
            rdf:subject <http://www.dlib.org/dlib/november14/knoth/11knoth.html> ; 
            rdfs:label "An author of the document is stocazzo"^^<http://www.w3.org/2001/XMLSchema#string>

          ] ;
              oa:hasTarget [ a  oa:SpecificResource;
                                          oa:hasSelector [a oa:FragmentSelector;
                                                            rdf:value "form1_table3_tbody1_tr1_td1_table5_tbody1_tr1_td1_table1_tbody1_tr1_td2_p4"^^<http://www.w3.org/2001/XMLSchema#normalizedString>;
                                                            oa:end "91"^^<xsd:nonNegativeInteger>;
                                                            oa:start "77"^^<xsd:nonNegativeInteger>
                                                            ];
                                                     oa:hasSource <http://www.dlib.org/dlib/november14/knoth/11knoth.html>;
                                                        ]
            ].
                                       }
                }

0 个答案:

没有答案