vivo-project / VIVO

VIVO is an extensible semantic web application for research discovery and showcasing scholarly work
http://vivoweb.org
BSD 3-Clause "New" or "Revised" License
205 stars 129 forks source link

Upload RDF data with blank nodes results in shredded ontology data in TBOX #3871

Closed litvinovg closed 1 year ago

litvinovg commented 1 year ago

Describe the bug Upload ontology data that contains blank nodes doesn't work. Data is getting shredded in TBOX

To Reproduce Steps to reproduce the behavior:

  1. Verify that TBOX doesn't contain any shredded data (Go to Ingest tools -> Manage Jena models -> click output model on http://vitro.mannlib.cornell.edu/default/asserted-tbox )
  2. Upload dataset.ttl.zip via siteAdmin -> Add/Remove RDF data
  3. Verify that uploaded data is shredded. Go to Ingest tools -> Manage Jena models -> click output model on http://vitro.mannlib.cornell.edu/default/asserted-tbox You should see something like that image

Expected behavior The same data as attached to this issue should appear in TBOX

Workaround

  1. Upload the same data via Ingest tools -> Manage Jena models -> add/remove RDF data.
  2. Reload VIVO
brianjlowe commented 1 year ago

Resolved in PR https://github.com/vivo-project/Vitro/pull/393

litvinovg commented 5 months ago

I created a query to collect corrupted triples to remove from http://vitro.mannlib.cornell.edu/default/asserted-tbox graph. shredded-triples.rq.txt