Simple Question (Direct)
Simple Question
Q7983764
P69
Q1055028
USER
Where was Wes Streeting educated ?
(Q7983764,P69,c(Q1055028))
action filter_type
action find
entity Q7983764
relation P69
type Q1055028
['Q7983764', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1055028 . resource:Q7983764 property:P69 ?w }
Wes Streeting
action filter_type
action find
entity Wes Streeting
relation educated at
type college of the University of Cambridge
['Wes Streeting', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:college_of_the_University_of_Cambridge . resource:Wes_Streeting property:educated_at ?w }
[]
college of the University of Cambridge
Q767650
SYSTEM
Selwyn College
Q767650
(Q7983764,P69,c(Q1055028))
action filter_type
action find
entity Q7983764
relation P69
type Q1055028
Wes Streeting was educated at [ANSWER]
['Q7983764', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1055028 . resource:Q7983764 property:P69 ?w }
Selwyn College
Wes Streeting was educated at Selwyn College
Selwyn College
action filter_type
action find
entity Wes Streeting
relation educated at
type college of the University of Cambridge
['Wes Streeting', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:college_of_the_University_of_Cambridge . resource:Wes_Streeting property:educated_at ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7983764
P102
Q7210356
USER
Which political organization is Wes Streeting a member of ?
(Q7983764,P102,c(Q7210356))
action filter_type
action find
entity Q7983764
relation P102
type Q7210356
['Q7983764', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q7983764 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Wes Streeting
action filter_type
action find
entity Wes Streeting
relation member of political party
type political organization
['Wes Streeting', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Wes_Streeting property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
(Q7983764,P102,c(Q7210356))
action filter_type
action find
entity Q7983764
relation P102
type Q7210356
Wes is a member of the [ANSWER]
['Q7983764', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q7983764 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Labour Party
Wes is a member of the Labour Party
Labour Party
action filter_type
action find
entity Wes Streeting
relation member of political party
type political organization
['Wes Streeting', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Wes_Streeting property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q9630 Q55045 Q145
P17
Q15617994
USER
Is that political organization situated in Lacedonia and United Kingdom ?
(Q9630,P17,Q55045) (Q9630,P17,Q145)
action is_in
entity Q9630
action intersection
action find_reverse
entity Q55045
relation P17
action find_reverse
entity Q145
relation P17
['Q9630', 'P17', 'Q55045'] ['Q9630', 'P17', 'Q145']
ASK WHERE { resource:Q9630 property:P17 resource:Q55045 . resource:Q9630 property:P17 resource:Q145 }
Labour Party Lacedonia United Kingdom
action is_in
entity Labour Party
action intersection
action find_reverse
entity Lacedonia
relation country
action find_reverse
entity United Kingdom
relation country
['Labour Party', 'country', 'Lacedonia'] ['Labour Party', 'country', 'United Kingdom']
ASK WHERE { resource:Labour_Party property:country resource:Lacedonia . resource:Labour_Party property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q9630,P17,Q55045) (Q9630,P17,Q145)
action is_in
entity Q9630
action intersection
action find_reverse
entity Q55045
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q9630', 'P17', 'Q55045'] ['Q9630', 'P17', 'Q145']
ASK WHERE { resource:Q9630 property:P17 resource:Q55045 . resource:Q9630 property:P17 resource:Q145 }
NO and YES respectively
action is_in
entity Labour Party
action intersection
action find_reverse
entity Lacedonia
relation country
action find_reverse
entity United Kingdom
relation country
['Labour Party', 'country', 'Lacedonia'] ['Labour Party', 'country', 'United Kingdom']
ASK WHERE { resource:Labour_Party property:country resource:Lacedonia . resource:Labour_Party property:country resource:United_Kingdom }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9630
P17
Q15617994
USER
How many administrative territories are Labour Party present in ?
(Q9630,P17,c(Q15617994))
action count
action filter_type
action find
entity Q9630
relation P17
type Q15617994
['Q9630', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q9630 property:P17 ?e }
Labour Party
action count
action filter_type
action find
entity Labour Party
relation country
type designation for an administrative territorial entity
['Labour Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Labour_Party property:country ?e }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q9630,P17,c(Q15617994))
action count
action filter_type
action find
entity Q9630
relation P17
type Q15617994
[ANSWER]
['Q9630', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q9630 property:P17 ?e }
United Kingdom
1
action count
action filter_type
action find
entity Labour Party
relation country
type designation for an administrative territorial entity
['Labour Party', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Labour_Party property:country ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9630
P488
Q502895
USER
Who was the chair of that political organization ?
action filter_type
action find
entity Q9630
relation P488
type Q502895
SELECT DISTINCT ?b WHERE { resource:Q9630 property:P488 ?b . ?b rdf:type ontology:Q502895 }
Labour Party
action filter_type
action find
entity Labour Party
relation chairperson
type common name
SELECT DISTINCT ?b WHERE { resource:Labour_Party property:chairperson ?b . ?b rdf:type ontology:common_name }
[]
common name
Q216594
SYSTEM
Ed Miliband
Q216594
action filter_type
action find
entity Q9630
relation P488
type Q502895
The chair of that political organization was born [ANSWER]
SELECT DISTINCT ?b WHERE { resource:Q9630 property:P488 ?b . ?b rdf:type ontology:Q502895 }
Ed Miliband
The chair of that political organization was born Ed Miliband
Ed Miliband
action filter_type
action find
entity Labour Party
relation chairperson
type common name
SELECT DISTINCT ?b WHERE { resource:Labour_Party property:chairperson ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P69
Q1244442 Q3918
USER
How many school buildings and universities are the alma mater of that person ?
(Q216594,P69,c(Q1244442)) (Q216594,P69,c(Q3918)) (Q216594,P69,c(Q1244442)) (Q216594,P69,c(Q3918))
action count
action union
action filter_type
action find
entity Q216594
relation P69
type Q1244442
action filter_type
action find
entity Q216594
relation P69
type Q3918
['Q216594', 'P69', {'concept': 'Q1244442'}] ['Q216594', 'P69', {'concept': 'Q3918'}] ['Q216594', 'P69', {'concept': 'Q1244442'}] ['Q216594', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?v ) { ( ontology:Q1244442 ) ( ontology:Q3918 ) } . ?l rdf:type ?v }
action count
action union
action filter_type
action find
entity Ed Miliband
relation educated at
type school building
action filter_type
action find
entity Ed Miliband
relation educated at
type university
['Ed Miliband', 'educated at', {'concept': 'school building'}] ['Ed Miliband', 'educated at', {'concept': 'university'}] ['Ed Miliband', 'educated at', {'concept': 'school building'}] ['Ed Miliband', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?v ) { ( ontology:school_building ) ( ontology:university ) } . ?l rdf:type ?v }
[]
school building university
SYSTEM
1 school buildings and 1 universities
Q1135137 Q174570
(Q216594,P69,c(Q1244442)) (Q216594,P69,c(Q3918)) (Q216594,P69,c(Q1244442)) (Q216594,P69,c(Q3918))
action count
action union
action filter_type
action find
entity Q216594
relation P69
type Q1244442
action filter_type
action find
entity Q216594
relation P69
type Q3918
[ANSWER]
['Q216594', 'P69', {'concept': 'Q1244442'}] ['Q216594', 'P69', {'concept': 'Q3918'}] ['Q216594', 'P69', {'concept': 'Q1244442'}] ['Q216594', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?v ) { ( ontology:Q1244442 ) ( ontology:Q3918 ) } . ?l rdf:type ?v }
Corpus Christi College London School of Economics
1 school buildings and 1 universities
action count
action union
action filter_type
action find
entity Ed Miliband
relation educated at
type school building
action filter_type
action find
entity Ed Miliband
relation educated at
type university
['Ed Miliband', 'educated at', {'concept': 'school building'}] ['Ed Miliband', 'educated at', {'concept': 'university'}] ['Ed Miliband', 'educated at', {'concept': 'school building'}] ['Ed Miliband', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?v ) { ( ontology:school_building ) ( ontology:university ) } . ?l rdf:type ?v }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q26715049
P725
Q502895 Q386724
USER
How many works did more number of people dub for than Peter y el dragón ?
(c(Q386724),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26715049
relation P725
type Q386724
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?s ) WHERE { ?g property:P725 ?j . ?j rdf:type ontology:Q502895 . ?g rdf:type ontology:Q386724 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q26715049 property:P725 ?c . ?c rdf:type ontology:Q386724 } } . FILTER ( ?s > ?p ) }
Peter y el dragón
action count
action greater
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Peter y el dragón
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?s ) WHERE { ?g property:voice_actor ?j . ?j rdf:type ontology:common_name . ?g rdf:type ontology:work } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Peter_y_el_dragón property:voice_actor ?c . ?c rdf:type ontology:work } } . FILTER ( ?s > ?p ) }
[]
common name work
SYSTEM
12
Q26987217 Q26331781 Q26701981 Q23752771 Q27627540 Q26712000 Q26390366 Q26299860 Q26457246 Q26301623 Q26829863 Q23894983
(c(Q386724),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q386724
type Q502895
action count
action filter_type
action find
entity Q26715049
relation P725
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?s ) WHERE { ?g property:P725 ?j . ?j rdf:type ontology:Q502895 . ?g rdf:type ontology:Q386724 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Q26715049 property:P725 ?c . ?c rdf:type ontology:Q386724 } } . FILTER ( ?s > ?p ) }
Hércules y la visita de Zeus Hércules y el examen de conducir Hércules y el grifo Iron Man Doctor Strange (Doctor Extraño) Hércules y los Tecno-Griegos Hércules y el rey de Tesalia Hércules y el primer médico del mundo Hércules y el arma secreta Hércules y el primer día de escuela Angry Birds: La película Iron Man 2
12
action count
action greater
action find_tuple_counts
relation voice actor
type work
type common name
action count
action filter_type
action find
entity Peter y el dragón
relation voice actor
type work
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?s ) WHERE { ?g property:voice_actor ?j . ?j rdf:type ontology:common_name . ?g rdf:type ontology:work } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { resource:Peter_y_el_dragón property:voice_actor ?c . ?c rdf:type ontology:work } } . FILTER ( ?s > ?p ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q216594
P27
Q15617994
USER
How many administrative territories are Ed Miliband an inhabitant of ?
(Q216594,P27,c(Q15617994))
action count
action filter_type
action find
entity Q216594
relation P27
type Q15617994
['Q216594', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Q216594 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Ed Miliband
action count
action filter_type
action find
entity Ed Miliband
relation country of citizenship
type designation for an administrative territorial entity
['Ed Miliband', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Ed_Miliband property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q145
(Q216594,P27,c(Q15617994))
action count
action filter_type
action find
entity Q216594
relation P27
type Q15617994
[ANSWER]
['Q216594', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Q216594 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
United Kingdom
1
action count
action filter_type
action find
entity Ed Miliband
relation country of citizenship
type designation for an administrative territorial entity
['Ed Miliband', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { resource:Ed_Miliband property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q216594
P25
Q502895
USER
Which female person was the parent of Ed Miliband ?
(Q216594,P25,c(Q502895))
action filter_type
action find
entity Q216594
relation P25
type Q502895
['Q216594', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q216594 property:P25 ?k . ?k rdf:type ontology:Q502895 }
Ed Miliband
action filter_type
action find
entity Ed Miliband
relation mother
type common name
['Ed Miliband', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Ed_Miliband property:mother ?k . ?k rdf:type ontology:common_name }
[]
common name
Q6765270
SYSTEM
Marion Kozak
Q6765270
(Q216594,P25,c(Q502895))
action filter_type
action find
entity Q216594
relation P25
type Q502895
[ANSWER] was the parent of Ed Miliband
['Q216594', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q216594 property:P25 ?k . ?k rdf:type ontology:Q502895 }
Marion Kozak
Marion Kozak was the parent of Ed Miliband
Marion Kozak
action filter_type
action find
entity Ed Miliband
relation mother
type common name
['Ed Miliband', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Ed_Miliband property:mother ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6765270 Q272670
P40
Q502895
USER
Is David Miliband an offspring of Marion Kozak ?
(Q6765270,P40,Q272670)
action is_in
entity Q272670
action find
entity Q6765270
relation P40
['Q6765270', 'P40', 'Q272670']
ASK WHERE { resource:Q6765270 property:P40 resource:Q272670 }
Marion Kozak David Miliband
action is_in
entity David Miliband
action find
entity Marion Kozak
relation child
['Marion Kozak', 'child', 'David Miliband']
ASK WHERE { resource:Marion_Kozak property:child resource:David_Miliband }
[]
common name
SYSTEM
YES
(Q6765270,P40,Q272670)
action is_in
entity Q272670
action find
entity Q6765270
relation P40
[ANSWER]
['Q6765270', 'P40', 'Q272670']
ASK WHERE { resource:Q6765270 property:P40 resource:Q272670 }
Yes
action is_in
entity David Miliband
action find
entity Marion Kozak
relation child
['Marion Kozak', 'child', 'David Miliband']
ASK WHERE { resource:Marion_Kozak property:child resource:David_Miliband }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q216594 Q6548608 Q505327
P27
Q15617994
USER
Is Ed Miliband a citizen of Lilybank and Wildflecken ?
(Q216594,P27,Q6548608) (Q216594,P27,Q505327)
action is_in
entity Q216594
action intersection
action find_reverse
entity Q6548608
relation P27
action find_reverse
entity Q505327
relation P27
['Q216594', 'P27', 'Q6548608'] ['Q216594', 'P27', 'Q505327']
ASK WHERE { resource:Q216594 property:P27 resource:Q6548608 . resource:Q216594 property:P27 resource:Q505327 }
Ed Miliband Lilybank Wildflecken
action is_in
entity Ed Miliband
action intersection
action find_reverse
entity Lilybank
relation country of citizenship
action find_reverse
entity Wildflecken
relation country of citizenship
['Ed Miliband', 'country of citizenship', 'Lilybank'] ['Ed Miliband', 'country of citizenship', 'Wildflecken']
ASK WHERE { resource:Ed_Miliband property:country_of_citizenship resource:Lilybank . resource:Ed_Miliband property:country_of_citizenship resource:Wildflecken }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q216594,P27,Q6548608) (Q216594,P27,Q505327)
action is_in
entity Q216594
action intersection
action find_reverse
entity Q6548608
relation P27
action find_reverse
entity Q505327
relation P27
[ANSWER]
['Q216594', 'P27', 'Q6548608'] ['Q216594', 'P27', 'Q505327']
ASK WHERE { resource:Q216594 property:P27 resource:Q6548608 . resource:Q216594 property:P27 resource:Q505327 }
No
action is_in
entity Ed Miliband
action intersection
action find_reverse
entity Lilybank
relation country of citizenship
action find_reverse
entity Wildflecken
relation country of citizenship
['Ed Miliband', 'country of citizenship', 'Lilybank'] ['Ed Miliband', 'country of citizenship', 'Wildflecken']
ASK WHERE { resource:Ed_Miliband property:country_of_citizenship resource:Lilybank . resource:Ed_Miliband property:country_of_citizenship resource:Wildflecken }
[]