diff --git a/config/dispatcher/dispatcher.ex b/config/dispatcher/dispatcher.ex index 985e090..ea35dd2 100644 --- a/config/dispatcher/dispatcher.ex +++ b/config/dispatcher/dispatcher.ex @@ -148,10 +148,6 @@ defmodule Dispatcher do Proxy.forward conn, path, "http://cache/minister-conditions/" end - match "/dates-of-birth/*path", %{ accept: [:json], layer: :api} do - Proxy.forward conn, path, "http://cache/dates-of-birth/" - end - match "/nationalities/*path", %{ accept: [:json], layer: :api} do Proxy.forward conn, path, "http://cache/nationalities/" end @@ -275,7 +271,7 @@ defmodule Dispatcher do # sparql endpoint ############################################################### - post "/sparql/*path", %{ layer: :api_services, host: "*.abb.lblod.info", accept: %{ sparql_json: true } } do + post "/sparql/*path", %{ layer: :api_services, accept: %{ sparql_json: true } } do forward conn, path, "http://db:8890/sparql/" end diff --git a/config/resources/domain.json b/config/resources/domain.json index 73cf2ef..a6eb352 100644 --- a/config/resources/domain.json +++ b/config/resources/domain.json @@ -55,26 +55,6 @@ "target": "agents-in-position", "cardinality": "many", "inverse": true - }, - "registration": { - "predicate": "persoon:registratie", - "target": "identifiers", - "cardinality": "one" - }, - "date-of-birth": { - "predicate": "persoon:heeftGeboorte", - "target": "dates-of-birth", - "cardinality": "one" - }, - "nationalities": { - "predicate": "persoon:heeftNationaliteit", - "target": "nationalities", - "cardinality": "many" - }, - "gender": { - "predicate": "persoon:geslacht", - "target": "gender-codes", - "cardinality": "one" } }, "new-resource-base": "http://data.lblod.info/id/personen/" @@ -792,16 +772,6 @@ }, "new-resource-base": "http://data.lblod.info/id/voorwaardenBedienaar/" }, - "dates-of-birth": { - "class": "persoon:Geboorte", - "attributes": { - "date": { - "type": "datetime", - "predicate": "persoon:datum" - } - }, - "new-resource-base": "http://data.lblod.info/id/geboortes/" - }, "nationalities": { "class": "euvoc:Country", "attributes": {