tests failed due to outdated input: fixed

This commit is contained in:
Alessia Bardi 2022-04-15 12:04:01 +02:00
parent f1d3e5a022
commit fdcacfcd6a
2 changed files with 470 additions and 299 deletions

View File

@ -21,6 +21,19 @@
"lang" : "en" "lang" : "en"
} }
], ],
"https://www.ariadne-infrastructure.eu/property/rdfType" : [
{
"value" : "Collection",
"type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string"
}
],
"https://www.ariadne-infrastructure.eu/property/partOf" : [
{
"value" : "https://ariadne-infrastructure.eu/aocat/Collection/CENIEH/A4A042CF-4FD6-3FB4-B701-CBC8A1653ADA",
"type" : "uri"
}
],
"https://www.ariadne-infrastructure.eu/property/archeologicalResourceType" : [ "https://www.ariadne-infrastructure.eu/property/archeologicalResourceType" : [
{ {
"value" : "https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Fieldwork", "value" : "https://ariadne-infrastructure.eu/aocat/Concept/AO_Subject/Fieldwork",
@ -100,7 +113,7 @@
], ],
"https://www.ariadne-infrastructure.eu/property/resourceType" : [ "https://www.ariadne-infrastructure.eu/property/resourceType" : [
{ {
"value" : "Dataset Collection", "value" : "Collection",
"type" : "literal", "type" : "literal",
"datatype" : "http://www.w3.org/2001/XMLSchema#string" "datatype" : "http://www.w3.org/2001/XMLSchema#string"
} }

View File

@ -1,300 +1,458 @@
{ {
"AriadneTemporal": { "TextLang": {
"class_type": "prototype", "class_type": "prototype",
"mappings": { "mappings": {
"https://www.ariadne-infrastructure.eu/property/from": { "https://www.ariadne-infrastructure.eu/property/text": {
"class_field": "From", "class_field": "Text",
"substring": "no", "substring": "no",
"element_type": "java.lang.String" "element_type": "java.lang.String"
}, },
"https://www.ariadne-infrastructure.eu/property/periodName": { "https://www.ariadne-infrastructure.eu/property/lang": {
"class_field": "PeriodName", "class_field": "Language",
"substring": "no", "substring": "yes",
"element_type": "java.lang.String" "element_type": "java.lang.String"
}, }
"https://www.ariadne-infrastructure.eu/property/until": { }
"class_field": "Until", },
"substring": "no", "DigitalImage": {
"element_type": "java.lang.String" "class_type": "prototype",
}, "mappings": {
"https://www.ariadne-infrastructure.eu/property/uri": { "https://www.ariadne-infrastructure.eu/property/primaryVisualComponent": {
"class_field": "Uri", "class_field": "ProviderUri",
"substring": "no", "substring": "no",
"element_type": "java.lang.String" "element_type": "java.lang.String"
} },
} "https://www.ariadne-infrastructure.eu/property/visualComponent": {
}, "class_field": "AriadneUri",
"AriadneGeoPoint": { "substring": "no",
"class_type": "unique", "element_type": "java.lang.String"
"mappings": { }
"https://www.ariadne-infrastructure.eu/property/lat": { }
"class_field": "Lat", },
"substring": "no", "AriadneResource": {
"element_type": "java.lang.String" "class_type": "prototype",
}, "mappings": {
"https://www.ariadne-infrastructure.eu/property/lon": { "https://www.ariadne-infrastructure.eu/property/aboutURILabel": {
"class_field": "Lon", "class_field": "Label",
"substring": "no", "substring": "no",
"element_type": "java.lang.String" "element_type": "java.lang.String"
} },
} "https://www.ariadne-infrastructure.eu/property/aboutURI": {
}, "class_field": "Uri",
"Spatial": { "substring": "no",
"class_type": "prototype", "element_type": "java.lang.String"
"mappings":{"https://www.ariadne-infrastructure.eu/property/address": { }
"class_field": "Address", }
"substring": "no", },
"element_type": "java.lang.String" "AriadneGeoPoint": {
}, "class_type": "prototype",
"https://www.ariadne-infrastructure.eu/property/coordinateSystem": { "mappings": {
"class_field": "CoordinateSystem", "https://www.ariadne-infrastructure.eu/property/lat": {
"substring": "no", "class_field": "Lat",
"element_type": "java.lang.String" "substring": "no",
}, "element_type": "java.lang.String"
"https://www.ariadne-infrastructure.eu/property/country": { },
"class_field": "Country", "https://www.ariadne-infrastructure.eu/property/lon": {
"substring": "no", "class_field": "Lon",
"element_type": "java.lang.String" "substring": "no",
}, "element_type": "java.lang.String"
"https://www.ariadne-infrastructure.eu/property/location": { }
"class_field": "Location", }
"external_reference": "AriadneGeoPoint", },
"substring": "no" "Temporal": {
}, "class_type": "prototype",
"https://www.ariadne-infrastructure.eu/property/lat": { "mappings": {
"class_field": "Lat", "https://www.ariadne-infrastructure.eu/property/from": {
"substring": "no", "class_field": "From",
"element_type": "java.lang.String" "substring": "no",
}, "element_type": "java.lang.String"
"https://www.ariadne-infrastructure.eu/property/lon": { },
"class_field": "Lon", "https://www.ariadne-infrastructure.eu/property/periodOName": {
"substring": "no", "class_field": "PeriodName",
"element_type": "java.lang.String" "substring": "no",
}, "element_type": "java.lang.String"
"https://www.ariadne-infrastructure.eu/property/placeName": { },
"class_field": "PlaceName", "https://www.ariadne-infrastructure.eu/property/until": {
"substring": "no", "class_field": "Until",
"element_type": "java.lang.String" "substring": "no",
}} "element_type": "java.lang.String"
}, },
"ArchaeologicalResourceType": { "https://www.ariadne-infrastructure.eu/property/uri": {
"class_type": "unique", "class_field": "Uri",
"mappings": { "substring": "no",
"https://www.ariadne-infrastructure.eu/property/id": { "element_type": "java.lang.String"
"class_field": "Id", }
"substring": "no", }
"element_type": "java.lang.String" },
}, "NativePeriod": {
"https://www.ariadne-infrastructure.eu/property/name": { "class_type": "prototype",
"class_field": "Name", "mappings": {
"substring": "no", "https://www.ariadne-infrastructure.eu/property/nativeFrom": {
"element_type": "java.lang.String" "class_field": "From",
} "substring": "no",
} "element_type": "java.lang.String"
}, },
"AgentInfo": { "https://www.ariadne-infrastructure.eu/property/nativePeriodName": {
"class_type": "prototype", "class_field": "PeriodName",
"mappings": { "substring": "no",
"https://www.ariadne-infrastructure.eu/property/name": { "element_type": "java.lang.String"
"class_field": "Name", },
"substring": "no", "https://www.ariadne-infrastructure.eu/property/nativeUntil": {
"element_type": "java.lang.String" "class_field": "Until",
}, "substring": "no",
"https://www.ariadne-infrastructure.eu/property/type": { "element_type": "java.lang.String"
"class_field": "Type", }
"substring": "no", }
"element_type": "java.lang.String" },
}, "Spatial": {
"https://www.ariadne-infrastructure.eu/property/email": { "class_type": "prototype",
"class_field": "Email", "mappings": {
"substring": "no", "https://www.ariadne-infrastructure.eu/property/address": {
"element_type": "java.lang.String" "class_field": "Address",
}, "substring": "no",
"https://www.ariadne-infrastructure.eu/property/phone": { "element_type": "java.lang.String"
"class_field": "Phone", },
"substring": "no", "https://www.ariadne-infrastructure.eu/property/lat": {
"element_type": "java.lang.String" "class_field": "Lat",
} "substring": "no",
} "element_type": "java.lang.String"
}, },
"NativeSubject": { "https://www.ariadne-infrastructure.eu/property/lon": {
"class_type": "prototype", "class_field": "Lon",
"mappings": { "substring": "no",
"https://www.ariadne-infrastructure.eu/property/prefLabel": { "element_type": "java.lang.String"
"class_field": "PrefLabel", },
"substring": "no", "https://www.ariadne-infrastructure.eu/property/placeName": {
"element_type": "java.lang.String" "class_field": "PlaceName",
}, "substring": "no",
"https://www.ariadne-infrastructure.eu/property/rdfAbout": { "element_type": "java.lang.String"
"class_field": "RdfAbout", },
"substring": "yes", "https://www.ariadne-infrastructure.eu/property/boxMaxLat": {
"element_type": "java.lang.String" "class_field": "BoundingBoxMaxLat",
} "substring": "no",
} "element_type": "java.lang.String"
}, },
"DerivedSubject": { "https://www.ariadne-infrastructure.eu/property/boxMinLat": {
"class_type": "prototype", "class_field": "BoundingBoxMinLat",
"mappings": { "substring": "no",
"https://www.ariadne-infrastructure.eu/property/prefLabel": { "element_type": "java.lang.String"
"class_field": "PrefLabel", },
"substring": "no", "https://www.ariadne-infrastructure.eu/property/boxMaxLon": {
"element_type": "java.lang.String" "class_field": "BoundingBoxMaxLon",
}, "substring": "no",
"https://www.ariadne-infrastructure.eu/property/source": { "element_type": "java.lang.String"
"class_field": "Source", },
"substring": "yes", "https://www.ariadne-infrastructure.eu/property/boxMinLon": {
"element_type": "java.lang.String" "class_field": "BoundingBoxMinLon",
} "substring": "no",
} "element_type": "java.lang.String"
}, },
"AatSubject": { "https://www.ariadne-infrastructure.eu/property/precisionUnit": {
"class_type": "prototype", "class_field": "SpatialPrecision",
"mappings": { "substring": "no",
"https://www.ariadne-infrastructure.eu/property/id": { "element_type": "java.lang.String"
"class_field": "Id", },
"substring": "no", "https://www.ariadne-infrastructure.eu/property/precisionValue": {
"element_type": "java.lang.String" "class_field": "CoordinatePrecision",
}, "substring": "no",
"https://www.ariadne-infrastructure.eu/property/label": { "element_type": "java.lang.String"
"class_field": "Label", },
"substring": "yes", "https://www.ariadne-infrastructure.eu/property/geoPoint": {
"element_type": "java.lang.String" "class_field": "PolygonGeoPoints",
}, "substring": "no",
"https://www.ariadne-infrastructure.eu/property/lang": { "element_type": "java.lang.String",
"class_field": "Lang", "external_reference": "AriadneGeoPoint"
"substring": "yes", },
"element_type": "java.lang.String" "https://www.ariadne-infrastructure.eu/property/wkt": {
} "class_field": "Wkt",
} "substring": "no",
}, "element_type": "java.lang.String"
"AriadneCatalogEntry": { }
"class_type": "unique", }
"mappings": { },
"https://www.ariadne-infrastructure.eu/property/accessPolicy": { "AriadneSubject": {
"class_field": "AccessPolicy", "class_type": "prototype",
"substring": "no", "mappings": {
"element_type": "java.lang.String" "https://www.ariadne-infrastructure.eu/property/name": {
}, "class_field": "PrefLabel",
"https://www.ariadne-infrastructure.eu/property/identifier": { "substring": "no",
"class_field": "Identifier", "element_type": "java.lang.String"
"substring": "yes", }
"element_type": "java.lang.String" }
}, },
"https://www.ariadne-infrastructure.eu/property/publisher": { "AgentInfo": {
"class_field": "Publisher", "class_type": "prototype",
"external_reference": "AgentInfo", "mappings": {
"substring": "no" "https://www.ariadne-infrastructure.eu/property/name": {
}, "class_field": "Name",
"https://www.ariadne-infrastructure.eu/property/archeologicalResourceType": { "substring": "no",
"class_field": "ArchaeologicalResourceType", "element_type": "java.lang.String"
"external_reference": "ArchaeologicalResourceType", },
"substring": "no" "https://www.ariadne-infrastructure.eu/property/type": {
}, "class_field": "Type",
"https://www.ariadne-infrastructure.eu/property/issued": { "substring": "no",
"class_field": "Issued", "element_type": "java.lang.String"
"element_type": "java.lang.String", },
"substring": "no" "https://www.ariadne-infrastructure.eu/property/homepage": {
}, "class_field": "Homepage",
"https://www.ariadne-infrastructure.eu/property/resourceType": { "substring": "no",
"class_field": "ResourceType", "element_type": "java.lang.String"
"element_type": "java.lang.String", },
"substring": "no" "https://www.ariadne-infrastructure.eu/property/institution": {
}, "class_field": "Institution",
"https://www.ariadne-infrastructure.eu/property/modified": { "substring": "no",
"class_field": "Modified", "element_type": "java.lang.String"
"element_type": "java.lang.String", },
"substring": "no" "https://www.ariadne-infrastructure.eu/property/agentIdentifier": {
}, "class_field": "AgentIdentifier",
"https://www.ariadne-infrastructure.eu/property/nativeSubject": { "substring": "no",
"class_field": "NativeSubject", "element_type": "java.lang.String"
"substring": "no", }
"external_reference": "NativeSubject" }
}, },
"https://www.ariadne-infrastructure.eu/property/derivedSubject": { "PublisherInfo": {
"class_field": "DerivedSubject", "class_type": "prototype",
"substring": "no", "mappings": {
"external_reference": "DerivedSubject" "https://www.ariadne-infrastructure.eu/property/publisherName": {
}, "class_field": "Name",
"https://www.ariadne-infrastructure.eu/property/aatSubjects": { "substring": "no",
"class_field": "AatSubjects", "element_type": "java.lang.String"
"substring": "no", },
"external_reference": "AatSubject" "https://www.ariadne-infrastructure.eu/property/type": {
}, "class_field": "Type",
"https://www.ariadne-infrastructure.eu/property/spatialRegion": { "substring": "no",
"class_field": "Spatial", "element_type": "java.lang.String"
"substring": "no", },
"external_reference": "Spatial" "https://www.ariadne-infrastructure.eu/property/publisherEmail": {
}, "class_field": "Email",
"https://www.ariadne-infrastructure.eu/property/spatialRegionPoint": { "substring": "no",
"class_field": "Spatial", "element_type": "java.lang.String"
"substring": "no", },
"external_reference": "Spatial" "https://www.ariadne-infrastructure.eu/property/publisherHomepage": {
}, "class_field": "Homepage",
"https://www.ariadne-infrastructure.eu/property/landingPage": { "substring": "no",
"class_field": "LandingPage", "element_type": "java.lang.String"
"substring": "no", },
"element_type": "java.lang.String" "https://www.ariadne-infrastructure.eu/property/publisherInstitution": {
}, "class_field": "Institution",
"https://www.ariadne-infrastructure.eu/property/placeName": { "substring": "no",
"class_field": "PlaceName", "element_type": "java.lang.String"
"substring": "no", },
"element_type": "java.lang.String" "https://www.ariadne-infrastructure.eu/property/publisherAgentIdentifier": {
}, "class_field": "AgentIdentifier",
"https://www.ariadne-infrastructure.eu/property/title": { "substring": "no",
"class_field": "Title", "element_type": "java.lang.String"
"substring": "no", }
"element_type": "java.lang.String" }
}, },
"https://www.ariadne-infrastructure.eu/property/accessRights": { "NativeSubject": {
"class_field": "AccessRights", "class_type": "prototype",
"substring": "no", "mappings": {
"element_type": "java.lang.String" "https://www.ariadne-infrastructure.eu/property/prefLabel": {
}, "class_field": "PrefLabel",
"https://www.ariadne-infrastructure.eu/property/description": { "substring": "no",
"class_field": "Description", "element_type": "java.lang.String"
"substring": "no", },
"element_type": "java.lang.String" "https://www.ariadne-infrastructure.eu/property/rdfAbout": {
}, "class_field": "RdfAbout",
"https://www.ariadne-infrastructure.eu/property/creator": { "substring": "yes",
"class_field": "Creator", "element_type": "java.lang.String"
"substring": "no", }
"external_reference": "AgentInfo" }
}, },
"https://www.ariadne-infrastructure.eu/property/contributor": { "DerivedSubject": {
"class_field": "Contributor", "class_type": "prototype",
"substring": "no", "mappings": {
"external_reference": "AgentInfo" "https://www.ariadne-infrastructure.eu/property/prefLabel": {
}, "class_field": "PrefLabel",
"https://www.ariadne-infrastructure.eu/property/legalResponsible": { "substring": "no",
"class_field": "LegalResponsible", "element_type": "java.lang.String"
"substring": "no", },
"external_reference": "AgentInfo" "https://www.ariadne-infrastructure.eu/property/source": {
}, "class_field": "Source",
"https://www.ariadne-infrastructure.eu/property/owner": { "substring": "yes",
"class_field": "Owner", "element_type": "java.lang.String"
"substring": "no", },
"external_reference": "AgentInfo" "https://www.ariadne-infrastructure.eu/property/id": {
}, "class_field": "Id",
"https://www.ariadne-infrastructure.eu/property/originalId": { "substring": "no",
"class_field": "OriginalId", "element_type": "java.lang.String"
"substring": "no", },
"element_type": "java.lang.String" "https://www.ariadne-infrastructure.eu/property/label": {
}, "class_field": "PrefLabel",
"https://www.ariadne-infrastructure.eu/property/uri": { "substring": "yes",
"class_field": "Temporal", "element_type": "java.lang.String"
"substring": "no", },
"external_reference": "AriadneTemporal" "https://www.ariadne-infrastructure.eu/property/lang": {
}, "class_field": "Lang",
"https://www.ariadne-infrastructure.eu/property/language": { "substring": "yes",
"class_field": "Language", "element_type": "java.lang.String"
"substring": "no", }
"element_type": "java.lang.String" }
}, },
"https://www.ariadne-infrastructure.eu/property/partOf": { "AriadnePlusEntry": {
"class_field": "UniqueIsPartOf", "class_type": "unique",
"substring": "no", "mappings": {
"element_type": "java.lang.String" "https://www.ariadne-infrastructure.eu/property/typeURI": {
} "class_field": "TypeURI",
} "substring": "no",
} "element_type": "java.lang.String"
},
"https://www.ariadne-infrastructure.eu/property/typeLabel": {
"class_field": "TypeLabel",
"substring": "no",
"element_type": "java.lang.String"
},
"https://www.ariadne-infrastructure.eu/property/accessPolicy": {
"class_field": "AccessPolicy",
"substring": "no",
"element_type": "java.lang.String"
},
"https://www.ariadne-infrastructure.eu/property/identifier": {
"class_field": "Identifier",
"substring": "yes",
"element_type": "java.lang.String"
},
"https://www.ariadne-infrastructure.eu/property/publisher": {
"class_field": "Publisher",
"external_reference": "PublisherInfo",
"substring": "no"
},
"https://www.ariadne-infrastructure.eu/property/archeologicalResourceType": {
"class_field": "AriadneSubject",
"external_reference": "AriadneSubject",
"substring": "no"
},
"https://www.ariadne-infrastructure.eu/property/issued": {
"class_field": "Issued",
"element_type": "java.lang.String",
"substring": "no"
},
"https://www.ariadne-infrastructure.eu/property/created": {
"class_field": "WasCreated",
"element_type": "java.lang.String",
"substring": "no"
},
"https://www.ariadne-infrastructure.eu/property/resourceType": {
"class_field": "ResourceType",
"element_type": "java.lang.String",
"substring": "no"
},
"https://www.ariadne-infrastructure.eu/property/modified": {
"class_field": "Modified",
"element_type": "java.lang.String",
"substring": "no"
},
"https://www.ariadne-infrastructure.eu/property/nativeSubject": {
"class_field": "NativeSubject",
"substring": "no",
"external_reference": "NativeSubject"
},
"https://www.ariadne-infrastructure.eu/property/derivedSubject": {
"class_field": "DerivedSubject",
"substring": "no",
"external_reference": "DerivedSubject"
},
"https://www.ariadne-infrastructure.eu/property/spatialRegion": {
"class_field": "Spatial",
"substring": "no",
"external_reference": "Spatial"
},
"https://www.ariadne-infrastructure.eu/property/spatialRegionPoint": {
"class_field": "Spatial",
"substring": "no",
"external_reference": "Spatial"
},
"https://www.ariadne-infrastructure.eu/property/spatialRegionBox": {
"class_field": "Spatial",
"substring": "no",
"external_reference": "Spatial"
},
"https://www.ariadne-infrastructure.eu/property/spatialRegionPolygon": {
"class_field": "Spatial",
"substring": "no",
"external_reference": "Spatial"
},
"https://www.ariadne-infrastructure.eu/property/spatialRegionWKTPolygon": {
"class_field": "Spatial",
"substring": "no",
"external_reference": "Spatial"
},
"https://www.ariadne-infrastructure.eu/property/landingPage": {
"class_field": "LandingPage",
"substring": "no",
"element_type": "java.lang.String"
},
"https://www.ariadne-infrastructure.eu/property/titleInfo": {
"class_field": "Title",
"substring": "no",
"external_reference": "TextLang"
},
"https://www.ariadne-infrastructure.eu/property/accessRights": {
"class_field": "AccessRights",
"substring": "no",
"element_type": "java.lang.String"
},
"https://www.ariadne-infrastructure.eu/property/descriptionInfo": {
"class_field": "Description",
"substring": "no",
"external_reference": "TextLang"
},
"https://www.ariadne-infrastructure.eu/property/creator": {
"class_field": "Creator",
"substring": "no",
"external_reference": "AgentInfo"
},
"https://www.ariadne-infrastructure.eu/property/contributor": {
"class_field": "Contributor",
"substring": "no",
"external_reference": "AgentInfo"
},
"https://www.ariadne-infrastructure.eu/property/legalResponsible": {
"class_field": "Responsible",
"substring": "no",
"external_reference": "AgentInfo"
},
"https://www.ariadne-infrastructure.eu/property/owner": {
"class_field": "Owner",
"substring": "no",
"external_reference": "AgentInfo"
},
"https://www.ariadne-infrastructure.eu/property/originalId": {
"class_field": "OriginalId",
"substring": "no",
"element_type": "java.lang.String"
},
"https://www.ariadne-infrastructure.eu/property/temporal": {
"class_field": "Temporal",
"substring": "no",
"external_reference": "Temporal"
},
"https://www.ariadne-infrastructure.eu/property/temporalNative": {
"class_field": "NativePeriod",
"substring": "no",
"external_reference": "NativePeriod"
},
"https://www.ariadne-infrastructure.eu/property/language": {
"class_field": "Language",
"substring": "no",
"element_type": "java.lang.String"
},
"https://www.ariadne-infrastructure.eu/property/partOf": {
"class_field": "UniqueIsPartOf",
"substring": "no",
"element_type": "java.lang.String"
},
"https://www.ariadne-infrastructure.eu/property/about": {
"class_field": "Is_about",
"substring": "no",
"external_reference": "AriadneResource"
},
"https://www.ariadne-infrastructure.eu/property/image": {
"class_field": "DigitalImage",
"substring": "no",
"external_reference": "DigitalImage"
}
}
}
} }