Sparql insert data not working

后端 未结 2 1857
清酒与你
清酒与你 2020-12-11 08:38

I\'m a newbie to Sparql, but I am unable even to make a simple insert data query, or so it seems.

I\'m using Apache Fuseki as working server; I\'m in a graph, and I\

相关标签:
2条回答
  • 2020-12-11 08:59

    In SPARQL, query and update are different operations. In Fuseki, they reside on different endpoints (so query can be be more widely accessible than update).

    You are calling the query endpoint (.../query or .../sparql usually) ; you need to call the update (.../update).

    0 讨论(0)
  • 2020-12-11 09:12

    There is a syntax error with your turtle in the SPARQL update

    instead of

      [ a 
        oa:Annotation ;                    
        rdfs:label "Title";                    
      ] .     
    

    use

      [ a 
        oa:Annotation ;                    
        rdfs:label "Title"                    
      ] . 
    
    0 讨论(0)
提交回复
热议问题