scripts and converted datasets accordng to IDM RDF (see IDM RDF repository)
BS_dataset/bs2intavia.ttl - http://ldf.fi/nbf/data
APIS_dataset/apisdata_18-04-2022_edited.ttl - http://apis.acdh.oeaw.ac.at/data
Enrich person entities with external person ID's from Wikidata SPARQL endpoint using source data's existing owl:sameAs links:
See the Jupyter Notebook.
These python notebooks are used to convert Europeana EDM creator and contributor data to Intavia Data Model (IDM). As input the script takes a list of intavia-wikidata sameas triples, the europeana metadata in various subfolders
Using SWI-prolog, the following lines clean the unwanted triples: ?- forall((rdf(A,bioc:had_participant_in_role,R),not(subatom(R,,,,'www.wikidata.org'))),(rdfretractall(R,,_),rdfretractall(,_,R))). ?- forall((rdf(A,bioc:had_participant_in_role,R),atomic_listconcat([,WD],'producing_artist',R),atomic_list_concat(['http://',WD],WDU)),rdf_assert(A,ns1:'P11_had_participant',WDU)).