
rdf_file_type.pl -- Load RDF data from unknown file-type
rdf_guess_format_and_load(+Stream, +Options) is det- Guess the RDF format in Stream and load it. Stream must be a
repositional stream. Options are passed to rdf_load/2. In
addition, it processed the following options:
- filename(filename)
- Name of the uploaded file.
rdf_guess_data_format(+Stream, ?Format)- Guess the format of an RDF file from the actual content.
Currently, this seeks for a valid XML document upto the rdf:RDF
element before concluding that the file is RDF/XML. Otherwise it
assumes that the document is Turtle.
- To be done
- - Recognise Turtle variations from content