Prefixes & Properties
Table of contents
General
Compose your query by using below prefixes and properties.
for example - This query selects all titles in the event streams of CoGhent
SELECT ?title
WHERE {
?object <http://www.cidoc-crm.org/cidoc-crm/P102_has_title> ?title.
}
To make the query more readable when querying multiple fields, we split the URL. The portion that always remains the same is the PREFIX, the unique value that follows is the property.
for example - Previous query becomes:
PREFIX cidoc: <http://www.cidoc-crm.org/cidoc-crm/>
SELECT ?title
WHERE {
?object cidoc:P102_has_title ?title.
}
Sometimes, due to a nested hierarchy in the published data, multiple properties, each time going further into the nested structure, need to be used to obtain a certain value. If multiple properties are needed, they are listed in the table below.
for example
PREFIX cidoc: <http://www.cidoc-crm.org/cidoc-crm/>
SELECT ?objectname
WHERE {
?object cidoc:P41i_was_classified_by ?identifier.
?identifier cidoc:P42_assigned ?objectname.
}
To help build your queries, the cogent querybuilder can be used: http://collectievandegentenaar.pythonanywhere.com/querybuilder
Prefixes
PREFIX cidoc: <http://www.cidoc-crm.org/cidoc-crm/
>
PREFIX adms: <http://www.w3.org/ns/adms#
>
PREFIX dataeu: <http://data.europa.eu/m8g/
>
PREFIX la: <https://linked.art/ns/terms/
>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#
>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#
>
PREFIX purl: <http://purl.org/dc/terms/
>
PREFIX owl: <http://www.w3.org/2002/07/owl#
>
PREFIX prov: <http://www.w3.org/ns/prov#
>
Properties
Object
CIDOC | OSLO | CEST | SPARQL PROPERTY |
---|---|---|---|
GENERAL | |||
publishing institution | MaterieelDing.Beheerder | Naam Bewaarinstelling | cidoc:P50_has_current_keeper |
objectnumber | Object.identificator | Waarde Objectnummer | adms:identifier skos:notation |
title | MensgemaaktObject.titel | Titel | cidoc:P102_has_title |
note | Entiteit.beschrijving | Korte Beschrijving | cidoc:P3_has_note |
image | Entiteit.isHetOnderwerpVan | / | cidoc:P129i_is_subject_of |
current location | MensgemaaktObject.locatie | Identificatie huidige standplaats | cidoc:P55_has_current_location skos:note |
IDENTIFICATION | cidoc:P41i_was_classified_by | ||
objectcategory | Entiteit.classificatie | Term Objectcategorie | cidoc:P41i_was_classified_by cidoc:P42_assigned skos:prefLabel |
objectname | Entiteit.classificatie | Term Objectnaam | cidoc:P41i_was_classified_by cidoc:P42_assigned skos:prefLabel |
PRODUCTION | cidoc:P108i_was_produced_by | ||
creator | Activiteit.uitgevoerdDoor | Naam Vervaardiger | cidoc:P108i_was_produced_by cidoc:P14_carried_out_by la:equivalent rdfs:label |
creator activity | Rol.activiteit of Rol.rol | Rol Vervaardiger | under construction |
place of creation | Gebeurtenis.plaats | Naam plaats vervaardiging | cidoc:P108i_was_produced_by cidoc:P7_took_place_at la:equivalent skos:prefLabel |
time of creation | Gebeurtenis.tijd | / | cidoc:P108i_was_produced_by cidoc:P4_has_time-span |
technique | Activiteit.gebruikteTechniek | Techniek | cidoc:P108i_was_produced_by cidoc:P32_used_general_technique cidoc:P2_has_type skos:prefLabel |
ICONOGRAPHY | cidoc:P62_depicts | ||
iconography subject | Entiteit.beeldtUit | Naam afgebeelde gebeurtenis | under construction |
iconography person/institution | Entiteit.beeldtUit | Naam afgebeelde persoon/instelling | under construction |
ASSOCIATIONS | cidoc:P128_carries | ||
associated person/institution | InformatieObject.verwijstNaar | Naam geassocieerde persoon/instelling | cidoc:P128_carries cidoc:P67_refers_to cidoc:P2_has_type rdfs:label |
associated subject | InformatieObject.gaatOver | Naam geassocieerd concept | cidoc:P128_carries cidoc:P129_is_about cidoc:P2_has_type skos:prefLabel |
associated period | InformatieObject.verwijstNaar | Naam geassocieerde periode | cidoc:P128_carries cidoc:P67_refers_to cidoc:P2_has_type skos:prefLabel |
ACQUISITION | MaterieelDing. isOvergedragenBijVerwerving | cidoc:P24i_changed_ownership_through | |
acquisition technique | Activiteit.gebruikteTechniek | Term verwervingsmethode | cidoc:P24i_changed_ownership_through cidoc:P32_used_general_technique cidoc:P2_has_type skos:prefLabel |
acquisition location | Gebeurtenis.plaats | Plaats verwervingsbron | cidoc:P24i_changed_ownership_through cidoc:P7_took_place_at cidoc:P2_has_type skos:prefLabel |
acquisition date | Gebeurtenis.tijd - Periode begin | Waarde verwervingsdatum | cidoc:P24i_changed_ownership_through cidoc:P4_has_time-span dataeu:startTime |
acquisition date | Gebeurtenis.tijd - Periode eind | Waarde verwervingsdatum | cidoc:P24i_changed_ownership_through cidoc:P4_has_time-span dataeu:endTime |
MATERIAL | MaterieelDing.bestaatUit | cidoc:P45_consists_of | |
material | MensgemaaktObject.materiaal | Term materiaal | cidoc:P45_consists_of cidoc:P2_has_type skos:prefLabel |
Thesaurus
TERM | OSLO | SPARQL PROPERTY |
---|---|---|
term | skos:prefLabel | skos:prefLabel |
priref | Object.identificator | adms:identifier skos:notation |
source | owl:sameAs | owl:sameAs |
publishing date | prov:generetedAtTime | prov:generatedAtTime |