Simple Question (Direct)
Simple Question
Q1792965
P58
Q502895
USER
Which person wrote the script for Kurbaan ?
(Q1792965,P58,c(Q502895))
action filter_type
action find
entity Q1792965
relation P58
type Q502895
['Q1792965', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1792965 property:P58 ?f . ?f rdf:type ontology:Q502895 }
Kurbaan
action filter_type
action find
entity Kurbaan
relation screenwriter
type common name
['Kurbaan', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Kurbaan property:screenwriter ?f . ?f rdf:type ontology:common_name }
[]
common name
Q7931385
SYSTEM
Vinay Shukla
Q7931385
(Q1792965,P58,c(Q502895))
action filter_type
action find
entity Q1792965
relation P58
type Q502895
[ANSWER] wrote the script for Kurbaan
['Q1792965', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q1792965 property:P58 ?f . ?f rdf:type ontology:Q502895 }
Vinay Shukla
Vinay Shukla wrote the script for Kurbaan
Vinay Shukla
action filter_type
action find
entity Kurbaan
relation screenwriter
type common name
['Kurbaan', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Kurbaan property:screenwriter ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1792965
P495
Q15617994
USER
Where did Kurbaan originate ?
(Q1792965,P495,c(Q15617994))
action filter_type
action find
entity Q1792965
relation P495
type Q15617994
['Q1792965', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1792965 property:P495 ?h . ?h rdf:type ontology:Q15617994 }
Kurbaan
action filter_type
action find
entity Kurbaan
relation country of origin
type designation for an administrative territorial entity
['Kurbaan', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Kurbaan property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q1792965,P495,c(Q15617994))
action filter_type
action find
entity Q1792965
relation P495
type Q15617994
Kurbaan originated from [ANSWER]
['Q1792965', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1792965 property:P495 ?h . ?h rdf:type ontology:Q15617994 }
India
Kurbaan originated from India
India
action filter_type
action find
entity Kurbaan
relation country of origin
type designation for an administrative territorial entity
['Kurbaan', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Kurbaan property:country_of_origin ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q668 Q3226996
P495
Q838948
USER
Is that administrative territory a country of origin of Life, Above All ?
(Q3226996,P495,Q668)
action is_in
entity Q3226996
action find
entity Q668
relation P495
['Q3226996', 'P495', 'Q668']
ASK WHERE { resource:Q668 property:P495 resource:Q3226996 }
India Life, Above All
action is_in
entity Life, Above All
action find
entity India
relation country of origin
['Life, Above All', 'country of origin', 'India']
ASK WHERE { resource:India property:country_of_origin resource:Life,_Above_All }
[]
work of art
SYSTEM
NO
(Q3226996,P495,Q668)
action is_in
entity Q3226996
action find
entity Q668
relation P495
[ANSWER]
['Q3226996', 'P495', 'Q668']
ASK WHERE { resource:Q668 property:P495 resource:Q3226996 }
No
action is_in
entity Life, Above All
action find
entity India
relation country of origin
['Life, Above All', 'country of origin', 'India']
ASK WHERE { resource:India property:country_of_origin resource:Life,_Above_All }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q668
P276
Q16743958
USER
Which genre of painting has its location as that administrative territory ?
action filter_type
action find_reverse
entity Q668
relation P276
type Q16743958
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q668 . ?v rdf:type ontology:Q16743958 }
India
action filter_type
action find_reverse
entity India
relation location
type genre of painting
SELECT DISTINCT ?v WHERE { ?v property:location resource:India . ?v rdf:type ontology:genre_of_painting }
[]
genre of painting
Q5054966
SYSTEM
Cave paintings in India
Q5054966
action filter_type
action find_reverse
entity Q668
relation P276
type Q16743958
[ANSWER] has its location as that administrative territory
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q668 . ?v rdf:type ontology:Q16743958 }
Cave paintings in India
Cave paintings in India has its location as that administrative territory
Cave paintings in India
action filter_type
action find_reverse
entity India
relation location
type genre of painting
SELECT DISTINCT ?v WHERE { ?v property:location resource:India . ?v rdf:type ontology:genre_of_painting }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q838948 Q2031291 Q7725634
USER
Which works of art are min number of releases or literary works a portion of ?
(c(Q2031291)|c(Q7725634),P361,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?e WHERE { VALUES ( ?f ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } . ?g rdf:type ?f } GROUP BY ?e } . FILTER ( ?b = ?n ) . { SELECT DISTINCT ( MIN ( ?i ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?z WHERE { { ?y property:P361 ?z . ?y rdf:type ontology:Q2031291 . ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q7725634 . ?y property:P361 ?z } } GROUP BY ?z } } }
action argmin
action union
action find_reverse_tuple_counts
relation part of
type work of art
type release
action find_reverse_tuple_counts
relation part of
type work of art
type literary work
[[{'concept': 'release'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?e WHERE { VALUES ( ?f ) { ( ontology:release ) ( ontology:literary_work ) } . ?g rdf:type ?f } GROUP BY ?e } . FILTER ( ?b = ?n ) . { SELECT DISTINCT ( MIN ( ?i ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?z WHERE { { ?y property:part_of ?z . ?y rdf:type ontology:release . ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:literary_work . ?y property:part_of ?z } } GROUP BY ?z } } }
[]
work of art release literary work
Q205028 Q102438 Q15624215
SYSTEM
Iron Man 2, Harry Potter and the Philosopher's Stone, Lucy
Q1762957 Q5723375 Q3415280 Q4143086 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q102438 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q4660040 Q495954 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q187483 Q6519361 Q874496 Q475476 Q103569 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q971109 Q1360347 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q2905386 Q165325 Q2626332 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q16980242 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q2031291)|c(Q7725634),P361,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
action find_reverse_tuple_counts
relation P361
type Q838948
type Q7725634
[ANSWERS] are min number of releases or literary works a portion of
[[{'concept': 'Q2031291'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?e WHERE { VALUES ( ?f ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } . ?g rdf:type ?f } GROUP BY ?e } . FILTER ( ?b = ?n ) . { SELECT DISTINCT ( MIN ( ?i ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?z WHERE { { ?y property:P361 ?z . ?y rdf:type ontology:Q2031291 . ?z rdf:type ontology:Q838948 } UNION { ?z rdf:type ontology:Q838948 . ?y rdf:type ontology:Q7725634 . ?y property:P361 ?z } } GROUP BY ?z } } }
Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Bowman and The Spearman Harry Potter and the Philosopher's Stone The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece A Texas Trilogy Henry V New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac Inferno Hunnestad Monument Seven Wonders of the Ancient World Hamlet Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Black Jack Kill Bill Volume 1 A Breed Apart Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Arabian Nights The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
Iron Man 2, Harry Potter and the Philosopher's Stone and Lucy are min number of releases or literary works a portion of
Iron Man 2 Harry Potter and the Philosopher's Stone Lucy
action argmin
action union
action find_reverse_tuple_counts
relation part of
type work of art
type release
action find_reverse_tuple_counts
relation part of
type work of art
type literary work
[[{'concept': 'release'}, {'concept': 'literary work'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?e WHERE { VALUES ( ?f ) { ( ontology:release ) ( ontology:literary_work ) } . ?g rdf:type ?f } GROUP BY ?e } . FILTER ( ?b = ?n ) . { SELECT DISTINCT ( MIN ( ?i ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) ?z WHERE { { ?y property:part_of ?z . ?y rdf:type ontology:release . ?z rdf:type ontology:work_of_art } UNION { ?z rdf:type ontology:work_of_art . ?y rdf:type ontology:literary_work . ?y property:part_of ?z } } GROUP BY ?z } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q205028 Q102438 Q15624215
P344
Q502895
USER
Who are appointed as the cinematographers of those works of art ?
(Q205028,P344,c(Q502895)) (Q102438,P344,c(Q502895)) (Q15624215,P344,c(Q502895))
action filter_type
action find
entity prev_answer
relation P344
type Q502895
['Q205028', 'P344', {'concept': 'Q502895'}] ['Q102438', 'P344', {'concept': 'Q502895'}] ['Q15624215', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?o ) { ( resource:Q1762957 ) ( resource:Q5723375 ) ( resource:Q3415280 ) } . ?o property:P344 ?v . ?v rdf:type ontology:Q502895 }
Iron Man 2 Harry Potter and the Philosopher's Stone Lucy
action filter_type
action find
entity prev_answer
relation director of photography
type common name
['Iron Man 2', 'director of photography', {'concept': 'common name'}] ["Harry Potter and the Philosopher's Stone", 'director of photography', {'concept': 'common name'}] ['Lucy', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?o ) { ( resource:Release_the_Prisoners_to_Spring ) ( resource:Tales_of_an_Island ) ( resource:Dangerous_Moonlight ) } . ?o property:director_of_photography ?v . ?v rdf:type ontology:common_name }
[]
common name
Q617690 Q918558 Q580810
SYSTEM
Matthew Libatique, John Seale, Thierry Arbogast
Q617690 Q918558 Q580810
(Q205028,P344,c(Q502895)) (Q102438,P344,c(Q502895)) (Q15624215,P344,c(Q502895))
action filter_type
action find
entity prev_answer
relation P344
type Q502895
[ANSWERS] are appointed as the cinematographers of those works of art
['Q205028', 'P344', {'concept': 'Q502895'}] ['Q102438', 'P344', {'concept': 'Q502895'}] ['Q15624215', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?o ) { ( resource:Q1762957 ) ( resource:Q5723375 ) ( resource:Q3415280 ) } . ?o property:P344 ?v . ?v rdf:type ontology:Q502895 }
Matthew Libatique John Seale Thierry Arbogast
Matthew Libatique, John Seale and Thierry Arbogast are appointed as the cinematographers of those works of art
Matthew Libatique John Seale Thierry Arbogast
action filter_type
action find
entity prev_answer
relation director of photography
type common name
['Iron Man 2', 'director of photography', {'concept': 'common name'}] ["Harry Potter and the Philosopher's Stone", 'director of photography', {'concept': 'common name'}] ['Lucy', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?o ) { ( resource:Release_the_Prisoners_to_Spring ) ( resource:Tales_of_an_Island ) ( resource:Dangerous_Moonlight ) } . ?o property:director_of_photography ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q617690 Q918558 Q580810
P21
Q290
USER
Which sexes do those people belong to ?
(Q617690,P21,c(Q290)) (Q918558,P21,c(Q290)) (Q580810,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q617690', 'P21', {'concept': 'Q290'}] ['Q918558', 'P21', {'concept': 'Q290'}] ['Q580810', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?u property:P21 ?i . ?i rdf:type ontology:Q290 . VALUES ( ?u ) { ( resource:Q617690 ) ( resource:Q918558 ) ( resource:Q580810 ) } }
Matthew Libatique John Seale Thierry Arbogast
action filter_type
action find
entity prev_answer
relation gender
type sex
['Matthew Libatique', 'gender', {'concept': 'sex'}] ['John Seale', 'gender', {'concept': 'sex'}] ['Thierry Arbogast', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?u property:gender ?i . ?i rdf:type ontology:sex . VALUES ( ?u ) { ( resource:Matthew_Libatique ) ( resource:John_Seale ) ( resource:Thierry_Arbogast ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q617690,P21,c(Q290)) (Q918558,P21,c(Q290)) (Q580810,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q617690', 'P21', {'concept': 'Q290'}] ['Q918558', 'P21', {'concept': 'Q290'}] ['Q580810', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?u property:P21 ?i . ?i rdf:type ontology:Q290 . VALUES ( ?u ) { ( resource:Q617690 ) ( resource:Q918558 ) ( resource:Q580810 ) } }
male male male
Those people belong to male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Matthew Libatique', 'gender', {'concept': 'sex'}] ['John Seale', 'gender', {'concept': 'sex'}] ['Thierry Arbogast', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?u property:gender ?i . ?i rdf:type ontology:sex . VALUES ( ?u ) { ( resource:Matthew_Libatique ) ( resource:John_Seale ) ( resource:Thierry_Arbogast ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q205028
P921
Q386724
USER
Which work has Iron Man 2 as its main topic ?
(c(Q386724),P921,Q205028)
action filter_type
action find_reverse
entity Q205028
relation P921
type Q386724
[{'concept': 'Q386724'}, 'P921', 'Q205028']
SELECT DISTINCT ?z WHERE { ?z property:P921 resource:Q205028 . ?z rdf:type ontology:Q386724 }
Iron Man 2
action filter_type
action find_reverse
entity Iron Man 2
relation main subject
type work
[{'concept': 'work'}, 'main subject', 'Iron Man 2']
SELECT DISTINCT ?z WHERE { ?z property:main_subject resource:Iron_Man_2 . ?z rdf:type ontology:work }
[]
work
Q24073917
SYSTEM
Spoilers: The Secret Ending of Iron Man 2 Revealed
Q24073917
(c(Q386724),P921,Q205028)
action filter_type
action find_reverse
entity Q205028
relation P921
type Q386724
Spoilers: The Secret Ending of Iron Man 2 revealed has Iron Man 2 as its main topic
[{'concept': 'Q386724'}, 'P921', 'Q205028']
SELECT DISTINCT ?z WHERE { ?z property:P921 resource:Q205028 . ?z rdf:type ontology:Q386724 }
Spoilers: The Secret Ending of Iron Man 2 Revealed
Spoilers: The Secret Ending of Iron Man 2 revealed has Iron Man 2 as its main topic
Spoilers: The Secret Ending of Iron Man 2 Revealed
action filter_type
action find_reverse
entity Iron Man 2
relation main subject
type work
[{'concept': 'work'}, 'main subject', 'Iron Man 2']
SELECT DISTINCT ?z WHERE { ?z property:main_subject resource:Iron_Man_2 . ?z rdf:type ontology:work }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q205028
P162
Q502895
USER
Who is the producer of Iron Man 2 ?
(Q205028,P162,c(Q502895))
action filter_type
action find
entity Q205028
relation P162
type Q502895
['Q205028', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q205028 property:P162 ?t . ?t rdf:type ontology:Q502895 }
Iron Man 2
action filter_type
action find
entity Iron Man 2
relation producer
type common name
['Iron Man 2', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Iron_Man_2 property:producer ?t . ?t rdf:type ontology:common_name }
[]
common name
Q515161
SYSTEM
Kevin Feige
Q515161
(Q205028,P162,c(Q502895))
action filter_type
action find
entity Q205028
relation P162
type Q502895
The producer of Iron Man 2 is also [ANSWER]
['Q205028', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q205028 property:P162 ?t . ?t rdf:type ontology:Q502895 }
Kevin Feige
The producer of Iron Man 2 is also Kevin Feige
Kevin Feige
action filter_type
action find
entity Iron Man 2
relation producer
type common name
['Iron Man 2', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Iron_Man_2 property:producer ?t . ?t rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q515161 Q30
P27
Q15617994
USER
Is United States of America the country of citizenship of Kevin Feige ?
(Q515161,P27,Q30)
action is_in
entity Q30
action find
entity Q515161
relation P27
['Q515161', 'P27', 'Q30']
ASK WHERE { resource:Q515161 property:P27 resource:Q30 }
Kevin Feige United States of America
action is_in
entity United States of America
action find
entity Kevin Feige
relation country of citizenship
['Kevin Feige', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Kevin_Feige property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q515161,P27,Q30)
action is_in
entity Q30
action find
entity Q515161
relation P27
[ANSWER]
['Q515161', 'P27', 'Q30']
ASK WHERE { resource:Q515161 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Kevin Feige
relation country of citizenship
['Kevin Feige', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Kevin_Feige property:country_of_citizenship resource:United_States_of_America }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q515161
P69
Q163740
USER
Where was that person educated ?
action filter_type
action find
entity Q515161
relation P69
type Q163740
SELECT DISTINCT ?s WHERE { resource:Q515161 property:P69 ?s . ?s rdf:type ontology:Q163740 }
Kevin Feige
action filter_type
action find
entity Kevin Feige
relation educated at
type nonprofit organization
SELECT DISTINCT ?s WHERE { resource:Kevin_Feige property:educated_at ?s . ?s rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q4614
SYSTEM
University of Southern California
Q4614
action filter_type
action find
entity Q515161
relation P69
type Q163740
Educated that person was the [ANSWER]
SELECT DISTINCT ?s WHERE { resource:Q515161 property:P69 ?s . ?s rdf:type ontology:Q163740 }
University of Southern California
Educated that person was the University of Southern California
University of Southern California
action filter_type
action find
entity Kevin Feige
relation educated at
type nonprofit organization
SELECT DISTINCT ?s WHERE { resource:Kevin_Feige property:educated_at ?s . ?s rdf:type ontology:nonprofit_organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2546860 Q515161
P19 P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Kevin Feige or were Walter Zielke born in ?
OR((Q515161,P27,c(Q15617994)), (Q2546860,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q515161
relation P27
action find
entity Q2546860
relation P19
type Q15617994
{'OR': [['Q515161', 'P27', {'concept': 'Q15617994'}], ['Q2546860', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q515161 property:P27 ?d } UNION { resource:Q2546860 property:P19 ?d } } . ?d rdf:type ontology:Q15617994 }
Walter Zielke Kevin Feige
action filter_type
action union
action find
entity Kevin Feige
relation country of citizenship
action find
entity Walter Zielke
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Kevin Feige', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Walter Zielke', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Kevin_Feige property:country_of_citizenship ?d } UNION { resource:Walter_Zielke property:place_of_birth ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q3798 Q30
SYSTEM
Flensburg, United States of America
Q3798 Q30
OR((Q515161,P27,c(Q15617994)), (Q2546860,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q515161
relation P27
action find
entity Q2546860
relation P19
type Q15617994
[ANSWERS] are the countries of citizenship of Kevin Feige or were Walter Zielke born in
{'OR': [['Q515161', 'P27', {'concept': 'Q15617994'}], ['Q2546860', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q515161 property:P27 ?d } UNION { resource:Q2546860 property:P19 ?d } } . ?d rdf:type ontology:Q15617994 }
Flensburg United States of America
Flensburg and United States of America are the countries of citizenship of Kevin Feige or were Walter Zielke born in
Flensburg United States of America
action filter_type
action union
action find
entity Kevin Feige
relation country of citizenship
action find
entity Walter Zielke
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Kevin Feige', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Walter Zielke', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Kevin_Feige property:country_of_citizenship ?d } UNION { resource:Walter_Zielke property:place_of_birth ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q215
P194
Q11204 Q1752346 Q15617994
USER
Which administrative territories have lesser number of legislatures or assemblies as their legislative body than Slovenia ?
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q215
relation P194
type Q11204
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?l ) WHERE { { ?b property:P194 ?c . ?b rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q11204 } UNION { ?b property:P194 ?c . ?b rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1752346 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q215 property:P194 ?t . { { ?t rdf:type ontology:Q11204 } UNION { ?t rdf:type ontology:Q1752346 } } } } . FILTER ( ?l < ?g ) }
Slovenia
action less
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Slovenia
relation legislative body
type legislature
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?l ) WHERE { { ?b property:legislative_body ?c . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:legislature } UNION { ?b property:legislative_body ?c . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:assembly } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Slovenia property:legislative_body ?t . { { ?t rdf:type ontology:legislature } UNION { ?t rdf:type ontology:assembly } } } } . FILTER ( ?l < ?g ) }
[]
legislature assembly designation for an administrative territorial entity
Q32 Q1011 Q212
SYSTEM
Luxembourg, Cape Verde, Ukraine
Q2806757 Q1948 Q252320 Q187035 Q3361 Q1979 Q153529 Q1974 Q32 Q104192 Q603676 Q2009 Q2007 Q2003 Q1904 Q1989 Q212 Q694594 Q1011 Q12620 Q1951 Q2023
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q215
relation P194
type Q11204
type Q1752346
[ANSWERS] have lesser number of legislatures or assemblies as their legislative body than Slovenia
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?l ) WHERE { { ?b property:P194 ?c . ?b rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q11204 } UNION { ?b property:P194 ?c . ?b rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1752346 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q215 property:P194 ?t . { { ?t rdf:type ontology:Q11204 } UNION { ?t rdf:type ontology:Q1752346 } } } } . FILTER ( ?l < ?g ) }
105 Mile Post Indian Reserve No. 2 Manitoba Pleinfeld Principality of Albania Doubs Prince Edward Island Duchy of Milan British Columbia Luxembourg Kleinmachnow District of Keewatin Yukon Northwest Territories Newfoundland and Labrador Ontario Saskatchewan Ukraine Bremen-Verden Cape Verde Mayenne Alberta Nunavut
Luxembourg, Cape Verde and Ukraine have lesser number of legislatures or assemblies as their legislative body than Slovenia
Luxembourg Cape Verde Ukraine
action less
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Slovenia
relation legislative body
type legislature
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?c ) AS ?l ) WHERE { { ?b property:legislative_body ?c . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:legislature } UNION { ?b property:legislative_body ?c . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:assembly } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Slovenia property:legislative_body ?t . { { ?t rdf:type ontology:legislature } UNION { ?t rdf:type ontology:assembly } } } } . FILTER ( ?l < ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q223
P194
Q11204 Q1752346 Q15617994
USER
And what about Greenland?
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q223
relation P194
type Q11204
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?q WHERE { { ?q property:P194 ?h . ?h rdf:type ontology:Q11204 . ?q rdf:type ontology:Q15617994 } UNION { ?q property:P194 ?h . ?q rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1752346 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q223 property:P194 ?o . { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } } } } . FILTER ( ?d < ?v ) }
Greenland
action less
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Greenland
relation legislative body
type legislature
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?q WHERE { { ?q property:legislative_body ?h . ?h rdf:type ontology:legislature . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:legislative_body ?h . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:assembly } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Greenland property:legislative_body ?o . { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:legislature ) ( ontology:assembly ) } } } } . FILTER ( ?d < ?v ) }
[]
legislature assembly designation for an administrative territorial entity
Q32 Q1011 Q212
SYSTEM
Luxembourg, Cape Verde, Ukraine
Q2806757 Q1948 Q252320 Q187035 Q3361 Q1979 Q153529 Q1974 Q32 Q104192 Q603676 Q2009 Q2007 Q2003 Q1904 Q1989 Q212 Q694594 Q1011 Q12620 Q1951 Q2023
(c(Q15617994),P194,c(Q11204)|c(Q1752346))
action less
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action count
action filter_multi_types
action find
entity Q223
relation P194
type Q11204
type Q1752346
[ANSWERS]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?q WHERE { { ?q property:P194 ?h . ?h rdf:type ontology:Q11204 . ?q rdf:type ontology:Q15617994 } UNION { ?q property:P194 ?h . ?q rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1752346 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Q223 property:P194 ?o . { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } } } } . FILTER ( ?d < ?v ) }
105 Mile Post Indian Reserve No. 2 Manitoba Pleinfeld Principality of Albania Doubs Prince Edward Island Duchy of Milan British Columbia Luxembourg Kleinmachnow District of Keewatin Yukon Northwest Territories Newfoundland and Labrador Ontario Saskatchewan Ukraine Bremen-Verden Cape Verde Mayenne Alberta Nunavut
Luxembourg Cape Verde Ukraine
action less
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action count
action filter_multi_types
action find
entity Greenland
relation legislative body
type legislature
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) ?q WHERE { { ?q property:legislative_body ?h . ?h rdf:type ontology:legislature . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q property:legislative_body ?h . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:assembly } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { resource:Greenland property:legislative_body ?o . { ?o rdf:type ?t . VALUES ( ?t ) { ( ontology:legislature ) ( ontology:assembly ) } } } } . FILTER ( ?d < ?v ) }
[]