Question: Which calendar month is named after Mars (the one that is a common property of restaurant) ?
Choices:
October
April
January
March
February
November
September
Mars
August
December
Program:
function: Find
inputs: restaurant
function: Relate
dependencies: 0
inputs: properties for this type
forward
function: Find
inputs: Mars
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: calendar month
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "calendar month" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "Mars" . ?e_2 <properties_for_this_type> ?e_1 . ?e_2 <pred:name> "restaurant" .   }
Answer: March