Question: How is St. Joseph whose subreddit is stjoemo related to the United States of America?
Choices:
cites
works in collection
highest judicial authority
production designer
participant
country
head of government
material used
Wikidata property
connects with
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "St. Joseph" . ?e_1 <subreddit> ?pv . ?pv <pred:value> "stjoemo" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: St. Joseph
function: FilterStr
dependencies: 0
inputs: subreddit
stjoemo
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 1
2