Skip to content

Commit

Permalink
fixed model and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
EmidioStani committed Feb 7, 2024
1 parent 4ac0b42 commit e5c38b9
Show file tree
Hide file tree
Showing 58 changed files with 1,179 additions and 1,455 deletions.
39 changes: 19 additions & 20 deletions context/strap.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -132,20 +132,12 @@
"@type": "@id"
},
"Document": "http://xmlns.com/foaf/0.1/Document",
"Document.describes": {
"Double": "http://www.w3.org/2001/XMLSchema#double",
"Evidence": "http://data.europa.eu/m8g/Evidence",
"Evidence.describes": {
"@id": "https://w3id.org/str/describes",
"@type": "@id"
},
"Document.submissionDate": {
"@id": "https://w3id.org/str/submissionDate",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"Document.updateDate": {
"@id": "https://w3id.org/str/updateDate",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"Double": "http://www.w3.org/2001/XMLSchema#double",
"Evidence": "http://data.europa.eu/m8g/Evidence",
"Evidence.identifier": {
"@id": "http://purl.org/dc/terms/identifier"
},
Expand All @@ -159,6 +151,14 @@
"@id": "http://xmlns.com/foaf/0.1/page",
"@type": "@id"
},
"Evidence.submissionDate": {
"@id": "https://w3id.org/str/submissionDate",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"Evidence.updateDate": {
"@id": "https://w3id.org/str/updateDate",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"Evidence.validityPeriod": {
"@id": "http://data.europa.eu/m8g/validityPeriod",
"@type": "@id"
Expand All @@ -179,12 +179,12 @@
},
"LegalEntity.isNotifiedBy": {
"@container": "@set",
"@id": "https://w3id.org/str/legalEntityIsNotifiedBy",
"@id": "https://w3id.org/str/isNotifiedBy",
"@type": "@id"
},
"LegalEntity.isReferredIn": {
"@container": "@set",
"@id": "https://w3id.org/str/legalEntityIsReferredIn",
"@id": "https://w3id.org/str/isReferredIn",
"@type": "@id"
},
"LegalEntity.legalIdentifier": {
Expand All @@ -198,12 +198,12 @@
},
"LegalEntity.offers": {
"@container": "@set",
"@id": "https://w3id.org/str/legalEntityOffers",
"@id": "https://w3id.org/str/offers",
"@type": "@id"
},
"LegalEntity.provides": {
"@container": "@set",
"@id": "https://w3id.org/str/legalEntityProvides",
"@id": "https://w3id.org/str/provides",
"@type": "@id"
},
"LegalEntity.registeredAddress": {
Expand Down Expand Up @@ -304,7 +304,7 @@
},
"Person.isNotifiedBy": {
"@container": "@set",
"@id": "https://w3id.org/str/personIsNotifiedBy",
"@id": "https://w3id.org/str/isNotifiedBy",
"@type": "@id"
},
"Person.isPointOfContactFor": {
Expand All @@ -314,17 +314,17 @@
},
"Person.isReferredIn": {
"@container": "@set",
"@id": "https://w3id.org/str/personIsReferredIn",
"@id": "https://w3id.org/str/isReferredIn",
"@type": "@id"
},
"Person.offers": {
"@container": "@set",
"@id": "https://w3id.org/str/personOffers",
"@id": "https://w3id.org/str/offers",
"@type": "@id"
},
"Person.provides": {
"@container": "@set",
"@id": "https://w3id.org/str/personProvides",
"@id": "https://w3id.org/str/provides",
"@type": "@id"
},
"PublicOrganisation": "http://data.europa.eu/m8g/PublicOrganisation",
Expand Down Expand Up @@ -399,7 +399,6 @@
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"
},
"PublicRegistryService.produces": {
"@container": "@set",
"@id": "http://purl.org/vocab/cpsv#produces",
"@type": "@id"
},
Expand Down
39 changes: 19 additions & 20 deletions context/strap_en.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -132,20 +132,12 @@
"@type": "@id"
},
"Document": "http://xmlns.com/foaf/0.1/Document",
"Document.describes": {
"Double": "http://www.w3.org/2001/XMLSchema#double",
"Evidence": "http://data.europa.eu/m8g/Evidence",
"Evidence.describes": {
"@id": "https://w3id.org/str/describes",
"@type": "@id"
},
"Document.submissionDate": {
"@id": "https://w3id.org/str/submissionDate",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"Document.updateDate": {
"@id": "https://w3id.org/str/updateDate",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"Double": "http://www.w3.org/2001/XMLSchema#double",
"Evidence": "http://data.europa.eu/m8g/Evidence",
"Evidence.identifier": {
"@id": "http://purl.org/dc/terms/identifier"
},
Expand All @@ -159,6 +151,14 @@
"@id": "http://xmlns.com/foaf/0.1/page",
"@type": "@id"
},
"Evidence.submissionDate": {
"@id": "https://w3id.org/str/submissionDate",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"Evidence.updateDate": {
"@id": "https://w3id.org/str/updateDate",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"Evidence.validityPeriod": {
"@id": "http://data.europa.eu/m8g/validityPeriod",
"@type": "@id"
Expand All @@ -179,12 +179,12 @@
},
"LegalEntity.isNotifiedBy": {
"@container": "@set",
"@id": "https://w3id.org/str/legalEntityIsNotifiedBy",
"@id": "https://w3id.org/str/isNotifiedBy",
"@type": "@id"
},
"LegalEntity.isReferredIn": {
"@container": "@set",
"@id": "https://w3id.org/str/legalEntityIsReferredIn",
"@id": "https://w3id.org/str/isReferredIn",
"@type": "@id"
},
"LegalEntity.legalIdentifier": {
Expand All @@ -198,12 +198,12 @@
},
"LegalEntity.offers": {
"@container": "@set",
"@id": "https://w3id.org/str/legalEntityOffers",
"@id": "https://w3id.org/str/offers",
"@type": "@id"
},
"LegalEntity.provides": {
"@container": "@set",
"@id": "https://w3id.org/str/legalEntityProvides",
"@id": "https://w3id.org/str/provides",
"@type": "@id"
},
"LegalEntity.registeredAddress": {
Expand Down Expand Up @@ -304,7 +304,7 @@
},
"Person.isNotifiedBy": {
"@container": "@set",
"@id": "https://w3id.org/str/personIsNotifiedBy",
"@id": "https://w3id.org/str/isNotifiedBy",
"@type": "@id"
},
"Person.isPointOfContactFor": {
Expand All @@ -314,17 +314,17 @@
},
"Person.isReferredIn": {
"@container": "@set",
"@id": "https://w3id.org/str/personIsReferredIn",
"@id": "https://w3id.org/str/isReferredIn",
"@type": "@id"
},
"Person.offers": {
"@container": "@set",
"@id": "https://w3id.org/str/personOffers",
"@id": "https://w3id.org/str/offers",
"@type": "@id"
},
"Person.provides": {
"@container": "@set",
"@id": "https://w3id.org/str/personProvides",
"@id": "https://w3id.org/str/provides",
"@type": "@id"
},
"PublicOrganisation": "http://data.europa.eu/m8g/PublicOrganisation",
Expand Down Expand Up @@ -399,7 +399,6 @@
"@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"
},
"PublicRegistryService.produces": {
"@container": "@set",
"@id": "http://purl.org/vocab/cpsv#produces",
"@type": "@id"
},
Expand Down
13 changes: 8 additions & 5 deletions html/examples/example-natural_person_unit.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@
},
"adms:identifier" : {
"@id": "ex:identifier1"
},
"adms:identifier" : {
"@id": "ex:identifier1"
},
"str:provides" : {
"@id": "ex:evidence1"
}
},
{
Expand Down Expand Up @@ -65,18 +71,15 @@
"dct:identifier" : "evi-123",
"dct:title" : {
"@language": "en",
"@value": "Information about the unit"
"@value": "Information about the unit1"
},
"str:submissionDate": {
"@type": "xsd:dateTime",
"@value": "2024-01-28T09:00:00"
},
"str:describes": {
"@id": "ex:unit1"
},
"cv:isProvidedBy" : {
"@id": "ex:person1"
}
}
},
{
"@id": "ex:unit1",
Expand Down
8 changes: 5 additions & 3 deletions html/examples/example-natural_person_unit.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ex:person1 foaf:familyName "Magritte"@fr ;
cv:contactPoint ex:contactPoint1 ;
cv:domicile ex:address1 ;
adms:identifier ex:identifier1 ;
str:provides ex:document1;
str:provides ex:evidence1;
a person:Person .

ex:contactPoint1 cv:email "rene@magritte.be" ;
Expand All @@ -32,9 +32,11 @@ ex:address1 locn:fullAddress "Rue Esseghem 135, 1090 Bruxelles, Belgique"@fr ;
ex:identifier1 skos:notation "123.456.789" ;
a adms:identifier .

ex:document1 str:submissionDate "2024-01-28T09:00:00"^^xsd:dateTime ;
ex:evidence1 dct:identifier "evi-123" ;
dct:title "Information about the unit1" ;
str:submissionDate "2024-01-28T09:00:00"^^xsd:dateTime ;
str:describes ex:unit1 ;
a foaf:Document .
a cv:Evidence .

ex:unit1 str:numberOfBedrooms 1 ;
str:occupancy 2 ;
Expand Down
41 changes: 22 additions & 19 deletions html/examples/example-registration_procedure.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,6 @@
}
],
"@graph": [
{
"@id": "ex:registrationNumber1",
"@type": "RegistrationNumber",
"dct:identifier": "2025-01-28_12345",
"dct:title": {
"@language": "en",
"@value": "Registration number 12345"
},
"str:identifies": {
"@id": "ex:unit1"
},
"dct:issued": {
"@type": "xsd:dateTime",
"@value": "2024-01-28T12:00:00"
},
"adms:status": {
"@id": "ex:validStatus"
}
},
{
"@id": "ex:registrationProcedure1",
"@type": "RegistrationProcedure",
Expand All @@ -51,13 +32,35 @@
"@language": "en",
"@value": "Registration number service 123"
},
"cpsv:hasInpt": {
"@id": "ex:evidence1"
},
"cpsv:produces": {
"@id": "ex:registrationNumber1"
},
"cv:hasCompetentAuthority": {
"@id": "ex:publicOrganisation1"
}
},
{
"@id": "ex:registrationNumber1",
"@type": "RegistrationNumber",
"dct:identifier": "2025-01-28_12345",
"dct:title": {
"@language": "en",
"@value": "Registration number 12345"
},
"str:identifies": {
"@id": "ex:unit1"
},
"dct:issued": {
"@type": "xsd:dateTime",
"@value": "2024-01-28T12:00:00"
},
"adms:status": {
"@id": "ex:validStatus"
}
},
{
"@id": "ex:publicOrganisation1",
"@type": "PublicOrganisation",
Expand Down
15 changes: 8 additions & 7 deletions html/examples/example-registration_procedure.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,21 @@
@prefix time: <http://www.w3.org/2006/time#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

ex:registrationNumber1 dct:identifier "2025-01-28_12345" ;
dct:title "Registration number 12345"@en ;
str:identifies ex:unit1 ;
dct:issued "2024-01-28T12:00:00"^^xsd:dateTime ;
adms:status ex:validStatus ;
a str:RegistrationNumber .

ex:registrationProcedure1 dct:identifier "2015-01-28-09-00-00-123" ;
dct:description "Provision of registration number for Rene Magritte for shared house"@en ;
dct:title "Registration number service 123"@en ;
cpsv:hasInput ex:evidence1 ;
cpsv:produces ex:registrationNumber1 ;
cv:hasCompetentAuthority ex:publicOrganisation1 ;
a str:RegistrationProcedure .

ex:registrationNumber1 dct:identifier "2025-01-28_12345" ;
dct:title "Registration number 12345"@en ;
str:identifies ex:unit1 ;
dct:issued "2024-01-28T12:00:00"^^xsd:dateTime ;
adms:status ex:validStatus ;
a str:RegistrationNumber .

ex:publicOrganisation1 skos:prefLabel "Jette municipality"@en ;
locn:address ex:address2 ;
a cv:PublicOrganisation .
Expand Down
Binary file modified html/overview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e5c38b9

Please sign in to comment.