Simple Question (Direct)
Simple Question
Q2016830
P86
Q502895
USER
Who did the compostion for The Sunset Limited ?
(Q2016830,P86,c(Q502895))
action filter_type
action find
entity Q2016830
relation P86
type Q502895
['Q2016830', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2016830 property:P86 ?y . ?y rdf:type ontology:Q502895 }
The Sunset Limited
action filter_type
action find
entity The Sunset Limited
relation composer
type common name
['The Sunset Limited', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:The_Sunset_Limited property:composer ?y . ?y rdf:type ontology:common_name }
[]
common name
Q465754
SYSTEM
Marco Beltrami
Q465754
(Q2016830,P86,c(Q502895))
action filter_type
action find
entity Q2016830
relation P86
type Q502895
[ANSWER] did the compostion for The Sunset Limited
['Q2016830', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2016830 property:P86 ?y . ?y rdf:type ontology:Q502895 }
Marco Beltrami
Marco Beltrami did the compostion for The Sunset Limited
Marco Beltrami
action filter_type
action find
entity The Sunset Limited
relation composer
type common name
['The Sunset Limited', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:The_Sunset_Limited property:composer ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2016830
P161
Q502895
USER
Which person starred in that television program ?
(Q465754,P161,c(Q502895))
action filter_type
action find
entity Q2016830
relation P161
type Q502895
['Q465754', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2016830 property:P161 ?y . ?y rdf:type ontology:Q502895 }
The Sunset Limited
action filter_type
action find
entity The Sunset Limited
relation cast member
type common name
['Marco Beltrami', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:The_Sunset_Limited property:cast_member ?y . ?y rdf:type ontology:common_name }
[]
common name
Q170587
SYSTEM
Tommy Lee Jones
Q170587
(Q465754,P161,c(Q502895))
action filter_type
action find
entity Q2016830
relation P161
type Q502895
The [ANSWER] starred in that television program
['Q465754', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q2016830 property:P161 ?y . ?y rdf:type ontology:Q502895 }
Tommy Lee Jones
The Tommy Lee Jones starred in that television program
Tommy Lee Jones
action filter_type
action find
entity The Sunset Limited
relation cast member
type common name
['Marco Beltrami', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:The_Sunset_Limited property:cast_member ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2016830
P1431
Q502895
USER
Whose production is The Sunset Limited of ?
(Q2016830,P1431,c(Q502895))
action filter_type
action find
entity Q2016830
relation P1431
type Q502895
['Q2016830', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q2016830 property:P1431 ?s }
The Sunset Limited
action filter_type
action find
entity The Sunset Limited
relation executive producer
type common name
['The Sunset Limited', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:The_Sunset_Limited property:executive_producer ?s }
[]
common name
Q170587
SYSTEM
Tommy Lee Jones
Q170587
(Q2016830,P1431,c(Q502895))
action filter_type
action find
entity Q2016830
relation P1431
type Q502895
[ANSWER] is The Sunset Limited of
['Q2016830', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q2016830 property:P1431 ?s }
Tommy Lee Jones
Tommy Lee Jones is The Sunset Limited of
Tommy Lee Jones
action filter_type
action find
entity The Sunset Limited
relation executive producer
type common name
['The Sunset Limited', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:The_Sunset_Limited property:executive_producer ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2016830
P57
Q502895
USER
Which person served as the directed of The Sunset Limited ?
(Q2016830,P57,c(Q502895))
action filter_type
action find
entity Q2016830
relation P57
type Q502895
['Q2016830', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q2016830 property:P57 ?x . ?x rdf:type ontology:Q502895 }
The Sunset Limited
action filter_type
action find
entity The Sunset Limited
relation director
type common name
['The Sunset Limited', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:The_Sunset_Limited property:director ?x . ?x rdf:type ontology:common_name }
[]
common name
Q170587
SYSTEM
Tommy Lee Jones
Q170587
(Q2016830,P57,c(Q502895))
action filter_type
action find
entity Q2016830
relation P57
type Q502895
The [ANSWER] served as the directed of The Sunset Limited
['Q2016830', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q2016830 property:P57 ?x . ?x rdf:type ontology:Q502895 }
Tommy Lee Jones
The Tommy Lee Jones served as the directed of The Sunset Limited
Tommy Lee Jones
action filter_type
action find
entity The Sunset Limited
relation director
type common name
['The Sunset Limited', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:The_Sunset_Limited property:director ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q170587
P21
Q290
USER
Which sex does that person have ?
(Q170587,P21,c(Q290))
action filter_type
action find
entity Q170587
relation P21
type Q290
['Q170587', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q170587 property:P21 ?w . ?w rdf:type ontology:Q290 }
Tommy Lee Jones
action filter_type
action find
entity Tommy Lee Jones
relation gender
type sex
['Tommy Lee Jones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Tommy_Lee_Jones property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q170587,P21,c(Q290))
action filter_type
action find
entity Q170587
relation P21
type Q290
That person has a [ANSWER]
['Q170587', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q170587 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Tommy Lee Jones
relation gender
type sex
['Tommy Lee Jones', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Tommy_Lee_Jones property:gender ?w . ?w rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q2127922
P21
Q502895
USER
Is Maria Barnas a that sex ?
(Q2127922,P21,Q6581097)
action is_in
entity Q2127922
action find
entity Q6581097
relation P21
['Q2127922', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q2127922 }
male Maria Barnas
action is_in
entity Maria Barnas
action find
entity male
relation gender
['Maria Barnas', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Maria_Barnas }
[]
common name
SYSTEM
NO
(Q2127922,P21,Q6581097)
action is_in
entity Q2127922
action find
entity Q6581097
relation P21
[ANSWER]
['Q2127922', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q2127922 }
No
action is_in
entity Maria Barnas
action find
entity male
relation gender
['Maria Barnas', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Maria_Barnas }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q465754 Q15805440 Q49114
P69
Q163740
USER
Was Marco Beltrami educated at German Society for the History of Medicine, Natural Science, and Technics and Brown University ?
(Q465754,P69,Q15805440) (Q465754,P69,Q49114)
action is_in
entity Q465754
action intersection
action find_reverse
entity Q15805440
relation P69
action find_reverse
entity Q49114
relation P69
['Q465754', 'P69', 'Q15805440'] ['Q465754', 'P69', 'Q49114']
ASK WHERE { resource:Q465754 property:P69 resource:Q49114 . resource:Q465754 property:P69 resource:Q15805440 }
Marco Beltrami German Society for the History of Medicine, Natural Science, and Technics Brown University
action is_in
entity Marco Beltrami
action intersection
action find_reverse
entity German Society for the History of Medicine, Natural Science, and Technics
relation educated at
action find_reverse
entity Brown University
relation educated at
['Marco Beltrami', 'educated at', 'German Society for the History of Medicine, Natural Science, and Technics'] ['Marco Beltrami', 'educated at', 'Brown University']
ASK WHERE { resource:Marco_Beltrami property:educated_at resource:Brown_University . resource:Marco_Beltrami property:educated_at resource:German_Society_for_the_History_of_Medicine,_Natural_Science,_and_Technics }
[]
nonprofit organization
SYSTEM
NO and YES respectively
(Q465754,P69,Q15805440) (Q465754,P69,Q49114)
action is_in
entity Q465754
action intersection
action find_reverse
entity Q15805440
relation P69
action find_reverse
entity Q49114
relation P69
[ANSWER]
['Q465754', 'P69', 'Q15805440'] ['Q465754', 'P69', 'Q49114']
ASK WHERE { resource:Q465754 property:P69 resource:Q49114 . resource:Q465754 property:P69 resource:Q15805440 }
NO and YES respectively
action is_in
entity Marco Beltrami
action intersection
action find_reverse
entity German Society for the History of Medicine, Natural Science, and Technics
relation educated at
action find_reverse
entity Brown University
relation educated at
['Marco Beltrami', 'educated at', 'German Society for the History of Medicine, Natural Science, and Technics'] ['Marco Beltrami', 'educated at', 'Brown University']
ASK WHERE { resource:Marco_Beltrami property:educated_at resource:Brown_University . resource:Marco_Beltrami property:educated_at resource:German_Society_for_the_History_of_Medicine,_Natural_Science,_and_Technics }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q290951
P1303
Q34379 Q502895
USER
How many musical instruments are played by less number of people than Kamancheh ?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q290951
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P1303 ?a . ?l rdf:type ontology:Q502895 . ?a rdf:type ontology:Q34379 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P1303 resource:Q290951 . ?z rdf:type ontology:Q502895 } } . FILTER ( ?u < ?p ) }
Kamancheh
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Kamancheh
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:instrument ?a . ?l rdf:type ontology:common_name . ?a rdf:type ontology:musical_instrument } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:instrument resource:Kamancheh . ?z rdf:type ontology:common_name } } . FILTER ( ?u < ?p ) }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q290951
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:P1303 ?a . ?l rdf:type ontology:Q502895 . ?a rdf:type ontology:Q34379 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:P1303 resource:Q290951 . ?z rdf:type ontology:Q502895 } } . FILTER ( ?u < ?p ) }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Kamancheh
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?u ) WHERE { ?l property:instrument ?a . ?l rdf:type ontology:common_name . ?a rdf:type ontology:musical_instrument } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { ?z property:instrument resource:Kamancheh . ?z rdf:type ontology:common_name } } . FILTER ( ?u < ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2660670
P1303
Q34379 Q502895
USER
And how about Irish bouzouki?
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2660670
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:P1303 resource:Q2660670 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?c < ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?i } }
Irish bouzouki
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Irish bouzouki
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:instrument resource:Irish_bouzouki . ?l rdf:type ontology:common_name } } . FILTER ( ?c < ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?i } }
[]
musical instrument common name
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action count
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q2660670
relation P1303
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:P1303 resource:Q2660670 . ?l rdf:type ontology:Q502895 } } . FILTER ( ?c < ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?i } }
spoon cajón wind instrument
3
action count
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Irish bouzouki
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?q ) WHERE { ?l property:instrument resource:Irish_bouzouki . ?l rdf:type ontology:common_name } } . FILTER ( ?c < ?q ) . { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?i } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q170587
P641
Q349
USER
What did Tommy Lee Jones participate in ?
(Q170587,P641,c(Q349))
action filter_type
action find
entity Q170587
relation P641
type Q349
['Q170587', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q170587 property:P641 ?w . ?w rdf:type ontology:Q349 }
Tommy Lee Jones
action filter_type
action find
entity Tommy Lee Jones
relation sport
type sport
['Tommy Lee Jones', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Tommy_Lee_Jones property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q134211
SYSTEM
polo
Q134211
(Q170587,P641,c(Q349))
action filter_type
action find
entity Q170587
relation P641
type Q349
Tommy Lee Jones participated in [ANSWER]
['Q170587', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q170587 property:P641 ?w . ?w rdf:type ontology:Q349 }
polo
Tommy Lee Jones participated in polo
polo
action filter_type
action find
entity Tommy Lee Jones
relation sport
type sport
['Tommy Lee Jones', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Tommy_Lee_Jones property:sport ?w . ?w rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q170587
P734
Q82799
USER
Who is associated with that person ?
(Q134211,P734,c(Q82799))
action filter_type
action find
entity Q170587
relation P734
type Q82799
['Q134211', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q170587 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Tommy Lee Jones
action filter_type
action find
entity Tommy Lee Jones
relation family name
type name
['polo', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Tommy_Lee_Jones property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q59853
SYSTEM
Jones
Q59853
(Q134211,P734,c(Q82799))
action filter_type
action find
entity Q170587
relation P734
type Q82799
[ANSWER] is associated with that person
['Q134211', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q170587 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Jones
Jones is associated with that person
Jones
action filter_type
action find
entity Tommy Lee Jones
relation family name
type name
['polo', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Tommy_Lee_Jones property:family_name ?f . ?f rdf:type ontology:name }
[]