Simple Question (Direct)
Simple Question
Q3337574
P21
Q290
USER
Which sex does Neal Israel possess ?
(Q3337574,P21,c(Q290))
action filter_type
action find
entity Q3337574
relation P21
type Q290
['Q3337574', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q3337574 property:P21 ?b . ?b rdf:type ontology:Q290 }
Neal Israel
action filter_type
action find
entity Neal Israel
relation gender
type sex
['Neal Israel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Neal_Israel property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3337574,P21,c(Q290))
action filter_type
action find
entity Q3337574
relation P21
type Q290
Neal Israel possesses a [ANSWER]
['Q3337574', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q3337574 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
Neal Israel possesses a male
male
action filter_type
action find
entity Neal Israel
relation gender
type sex
['Neal Israel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Neal_Israel property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3337574
P58
Q838948
USER
Which works of art are Neal Israel a screwriter of ?
(c(Q838948),P58,Q3337574)
action filter_type
action find_reverse
entity Q3337574
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q3337574']
SELECT DISTINCT ?p WHERE { ?p property:P58 resource:Q3337574 . ?p rdf:type ontology:Q838948 }
Neal Israel
action filter_type
action find_reverse
entity Neal Israel
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Neal Israel']
SELECT DISTINCT ?p WHERE { ?p property:screenwriter resource:Neal_Israel . ?p rdf:type ontology:work_of_art }
[]
work of art
Q1730419 Q1475462 Q1475469
SYSTEM
Real Genius, Police Academy 5: Assignment Miami Beach, Police Academy 6: City Under Siege
Q1475462 Q1730419 Q798133 Q7853301 Q3500469 Q1475469 Q2447912 Q924756 Q1248429 Q6405140
(c(Q838948),P58,Q3337574)
action filter_type
action find_reverse
entity Q3337574
relation P58
type Q838948
[ANSWERS] are Neal Israel a screwriter of
[{'concept': 'Q838948'}, 'P58', 'Q3337574']
SELECT DISTINCT ?p WHERE { ?p property:P58 resource:Q3337574 . ?p rdf:type ontology:Q838948 }
Police Academy 5: Assignment Miami Beach Real Genius Bachelor Party Tunnel Vision Bachelor Party 2: The Last Temptation Police Academy 6: City Under Siege Moving Violations Police Academy: Mission to Moscow Police Academy Kidz in the Wood
Real Genius, Police Academy 5: Assignment Miami Beach and Police Academy 6: City Under Siege are Neal Israel a screwriter of
Real Genius Police Academy 5: Assignment Miami Beach Police Academy 6: City Under Siege
action filter_type
action find_reverse
entity Neal Israel
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Neal Israel']
SELECT DISTINCT ?p WHERE { ?p property:screenwriter resource:Neal_Israel . ?p rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1730419 Q1475462 Q1475469
P86
Q502895
USER
Who composed Real Genius, Police Academy 5: Assignment Miami Beach and Police Academy 6: City Under Siege ?
(Q1730419,P86,c(Q502895)) (Q1475462,P86,c(Q502895)) (Q1475469,P86,c(Q502895))
action union
action filter_type
action find
entity Q1730419
relation P86
type Q502895
action filter_type
action find
entity Q1475462
relation P86
type Q502895
action filter_type
action find
entity Q1475469
relation P86
type Q502895
['Q1730419', 'P86', {'concept': 'Q502895'}] ['Q1475462', 'P86', {'concept': 'Q502895'}] ['Q1475469', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?h ) { ( resource:Q1730419 ) ( resource:Q1475462 ) } . ?h property:P86 ?x }
Real Genius Police Academy 5: Assignment Miami Beach Police Academy 6: City Under Siege
action union
action filter_type
action find
entity Real Genius
relation composer
type common name
action filter_type
action find
entity Police Academy 5: Assignment Miami Beach
relation composer
type common name
action filter_type
action find
entity Police Academy 6: City Under Siege
relation composer
type common name
['Real Genius', 'composer', {'concept': 'common name'}] ['Police Academy 5: Assignment Miami Beach', 'composer', {'concept': 'common name'}] ['Police Academy 6: City Under Siege', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?h ) { ( resource:Real_Genius ) ( resource:Police_Academy_5:_Assignment_Miami_Beach ) } . ?h property:composer ?x }
[]
common name
Q319996 Q717663 Q717663
SYSTEM
Robert Folk for 2nd, 3rd, Thomas Newman for 1st
Q319996 Q717663 Q717663
(Q1730419,P86,c(Q502895)) (Q1475462,P86,c(Q502895)) (Q1475469,P86,c(Q502895))
action union
action filter_type
action find
entity Q1730419
relation P86
type Q502895
action filter_type
action find
entity Q1475462
relation P86
type Q502895
action filter_type
action find
entity Q1475469
relation P86
type Q502895
[ANSWERS]
['Q1730419', 'P86', {'concept': 'Q502895'}] ['Q1475462', 'P86', {'concept': 'Q502895'}] ['Q1475469', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?h ) { ( resource:Q1730419 ) ( resource:Q1475462 ) } . ?h property:P86 ?x }
Thomas Newman Robert Folk Robert Folk
Thomas Newman, Robert Folk and Robert Folk composed Real Genius, Police Academy 5: Assignment Miami Beach and Police Academy 6: City Under Siege
Thomas Newman Robert Folk Robert Folk
action union
action filter_type
action find
entity Real Genius
relation composer
type common name
action filter_type
action find
entity Police Academy 5: Assignment Miami Beach
relation composer
type common name
action filter_type
action find
entity Police Academy 6: City Under Siege
relation composer
type common name
['Real Genius', 'composer', {'concept': 'common name'}] ['Police Academy 5: Assignment Miami Beach', 'composer', {'concept': 'common name'}] ['Police Academy 6: City Under Siege', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { VALUES ( ?h ) { ( resource:Real_Genius ) ( resource:Police_Academy_5:_Assignment_Miami_Beach ) } . ?h property:composer ?x }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1475462
P161
Q502895
USER
Which people are in Police Academy 5: Assignment Miami Beach ?
(Q1475462,P161,c(Q502895))
action filter_type
action find
entity Q1475462
relation P161
type Q502895
['Q1475462', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q1475462 property:P161 ?y . ?y rdf:type ontology:Q502895 }
Police Academy 5: Assignment Miami Beach
action filter_type
action find
entity Police Academy 5: Assignment Miami Beach
relation cast member
type common name
['Police Academy 5: Assignment Miami Beach', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Police_Academy_5:_Assignment_Miami_Beach property:cast_member ?y . ?y rdf:type ontology:common_name }
[]
common name
Q348445 Q318938 Q445253
SYSTEM
René Auberjonois, Bubba Smith, David Graf
Q444284 Q348445 Q265333 Q971344 Q3132470 Q318938 Q768677 Q549507 Q522533 Q445253 Q279225 Q381046
(Q1475462,P161,c(Q502895))
action filter_type
action find
entity Q1475462
relation P161
type Q502895
[ANSWERS] are in Police Academy 5: Assignment Miami Beach
['Q1475462', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q1475462 property:P161 ?y . ?y rdf:type ontology:Q502895 }
Marion Ramsey René Auberjonois Leslie Easterbrook Tab Thacker Janet Jones Bubba Smith Lance Kinsey Matt McCoy Michael Winslow David Graf George Gaynes G. W. Bailey
René Auberjonois, Bubba Smith and David Graf are in Police Academy 5: Assignment Miami Beach
René Auberjonois Bubba Smith David Graf
action filter_type
action find
entity Police Academy 5: Assignment Miami Beach
relation cast member
type common name
['Police Academy 5: Assignment Miami Beach', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Police_Academy_5:_Assignment_Miami_Beach property:cast_member ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1475462
P57
Q502895
USER
Who was the director of Police Academy 5: Assignment Miami Beach ?
(Q1475462,P57,c(Q502895))
action filter_type
action find
entity Q1475462
relation P57
type Q502895
['Q1475462', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1475462 property:P57 ?l . ?l rdf:type ontology:Q502895 }
Police Academy 5: Assignment Miami Beach
action filter_type
action find
entity Police Academy 5: Assignment Miami Beach
relation director
type common name
['Police Academy 5: Assignment Miami Beach', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Police_Academy_5:_Assignment_Miami_Beach property:director ?l . ?l rdf:type ontology:common_name }
[]
common name
Q2830562
SYSTEM
Alan Myerson
Q2830562
(Q1475462,P57,c(Q502895))
action filter_type
action find
entity Q1475462
relation P57
type Q502895
The director of Police Academy 5 : Assignment Miami Beach was named [ANSWER]
['Q1475462', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1475462 property:P57 ?l . ?l rdf:type ontology:Q502895 }
Alan Myerson
The director of Police Academy 5 : Assignment Miami Beach was named Alan Myerson
Alan Myerson
action filter_type
action find
entity Police Academy 5: Assignment Miami Beach
relation director
type common name
['Police Academy 5: Assignment Miami Beach', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Police_Academy_5:_Assignment_Miami_Beach property:director ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3507234
Q502895
USER
And what about Dreaming the Rose?
(Q3507234,P57,c(Q502895))
action filter_type
action find
entity Q3507234
relation P57
type Q502895
['Q3507234', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3507234 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Dreaming the Rose
action filter_type
action find
entity Dreaming the Rose
relation director
type common name
['Dreaming the Rose', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Dreaming_the_Rose property:director ?r . ?r rdf:type ontology:common_name }
[]
common name
Q1566179
SYSTEM
Zoran Tadić
Q1566179
(Q3507234,P57,c(Q502895))
action filter_type
action find
entity Q3507234
relation P57
type Q502895
[ANSWER]
['Q3507234', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q3507234 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Zoran Tadić
Zoran Tadić
action filter_type
action find
entity Dreaming the Rose
relation director
type common name
['Dreaming the Rose', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Dreaming_the_Rose property:director ?r . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1566179 Q4771198 Q2235155
P27
Q15617994
USER
Is Zoran Tadić a citizen of Antelope Valley Community College District and Huguang Province ?
(Q1566179,P27,Q4771198) (Q1566179,P27,Q2235155)
action is_in
entity Q1566179
action intersection
action find_reverse
entity Q4771198
relation P27
action find_reverse
entity Q2235155
relation P27
['Q1566179', 'P27', 'Q4771198'] ['Q1566179', 'P27', 'Q2235155']
ASK WHERE { resource:Q1566179 property:P27 resource:Q4771198 . resource:Q1566179 property:P27 resource:Q2235155 }
Zoran Tadić Antelope Valley Community College District Huguang Province
action is_in
entity Zoran Tadić
action intersection
action find_reverse
entity Antelope Valley Community College District
relation country of citizenship
action find_reverse
entity Huguang Province
relation country of citizenship
['Zoran Tadić', 'country of citizenship', 'Antelope Valley Community College District'] ['Zoran Tadić', 'country of citizenship', 'Huguang Province']
ASK WHERE { resource:Zoran_Tadić property:country_of_citizenship resource:Antelope_Valley_Community_College_District . resource:Zoran_Tadić property:country_of_citizenship resource:Huguang_Province }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1566179,P27,Q4771198) (Q1566179,P27,Q2235155)
action is_in
entity Q1566179
action intersection
action find_reverse
entity Q4771198
relation P27
action find_reverse
entity Q2235155
relation P27
[ANSWER]
['Q1566179', 'P27', 'Q4771198'] ['Q1566179', 'P27', 'Q2235155']
ASK WHERE { resource:Q1566179 property:P27 resource:Q4771198 . resource:Q1566179 property:P27 resource:Q2235155 }
No
action is_in
entity Zoran Tadić
action intersection
action find_reverse
entity Antelope Valley Community College District
relation country of citizenship
action find_reverse
entity Huguang Province
relation country of citizenship
['Zoran Tadić', 'country of citizenship', 'Antelope Valley Community College District'] ['Zoran Tadić', 'country of citizenship', 'Huguang Province']
ASK WHERE { resource:Zoran_Tadić property:country_of_citizenship resource:Antelope_Valley_Community_College_District . resource:Zoran_Tadić property:country_of_citizenship resource:Huguang_Province }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1566179
P27
Q15617994 Q7275
USER
How many administrative territories and states are the countries of citizenship of Zoran Tadić ?
(Q1566179,P27,c(Q15617994)) (Q1566179,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q1566179
relation P27
type Q15617994
action filter_type
action find
entity Q1566179
relation P27
type Q7275
['Q1566179', 'P27', {'concept': 'Q15617994'}] ['Q1566179', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?q rdf:type ?t }
Zoran Tadić
action count
action union
action filter_type
action find
entity Zoran Tadić
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Zoran Tadić
relation country of citizenship
type state
['Zoran Tadić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Zoran Tadić', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?q rdf:type ?t }
[]
designation for an administrative territorial entity state
SYSTEM
1 administrative territories and 2 states
Q191077 Q224 Q83286
(Q1566179,P27,c(Q15617994)) (Q1566179,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q1566179
relation P27
type Q15617994
action filter_type
action find
entity Q1566179
relation P27
type Q7275
[ANSWER]
['Q1566179', 'P27', {'concept': 'Q15617994'}] ['Q1566179', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q7275 ) } . ?q rdf:type ?t }
Kingdom of Yugoslavia Croatia Socialist Federal Republic of Yugoslavia
1 administrative territories and 2 states
action count
action union
action filter_type
action find
entity Zoran Tadić
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Zoran Tadić
relation country of citizenship
type state
['Zoran Tadić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Zoran Tadić', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:state ) } . ?q rdf:type ?t }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
Which television programs have been dubbed by approximately 19 people ?
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 19
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?l ) WHERE { ?h property:P725 ?p . ?h rdf:type ontology:Q15416 . ?p rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?l = 19 ) }
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 19
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?l ) WHERE { ?h property:voice_actor ?p . ?h rdf:type ontology:television_program . ?p rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?l = 19 ) }
[]
common name television program
Q23558 Q18571935 Q18553975
SYSTEM
House, The Big O, Soul Eater
Q23558 Q18571935 Q18553975
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 19
[ANSWERS] have been dubbed by approximately 19 people
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?l ) WHERE { ?h property:P725 ?p . ?h rdf:type ontology:Q15416 . ?p rdf:type ontology:Q502895 } GROUP BY ?h } . FILTER ( ?l = 19 ) }
House The Big O Soul Eater
House, The Big O and Soul Eater have been dubbed by approximately 19 people
House The Big O Soul Eater
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 19
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?l ) WHERE { ?h property:voice_actor ?p . ?h rdf:type ontology:television_program . ?p rdf:type ontology:common_name } GROUP BY ?h } . FILTER ( ?l = 19 ) }
[]