Question: Who's the actor who has at least one child and an authorized website at http://www.jamesmcavoy.com/?
Choices:
Richard Gere
James McAvoy
William Henry Harrison
Britney Spears
R. Lee Ermey
Gerald Ford
Mandy Patinkin
Sylvester Stallone
Max Fleischer
Lucy Lawless
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.jamesmcavoy.com/
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of children
0
>
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <official_website> ?pv . ?pv <pred:value> "http://www.jamesmcavoy.com/" . ?e <number_of_children> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) .  }
Answer: James McAvoy