ontology-visualization icon indicating copy to clipboard operation
ontology-visualization copied to clipboard

Problem if no namespace is used

Open wartaal opened this issue 4 years ago • 0 comments

When I put the following standard example in a file and read it in I get an exception, because the tool expects that there are namespace prefixes for all URIs:

    @prefix dc: <http://purl.org/dc/elements/1.1/> . 
    @prefix ex: <http://example.org/stuff/1.0/> . 

    <http://www.w3.org/TR/rdf-syntax-grammar> ex:editor 
        [ ex:fullName "Dave Beckett"; 
          ex:homePage <http://purl.org/net/dajobe/> ]; 
          dc:title "RDF/XML Syntax Specification (Revised)" . 

When I add tow more namespace prefixes everything is fine.

wartaal avatar Apr 28 '20 23:04 wartaal