PREFIX aocat: PREFIX skos: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:was_issued ?created_on . ?s aocat:was_modified ?created_on . } } USING WHERE { ?s rdf:type . ?s aocat:was_created_on ?created_on . }; PREFIX aocat: PREFIX rdf: PREFIX rdfs: INSERT { GRAPH { ?s aocat:has_temporal_coverage . rdf:type . rdfs:label "Not provided" . } } WHERE { GRAPH { ?s rdf:type . MINUS { ?s rdf:type . ?s aocat:has_temporal_coverage ?tc . } } }; PREFIX aocat: PREFIX rdf: PREFIX skos: INSERT { GRAPH { ?s aocat:has_type . rdf:type . skos:prefLabel "collection" } } WHERE { GRAPH { ?s rdf:type . MINUS { ?s rdf:type . ?s aocat:has_type ?t . } } }; PREFIX aocat: INSERT { GRAPH { ?coll ?p ?value } } WHERE { GRAPH { ?coll ?p ?value . ?coll aocat:has_original_id ?id . } FILTER(?id="Zbiva") }; PREFIX aocat: PREFIX skos: INSERT { GRAPH { ?record aocat:has_derived_subject ?aat . } } USING USING WHERE { { ?record aocat:has_native_subject ?native_subject . ?native_subject skos:exactMatch ?aat . } union { ?record aocat:has_native_subject ?native_subject . ?native_subject skos:broadMatch ?aat . } union { ?record aocat:has_native_subject ?native_subject . ?native_subject skos:closeMatch ?aat . } union { ?record aocat:has_native_subject ?native_subject . ?native_subject skos:narrowMatch ?aat . } }; PREFIX dcterms: INSERT { GRAPH { ?periodO ?pred ?o . ?o ?pred2 ?o2 . ?o2 ?pred3 ?o3 . } } WHERE { GRAPH { ?periodO dcterms:spatial . ?periodO ?pred ?o . optional { ?o ?pred2 ?o2 . optional { ?o2 ?pred3 ?o3 . } } } }; PREFIX skos: PREFIX aocat: PREFIX time: PREFIX dcterms: INSERT { GRAPH { ?temporal aocat:has_period ?periodO . ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . } } WHERE { GRAPH { ?temporal aocat:has_native_period ?native_period . ?native_period skos:prefLabel ?native_label . optional { GRAPH { ?periodO skos:altLabel ?native_label . ?periodO time:intervalStartedBy / time:hasDateTimeDescription / time:year ?temporalFrom . ?periodO time:intervalFinishedBy / time:hasDateTimeDescription / time:year ?temporalUntil . } } } };