plt-tud / r43ples

Revision Management for the Semantic Web
Other
19 stars 16 forks source link

Insert Query - Revision not referenced by a branch #79

Closed splattater closed 7 years ago

splattater commented 7 years ago

Hello, I tried to use r43ples. You can find my setup here https://github.com/splattater/r43ples-docker. I followed your instructions and struggle to insert data.

How can I create a branch or is there something like a default branch? Norman

stephanhensel commented 7 years ago

Hi Norman, R43ples enumerate the revisions starting with "1". So you have to use "1" instead of "0". The default branch is "master" which you can use instead of the revision identifier. Further, within your query is the DATA keyword missing. The following query should work for you: `USER "mgraube" MESSAGE "test commit" INSERT DATA { GRAPH http://example.org/ REVISION "1" {

. } } ` Please give a short notice if it works. Best regards, Stephan
splattater commented 7 years ago

Hi Stephan, thank you for your help. I tried out your example from above and got the following log entries:

stephanhensel commented 7 years ago

It seems that you are using the develop branch? Please switch to master, the develop branch is currently not very stable because we are restructuring a lot.

splattater commented 7 years ago

Hey Stephan, I started r43ples using the master branch and got the following errors after CREATE-GRAPH-Query. https://gist.github.com/splattater/9861edc6155528832726b342bb1c2306

stephanhensel commented 7 years ago

There seems to be a problem with your configuration file. Normally it would use the sdd.ttl but in your case the file is called "data.ttl" as it does not exists you get the NullPointer. Did you change the configuration file? Can you please provide your configuration file that I can have look at it.

splattater commented 7 years ago

Ah, I got it. Changed my r43ples.conf file back to default settings. I thought it would be possible to name a turtle file (with content) that will be used when starting r43ples. CREATE and INSERT DATA query are working now. Thank you.