Skip to content

Commit

Permalink
Type explicitly all class instances in examples (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-perego authored May 6, 2021
1 parent d67f096 commit 412517a
Show file tree
Hide file tree
Showing 106 changed files with 1,933 additions and 1,685 deletions.
48 changes: 25 additions & 23 deletions drafts/latest/appendices/inspire-and-iso-19115-mappings.html
Original file line number Diff line number Diff line change
Expand Up @@ -2083,7 +2083,7 @@ <h2>Coupled resource - *not in ISO 19115 core</h2>
<pre>[] a dcat:DataService ;
dct:type &lt;http://inspire.ec.europa.eu/metadata-codelist/ResourceType/service&gt; ,
&lt;http://inspire.ec.europa.eu/metadata-codelist/SpatialDataServiceType/view&gt; ;
dcat:servesDataset [
dcat:servesDataset [ a dcat:Dataset ;
dct:identifier &quot;1234567890&quot;^^xsd:string
] .</pre>

Expand Down Expand Up @@ -2144,7 +2144,8 @@ <h2>Resource language and metadata language - *Dataset language and Metadata lan
&lt;http://publications.europa.eu/resource/authority/language/DEU&gt; ;
foaf:isPrimaryTopicOf
# Metadata on metadata
[ dct:language
[ a dcat:CatalogRecord ;
dct:language
&lt;http://publications.europa.eu/resource/authority/language/NLD&gt; ] .</pre>

<p>Resource metadata in ISO 19139</p>
Expand Down Expand Up @@ -2322,7 +2323,7 @@ <h3>Keyword in services</h3>
[ a skos:Concept ;
skos:prefLabel &quot;coniferous forest&quot;@en ;
skos:inScheme [ a skos:ConceptScheme ;
rdfs:label &quot;GEMET - Concepts, version 2.4&quot;@en ;
dct:title &quot;GEMET - Concepts, version 2.4&quot;@en ;
dct:issued &quot;2010-01-13&quot;^^xsd:date ] ] ;
### Topic categories
dct:subject &lt;http://inspire.ec.europa.eu/metadata-codelist/TopicCategory/geoscientificInformation&gt; .
Expand All @@ -2338,8 +2339,8 @@ <h3>Keyword in services</h3>
[ a skos:Concept ;
skos:prefLabel &quot;Floods&quot;@en ;
skos:inScheme [ a skos:ConceptScheme ;
rdfs:label &quot;GEOSS - Societal Benefit Areas, version 1.0&quot;@en ;
dct:issued &quot;2010-08-25&quot;^^xsd:date ] ] .</pre>
dct:title &quot;GEOSS - Societal Benefit Areas, version 1.0&quot;@en ;
dct:issued &quot;2010-08-25&quot;^^xsd:date ] ] .</pre>

<p>Resource metadata in ISO 19139:</p>

Expand Down Expand Up @@ -2651,10 +2652,10 @@ <h2>Geographic identifier</h2>

# If no URI is used for the geographic identifier
[]
dct:spatial [
dct:spatial [ a dct:Location , skos:Concept ;
skos:preflabel &quot;Netherlands&quot;@en;
skos:prefLabel &quot;Nederland&quot;@nl;
skos:inScheme [
skos:inScheme [ skos:ConceptScheme ;
dct:title &quot;Countries Authority Table&quot;@en;
dct:modified &quot;2009-01-01&quot;^^xsd:date
]
Expand Down Expand Up @@ -2712,7 +2713,8 @@ <h2>Temporal reference and metadata date –*Additional extent information for t
foaf:isPrimaryTopicOf
# Metadata on metadata
## Metadata date
[ dct:modified &quot;2012-08-13&quot;^^xsd:date ] .</pre>
[ a dcat:CatalogRecord ;
dct:modified &quot;2012-08-13&quot;^^xsd:date ] .</pre>

<p>Resource metadata in ISO 19139:</p>

Expand Down Expand Up @@ -2953,19 +2955,18 @@ <h2>Conformity and data quality - *not in ISO 19115 core</h2>
prov:wasUsedBy [
a prov:Activity;
# Conformity degree
prov:generated [
prov:generated [ a prov:Entity ;
dct:type &lt;http://inspire.ec.europa.eu/metadata-codelist/DegreeOfConformity/conformant&gt; ;
dct:description “See the referenced specification”@en
prov:qualifiedAssociation [
prov:hadPlan [
a prov:Plan;
prov:wasDerivedFrom [
prov:qualifiedAssociation [ a prov:Association ;
prov:hadPlan [ a prov:Plan;
prov:wasDerivedFrom [
# Specification
a prov:Entity, dct:Standard;
dct:title &quot;COMMISSION REGULATION (EC) No 976/2009 of 19 October 2009
implementing Directive 2007/2/EC of the European Parliament and of the Council
as regards the Network Services&quot;@en
dct:issued &quot;2009-10-20&quot;^^xsd:date
a prov:Entity , dct:Standard ;
dct:title &quot;COMMISSION REGULATION (EC) No 976/2009 of 19 October 2009
implementing Directive 2007/2/EC of the European Parliament and of the Council
as regards the Network Services&quot;@en
dct:issued &quot;2009-10-20&quot;^^xsd:date
]
];
];
Expand Down Expand Up @@ -3485,6 +3486,7 @@ <h2>*Metadata standard name, *Metadata standard version</h2>

&lt;https://joinup.ec.europa.eu/release/geodcat-ap/10&gt;
# Standard name and version of the GeoDCAT-AP record
a dct:Standard ;
dct:title &quot;GeoDCAT-AP&quot;@en ;
owl:versionInfo &quot;1.0&quot; ;
.</pre>
Expand All @@ -3511,10 +3513,9 @@ <h2>*Metadata standard name, *Metadata standard version</h2>

<pre>[] a dcat:CatalogRecord ;
dct:conformsTo &lt;https://joinup.ec.europa.eu/release/geodcat-ap/10&gt; ;
dct:source [
dct:source [ a dcat:CatalogRecord ;
# Standard name and version of the source ISO 19115 record
a dcat:CatalogRecord ;
dct:conformsTo [
dct:conformsTo [ a dct:Standard ;
dct:title &quot;ISO 19115&quot;@en ;
owl:versionInfo &quot;Nederlands metadata profiel op ISO 19115 voor geografie 1.3&quot;.
] ] ;
Expand Down Expand Up @@ -3617,6 +3618,7 @@ <h2>Coordinate reference systems and Temporal reference systems – *Reference S
dct:conformsTo &lt;http://www.opengis.net/def/crs/EPSG/0/4258&gt; .

&lt;http://www.opengis.net/def/crs/EPSG/0/4258&gt;
a dct:Standard ;
dct:type &lt;http://inspire.ec.europa.eu/glossary/SpatialReferenceSystem&gt; .</pre>

<p>Resource metadata in ISO 19139:</p>
Expand Down Expand Up @@ -3645,7 +3647,7 @@ <h2>Coordinate reference systems and Temporal reference systems – *Reference S
<p>Resource metadata in GeoDCAT-AP:</p>

<pre>[] a dcat:Dataset ;
dct:conformsTo [
dct:conformsTo [ a dct:Standard ;
dct:identifer &quot;EPSG:4258&quot;^^xsd:string ;
dct:type &lt;http://inspire.ec.europa.eu/glossary/SpatialReferenceSystem&gt; .
] .</pre>
Expand Down Expand Up @@ -3931,7 +3933,7 @@ <h2>Encoding - *Distribution format</h2>

<pre>[] a dcat:Dataset ;
dcat:distribution [ a dcat:Distribution ;
dcat:mediaType &lt;http://publications.europa.eu/resource/authority/file-type/TIFF&gt; ] .</pre>
dct:format &lt;http://publications.europa.eu/resource/authority/file-type/TIFF&gt; ] .</pre>

<p>Resource metadata in ISO 19139:</p>

Expand Down
58 changes: 29 additions & 29 deletions drafts/latest/examples/activity.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"@graph": [
{
"@id": "_:Nbbc7180d10e7422580ae6402250ed7b6",
"@id": "_:N6a64c1b02b694581bb2388823133b623",
"@type": [
"http://www.w3.org/ns/prov#Entity"
],
Expand All @@ -19,40 +19,18 @@
]
},
{
"@id": "_:N385fea47c4c8463b965a249e511a8de6",
"@type": [
"http://www.w3.org/ns/prov#Plan"
],
"http://www.w3.org/ns/prov#wasDerivedFrom": [
{
"@id": "http://data.europa.eu/eli/reg/2010/1089"
}
]
},
{
"@id": "_:N297540213321443a84f90245195b6267",
"@type": [
"http://www.w3.org/ns/prov#Association"
],
"http://www.w3.org/ns/prov#hadPlan": [
{
"@id": "_:N385fea47c4c8463b965a249e511a8de6"
}
]
},
{
"@id": "_:Nb86a88d0e2474b82b3c5658366964eec",
"@id": "_:Nc58a33cab50b4cb8afa95f125014dc9e",
"@type": [
"http://www.w3.org/ns/prov#Activity"
],
"http://www.w3.org/ns/prov#generated": [
{
"@id": "_:Nbbc7180d10e7422580ae6402250ed7b6"
"@id": "_:N6a64c1b02b694581bb2388823133b623"
}
],
"http://www.w3.org/ns/prov#qualifiedAssociation": [
{
"@id": "_:N297540213321443a84f90245195b6267"
"@id": "_:Neebc077e961b41a89acfb5fa0aaa1246"
}
],
"http://www.w3.org/ns/prov#used": [
Expand All @@ -64,8 +42,8 @@
{
"@id": "http://data.europa.eu/eli/reg/2010/1089",
"@type": [
"http://www.w3.org/ns/prov#Entity",
"http://purl.org/dc/terms/Standard"
"http://purl.org/dc/terms/Standard",
"http://www.w3.org/ns/prov#Entity"
],
"http://purl.org/dc/terms/issued": [
{
Expand All @@ -79,8 +57,30 @@
"@value": "\n Commission Regulation (EU) No 1089/2010 of 23 November 2010 \n implementing Directive 2007/2/EC of the European Parliament \n and of the Council as regards interoperability of spatial \n data sets and services\n "
}
]
},
{
"@id": "_:N90e8b22b901b4e3c8e641adbd6c69ebb",
"@type": [
"http://www.w3.org/ns/prov#Plan"
],
"http://www.w3.org/ns/prov#wasDerivedFrom": [
{
"@id": "http://data.europa.eu/eli/reg/2010/1089"
}
]
},
{
"@id": "_:Neebc077e961b41a89acfb5fa0aaa1246",
"@type": [
"http://www.w3.org/ns/prov#Association"
],
"http://www.w3.org/ns/prov#hadPlan": [
{
"@id": "_:N90e8b22b901b4e3c8e641adbd6c69ebb"
}
]
}
],
"@id": "file:///var/www/html/git/github/semiceu/GeoDCAT-AP.gh-pages/drafts/latest/examples/activity.rdf"
"@id": "file:///var/www/html/git/github/semiceu/GeoDCAT-AP.fix-issue-61/drafts/latest/examples/activity.rdf"
}
]
4 changes: 2 additions & 2 deletions drafts/latest/examples/address-agent.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"@graph": [
{
"@id": "_:N3c54b3221f154c3ca637b0b0a97cc03a",
"@id": "_:N2a509977f6fb4515aad82b0dde964b85",
"@type": [
"http://www.w3.org/ns/locn#Address"
],
Expand Down Expand Up @@ -33,6 +33,6 @@
]
}
],
"@id": "file:///var/www/html/git/github/semiceu/GeoDCAT-AP.gh-pages/drafts/latest/examples/address-agent.rdf"
"@id": "file:///var/www/html/git/github/semiceu/GeoDCAT-AP.fix-issue-61/drafts/latest/examples/address-agent.rdf"
}
]
4 changes: 2 additions & 2 deletions drafts/latest/examples/address-kind.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"@graph": [
{
"@id": "_:Na92f508d0e02482b8306828aff9a8c85",
"@id": "_:N214677b369e94b09a81af610a14cb4a3",
"@type": [
"http://www.w3.org/2006/vcard/ns#Address"
],
Expand Down Expand Up @@ -33,6 +33,6 @@
]
}
],
"@id": "file:///var/www/html/git/github/semiceu/GeoDCAT-AP.gh-pages/drafts/latest/examples/address-kind.rdf"
"@id": "file:///var/www/html/git/github/semiceu/GeoDCAT-AP.fix-issue-61/drafts/latest/examples/address-kind.rdf"
}
]
54 changes: 27 additions & 27 deletions drafts/latest/examples/agent.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -2,64 +2,64 @@
{
"@graph": [
{
"@id": "_:N71ccd39ed6784efbbba9a609ac80fcdc",
"@id": "_:N0482edc68d474fe8b8780a5ad8d21af6",
"@type": [
"http://xmlns.com/foaf/0.1/Organization"
"http://www.w3.org/ns/locn#Address"
],
"http://www.w3.org/ns/locn#address": [
"http://www.w3.org/ns/locn#adminUnitL1": [
{
"@id": "_:N47793150fa234b499af358825b8e6e49"
"@value": "Denmark"
}
],
"http://xmlns.com/foaf/0.1/mbox": [
"http://www.w3.org/ns/locn#adminUnitL2": [
{
"@id": "mailto:sdi@eea.europa.eu"
"@value": "K"
}
],
"http://xmlns.com/foaf/0.1/name": [
"http://www.w3.org/ns/locn#postCode": [
{
"@language": "en",
"@value": "European Environment Agency"
"@value": "1050"
}
],
"http://xmlns.com/foaf/0.1/phone": [
"http://www.w3.org/ns/locn#postName": [
{
"@id": "tel:+451234567890"
"@value": "Copenhagen"
}
],
"http://www.w3.org/ns/locn#thoroughfare": [
{
"@value": "Kongens Nytorv 6"
}
]
},
{
"@id": "_:N47793150fa234b499af358825b8e6e49",
"@id": "_:N4492ff2123b646a982392c9207fc04e8",
"@type": [
"http://www.w3.org/ns/locn#Address"
],
"http://www.w3.org/ns/locn#adminUnitL1": [
{
"@value": "Denmark"
}
"http://xmlns.com/foaf/0.1/Organization"
],
"http://www.w3.org/ns/locn#adminUnitL2": [
"http://www.w3.org/ns/locn#address": [
{
"@value": "K"
"@id": "_:N0482edc68d474fe8b8780a5ad8d21af6"
}
],
"http://www.w3.org/ns/locn#postCode": [
"http://xmlns.com/foaf/0.1/mbox": [
{
"@value": "1050"
"@id": "mailto:sdi@eea.europa.eu"
}
],
"http://www.w3.org/ns/locn#postName": [
"http://xmlns.com/foaf/0.1/name": [
{
"@value": "Copenhagen"
"@language": "en",
"@value": "European Environment Agency"
}
],
"http://www.w3.org/ns/locn#thoroughfare": [
"http://xmlns.com/foaf/0.1/phone": [
{
"@value": "Kongens Nytorv 6"
"@id": "tel:+451234567890"
}
]
}
],
"@id": "file:///var/www/html/git/github/semiceu/GeoDCAT-AP.gh-pages/drafts/latest/examples/agent.rdf"
"@id": "file:///var/www/html/git/github/semiceu/GeoDCAT-AP.fix-issue-61/drafts/latest/examples/agent.rdf"
}
]
Loading

0 comments on commit 412517a

Please sign in to comment.