Martynas Jusevičius
Martynas Jusevičius
I was just following the examples from [Using RDF and SPARQL to access the graph in Amazon Neptune](https://docs.aws.amazon.com/neptune/latest/userguide/get-started-graph-sparql.html) and replacing `curl` with `awscurl` :) If I remove the `--data-binary` arg...
This works! ```bash awscurl 'https://xxxxxxxxxxxxcluster.cluster-ro-cnol6sn9sq5j.us-east-1.neptune.amazonaws.com:8182/sparql' \ -X POST \ -d 'query=ASK {}' \ --region us-east-1 \ --service neptune-db \ --header 'Content-Type: application/x-www-form-urlencoded' ```
@okigan what about `--data-binary`? Why does it differ from plain curl?
OK, I see this error in the log now: ``` 2024-09-13 14:31:55 ERROR [main] (MongoDBQuery.scala:76) - Invalid query string: db.vacancies.find({}) ``` Why is the query string invalid if it works...
I found the cause :) https://github.com/frmichel/morph-xr2rml/blob/master/morph-xr2rml-mongo/src/main/scala/fr/unice/i3s/morph/xr2rml/mongo/MongoDBQuery.scala#L76 Why is `db` hardcoded though?
Sorry I should have mentioned that my actual DB is not called `db` but `seed`.
I've replaced the query with `xrr:query "db.vacancies.find({})";` (not sure how it's supposed to resolve to `seed`? But that's another issue) and now I get: ``` com.mongodb.MongoSecurityException: Exception authenticating at com.mongodb.internal.connection.NativeAuthenticator.authenticate(NativeAuthenticator.java:48)...
I've tried upgrading `mongo-java-driver` in `morph-xr2rml-mongo` to 3.12.14 but then I'm not able to run `mvn clean install`: ``` [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for morph-xr2rml parent project 1.3.2-SNAPSHOT: [INFO]...
@frmichel can we make sure first that the project builds? :) Maybe the `db` is not an issue. The `docker-compose` setup is pretty weird too :) I can try to...
Unrelated but `DatasetGraphOverSparql`, `DatasetGraphOverRDFLink` etc. look like the wrong design to me. They wrap the transport implementations inside what should be RDF spec implementations (`Model` and `Dataset`). That is a...