Question: Does the website www.sanmarinosite.com/castelli/sanmarino represent the capital city of San Marino (population 29775) ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "San Marino" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "29775"^^xsd:double . ?e <official_website> ?pv . ?pv <pred:value> "http://www.sanmarinosite.com/castelli/sanmarino/" .  }
Program:
function: Find
inputs: San Marino
function: FilterNum
dependencies: 0
inputs: population
29775
=
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: city
function: QueryAttr
dependencies: 3
inputs: official website
function: VerifyStr
dependencies: 4
inputs: http://www.sanmarinosite.com/castelli/sanmarino/