You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/09/02 17:58:52 UTC

[jira] [Commented] (MARMOTTA-283) Triples are removed in DELETE/INSERT statement

    [ https://issues.apache.org/jira/browse/MARMOTTA-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13756143#comment-13756143 ] 

ASF subversion and git services commented on MARMOTTA-283:
----------------------------------------------------------

Commit 11aae1b5ae23aca6dfab392ed2d94fa7f8957e4b in branch refs/heads/develop from [~wastl]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-marmotta.git;h=11aae1b ]

towards Sesame Test Suite (fixes MARMOTTA-297, addresses MARMOTTA-287, maybe solves MARMOTTA-283)

                
> Triples are removed in DELETE/INSERT statement
> ----------------------------------------------
>
>                 Key: MARMOTTA-283
>                 URL: https://issues.apache.org/jira/browse/MARMOTTA-283
>             Project: Marmotta
>          Issue Type: Bug
>          Components: Triple Store
>    Affects Versions: 3.1-incubating
>         Environment: http://connectme.salzburgresearch.at/yoovis
>            Reporter: Dietmar Glachs
>            Assignee: Sebastian Schaffert
>
> when issuing a delete insert sparql query like this
> WITH <http://connectme.salzburgresearch.at/yoovis/resource/video/yoovisid_7214>
> DELETE {
> 	?annotation ?p ?v.
> 	?fragment ?r ?s.
> 	<http://connectme.salzburgresearch.at/yoovis/resource/video/yoovisid_7214>  <http://www.w3.org/ns/ma-ont#hasFragment> ?fragment.
> }
> INSERT {
> <http://connectme.salzburgresearch.at/yoovis/resource/video/yoovisid_7214> <http://www.w3.org/ns/ma-ont#hasFragment> <http://connectme.at/fragment/9358aa9aa1df14994825a822f29c4b2c> .
> <http://connectme.at/fragment/9358aa9aa1df14994825a822f29c4b2c> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/ns/ma-ont#MediaFragment> .
> <http://connectme.at/fragment/9358aa9aa1df14994825a822f29c4b2c> <http://www.w3.org/ns/ma-ont#locator> "https://s3-eu-west-1.amazonaws.com/yoo.120/connectme/7214_519_20130721030604_ogg.ogv#t=43,53"^^<http://www.w3.org/2001/XMLSchema#anyURI> .
> <http://connectme.at/fragment/9358aa9aa1df14994825a822f29c4b2c> <http://www.w3.org/ns/ma-ont#locator> "https://s3-eu-west-1.amazonaws.com/yoo.120/connectme/7214_519_20130721030604_standard.mp4#t=43,53"^^<http://www.w3.org/2001/XMLSchema#anyURI> .
> <http://connectme.at/fragment/9358aa9aa1df14994825a822f29c4b2c> <http://www.w3.org/ns/ma-ont#locator> "https://s3-eu-west-1.amazonaws.com/yoo.120/connectme/7214_519_20130721030604_webm.webm#t=43,53"^^<http://www.w3.org/2001/XMLSchema#anyURI> .
> <http://connectme.at/fragment/9358aa9aa1df14994825a822f29c4b2c> <http://connectme.at/ontology#implicitlyShows> <http://de.dbpedia.org/resource/Ober\u00F6sterreich> .
> <http://connectme.at/annotation/9358aa9aa1df14994825a822f29c4b2c> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.openannotation.org/ns/Annotation> .
> <http://connectme.at/annotation/9358aa9aa1df14994825a822f29c4b2c> <http://www.openannotation.org/ns/hasTarget> <http://connectme.at/fragment/9358aa9aa1df14994825a822f29c4b2c> .
> <http://connectme.at/annotation/9358aa9aa1df14994825a822f29c4b2c> <http://purl.org/dc/terms/creator> <http://www.yoovis.tv/user.aspx?id=519> .
> <http://connectme.at/annotation/9358aa9aa1df14994825a822f29c4b2c> <http://purl.org/dc/terms/created> "2013-08-20T08:33:45+00:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
> <http://connectme.at/annotation/9358aa9aa1df14994825a822f29c4b2c> <http://www.openannotation.org/ns/hasBody> <http://de.dbpedia.org/resource/Ober\u00F6sterreich> .
> <http://www.yoovis.tv/user.aspx?id=519> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Person> .
> }
> WHERE {
> 	?annotation <http://www.openannotation.org/ns/hasTarget> ?fragment.
> 	?annotation ?p ?v.
> 	OPTIONAL {
> 		?fragment ?r ?s
> 	}
> 	FILTER (?fragment = <http://connectme.at/fragment/9358aa9aa1df14994825a822f29c4b2c>)
> }
> Code: 200; Message: 
> verify this: 
> http://connectme.salzburgresearch.at/yoovis/resource?uri=http://connectme.at/fragment/9358aa9aa1df14994825a822f29c4b2c 
> http://connectme.salzburgresearch.at/yoovis/resource?uri=http://connectme.at/annotation/9358aa9aa1df14994825a822f29c4b2c 
> the inserted triples are not stored when they are not changed - the annotation has a modification date - this is the only triple which remains.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira