Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nanopub get published but are not available in the SPARQL endpoint #12

Open
vemonet opened this issue Jul 1, 2022 · 1 comment
Open

Comments

@vemonet
Copy link
Contributor

vemonet commented Jul 1, 2022

Some nanopubs are successfully published but cannot be queried through the SPARQL endpoint

Here are 2 nanopubs published but that can't be found in the SPARQL endpoint https://virtuoso.nps.petapico.org/sparql

Tried with this query:

SELECT * WHERE {
 GRAPH ?g {
  <http://purl.org/np/RAFi4vsVj-Xuh6tay2rt29ztwJ-7rDPDCLMIeDqJDMw-A> ?p ?o .
 }
} LIMIT 10

It is due to the use of the integer data type for dct:created in the pubinfo, it should be xsd:dateTime

dct:created "2022-06-24T09:36:41+00:00"^^xsd:integer

cf. related issue peta-pico/nanopub-services#2

Ideally nanopub-java should fail and show an error message when someone tries to publish a nanopub that does not meet all the requirements to be available through the SPARQL endpoint, otherwise we might end up with a hidden network of semi-valid nanopubs

@tkuhn
Copy link
Member

tkuhn commented Dec 2, 2022

Related to: tkuhn/nanopub-server#14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants