Translations:Project:SPARQL/examples/65/en: Difference between revisions

From Resistance in Belgium
(Importing a new version from external source)
 
(No difference)

Latest revision as of 18:26, 15 October 2024

Message definition (Project:SPARQL/examples)
{ ?person wdt:P55 ?recognisedStatus. 
   FILTER(?recognisedStatus IN (wd:Q17, wd:Q4487)) }  # Filters for recognised ARA statuses (Q17) or FFC (Q4487)
  UNION                                            # OR
  { ?person p:P54 ?statement.
   ?statement ps:P54 wd:Q17; pq:P56 wd:Q6665.    # Persons who received a letter of thanks (Q6665)
   BIND("letter of thanks ARA" AS ?LR)}

{ ?person wdt:P55 ?recognisedStatus.

   FILTER(?recognisedStatus IN (wd:Q17, wd:Q4487)) }  # Filters for recognised ARA statuses (Q17) or FFC (Q4487)
 UNION                                            # OR
 { ?person p:P54 ?statement.
   ?statement ps:P54 wd:Q17; pq:P56 wd:Q6665.     # Persons who received a letter of thanks (Q6665)
   BIND("letter of thanks ARA" AS ?LR)}