1 Reply Latest reply on Sep 17, 2018 4:03 PM by Matperry-Oracle

    Turtle upload

    ChrD

      Hi

       

      In 18C it should be possible to upload RDF files in Turtle (TTL) format - but what is the purpose of the PREFIX line below (from the Manual) as the Turtle file itself contains one or many PREFIX definitions?

       

      BEGIN

      sem_apis.update_model('electronics',

      'PREFIX : <http://www.example.org/electronics/>

      LOAD <file:///example.nq> INTO GRAPH :cameras',

      options=>'LOAD_DIR={MY_DIR}');

      END;

      /

       

      Kind regards - Christian

        • 1. Re: Turtle upload
          Matperry-Oracle

          Hi Christian,

           

          That's a good question. This is most likely a copy-paste error in the user guide. PREFIXES in the SPARQL update statement are not used when parsing the turtle file. The PREFIX definitions in the turtle file itself will be used instead.

           

          Thanks,
          Matt