• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

6 library(semweb/rdf_ntriples): Process files in the RDF N-Triples format
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog Semantic Web Library 3.0
        • library(semweb/rdf_ntriples): Process files in the RDF N-Triples format
          • read_ntriple/2
          • read_nquad/2
          • read_ntuple/2
          • rdf_read_ntriples/3
          • rdf_read_nquads/3
          • rdf_process_ntriples/3
          • rdf_db:rdf_load_stream/3
          • rdf_db:rdf_file_type/2
Availability::- use_module(library(semweb/rdf_ntriples)).
Source[det]read_nquad(+Stream, -Quad)
Read the next quad from Stream as Quad. Stream must have UTF-8 encoding.
Quad is a term quad(Subject,Predicate,Object,Graph). Arguments follow the normal conventions of the RDF libraries. NodeID elements are mapped to node(Id). If end-of-file is reached, Quad is unified with end_of_file.
Errors
syntax_error(Message) on syntax errors
ClioPatria (version V3.1.1-51-ga0b30a5)