Places
Home
Graphs
Prefixes
Admin
Users
Settings
Plugins
Statistics
Repository
Load local file
Load from HTTP
Load from library
Remove triples
Clear repository
RDF quality heuristics
Query
YASGUI SPARQL Editor
Simple Form
SWISH Prolog shell
Help
Documentation
Tutorial
Roadmap
HTTP Services
Login
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)
).
[nondet]
rdf_nth0
(
?Index, +RDFList, ?X
)
[nondet]
rdf_nth1
(
?Index, +RDFList, ?X
)
True when
X
is the
Index
-th element (0-based or 1-based) of
RDFList
. This predicate is deterministic if
Index
is given and the list has no multiple rdf:first or rdf:rest values.
ClioPatria
(version
V3.1.1-40-g9d9e003
)