-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrdf_mapping.yaml
More file actions
20 lines (19 loc) · 905 Bytes
/
rdf_mapping.yaml
File metadata and controls
20 lines (19 loc) · 905 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Namespace prefix registry - used by rdf_mapper.py to resolve prefixed names in field paths
namespaces:
epo: "http://data.europa.eu/a4g/ontology#"
org: "http://www.w3.org/ns/org#"
locn: "http://www.w3.org/ns/locn#"
cccev: "http://data.europa.eu/m8g/"
# Entity type mappings: entity_type_string -> rdf_type + field property paths
# Property paths use / as separator for multi-hop traversal.
# Field names must match entity_fields in resolver.yaml (legal_name, country_code).
entity_types:
ORGANISATION:
rdf_type: "org:Organization"
fields:
legal_name: "epo:hasLegalName"
country_code: "cccev:registeredAddress/epo:hasCountryCode"
nuts_code: "cccev:registeredAddress/epo:hasNutsCode"
post_code: "cccev:registeredAddress/locn:postCode"
post_name: "cccev:registeredAddress/locn:postName"
thoroughfare: "cccev:registeredAddress/locn:thoroughfare"