Question: What is the subject of a statement 'John Lennon is a student of Donovan'?
Choices:
The Beatles in India
Denmark–Pakistan relations
China–Holy See relations
Czech Republic–Israel relations
Brazil–India relations
South Korea–European Union relations
Ethiopia–Sweden relations
China–South Sudan relations
Germany–Kosovo relations
India–Japan relations
Program:
function: Find
inputs: John Lennon
function: Find
inputs: Donovan
function: QueryRelationQualifier
dependencies: 0
1
inputs: student of
statement is subject of
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "John Lennon" . ?e_2 <pred:name> "Donovan" . ?e_1 <student_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <student_of> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Answer: The Beatles in India