4.1 Hooks into the RDF library
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog Semantic Web Library 3.0
Plugin modules for rdf_db
Hooks into the RDF library
rdf_db:rdf_open_hook/3
rdf_db:rdf_load_stream/3
rdf_db:rdf_input_info/3
rdf_db:rdf_file_type/2
rdf_db:url_protocol/1
rdf_db:rdf_open_hook
(
+Input, -Stream, -Format
)
Open an input.
Input
is one of
file(+Name)
,
stream(+Stream)
or
url(Protocol, URL)
. If this hook succeeds, the RDF will be read from Stream using
rdf_load_stream/3
. Otherwise the default open functionality for file and stream are used.