Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into 125-language
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Dec 18, 2023
2 parents b400ac9 + 1c25297 commit bf8446d
Show file tree
Hide file tree
Showing 32 changed files with 172 additions and 136 deletions.
5 changes: 3 additions & 2 deletions draft/examples/manifest/invalid/bad-authentication.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "OpenCorporates Reconciliation Service",
"identifierSpace": "http://rdf.freebase.com/ns/type.object.id",
"schemaSpace": "http://rdf.freebase.com/ns/type.object.id",
"view": {
"url": "{+id}"
},
"authentication": {
"foo": "bar"
}
Expand Down
5 changes: 3 additions & 2 deletions draft/examples/manifest/invalid/feature-view.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "VIAF",
"identifierSpace": "http://vocab.getty.edu/doc/#GVP_URLs_and_Prefixes",
"schemaSpace": "http://vocab.getty.edu/doc/#The_Getty_Vocabularies_and_LOD",
"view": {
"url": "https://viaf.org/viaf/{id}"
},
"feature_view": {
"url": "https://vocab.getty.edu/recon/features/"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
],
"name": "GODOT (Graph of Dated Objects and Texts) Reconciliation Service - Roman Consulates",
"preview": {
"url": "https://godot.date/reconcile/preview={{id}}"
},
"view": {
"url": "https://godot.date/id/{{id}}"
"url": "https://godot.date/reconcile/preview={id}"
}
}
5 changes: 3 additions & 2 deletions draft/examples/manifest/invalid/missing-version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "VIAF",
"identifierSpace": "http://vocab.getty.edu/doc/#GVP_URLs_and_Prefixes",
"schemaSpace": "http://vocab.getty.edu/doc/#The_Getty_Vocabularies_and_LOD"
"view": {
"url": "https://viaf.org/viaf/{id}"
}
}
5 changes: 3 additions & 2 deletions draft/examples/manifest/invalid/old-version.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"versions": ["0.1"],
"name": "VIAF",
"identifierSpace": "http://vocab.getty.edu/doc/#GVP_URLs_and_Prefixes",
"schemaSpace": "http://vocab.getty.edu/doc/#The_Getty_Vocabularies_and_LOD"
"view": {
"url": "https://viaf.org/viaf/{id}"
}
}
6 changes: 2 additions & 4 deletions draft/examples/manifest/invalid/opencorporates.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{
"name": "OpenCorporates Reconciliation Service",
"identifierSpace": "http://rdf.freebase.com/ns/type.object.id",
"schemaSpace": "http://rdf.freebase.com/ns/type.object.id",
"view": {
"url": "https://opencorporates.com{{id}}"
"url": "https://opencorporates.com{id}"
},
"preview": {
"url": "https://opencorporates.com{{id}}/preview",
"url": "https://opencorporates.com{id}/preview",
"width": 430,
"height": 300
},
Expand Down
6 changes: 2 additions & 4 deletions draft/examples/manifest/invalid/ror-invalid-view-pattern.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"name": "ROR Reconciliation Service",
"identifierSpace": "http://ror.org/organization",
"schemaSpace": "http://ror.org/ns/type.object.id",
"defaultTypes": [
{
"id": "/ror/organization",
Expand All @@ -13,14 +11,14 @@
},
"suggest": {
"entity": {
"flyout_service_path": "/flyout?id=${id}",
"flyout_service_path": "/flyout?id={id}",
"service_path": "/suggest",
"service_url": "https://reconcile.ror.org"
}
},
"preview": {
"width": 400,
"height": 100,
"url": "https://reconcile.ror.org/preview/{{id}}"
"url": "https://reconcile.ror.org/preview/{id}"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,13 @@
"service_url": "http://data.slub-dresden.de"
}
},
"identifierSpace": "http://data.slub-dresden.de",
"name": "SLUB LOD reconciliation for OpenRefine",
"preview": {
"height": 100,
"url": "http://data.slub-dresden.de/{{id}}.preview",
"url": "http://data.slub-dresden.de/{id}.preview",
"width": 320
},
"schemaSpace": "http://schema.org",
"view": {
"url": "http://data.slub-dresden.de/{{id}}"
"url": "http://data.slub-dresden.de/{id}"
}
}
4 changes: 1 addition & 3 deletions draft/examples/manifest/valid/authentication.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"versions": [ "0.2" ],
"view": {
"url": "http://vivo.med.cornell.edu/individual?uri={{id}}"
"url": "http://vivo.med.cornell.edu/individual?uri={id}"
},
"identifierSpace": "http://vivo.med.cornell.edu/individual/",
"name": "VIVO Reconciliation Service",
"schemaSpace": "http://vivo.med.cornell.edu/individual/",
"authentication": {
"type": "apiKey",
"description": "Vivo API key",
Expand Down
2 changes: 0 additions & 2 deletions draft/examples/manifest/valid/codefork-viaf.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"versions": ["0.2"],
"name": "VIAF",
"identifierSpace": "http://rdf.freebase.com/ns/user/hangy/viaf",
"schemaSpace": "http://rdf.freebase.com/ns/type.object.id",
"view": {
"url": "http://viaf.org/viaf/{id}"
},
Expand Down
5 changes: 3 additions & 2 deletions draft/examples/manifest/valid/example-min.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"versions": ["0.2"],
"name": "VIAF",
"identifierSpace": "http://vocab.getty.edu/doc/#GVP_URLs_and_Prefixes",
"schemaSpace": "http://vocab.getty.edu/doc/#The_Getty_Vocabularies_and_LOD"
"view": {
"url": "https://viaf.org/viaf/{id}"
}
}
5 changes: 3 additions & 2 deletions draft/examples/manifest/valid/feature-view.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"versions": ["0.2"],
"name": "VIAF",
"identifierSpace": "http://vocab.getty.edu/doc/#GVP_URLs_and_Prefixes",
"schemaSpace": "http://vocab.getty.edu/doc/#The_Getty_Vocabularies_and_LOD",
"view": {
"url": "https://viaf.org/viaf/{id}"
},
"feature_view": {
"url": "https://vocab.getty.edu/recon/features/{id}"
}
Expand Down
2 changes: 0 additions & 2 deletions draft/examples/manifest/valid/findthatcharity.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"versions": ["0.2"],
"name": "findthatcharity",
"identifierSpace": "http://rdf.freebase.com/ns/type.object.id",
"schemaSpace": "http://rdf.freebase.com/ns/type.object.id",
"view": {
"url": "https://findthatcharity.uk/charity/{id}"
},
Expand Down
5 changes: 3 additions & 2 deletions draft/examples/manifest/valid/fundref.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"versions": ["0.2"],
"name": "Open Funder Registry Reconciliation Service",
"identifierSpace": "http://openfunder.crossref.org/openfunder",
"schemaSpace": "http://openfunder.crossref.org/ns/type.object.id",
"view": {
"url": "{+id}"
},
"defaultTypes": [
{
"id": "/fundref/funder_name",
Expand Down
2 changes: 0 additions & 2 deletions draft/examples/manifest/valid/geocollider-sinatra.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"versions": ["0.2"],
"name": "Pleiades Reconciliation for OpenRefine",
"schemaSpace": "https://pleiades.stoa.org/places/",
"identifierSpace": "https://pleiades.stoa.org/places/vocab#",
"view": {
"url": "{+id}"
},
Expand Down
2 changes: 0 additions & 2 deletions draft/examples/manifest/valid/getty.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@
"name": "Search all Vocabs"
}
],
"identifierSpace": "http://vocab.getty.edu/doc/#GVP_URLs_and_Prefixes",
"name": "Getty Vocabularies Reconciliation Service",
"batchSize": 50,
"preview": {
"height": 200,
"width": 350
},
"schemaSpace": "http://vocab.getty.edu/doc/#The_Getty_Vocabularies_and_LOD",
"suggest": {
"entity": false,
"property": true,
Expand Down
2 changes: 0 additions & 2 deletions draft/examples/manifest/valid/kerameikos.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
"view": {
"url": "http://kerameikos.org/id/{id}"
},
"identifierSpace": "http://kerameikos.org/id/",
"schemaSpace": "http://kerameikos.org/ontology",
"defaultTypes": [
{
"id": "skos:Concept",
Expand Down
6 changes: 2 additions & 4 deletions draft/examples/manifest/valid/kew.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{
"versions": ["0.2"],
"name": "IPNI Name Reconciliation Service",
"identifierSpace": "http://ipni.org/urn:lsid:ipni.org:names:",
"schemaSpace": "http://rdf.freebase.com/ns/type.object.id",
"view": {
"url": "http://ipni.org/urn:lsid:ipni.org:names:{{id}}"
"url": "http://ipni.org/urn:lsid:ipni.org:names:{id}"
},
"preview": {
"url": "http://ipni.org/urn:lsid:ipni.org:names:{{id}}",
"url": "http://ipni.org/urn:lsid:ipni.org:names:{id}",
"width": 400,
"height": 400
},
Expand Down
4 changes: 1 addition & 3 deletions draft/examples/manifest/valid/lobid-gnd.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"versions": ["0.2"],
"name": "GND reconciliation for OpenRefine",
"identifierSpace": "https://lobid.org/gnd/",
"schemaSpace": "https://d-nb.info/standards/elementset/gnd#AuthorityResource",
"defaultTypes": [
{
"id": "AuthorityResource",
Expand Down Expand Up @@ -44,7 +42,7 @@
}
],
"view": {
"url": "https://lobid.org/gnd/{{id}}"
"url": "https://lobid.org/gnd/{id}"
},
"preview": {
"height": 100,
Expand Down
4 changes: 1 addition & 3 deletions draft/examples/manifest/valid/nomisma.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
"versions": ["0.2"],
"name": "Nomisma.org",
"view": {
"url": "http://nomisma.org/id/{{id}}"
"url": "http://nomisma.org/id/{id}"
},
"identifierSpace": "http://nomisma.org/id/",
"schemaSpace": "http://nomisma.org/ontology",
"defaultTypes": [
{
"id": "nmo:CoinWear",
Expand Down
4 changes: 1 addition & 3 deletions draft/examples/manifest/valid/occrp.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
"versions": ["0.2"],
"name": "OCCRP Aleph",
"identifierSpace": "http://rdf.freebase.com/ns/type.object.id",
"schemaSpace": "http://rdf.freebase.com/ns/type.object.id",
"view": {
"url": "https://aleph.occrp.org/entities/{{id}}"
"url": "https://aleph.occrp.org/entities/{id}"
},
"preview": {
"width": 800,
Expand Down
4 changes: 1 addition & 3 deletions draft/examples/manifest/valid/ordnance-survey.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"versions": ["0.2"],
"name": "Code-Point Open Reconciliation API",
"identifierSpace": "http://data.ordnancesurvey.co.uk/id/data/code-point-open",
"schemaSpace": "http://data.ordnancesurvey.co.uk/id/data/code-point-open",
"view": {
"url": "{{id}}"
"url": "{+id}"
}
}
6 changes: 2 additions & 4 deletions draft/examples/manifest/valid/vivo-cornell.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
"versions": ["0.2"],
"view": {
"url": "http://vivo.med.cornell.edu/individual?uri={{id}}"
"url": "http://vivo.med.cornell.edu/individual?uri={id}"
},
"identifierSpace": "http://vivo.med.cornell.edu/individual/",
"name": "VIVO Reconciliation Service",
"defaultTypes": [
{
Expand Down Expand Up @@ -34,6 +33,5 @@
"name": "obo:IAO_0000030",
"id": "http://purl.obolibrary.org/obo/IAO_0000030"
}
],
"schemaSpace": "http://vivo.med.cornell.edu/individual/"
]
}
6 changes: 2 additions & 4 deletions draft/examples/manifest/valid/wikidata.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"width": 400,
"height": 100
},
"schemaSpace": "http://www.wikidata.org/prop/direct/",
"documentation": "https://tools.wmflabs.org/openrefine-wikidata/",
"logo": "https://tools.wmflabs.org/openrefine-wikidata/logo.png",
"serviceVersion": "1.2.3",
Expand Down Expand Up @@ -77,12 +76,11 @@
}
],
"view": {
"url": "https://www.wikidata.org/wiki/{{id}}"
"url": "https://www.wikidata.org/wiki/{id}"
},
"suggest": {
"type": true,
"entity": true,
"property": true
},
"identifierSpace": "http://www.wikidata.org/entity/"
}
}
20 changes: 16 additions & 4 deletions draft/examples/reconciliation-query-batch/valid/example-full.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,17 @@
"properties": [
{
"pid": "professionOrOccupation",
"v": "Politik*"
"v": "Politik*",
"required": false,
"match_quantifier": "any",
"match_qualifier": "WildcardMatch"
},
{
"pid": "affiliation",
"v": "http://d-nb.info/gnd/2022139-3"
"v": "http://d-nb.info/gnd/2022139-3",
"required": false,
"match_quantifier": "any",
"match_qualifier": "ExactMatch"
}
]
},
Expand All @@ -22,11 +28,17 @@
"properties": [
{
"pid": "professionOrOccupation",
"v": "Politik*"
"v": "Politik*",
"required": false,
"match_quantifier": "any",
"match_qualifier": "WildcardMatch"
},
{
"pid": "affiliation",
"v": "http://d-nb.info/gnd/2022139-3"
"v": "http://d-nb.info/gnd/2022139-3",
"required": false,
"match_quantifier": "any",
"match_qualifier": "ExactMatch"
}
]
}
Expand Down
28 changes: 28 additions & 0 deletions draft/examples/reconciliation-result-batch/valid/minimal.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"results": [
{
"candidates": [
{
"id": "120333937",
"name": "Urbaniak, Regina"
},
{
"id": "1127147390",
"name": "Urbaniak, Jan"
}
]
},
{
"candidates": [
{
"id": "123064325",
"name": "Schwanhold, Ernst"
},
{
"id": "116362988X",
"name": "Schwanhold, Nadine"
}
]
}
]
}
Loading

0 comments on commit bf8446d

Please sign in to comment.