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 { ?temporal aocat:has_period ?nativePeriod . ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . } } WHERE { GRAPH { ?temporal aocat:has_native_period ?nativePeriod . ?temporal aocat:from ?temporalFrom . ?temporal aocat:until ?temporalUntil . } }; PREFIX aocat: PREFIX rdfs: PREFIX skos: INSERT { GRAPH { ?nativePeriod skos:prefLabel ?periodLabel . } } WHERE { GRAPH { ?temporal aocat:has_native_period ?nativePeriod . ?nativePeriod rdfs:label ?periodLabel . } };