Simple Question (Direct)
Simple Question
Q7365080
P106
Q12737077
USER
What do Ronald M. Whyte do for a living ?
(Q7365080,P106,c(Q12737077))
action filter_type
action find
entity Q7365080
relation P106
type Q12737077
['Q7365080', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q7365080 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Ronald M. Whyte
action filter_type
action find
entity Ronald M. Whyte
relation occupation
type occupation
['Ronald M. Whyte', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Ronald_M._Whyte property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q16533 Q189290
SYSTEM
judge, officer
Q16533 Q189290
(Q7365080,P106,c(Q12737077))
action filter_type
action find
entity Q7365080
relation P106
type Q12737077
Ronald M. Whyte do as [ANSWERS] for a living
['Q7365080', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q7365080 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
judge officer
Ronald M. Whyte do as judge and officer for a living
judge officer
action filter_type
action find
entity Ronald M. Whyte
relation occupation
type occupation
['Ronald M. Whyte', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Ronald_M._Whyte property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16533
P921
Q4894405
USER
Which journalism genre was mainly based on that occupation ?
(c(Q4894405),P921,Q16533)
action filter_type
action find_reverse
entity Q16533
relation P921
type Q4894405
[{'concept': 'Q4894405'}, 'P921', 'Q16533']
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q16533 . ?w rdf:type ontology:Q4894405 }
judge
action filter_type
action find_reverse
entity judge
relation main subject
type journalism genre
[{'concept': 'journalism genre'}, 'main subject', 'judge']
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:judge . ?w rdf:type ontology:journalism_genre }
[]
journalism genre
Clarification for simple ques.
Q16533
SYSTEM
Did you mean judge ?
Q16533 Q189290
(c(Q4894405),P921,Q16533) (c(Q4894405),P921,Q189290)
[ANSWER]
[{'concept': 'Q4894405'}, 'P921', 'Q16533'] [{'concept': 'Q4894405'}, 'P921', 'Q189290']
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q16533 . ?w rdf:type ontology:Q4894405 }
judge officer
Did you mean judge ?
judge
[{'concept': 'journalism genre'}, 'main subject', 'judge'] [{'concept': 'journalism genre'}, 'main subject', 'officer']
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:judge . ?w rdf:type ontology:journalism_genre }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q4894405),P921,Q16533)
[{'concept': 'Q4894405'}, 'P921', 'Q16533']
[{'concept': 'journalism genre'}, 'main subject', 'judge']
[]
Q21965925
SYSTEM
Der Zorn des Georg Zanger
Q21965925
(c(Q4894405),P921,Q16533)
action filter_type
action find_reverse
entity Q16533
relation P921
type Q4894405
[ANSWER] was mainly based on that occupation
[{'concept': 'Q4894405'}, 'P921', 'Q16533']
SELECT DISTINCT ?w WHERE { ?w property:P921 resource:Q16533 . ?w rdf:type ontology:Q4894405 }
Der Zorn des Georg Zanger
Der Zorn des Georg Zanger was mainly based on that occupation
Der Zorn des Georg Zanger
action filter_type
action find_reverse
entity judge
relation main subject
type journalism genre
[{'concept': 'journalism genre'}, 'main subject', 'judge']
SELECT DISTINCT ?w WHERE { ?w property:main_subject resource:judge . ?w rdf:type ontology:journalism_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16533
P921
Q4894405
USER
Which journalism genre was primarily based on judge ?
(c(Q4894405),P921,Q16533)
action filter_type
action find_reverse
entity Q16533
relation P921
type Q4894405
[{'concept': 'Q4894405'}, 'P921', 'Q16533']
SELECT DISTINCT ?q WHERE { ?q property:P921 resource:Q16533 . ?q rdf:type ontology:Q4894405 }
judge
action filter_type
action find_reverse
entity judge
relation main subject
type journalism genre
[{'concept': 'journalism genre'}, 'main subject', 'judge']
SELECT DISTINCT ?q WHERE { ?q property:main_subject resource:judge . ?q rdf:type ontology:journalism_genre }
[]
journalism genre
Q21965925
SYSTEM
Der Zorn des Georg Zanger
Q21965925
(c(Q4894405),P921,Q16533)
action filter_type
action find_reverse
entity Q16533
relation P921
type Q4894405
[ANSWER] was primarily based on judge
[{'concept': 'Q4894405'}, 'P921', 'Q16533']
SELECT DISTINCT ?q WHERE { ?q property:P921 resource:Q16533 . ?q rdf:type ontology:Q4894405 }
Der Zorn des Georg Zanger
Der Zorn des Georg Zanger was primarily based on judge
Der Zorn des Georg Zanger
action filter_type
action find_reverse
entity judge
relation main subject
type journalism genre
[{'concept': 'journalism genre'}, 'main subject', 'judge']
SELECT DISTINCT ?q WHERE { ?q property:main_subject resource:judge . ?q rdf:type ontology:journalism_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16533
P39
Q502895
USER
Which people held the position of judge ?
(c(Q502895),P39,Q16533)
action filter_type
action find_reverse
entity Q16533
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q16533']
SELECT DISTINCT ?k WHERE { ?k property:P39 resource:Q16533 . ?k rdf:type ontology:Q502895 }
judge
action filter_type
action find_reverse
entity judge
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'judge']
SELECT DISTINCT ?k WHERE { ?k property:position_held resource:judge . ?k rdf:type ontology:common_name }
[]
common name
Q2563 Q239235 Q1716914
SYSTEM
Roman Herzog, Louise Arbour, Karl Korinek
Q16104843 Q1716914 Q463824 Q25931074 Q2838761 Q26098205 Q12044291 Q17325636 Q20752961 Q8018535 Q11774059 Q20729887 Q20870783 Q22337798 Q239235 Q12022513 Q2563 Q16617878 Q1079816 Q20870759 Q19309108 Q16484626 Q1203647 Q17513548 Q26309250 Q17113548 Q1608398 Q10395805 Q6243592 Q1281364 Q11878277 Q21816212 Q12025988
(c(Q502895),P39,Q16533)
action filter_type
action find_reverse
entity Q16533
relation P39
type Q502895
[ANSWERS] held the position of judge
[{'concept': 'Q502895'}, 'P39', 'Q16533']
SELECT DISTINCT ?k WHERE { ?k property:P39 resource:Q16533 . ?k rdf:type ontology:Q502895 }
N. Patrick Crooks Karl Korinek Otakar Motejl Halsey R. Wing Allyre Sirois Carl Schlettwein Pavel Varvařovský Paul Schellhas Friedrich Lachmund William Smith Dagmar Lastovecká Pierre-Joseph Cavallier Jacques-Charles Marcellot Pedro Pereira da Silva Guimarães Louise Arbour Jan Filip Roman Herzog Włodzimierz Wróbel Christian Gerhard Overbeck François Marcellot Siegbert Morscher Abel Graça George Baer Athaliah Molokomme Matthias Manthei Arnvid Vasbotten Herbert Haller Álvaro Gurgel de Alencar John L. Harding Eckart Ratz Eliška Wagnerová Fritz Töpffer Josef Fiala
Roman Herzog, Louise Arbour and Karl Korinek held the position of judge
Roman Herzog Louise Arbour Karl Korinek
action filter_type
action find_reverse
entity judge
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'judge']
SELECT DISTINCT ?k WHERE { ?k property:position_held resource:judge . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2563 Q239235 Q1716914
P166
Q618779
USER
Which awards were received by Roman Herzog, Louise Arbour and Karl Korinek ?
(Q2563,P166,c(Q618779)) (Q239235,P166,c(Q618779)) (Q1716914,P166,c(Q618779))
action union
action filter_type
action find
entity Q2563
relation P166
type Q618779
action filter_type
action find
entity Q239235
relation P166
type Q618779
action filter_type
action find
entity Q1716914
relation P166
type Q618779
['Q2563', 'P166', {'concept': 'Q618779'}] ['Q239235', 'P166', {'concept': 'Q618779'}] ['Q1716914', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?z ) { ( resource:Q239235 ) ( resource:Q2563 ) } . ?z property:P166 ?t }
Roman Herzog Louise Arbour Karl Korinek
action union
action filter_type
action find
entity Roman Herzog
relation award received
type award
action filter_type
action find
entity Louise Arbour
relation award received
type award
action filter_type
action find
entity Karl Korinek
relation award received
type award
['Roman Herzog', 'award received', {'concept': 'award'}] ['Louise Arbour', 'award received', {'concept': 'award'}] ['Karl Korinek', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?z ) { ( resource:Louise_Arbour ) ( resource:Roman_Herzog ) } . ?z property:award_received ?t }
[]
award
Q1818440 Q445673 Q18608365
SYSTEM
German Leo Baeck Award, Order of Merit of Baden-Württemberg, Knight Grand Cross of the Order of St. Sylvester
Q1818440 Q445673 Q152337 Q15464509 Q10905171 Q18608365
(Q2563,P166,c(Q618779)) (Q239235,P166,c(Q618779)) (Q1716914,P166,c(Q618779))
action union
action filter_type
action find
entity Q2563
relation P166
type Q618779
action filter_type
action find
entity Q239235
relation P166
type Q618779
action filter_type
action find
entity Q1716914
relation P166
type Q618779
[ANSWERS] were received by Roman Herzog, Louise Arbour and Karl Korinek
['Q2563', 'P166', {'concept': 'Q618779'}] ['Q239235', 'P166', {'concept': 'Q618779'}] ['Q1716914', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?z ) { ( resource:Q239235 ) ( resource:Q2563 ) } . ?z property:P166 ?t }
German Leo Baeck Award Order of Merit of Baden-Württemberg Charlemagne Prize Grand Officer of the National Order of Quebec Grand Cross of the Order of Merit of the Federal Republic of Germany Knight Grand Cross of the Order of St. Sylvester
German Leo Baeck Award, Order of Merit of Baden-Württemberg and Knight Grand Cross of the Order of St. Sylvester were received by Roman Herzog, Louise Arbour and Karl Korinek
German Leo Baeck Award Order of Merit of Baden-Württemberg Knight Grand Cross of the Order of St. Sylvester
action union
action filter_type
action find
entity Roman Herzog
relation award received
type award
action filter_type
action find
entity Louise Arbour
relation award received
type award
action filter_type
action find
entity Karl Korinek
relation award received
type award
['Roman Herzog', 'award received', {'concept': 'award'}] ['Louise Arbour', 'award received', {'concept': 'award'}] ['Karl Korinek', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?z ) { ( resource:Louise_Arbour ) ( resource:Roman_Herzog ) } . ?z property:award_received ?t }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1818440
P1028
Q43229
USER
Who gives that award in charity ?
(Q1818440,P1028,c(Q43229))
action filter_type
action find
entity Q1818440
relation P1028
type Q43229
['Q1818440', 'P1028', {'concept': 'Q43229'}]
SELECT DISTINCT ?d WHERE { resource:Q1818440 property:P1028 ?d . ?d rdf:type ontology:Q43229 }
German Leo Baeck Award
action filter_type
action find
entity German Leo Baeck Award
relation donated by
type organization
['German Leo Baeck Award', 'donated by', {'concept': 'organization'}]
SELECT DISTINCT ?d WHERE { resource:German_Leo_Baeck_Award property:donated_by ?d . ?d rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q1818440
SYSTEM
Did you mean German Leo Baeck Award ?
Q1818440 Q445673 Q18608365
(Q1818440,P1028,c(Q43229)) (Q445673,P1028,c(Q43229)) (Q18608365,P1028,c(Q43229))
[ANSWER]
['Q1818440', 'P1028', {'concept': 'Q43229'}] ['Q445673', 'P1028', {'concept': 'Q43229'}] ['Q18608365', 'P1028', {'concept': 'Q43229'}]
SELECT DISTINCT ?d WHERE { resource:Q1818440 property:P1028 ?d . ?d rdf:type ontology:Q43229 }
German Leo Baeck Award Order of Merit of Baden-Württemberg Knight Grand Cross of the Order of St. Sylvester
Did you mean German Leo Baeck Award ?
German Leo Baeck Award
['German Leo Baeck Award', 'donated by', {'concept': 'organization'}] ['Order of Merit of Baden-Württemberg', 'donated by', {'concept': 'organization'}] ['Knight Grand Cross of the Order of St. Sylvester', 'donated by', {'concept': 'organization'}]
SELECT DISTINCT ?d WHERE { resource:German_Leo_Baeck_Award property:donated_by ?d . ?d rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1818440,P1028,c(Q43229))
['Q1818440', 'P1028', {'concept': 'Q43229'}]
['German Leo Baeck Award', 'donated by', {'concept': 'organization'}]
[]
Q190742
SYSTEM
Zentralrat der Juden in Deutschland
Q190742
(Q1818440,P1028,c(Q43229))
action filter_type
action find
entity Q1818440
relation P1028
type Q43229
[ANSWER] gives that award in charity
['Q1818440', 'P1028', {'concept': 'Q43229'}]
SELECT DISTINCT ?d WHERE { resource:Q1818440 property:P1028 ?d . ?d rdf:type ontology:Q43229 }
Zentralrat der Juden in Deutschland
Zentralrat der Juden in Deutschland gives that award in charity
Zentralrat der Juden in Deutschland
action filter_type
action find
entity German Leo Baeck Award
relation donated by
type organization
['German Leo Baeck Award', 'donated by', {'concept': 'organization'}]
SELECT DISTINCT ?d WHERE { resource:German_Leo_Baeck_Award property:donated_by ?d . ?d rdf:type ontology:organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q5454793
P137
Q43229 Q1076486
USER
Which sports venues were managed by more number of organizations than Fisher Field ?
(c(Q1076486),P137,c(Q43229))
action greater
action find_tuple_counts
relation P137
type Q1076486
type Q43229
action count
action filter_type
action find
entity Q5454793
relation P137
type Q1076486
[{'concept': 'Q1076486'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?v ) WHERE { ?i property:P137 ?l . ?i rdf:type ontology:Q1076486 . ?l rdf:type ontology:Q43229 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q5454793 property:P137 ?a . ?a rdf:type ontology:Q1076486 } } . FILTER ( ?v > ?j ) }
Fisher Field
action greater
action find_tuple_counts
relation operator
type sports venue
type organization
action count
action filter_type
action find
entity Fisher Field
relation operator
type sports venue
[{'concept': 'sports venue'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?v ) WHERE { ?i property:operator ?l . ?i rdf:type ontology:sports_venue . ?l rdf:type ontology:organization } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Fisher_Field property:operator ?a . ?a rdf:type ontology:sports_venue } } . FILTER ( ?v > ?j ) }
[]
organization sports venue
Q824352 Q2701834 Q3113144
SYSTEM
Ullevi, Tele2 Arena, Pratt & Whitney Stadium
Q7382688 Q4840857 Q995161 Q5468640 Q15983572 Q494766 Q7017412 Q5435127 Q5364202 Q2701834 Q1851216 Q6411211 Q5206120 Q5206123 Q991407 Q824352 Q640215 Q181398 Q83457 Q4968564 Q756433 Q261863 Q29726 Q11324364 Q2035401 Q3113144 Q14935428 Q7320821 Q11324358 Q999781 Q11676824 Q200684 Q373355 Q761682 Q151374 Q155174
(c(Q1076486),P137,c(Q43229))
action greater
action find_tuple_counts
relation P137
type Q1076486
type Q43229
action count
action filter_type
action find
entity Q5454793
relation P137
type Q1076486
[ANSWERS] were managed by more number of organizations than Fisher Field
[{'concept': 'Q1076486'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?v ) WHERE { ?i property:P137 ?l . ?i rdf:type ontology:Q1076486 . ?l rdf:type ontology:Q43229 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q5454793 property:P137 ?a . ?a rdf:type ontology:Q1076486 } } . FILTER ( ?v > ?j ) }
Rusutsu Resort Badger Pass Ski Area Bryant–Denny Stadium Foreman Field Shaheed Mohtarama Benazir Bhutto International Cricket Stadium Home's Stadium Kobe Newcastle Entertainment Centre Fargodome The O2 Arena Tele2 Arena Sydney Super Dome King Abdullah Sports City DSC Hockey Stadium DSC Multi-Purpose Stadium Estadio El Teniente Ullevi Tandå valley Loftus Versfeld Stadium Old Trafford Brisbane Entertainment Centre University of Phoenix Stadium HP Pavilion at San Jose Sydney Entertainment Centre Niseko Village Perth Arena Pratt & Whitney Stadium Gold Coast Convention and Exhibition Centre Rhoads Stadium Niseko Mt. Resort Grand Hirafu Toyota Park Kagoshima Kamoike Stadium The Home Depot Center Gillette Stadium Red Bull Arena Olympiastadion Berlin Estádio do Maracanã
Ullevi, Tele2 Arena and Pratt & Whitney Stadium were managed by more number of organizations than Fisher Field
Ullevi Tele2 Arena Pratt & Whitney Stadium
action greater
action find_tuple_counts
relation operator
type sports venue
type organization
action count
action filter_type
action find
entity Fisher Field
relation operator
type sports venue
[{'concept': 'sports venue'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?v ) WHERE { ?i property:operator ?l . ?i rdf:type ontology:sports_venue . ?l rdf:type ontology:organization } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Fisher_Field property:operator ?a . ?a rdf:type ontology:sports_venue } } . FILTER ( ?v > ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7242537
P137
Q43229 Q1076486
USER
And how about Priboj City Stadium?
(c(Q1076486),P137,c(Q43229))
action greater
action find_tuple_counts
relation P137
type Q1076486
type Q43229
action count
action filter_type
action find
entity Q7242537
relation P137
type Q1076486
[{'concept': 'Q1076486'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?i ) WHERE { ?r property:P137 ?g . ?r rdf:type ontology:Q1076486 . ?g rdf:type ontology:Q43229 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Q7242537 property:P137 ?n . ?n rdf:type ontology:Q1076486 } } . FILTER ( ?i > ?w ) }
Priboj City Stadium
action greater
action find_tuple_counts
relation operator
type sports venue
type organization
action count
action filter_type
action find
entity Priboj City Stadium
relation operator
type sports venue
[{'concept': 'sports venue'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?i ) WHERE { ?r property:operator ?g . ?r rdf:type ontology:sports_venue . ?g rdf:type ontology:organization } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Priboj_City_Stadium property:operator ?n . ?n rdf:type ontology:sports_venue } } . FILTER ( ?i > ?w ) }
[]
organization sports venue
Q824352 Q2701834 Q3113144
SYSTEM
Ullevi, Tele2 Arena, Pratt & Whitney Stadium
Q7382688 Q4840857 Q995161 Q5468640 Q15983572 Q494766 Q7017412 Q5435127 Q5364202 Q2701834 Q1851216 Q6411211 Q5206120 Q5206123 Q991407 Q824352 Q640215 Q181398 Q83457 Q4968564 Q756433 Q261863 Q29726 Q11324364 Q2035401 Q3113144 Q14935428 Q7320821 Q11324358 Q999781 Q11676824 Q200684 Q373355 Q761682 Q151374 Q155174
(c(Q1076486),P137,c(Q43229))
action greater
action find_tuple_counts
relation P137
type Q1076486
type Q43229
action count
action filter_type
action find
entity Q7242537
relation P137
type Q1076486
[ANSWERS]
[{'concept': 'Q1076486'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?i ) WHERE { ?r property:P137 ?g . ?r rdf:type ontology:Q1076486 . ?g rdf:type ontology:Q43229 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Q7242537 property:P137 ?n . ?n rdf:type ontology:Q1076486 } } . FILTER ( ?i > ?w ) }
Rusutsu Resort Badger Pass Ski Area Bryant–Denny Stadium Foreman Field Shaheed Mohtarama Benazir Bhutto International Cricket Stadium Home's Stadium Kobe Newcastle Entertainment Centre Fargodome The O2 Arena Tele2 Arena Sydney Super Dome King Abdullah Sports City DSC Hockey Stadium DSC Multi-Purpose Stadium Estadio El Teniente Ullevi Tandå valley Loftus Versfeld Stadium Old Trafford Brisbane Entertainment Centre University of Phoenix Stadium HP Pavilion at San Jose Sydney Entertainment Centre Niseko Village Perth Arena Pratt & Whitney Stadium Gold Coast Convention and Exhibition Centre Rhoads Stadium Niseko Mt. Resort Grand Hirafu Toyota Park Kagoshima Kamoike Stadium The Home Depot Center Gillette Stadium Red Bull Arena Olympiastadion Berlin Estádio do Maracanã
Ullevi Tele2 Arena Pratt & Whitney Stadium
action greater
action find_tuple_counts
relation operator
type sports venue
type organization
action count
action filter_type
action find
entity Priboj City Stadium
relation operator
type sports venue
[{'concept': 'sports venue'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?g ) AS ?i ) WHERE { ?r property:operator ?g . ?r rdf:type ontology:sports_venue . ?g rdf:type ontology:organization } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { resource:Priboj_City_Stadium property:operator ?n . ?n rdf:type ontology:sports_venue } } . FILTER ( ?i > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2739617
P193
Q43229 Q4830453 Q1076486
USER
Which sports venues were built by lesser number of organizations or business enterprises than Carrier Dome ?
(c(Q1076486),P193,c(Q43229)|c(Q4830453))
action less
action union
action find_tuple_counts
relation P193
type Q1076486
type Q43229
action find_tuple_counts
relation P193
type Q1076486
type Q4830453
action count
action filter_multi_types
action find
entity Q2739617
relation P193
type Q43229
type Q4830453
[{'concept': 'Q1076486'}, 'P193', [{'concept': 'Q43229'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q2739617 property:P193 ?o . { { ?o rdf:type ontology:Q43229 } UNION { ?o rdf:type ontology:Q4830453 } } } } . FILTER ( ?a < ?g ) . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?a ) WHERE { { ?v property:P193 ?j . ?v rdf:type ontology:Q1076486 . ?j rdf:type ontology:Q4830453 } UNION { ?v property:P193 ?j . ?v rdf:type ontology:Q1076486 . ?j rdf:type ontology:Q43229 } } GROUP BY ?v } }
Carrier Dome
action less
action union
action find_tuple_counts
relation main building contractor
type sports venue
type organization
action find_tuple_counts
relation main building contractor
type sports venue
type business enterprise
action count
action filter_multi_types
action find
entity Carrier Dome
relation main building contractor
type organization
type business enterprise
[{'concept': 'sports venue'}, 'main building contractor', [{'concept': 'organization'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Carrier_Dome property:main_building_contractor ?o . { { ?o rdf:type ontology:organization } UNION { ?o rdf:type ontology:business_enterprise } } } } . FILTER ( ?a < ?g ) . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?a ) WHERE { { ?v property:main_building_contractor ?j . ?v rdf:type ontology:sports_venue . ?j rdf:type ontology:business_enterprise } UNION { ?v property:main_building_contractor ?j . ?v rdf:type ontology:sports_venue . ?j rdf:type ontology:organization } } GROUP BY ?v } }
[]
organization business enterprise sports venue
Q1545870 Q375365 Q1737017
SYSTEM
Veterans Stadium, Giants Stadium, Kauffman Stadium
Q5904353 Q945223 Q1545870 Q5583470 Q7406284 Q6990777 Q3554494 Q2837990 Q583085 Q2409690 Q2522000 Q375365 Q8021099 Q7675049 Q5580327 Q482441 Q1194586 Q3183551 Q1133538 Q1737017
(c(Q1076486),P193,c(Q43229)|c(Q4830453))
action less
action union
action find_tuple_counts
relation P193
type Q1076486
type Q43229
action find_tuple_counts
relation P193
type Q1076486
type Q4830453
action count
action filter_multi_types
action find
entity Q2739617
relation P193
type Q43229
type Q4830453
[ANSWERS] were built by lesser number of organizations or business enterprises than Carrier Dome
[{'concept': 'Q1076486'}, 'P193', [{'concept': 'Q43229'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q2739617 property:P193 ?o . { { ?o rdf:type ontology:Q43229 } UNION { ?o rdf:type ontology:Q4830453 } } } } . FILTER ( ?a < ?g ) . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?a ) WHERE { { ?v property:P193 ?j . ?v rdf:type ontology:Q1076486 . ?j rdf:type ontology:Q4830453 } UNION { ?v property:P193 ?j . ?v rdf:type ontology:Q1076486 . ?j rdf:type ontology:Q43229 } } GROUP BY ?v } }
Hornet Stadium Kyle Field Veterans Stadium Goodman Stadium Saluki Stadium Nelson W. Wolff Municipal Stadium Vanderbilt Stadium Alliance Bank Stadium FedExField Martin Stadium Estadio Nacional de Costa Rica Giants Stadium Williams Stadium Taft Stadium Goldsmith–Schiffman Field Daegu Stadium Petco Park Jones AT&T Stadium Scott Stadium Kauffman Stadium
Veterans Stadium, Giants Stadium and Kauffman Stadium were built by lesser number of organizations or business enterprises than Carrier Dome
Veterans Stadium Giants Stadium Kauffman Stadium
action less
action union
action find_tuple_counts
relation main building contractor
type sports venue
type organization
action find_tuple_counts
relation main building contractor
type sports venue
type business enterprise
action count
action filter_multi_types
action find
entity Carrier Dome
relation main building contractor
type organization
type business enterprise
[{'concept': 'sports venue'}, 'main building contractor', [{'concept': 'organization'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Carrier_Dome property:main_building_contractor ?o . { { ?o rdf:type ontology:organization } UNION { ?o rdf:type ontology:business_enterprise } } } } . FILTER ( ?a < ?g ) . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?a ) WHERE { { ?v property:main_building_contractor ?j . ?v rdf:type ontology:sports_venue . ?j rdf:type ontology:business_enterprise } UNION { ?v property:main_building_contractor ?j . ?v rdf:type ontology:sports_venue . ?j rdf:type ontology:organization } } GROUP BY ?v } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1545870
P641
Q349
USER
What sports were that sports venue a part of ?
(Q1545870,P641,c(Q349))
action filter_type
action find
entity Q1545870
relation P641
type Q349
['Q1545870', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q1545870 property:P641 ?y . ?y rdf:type ontology:Q349 }
Veterans Stadium
action filter_type
action find
entity Veterans Stadium
relation sport
type sport
['Veterans Stadium', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Veterans_Stadium property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q375365
SYSTEM
Did you mean Giants Stadium ?
Q1545870 Q375365 Q1737017
(Q1545870,P641,c(Q349)) (Q375365,P641,c(Q349)) (Q1737017,P641,c(Q349))
[ANSWER]
['Q1545870', 'P641', {'concept': 'Q349'}] ['Q375365', 'P641', {'concept': 'Q349'}] ['Q1737017', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q1545870 property:P641 ?y . ?y rdf:type ontology:Q349 }
Veterans Stadium Giants Stadium Kauffman Stadium
Did you mean Giants Stadium ?
Giants Stadium
['Veterans Stadium', 'sport', {'concept': 'sport'}] ['Giants Stadium', 'sport', {'concept': 'sport'}] ['Kauffman Stadium', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Veterans_Stadium property:sport ?y . ?y rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Veterans Stadium. Could you tell me the answer for that?
(Q1545870,P641,c(Q349))
Q1545870
['Q1545870', 'P641', {'concept': 'Q349'}]
['Veterans Stadium', 'sport', {'concept': 'sport'}]
[]
Q41323 Q5369
SYSTEM
American football, baseball
Q41323 Q5369
(Q1545870,P641,c(Q349))
action filter_type
action find
entity Q1545870
relation P641
type Q349
That sports venue were [ANSWERS]
['Q1545870', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q1545870 property:P641 ?y . ?y rdf:type ontology:Q349 }
American football baseball
That sports venue were American football and baseball
American football baseball
action filter_type
action find
entity Veterans Stadium
relation sport
type sport
['Veterans Stadium', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Veterans_Stadium property:sport ?y . ?y rdf:type ontology:sport }
[]