You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2025. It is now read-only.
Should take a given file and output the converted file
Current Behavior
The corese convert command tries to download a file that does not exist and returns errors including the content of web pages. Also, it generates new triples depending on the result of the importation.
Possible Solution
Deactivate importation of owl:imports for corese-command
Steps to Reproduce
create a file "test.nt" with the following content:
# uses owl:imports to import the ontology from the web
<http://te.st> <http://www.w3.org/2002/07/owl#imports> <https://www.google.com/> .
Use corese command with :
corese-command convert -i test.nt -r turtle
The results of my tests is:
[Fatal Error] :1:3: The markup in the document preceding the root element must be well-formed.
15:57:49.133 [main] ERROR fr.inria.corese.core.load.CreateImpl - org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 3; The markup in the document preceding the root element must be well-formed.
@prefix owl: <http://www.w3.org/2002/07/owl#> .
<http://te.st> owl:imports <https://www.google.com/> .
[a <http://www.w3.org/ns/rdfa#Error> ;
<http://www.w3.org/ns/rdfa#context> "The markup in the document preceding the root element must be well-formed. at 1:3"] .
Context (Environment)
Linux Fedora
Corese command installed by script on the 26/07/2023