Extensions to the Semantic Web library
History management
The library rdf_history.pl will deal with streamlining and querying the modification history, aiming at multiuser Wiki style editing
Prolog files
rdf_abstract.pl -- Abstract RDF graphs | ||
---|---|---|
abstract_graph/3 | Unify GraphOut with an abstracted version of GraphIn. | |
bagify_graph/4 | If a graph contains multiple objects of the same type (class) in the same location in the graph (i.e. | |
graph_resources/2 | Resources is a sorted list of unique resources appearing in Graph. | |
graph_resources/4 | Resources is a sorted list of unique resources appearing in Graph as subject or object of a triple. | |
merge_sameas_graph/3 | Collapse nodes in GraphIn that are related through an identity mapping. | |
minimise_graph/2 | Remove redudant triples from a graph. | |
rdf_bnode.pl -- RDF graph operations on bnodes | ||
bnode_vars/3 | Consistently replace bnodes in RDF with Prolog variable and unify Vars with a list of the variables found. | |
rdf_describe.pl -- RDF Bounded descriptions | ||
graph_CBD/3 | Add concise bounded descriptions for bnodes in a graph, creating an expanded graph. | |
lcbd_label/3 | Standard conforming `Expand' for rdf_include_labels/3. | |
rdf_bounded_description/4 | Graph is a Bounded Description of URI. | |
rdf_bounded_description/5 | Graph is a Bounded Description of URI. | |
rdf_include_labels/3 | Include missing `label' statements in Graph0. | |
rdf_include_reifications/3 | Include the reification of any reified statements in Graph0. | |
resource_CBD/3 | Graph is the Concise Bounded Description of URI. | |
rdf_description.pl -- Deal with descriptive nodes in RDF models | ||
description_property/1 | True when Property is used for descritive nodes on a resource. | |
rdf_description/2 | Description is a description for R. | |
rdf_file_type.pl -- Load RDF data from unknown file-type | ||
rdf_guess_data_format/2 | Guess the format of an RDF file from the actual content. | |
rdf_guess_format_and_load/2 | Guess the RDF format in Stream and load it. | |
rdf_graphviz.pl -- Interface to graphviz for RDF graphs | ||
gviz_write_rdf/3 | Write the graph Triples to Stream in dot compatible format. | |
rdf_json.pl -- JSON Representation for RDF graphs | ||
graph_json/2 | JSON is a Prolog JSON object representing Graph. | |
rdf_object_to_json/2 | Convert an RDF Object to a JSON term. | |
rdf_label.pl -- Generate labels for RDF objects | ||
label_property/1 | True if Property is used to represent labels. | |
literal_text/2 | Text is the textual content of Object. | |
rdf_display_label/2 | Provide a label for R in the user's default language. | |
rdf_display_label/3 | Label is the preferred label to display the resource R in the language Lang. | |
rdf_label/2 | Label is a label for R. | |
truncate_atom/3 | If Atom is longer than MaxLen, truncate it. | |
rdf_optimise.pl | ||
rdf_db_goal/4 | True if Goal is a pure (logical) predicate on the RDF database involving the given Subject, Predicate and Object. | |
rdf_optimise/1 | Optimise Goal and execute the result. | |
rdf_optimise/2 | Goal is a Prolog control-structure with calls to the rdf_db.pl and SeRQL runtime predicates. | |
rdf_schema.pl | ||
rdf_graph_schema/2 | Create an initial schema by providing definitions for all predicates and types (classes) used in Graph. |