1:- module(conf_EDM, []).    2:- use_module(library(semweb/rdf_db)).    3:- use_module(library(semweb/rdfs)).    4:- use_module(cliopatria(hooks)).

View Europeana Data Model

This config installs hooks into the system to vizualise parts of the Europeana Data Model (EDM). */

   12:- rdf_register_ns(ens, 'http://www.europeana.eu/schemas/edm/').   13:- rdf_register_ns(ore, 'http://www.openarchives.org/ore/terms/').   14
   15:- use_module(components(edm/components)).   16:- use_module(components(edm/graph)).   17
   18cliopatria:display_link(R, Options) -->
   19	edm_display_link(R, Options).
   20
   21cliopatria:context_graph(R, RDF, Options) :-
   22	edm_context_graph(R, RDF, Options).
   23
   24cliopatria:node_shape(URI, Shape, Options) :-
   25	edm_node_shape(URI, Shape, Options).
   26
   27cliopatria:list_resource(Proxy) -->
   28	{ rdfs_individual_of(Proxy, ore:'Proxy') },
   29	edm_proxy_view(Proxy, []).
   30
   31cliopatria:format_search_result(Proxy, _Graph) -->
   32	{ rdfs_individual_of(Proxy, ore:'Proxy') },
   33	edm_result_summary(Proxy, [])