Translations:Project:SPARQL/examples/65/en

From Resistance in Belgium

{ ?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)}