Translations:Antwerpen/7/nl: Difference between revisions

From Resistance in Belgium
(Created page with "<div class="table-container"> {{#sparql: SELECT DISTINCT ?WoonplaatsLabel ?Achternaam ?Voornaam (CONCAT("<a href='", STR(?person), "' target='_blank'>", REPLACE(STR(?person), "https://data.arch.be/entity/", ""), "</a>") AS ?PersoonID) (CONCAT(SUBSTR(STR(?birthDate), 1, 4), "-", SUBSTR(STR(?birthDate), 6, 2), "-", SUBSTR(STR(?birthDate), 9, 2)) AS ?Geboortedatum) ?ArchiefLabel ?Inventarisnummer WHERE { ?person wdt:P7 ?Woonplaats . ?Woonplaats wdt:P14* w...")
 
(No difference)

Latest revision as of 21:10, 14 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 ?WoonplaatsLabel ?Achternaam ?Voornaam (CONCAT("<a href='", STR(?person), "' target='_blank'>", REPLACE(STR(?person), "https://data.arch.be/entity/", ""), "</a>") AS ?PersoonID)

     (CONCAT(SUBSTR(STR(?birthDate), 1, 4), "-", SUBSTR(STR(?birthDate), 6, 2), "-", SUBSTR(STR(?birthDate), 9, 2)) AS ?Geboortedatum)
      ?ArchiefLabel ?Inventarisnummer

WHERE {

 ?person wdt:P7 ?Woonplaats . 
 ?Woonplaats wdt:P14* wd:Q49 .  # Antwerpen
 
 OPTIONAL { ?person wdt:P2 ?Voornaam }  
 OPTIONAL { ?person wdt:P3 ?Achternaam }  
 OPTIONAL { ?person wdt:P67 ?birthDate }  
 
 # Link to collections and inventory number
 ?person p:P34 ?ArchiveDeclaration . 
 ?ArchiveDeclaration ps:P34 ?Archief . 
 ?ArchiveDeclaration pq:P35 ?Inventarisnummer .