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
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:
It is due to the use of the integer data type for
dct:createdin thepubinfo, it should bexsd:dateTimedct:created "2022-06-24T09:36:41+00:00"^^xsd:integercf. related issue peta-pico/nanopub-services#2
Ideally
nanopub-javashould 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