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
206 stars 129 forks source link

VIVO-1328: Export ontology should only contain prefixes used in the ontology being exported #2919

Open chenejac opened 7 years ago

chenejac commented 7 years ago

Mike Conlon (Migrated from VIVO-1328) said:

When exporting ontologies to formats that list prefixes (all formats except N-Triples), a large and static list of prefixes is exported whether or not the prefix is used in the ontology being exported.  

Desired behavior is to include prefixes for those ontologies used in the exported ontology.  That is, include the minimum number of prefixes required to define the elements in the export.

chenejac commented 7 years ago

Jim Blake said:

Edited: N3 does use prefixes; N-Triples does not.