@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dcat:    <http://www.w3.org/ns/dcat#> .
@prefix foaf:    <http://xmlns.com/foaf/0.1/> .
@prefix prov:    <http://www.w3.org/ns/prov#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .

# Global agent that every served document declares as prov:wasAttributedTo.
# Pattern mirrors linked-inspire / linked-mastr / linked-nuts / linked-lau.
<index#addressapiwrap>
    a               prov:SoftwareAgent ;
    rdfs:label      "Linked Address API (addressapiwrap)" ;
    rdfs:comment    "Wrapper that turns GISCO Address API responses (European register of addresses, Eurostat) into per-address linked data (locn:Address, Turtle / N-Triples / RDF-XML / JSON) with NUTS links and per-country attribution. Address URIs are built from the register attributes: addr/{country}/{postcode}/{city}/{road}/{housenumber}." ;
    foaf:page       <index.html> .

# The wrapper itself as a dataset.
<>
    a               dcat:Dataset ;
    dcterms:title   "Linked Address API" ;
    dcterms:description
        "Linked-data view of the GISCO Address API (European register of addresses): forward geocoding at search, reverse geocoding at reverse, dereferenceable per-address URIs at addr/{country}/{postcode}/{city}/{road}/{housenumber}. Addresses come from the national registers of 31 countries (see copyright for per-country attribution and vintage)." ;
    dcterms:source  <https://gisco-services.ec.europa.eu/addressapi> ;
    dcterms:publisher <index#addressapiwrap> ;
    foaf:page       <index.html> .
