3.1.6 Accessing RDF collections
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Packages
SWI-Prolog Semantic Web Library 3.0
Two RDF APIs
library(semweb/rdf11): The RDF database
Accessing RDF collections
rdf_last/2
rdf_list/1
rdf_list/2
rdf_length/2
rdf_member/2
rdf_nth0/3
rdf_nth1/3
rdf_assert_list/2
rdf_assert_list/3
rdf_retract_list/1
Availability:
:- use_module(
library(semweb/rdf11)
).
[det]
rdf_retract_list
(
+RDFList
)
Retract the rdf:first, rdf:rest and rdf:type=rdf:'List’triples from all nodes reachable through rdf:rest. Note that other triples that exist on the nodes are left untouched.