semweb

Prolog files

rdf11.pl  -- RDF 1.1 APIShow source
rdf_cache.pl  -- Cache RDF triplesShow source
rdf_db.pl  -- Core RDF databaseShow source
lang_equal/2True if two RFC language specifiers denote the same language.Source
lang_matches/2True if Lang matches Pattern.Source
rdf/3Elementary query for triples.Source
rdf/4As rdf/3 but in addition query the graph to which the triple belongs.Source
rdf_active_transaction/1True if Id is the identifier of a transaction in the context of which this call is executed.Source
rdf_assert/3Assert a new triple into the database.Source
rdf_assert/4As rdf_assert/3, adding the predicate to the indicated named graph.Source
rdf_atom_md5/3Computes the MD5 hash from Text, which is an atom, string or list of character codes.Source
rdf_bnode/1Generate a unique anonymous identifier for a subject.Source
rdf_compare/3Compare two object terms.Source
rdf_create_gc_thread/0Create the garbage collection thread.Source
rdf_create_graph/1Create an RDF graph without triples.Source
rdf_current_literal/1True when Literal is a currently known literal.Source
rdf_current_predicate/1True when Predicate is a currently known predicate.Source
rdf_current_snapshot/1True when Term is a currently known snapshot.Source
rdf_debug/1Set debugging to Level.Source
rdf_delete_literal_map/2Delete Key and all associated values from the map.Source
rdf_delete_literal_map/3Delete the association between Key and Value from the map.Source
rdf_delete_snapshot/1Delete a snapshot as obtained from rdf_snapshot/1.Source
rdf_destroy_literal_map/1Destroy a literal map.Source
rdf_equal/2Simple equality test to exploit goal-expansion.Source
rdf_estimate_complexity/4Return the number of alternatives as indicated by the database internal hashed indexing.Source
rdf_file_type/2True if Format is the format belonging to the given file extension.Source
rdf_find_literal_map/3Unify ValueList with an ordered set of values associated to all keys from KeyList.Source
rdf_gc/0Run the RDF-DB garbage collector until no garbage is left and all tables are fully optimized.Source
rdf_generation/1True when Generation is the current generation of the database.Source
rdf_graph/1True when Graph is an existing graph.Source
rdf_graph_prefixes/2List is a sorted list of prefixes (namepaces) in Graph.Source
rdf_graph_prefixes/3List is a sorted list of prefixes (namepaces) in Graph.Source
rdf_graph_property/2True when Property is a property of Graph.Source
rdf_has/3Succeeds if the triple rdf(Subject, Predicate, Object) is true exploiting the rdfs:subPropertyOf predicate as well as inverse predicates declared using rdf_set_predicate/2 with the inverse_of property.Source
rdf_has/4Same as rdf_has/3, but RealPredicate is unified to the actual predicate that makes this relation true.Source
rdf_insert_literal_map/3Add a relation between Key and Value to the map.Source
rdf_insert_literal_map/4As rdf_insert_literal_map/3.Source
rdf_is_bnode/1Tests if a resource is a blank node (i.e.Source
rdf_is_literal/1True if Term is an RDF literal object.Source
rdf_is_resource/1True if Term is an RDF resource.Source
rdf_keys_in_literal_map/3Realises various queries on the key-set:.Source
rdf_literal_value/2True when value is the appropriate Prolog representation of Literal in the RDF value space.Source
rdf_load/1Same as rdf_load(FileOrList, []).Source
rdf_load/2Load RDF data.Source
rdf_load_db/1Load triples from a file created using rdf_save_db/2.Source
rdf_load_stream/3Load RDF data from Stream.Source
rdf_make/0Reload all loaded files that have been modified since the last time they were loaded.Source
rdf_match_label/3True if Label matches Pattern according to How.Source
rdf_md5/2True when MD5 is the MD5 hash for all triples in graph.Source
rdf_member_property/2Deal with the rdf:_1, ... properties.Source
rdf_monitor/2Call Goal if specified actions occur on the database.Source
rdf_new_literal_map/1Create a new literal map, returning an opaque handle.Source
rdf_node/1Generate a unique blank node identifier for a subject.Source
rdf_predicate_property/2Query properties of a defined predicate.Source
rdf_reachable/3Is true if Object can be reached from Subject following the transitive predicate Predicate or a sub-property thereof, while repecting the symetric(true) or inverse_of(P2) properties.Source
rdf_reachable/5Same as rdf_reachable/3, but in addition, MaxD limits the number of edges expanded and D is unified with the `distance' between Subject and Object.Source
rdf_reset_db/0Remove all triples from the RDF database and reset all its statistics.Source
rdf_reset_literal_map/1Delete all content from the literal map.Source
rdf_resource/1True when Resource is a resource used as a subject or object in a triple.Source
rdf_retractall/3Remove all matching triples from the database.Source
rdf_retractall/4As rdf_retractall/3, also matching Graph.Source
rdf_save/1Same as rdf_save(Out, []).Source
rdf_save/2Write RDF data as RDF/XML.Source
rdf_save_db/1Save triples into File in a quick-to-load binary format.Source
rdf_save_db/2Save triples into File in a quick-to-load binary format.Source
rdf_save_footer/1Finish XML generation and write the document footer.Source
rdf_save_header/2Save XML document header, doctype and open the RDF environment.Source
rdf_save_subject/3Save the triples associated to Subject to Out.Source
rdf_set/1Set properties of the RDF store.Source
rdf_set_graph/2Set properties of Graph.Source
rdf_set_predicate/2Define a property of the predicate.Source
rdf_snapshot/1Take a snapshot of the current state of the RDF store.Source
rdf_source/1True if Source is a loaded source.Source
rdf_source/2True if named Graph is loaded from SourceURL.Source
rdf_source_location/2True when triples for Subject are loaded from Location.Source
rdf_split_url/3Split/join a URL.Source
rdf_statistics/1Obtain statistics on the RDF database.Source
rdf_statistics_literal_map/2Query some statistics of the map.Source
rdf_subject/1True if Resource appears as a subject.Source
rdf_transaction/1Same as rdf_transaction(Goal, user, []).Source
rdf_transaction/2Same as rdf_transaction(Goal, Id, []).Source
rdf_transaction/3Run Goal in an RDF transaction.Source
rdf_unload/1Identify the graph loaded from Source and use rdf_unload_graph/1 to erase this graph.Source
rdf_unload_graph/1Remove Graph from the RDF store.Source
rdf_update/4Replaces one of the three (four) fields on the matching triples depending on Action:.Source
rdf_update/5Replaces one of the three (four) fields on the matching triples depending on Action:.Source
rdf_update_duplicates/0Update the duplicate administration of the RDF store.Source
rdf_update_duplicates/0Update the duplicate administration.Source
rdf_update_duplicates_thread/0Start a thread to initialize the duplicate administration.Source
rdf_url_namespace/2Namespace is the namespace of URL.Source
rdf_version/1True when Version is the numerical version-id of this library.Source
rdf_warm_indexes/0Warm all indexes.Source
rdf_warm_indexes/1Create the named indexes.Source
rdf_prefixes.pl  -- RDF prefixes managementShow source
ns/2Dynamic and multifile predicate that maintains the registered namespace aliases.Source
rdf_current_ns/2Source
rdf_current_prefix/2Query predefined prefixes and prefixes defined with rdf_register_prefix/2 and local prefixes defined with rdf_prefix/2.Source
rdf_empty_prefix_cache/2Multifile hook called if the binding Alias -> URI is modified.Source
rdf_global_id/2Convert between Prefix:Local and full IRI (an atom).Source
rdf_global_object/2Same as rdf_global_id/2, but intended for dealing with the object part of a triple, in particular the type for typed literals.Source
rdf_global_term/2Performs rdf_global_id/2 on predixed IRIs and rdf_global_object/2 on RDF literals, by recursively analysing the term.Source
rdf_meta/1This directive defines the argument types of the named predicates, which will force compile time namespace expansion for these predicates.Source
rdf_prefix/2Register a local prefix.Source
rdf_register_ns/2Register an RDF prefix.Source
rdf_register_ns/3Register an RDF prefix.Source
rdf_register_prefix/2Register Prefix as an abbreviation for URI.Source
rdf_register_prefix/3Register Prefix as an abbreviation for URI.Source
rdf_unregister_prefix/1Delete a prefix global registration.Source
register_file_prefixes/1Register a namespace as encounted in the namespace list of an RDF document.Source
sparql_client.pl  -- SPARQL client libraryShow source