Translations:Antwerpen/7/de: Difference between revisions

From Resistance in Belgium
No edit summary
No edit summary
Tag: Manual revert
 
(5 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{#sparql:
{{#sparql:
SELECT DISTINCT ?OrtLabel ?Nachname ?Vorname
SELECT DISTINCT ?OrtLabel ?Nachname ?Vorname
(CONCAT("<a href='", STR(?person), "' target='_blank'>", REPLACE(STR(?person), "
(CONCAT("<a href='", STR(?person), "' target='_blank'>", REPLACE(STR(?person), "https://data.arch.be/entity/", ""), "</a>") AS ?PersonID)
https://data.arch.be/entity/"
       (CONCAT(SUBSTR(STR(?Geburtsdatum), 1, 4), "-", SUBSTR(STR(?Geburtsdatum), 6, 2), "-", SUBSTR(STR(?Geburtsdatum), 9, 2)) AS ?GeburtsDatum)
, ""), "</a>") AS ?PersonID)
       (CONCAT(SUBSTR(STR(?Geburtsdatum), 1, 4), "-", SUBSTR(STR(?Geburtsdatum), 6, 2), "-", SUBSTR(STR(?Geburtsdatum), 9, 2)) AS ?Geburtsdatum)
       ?ArchivsammlungLabel ?Inventarnummer
       ?ArchivsammlungLabel ?Inventarnummer
WHERE {
WHERE {
Line 13: Line 11:
   OPTIONAL { ?person wdt:P3 ?Nachname }   
   OPTIONAL { ?person wdt:P3 ?Nachname }   
   OPTIONAL { ?person wdt:P67 ?Geburtsdatum }   
   OPTIONAL { ?person wdt:P67 ?Geburtsdatum }   
   # Link to collections and inventory number
   # Link to collections and inventory number
   ?person p:P34 ?ArchivsammlungDeclaration .  
   ?person p:P34 ?ArchivsammlungDeclaration .  
   ?ArchivsammlungDeclaration ps:P34 ?Archivsammlung .  
   ?ArchivsammlungDeclaration ps:P34 ?Archivsammlung .  
   ?ArchivsammlungDeclaration pq:P35 ?Inventarnummer .
   ?ArchivsammlungDeclaration pq:P35 ?Inventarnummer .

Latest revision as of 10:41, 17 October 2024

Message definition (Antwerpen)
<div class="table-container">
{{#sparql:
SELECT DISTINCT ?ResidenceLabel ?LastName ?FirstName
(CONCAT("<a href='", STR(?person), "' target='_blank'>", REPLACE(STR(?person), "https://data.arch.be/entity/", ""), "</a>") AS ?PersonID)
     (CONCAT(SUBSTR(STR(?birthDate), 1, 4), "-", SUBSTR(STR(?birthDate), 6, 2), "-", SUBSTR(STR(?birthDate), 9, 2)) AS ?BirthDate)
       ?ArchiveCollectionLabel ?InventoryNumber
WHERE {
  ?person wdt:P7 ?Residence . 
  ?Residence wdt:P14* wd:Q49 .  # Province of Antwerp
  
  OPTIONAL { ?person wdt:P2 ?FirstName }  
  OPTIONAL { ?person wdt:P3 ?LastName }  
  OPTIONAL { ?person wdt:P67 ?birthDate }  
 
  # Link to collections and inventory number
  ?person p:P34 ?ArchiveDeclaration . 
  ?ArchiveDeclaration ps:P34 ?ArchiveCollection . 
  ?ArchiveDeclaration pq:P35 ?InventoryNumber .

{{#sparql: SELECT DISTINCT ?OrtLabel ?Nachname ?Vorname (CONCAT("<a href='", STR(?person), "' target='_blank'>", REPLACE(STR(?person), "https://data.arch.be/entity/", ""), "</a>") AS ?PersonID)

     (CONCAT(SUBSTR(STR(?Geburtsdatum), 1, 4), "-", SUBSTR(STR(?Geburtsdatum), 6, 2), "-", SUBSTR(STR(?Geburtsdatum), 9, 2)) AS ?GeburtsDatum)
      ?ArchivsammlungLabel ?Inventarnummer

WHERE {

 ?person wdt:P7 ?Ort . 
 ?Ort wdt:P14* wd:Q49 .  # Province of Antwerp
 OPTIONAL { ?person wdt:P2 ?Vorname }  
 OPTIONAL { ?person wdt:P3 ?Nachname }  
 OPTIONAL { ?person wdt:P67 ?Geburtsdatum }  

 # Link to collections and inventory number
 ?person p:P34 ?ArchivsammlungDeclaration . 
 ?ArchivsammlungDeclaration ps:P34 ?Archivsammlung . 
 ?ArchivsammlungDeclaration pq:P35 ?Inventarnummer .