Simple Question (Direct)
Simple Question
Q18014516
P21
Q290
USER
What is the sex of Shūji Fujisawa ?
(Q18014516,P21,c(Q290))
action filter_type
action find
entity Q18014516
relation P21
type Q290
['Q18014516', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q18014516 property:P21 ?l . ?l rdf:type ontology:Q290 }
Shūji Fujisawa
action filter_type
action find
entity Shūji Fujisawa
relation gender
type sex
['Shūji Fujisawa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Shūji_Fujisawa property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q18014516,P21,c(Q290))
action filter_type
action find
entity Q18014516
relation P21
type Q290
The sex of Shūji Fujisawa is a [ANSWER]
['Q18014516', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q18014516 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
The sex of Shūji Fujisawa is a male
male
action filter_type
action find
entity Shūji Fujisawa
relation gender
type sex
['Shūji Fujisawa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Shūji_Fujisawa property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18014516
P69
Q3918
USER
Which university is the alma mater of that person ?
(Q6581097,P69,c(Q3918))
action filter_type
action find
entity Q18014516
relation P69
type Q3918
['Q6581097', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q3918 . resource:Q18014516 property:P69 ?u }
Shūji Fujisawa
action filter_type
action find
entity Shūji Fujisawa
relation educated at
type university
['male', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:university . resource:Shūji_Fujisawa property:educated_at ?u }
[]
university
Q7842
SYSTEM
University of Tokyo
Q7842
(Q6581097,P69,c(Q3918))
action filter_type
action find
entity Q18014516
relation P69
type Q3918
[ANSWER] is the alma mater of that person
['Q6581097', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q3918 . resource:Q18014516 property:P69 ?u }
University of Tokyo
University of Tokyo is the alma mater of that person
University of Tokyo
action filter_type
action find
entity Shūji Fujisawa
relation educated at
type university
['male', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:university . resource:Shūji_Fujisawa property:educated_at ?u }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7842 Q101780 Q17
P17
Q15617994
USER
Is University of Tokyo located in Vilminore di Scalve and Japan ?
(Q7842,P17,Q101780) (Q7842,P17,Q17)
action is_in
entity Q7842
action intersection
action find_reverse
entity Q101780
relation P17
action find_reverse
entity Q17
relation P17
['Q7842', 'P17', 'Q101780'] ['Q7842', 'P17', 'Q17']
ASK WHERE { resource:Q7842 property:P17 resource:Q101780 . resource:Q7842 property:P17 resource:Q17 }
University of Tokyo Vilminore di Scalve Japan
action is_in
entity University of Tokyo
action intersection
action find_reverse
entity Vilminore di Scalve
relation country
action find_reverse
entity Japan
relation country
['University of Tokyo', 'country', 'Vilminore di Scalve'] ['University of Tokyo', 'country', 'Japan']
ASK WHERE { resource:University_of_Tokyo property:country resource:Vilminore_di_Scalve . resource:University_of_Tokyo property:country resource:Japan }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q7842,P17,Q101780) (Q7842,P17,Q17)
action is_in
entity Q7842
action intersection
action find_reverse
entity Q101780
relation P17
action find_reverse
entity Q17
relation P17
[ANSWER]
['Q7842', 'P17', 'Q101780'] ['Q7842', 'P17', 'Q17']
ASK WHERE { resource:Q7842 property:P17 resource:Q101780 . resource:Q7842 property:P17 resource:Q17 }
NO and YES respectively
action is_in
entity University of Tokyo
action intersection
action find_reverse
entity Vilminore di Scalve
relation country
action find_reverse
entity Japan
relation country
['University of Tokyo', 'country', 'Vilminore di Scalve'] ['University of Tokyo', 'country', 'Japan']
ASK WHERE { resource:University_of_Tokyo property:country resource:Vilminore_di_Scalve . resource:University_of_Tokyo property:country resource:Japan }
[]