• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • CPACK
    • Home
    • List packs
    • Submit pack
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/srv/ClioPatria/lib/semweb/rdf_abstract.pl
All Application Manual Name SummaryHelp

  • lib
    • semweb
      • rdf_label.pl -- Generate labels for RDF objects
      • rdf_optimise.pl
      • rdf_file_type.pl -- Load RDF data from unknown file-type
      • rdf_json.pl -- JSON Representation for RDF graphs
      • rdf_describe.pl -- RDF Bounded descriptions
      • rdf_bnode.pl -- RDF graph operations on bnodes
      • rdf_schema.pl
      • rdf_graphviz.pl -- Interface to graphviz for RDF graphs
      • rdf_abstract.pl -- Abstract RDF graphs
        • merge_sameas_graph/3
        • bagify_graph/4
        • graph_resources/2
        • graph_resources/4
        • abstract_graph/3
        • minimise_graph/2
      • rdf_description.pl -- Deal with descriptive nodes in RDF models
 abstract_graph(+GraphIn, -GraphOut, +Options) is det
Unify GraphOut with an abstracted version of GraphIn. The abstraction is carried out triple-by-triple. Note there is no need to abstract all triples to the same level. We do however need to map nodes in the graph consistently. I.e. if we abstract the object of rdf(s,p,o), we must abstract the subject of rdf(o, p2, o2) to the same resource.

If we want to do incremental growing we must keep track which nodes where mapped to which resources. Option?

We must also decide on the abstraction level for a node. This can be based on the weight in the search graph, the involved properties and focus such as location and time. Should we express this focus in the weight?

Options:

map_in(?Map)
If present, this is the initial resource abstraction map.
map_out(-Map)
Provide access to the final resource abstraction map.
bags(-Bags)
If provided, bagify the graph, returning the triples that define the bags in Bags. The full graph is created by appending Bags to GraphOut.
merge_concepts_with_super(+Boolean)
If true (default), merge nodes of one is a super-concept of another.
ClioPatria (version V3.1.1-51-ga0b30a5)