From 705f4e186595a4b7fa184f75f801789f7eff3255 Mon Sep 17 00:00:00 2001 From: csae8092 Date: Thu, 16 Jan 2025 14:46:26 +0100 Subject: [PATCH] feat: adds a md-file with suggestions, guestions concering patterns; naming schemes for `rdfs:label` --- quarry/label_patterns.md | 107 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 quarry/label_patterns.md diff --git a/quarry/label_patterns.md b/quarry/label_patterns.md new file mode 100644 index 0000000..816c9f7 --- /dev/null +++ b/quarry/label_patterns.md @@ -0,0 +1,107 @@ +# Patterns for rdfs:label + +## Lang-tags; to decide +* no lang tags +* always one lang (de or en) +* always two lang +* what to do with unknown + +## compute (some) labels +Some labels might be generated via SPARQL? + +## [crm:E21_Person](https://ontome.net/class/21/namespace/1) +### example +```ttl +@prefix rdfs: . +@prefix crm: . + + a crm:E21_Person ; + rdfs:label "Tintner, Hans"@de . +``` +## pattern +> `"last name, first name"` +> `"name"` + +## [crm:E53_Place](https://ontome.net/class/51/namespace/1) +### example +```ttl +@prefix rdfs: . +@prefix crm: . + + a crm:E53_Place ; + rdfs:label "Linz"@de . +``` +### pattern +> `"{the name of the place}"` + +## [crm:E74_Group](https://ontome.net/class/68/namespace/1) +### example +```ttl +@prefix rdfs: . +@prefix crm: . + + a ns1:E74_Group ; + rdfs:label "Le Chat Noir"@de . +``` +### pattern +> `"{the name of the group}"` + +## [crm:E67_Birth](https://ontome.net/class/61/namespace/1) (via SPARQL?) +### example +```ttl +@prefix rdfs: . +@prefix crm: . + + a crm:E67_Birth ; + rdfs:label "Geburt von Stranik, Erwin"@de ; + crm:P4_has_time-span ; + crm:P7_took_place_at ; + crm:P98_brought_into_life . +``` +### pattern +> `"Geburt von {rfds:label P98_brought_into_life}"` + +## [crm:E69_Death](https://ontome.net/class/63/namespace/1) (via SPARQL?) +```ttl +@prefix rdfs: . +@prefix crm: . + + a crm:E69_Death ; + rdfs:label "Tod von Novotny, Johann"@de ; + crm:P100_was_death_of ; + crm:P4_has_time-span . +``` +### pattern +> `"Tod von {rdf:rfds:label crm:P100_was_death_of}"` + +## [crm:E85_Joining](https://ontome.net/class/78/namespace/188) (via SPARQL?) +### example +```ttl +@prefix rdfs: . +@prefix crm: . + + a crm:E85_Joining ; + rdfs:label "Stranik, Erwin joins Neues Wiener Journal"@en ; + crm:P143_joined ; + crm:P144_joined_with ; + crm:P4_has_time-span . +``` +### pattern +> `"{rdfs:label crm:P143_joined } tritt bei { rdfs:label crm:P143_joined }"` + +## [sari:SRPC3_in_social_relation](https://docs.swissartresearch.net/schema/#SRPC3_in_social_relation) (via SPARQL?) +### example +```ttl +@prefix rdfs: . +@prefix crm: . +@prefix sari: . + + a sari:SRPC3_in_social_relation ; + rdfs:label "Kris, Adolf — ist verlobt mit — Bally, Jenny"@de ; + sari:SRP3_relation_type pfpt:Is-engaged-to ; + crm:P01_has_domain ; + crm:P02_has_range . +``` +### pattern +> `"{rdfs:label crm:P01_has_domain } — {rdfs:label SRP3_relation_type} — {crm:P02_has_range}"` +