-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
Comportamento atteso
when adding a resource such as
agency:asset :rightsHolder ipa:agid .
I expect
-
by-iriAPI to retrieve rdfs:label and other values from schema.gov.it (e.g. using a SparQL query like
SELECT * WHERE {
<assetIRI>
rdfs:label ?title .
OPTIONAL {
<assetIRI> :rightsHolder ?holderIri .
}
OPTIONAL {
?holderIri rdfs:label ?holderSummary .
}
}
- the rightsHolder resource already present in Virtuoso must not to be overridden by the values processed from the harvested repository (:warning: this should go in a new issue)
Instead
example response when the information is not present in the turtle file.
{
"assetIri": "https://w3id.org/italia/schema/person/v202108.01/OAS3",
"title": "The Test Person schema",
"description": "This Person schema is derived from the [CPV/Person](https://w3id.org/italia/onto/CPV/Person) ontology.\n\nThis description field can be rendered in markdown or in text-only in catalogues\nand other interfaces.",
"type": "SCHEMA",
"modifiedOn": "2021-12-06",
"versionInfo": "202108.01.01",
"themes": [
"http://publications.europa.eu/resource/authority/data-theme/EDUC"
],
"rightsHolder": {
"iri": "http://spcdata.digitpa.gov.it/Amministrazione/agid",
"summary": null
},
"accrualPeriodicity": null,
"distributions": [
{
"accessUrl": "https://github.com/ioggstream/json-semantic-playground/tree/master/assets/schemas/person/v202108.01",
"downloadUrl": "https://teamdigitale.github.io/openapi/master/definitions.yaml"
}
],
"subjects": null,
"contactPoint": null,
"publishers": null,
"creators": null,
"issuedOn": null,
"languages": null,
"temporal": null,
"conformsTo": [
{
"iri": "https://w3id.org/italia/onto/CPV",
"summary": null
}
],
"agencyId": null,
"keyConcept": null,
"endpointUrl": null,
"keyClasses": [
{
"iri": "https://w3id.org/italia/onto/CPV/PersonTitle",
"summary": null
},
{
"iri": "https://w3id.org/italia/onto/CPV/Person",
"summary": null
}
],
"prefix": null,
"projects": null
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🆕 New