Simple Question (Direct)
Simple Question
Q72238
P172
Q2472587
USER
Which ethnic group does Georg Steindorff belong ?
(Q72238,P172,c(Q2472587))
action filter_type
action find
entity Q72238
relation P172
type Q2472587
['Q72238', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2472587 . resource:Q72238 property:P172 ?o }
Georg Steindorff
action filter_type
action find
entity Georg Steindorff
relation ethnic group
type people
['Georg Steindorff', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:people . resource:Georg_Steindorff property:ethnic_group ?o }
[]
people
Q42884
SYSTEM
Germans
Q42884
(Q72238,P172,c(Q2472587))
action filter_type
action find
entity Q72238
relation P172
type Q2472587
Georg Steindorff belongs to [ANSWER]
['Q72238', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q2472587 . resource:Q72238 property:P172 ?o }
Germans
Georg Steindorff belongs to Germans
Germans
action filter_type
action find
entity Georg Steindorff
relation ethnic group
type people
['Georg Steindorff', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:people . resource:Georg_Steindorff property:ethnic_group ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42884
P710
Q180684
USER
What event was that people a participant of ?
(c(Q180684),P710,Q42884)
action filter_type
action find_reverse
entity Q42884
relation P710
type Q180684
[{'concept': 'Q180684'}, 'P710', 'Q42884']
SELECT DISTINCT ?f WHERE { ?f property:P710 resource:Q42884 . ?f rdf:type ontology:Q180684 }
Germans
action filter_type
action find_reverse
entity Germans
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Germans']
SELECT DISTINCT ?f WHERE { ?f property:participant resource:Germans . ?f rdf:type ontology:conflict }
[]
conflict
Q23661625
SYSTEM
1439 uprising in Buda
Q23661625
(c(Q180684),P710,Q42884)
action filter_type
action find_reverse
entity Q42884
relation P710
type Q180684
What event was that people a participant of
[{'concept': 'Q180684'}, 'P710', 'Q42884']
SELECT DISTINCT ?f WHERE { ?f property:P710 resource:Q42884 . ?f rdf:type ontology:Q180684 }
1439 uprising in Buda
What event was that people a participant of
1439 uprising in Buda
action filter_type
action find_reverse
entity Germans
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Germans']
SELECT DISTINCT ?f WHERE { ?f property:participant resource:Germans . ?f rdf:type ontology:conflict }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q350604 Q180684
USER
Which armed conflicts are approximately 12 conflicts a component of ?
(c(Q180684),P361,c(Q350604))
action approx
action find_tuple_counts
relation P361
type Q350604
type Q180684
value 12
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?x = 12 ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?x ) WHERE { ?y property:P361 ?h . ?y rdf:type ontology:Q350604 . ?h rdf:type ontology:Q180684 } GROUP BY ?y } }
action approx
action find_tuple_counts
relation part of
type armed conflict
type conflict
value 12
[{'concept': 'conflict'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?x = 12 ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?x ) WHERE { ?y property:part_of ?h . ?y rdf:type ontology:armed_conflict . ?h rdf:type ontology:conflict } GROUP BY ?y } }
[]
armed conflict conflict
Q181533 Q170314
SYSTEM
Bosnian War, Second Sino-Japanese War
Q181533 Q170314
(c(Q180684),P361,c(Q350604))
action approx
action find_tuple_counts
relation P361
type Q350604
type Q180684
value 12
[ANSWERS] are approximately 12 conflicts a component of
[{'concept': 'Q180684'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?x = 12 ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?x ) WHERE { ?y property:P361 ?h . ?y rdf:type ontology:Q350604 . ?h rdf:type ontology:Q180684 } GROUP BY ?y } }
Bosnian War Second Sino-Japanese War
Bosnian War and Second Sino-Japanese War are approximately 12 conflicts a component of
Bosnian War Second Sino-Japanese War
action approx
action find_tuple_counts
relation part of
type armed conflict
type conflict
value 12
[{'concept': 'conflict'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?x = 12 ) . { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?x ) WHERE { ?y property:part_of ?h . ?y rdf:type ontology:armed_conflict . ?h rdf:type ontology:conflict } GROUP BY ?y } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P361
Q350604
USER
How many armed conflicts are that armed conflict a portion of ?
(Q170314,P361,c(Q350604))
['Q170314', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q170314 property:P361 ?z . ?z rdf:type ontology:Q350604 }
['Second Sino-Japanese War', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Second_Sino-Japanese_War property:part_of ?z . ?z rdf:type ontology:armed_conflict }
[]
armed conflict
Quantitative|Count|Single entity type|Clarification
Q170314
SYSTEM
Did you mean Second Sino-Japanese War ?
(Q181533,P361,c(Q350604)) (Q170314,P361,c(Q350604))
[ANSWER]
['Q181533', 'P361', {'concept': 'Q350604'}] ['Q170314', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q170314 property:P361 ?z . ?z rdf:type ontology:Q350604 }
Did you mean Second Sino-Japanese War ?
Second Sino-Japanese War
['Bosnian War', 'part of', {'concept': 'armed conflict'}] ['Second Sino-Japanese War', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Second_Sino-Japanese_War property:part_of ?z . ?z rdf:type ontology:armed_conflict }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q170314,P361,c(Q350604))
['Q170314', 'P361', {'concept': 'Q350604'}]
['Second Sino-Japanese War', 'part of', {'concept': 'armed conflict'}]
[]
SYSTEM
1
Q184425
(Q170314,P361,c(Q350604))
[ANSWER]
['Q170314', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q170314 property:P361 ?z . ?z rdf:type ontology:Q350604 }
Pacific War
1
['Second Sino-Japanese War', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Second_Sino-Japanese_War property:part_of ?z . ?z rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181533
P607
Q502895
USER
Which people did Bosnian War fight in ?
(c(Q502895),P607,Q181533)
action filter_type
action find_reverse
entity Q181533
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q181533']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P607 resource:Q181533 }
Bosnian War
action filter_type
action find_reverse
entity Bosnian War
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Bosnian War']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:conflict resource:Bosnian_War }
[]
common name
Q22666795 Q16474356 Q706347
SYSTEM
Christian Piquemal, Igor Strelkov, Paul Ray Smith
Q14954575 Q5524903 Q4931143 Q335460 Q6249246 Q276819 Q5040040 Q7032611 Q7026072 Q6471243 Q6181127 Q22666795 Q21066086 Q8014196 Q19646067 Q16474356 Q10855260 Q361189 Q3026030 Q4494838 Q5334728 Q4342663 Q4910699 Q1284176 Q2420414 Q3376537 Q6850548 Q5344258 Q12295859 Q6073458 Q17708970 Q4117132 Q13081228 Q1270169 Q4773335 Q6133545 Q7152089 Q4684883 Q1285208 Q5238506 Q6835349 Q1289566 Q716049 Q6243243 Q26647 Q4888261 Q3063520 Q7026864 Q4756950 Q6116781 Q5645394 Q17045790 Q2342486 Q983894 Q5105994 Q706347 Q6143023 Q4663723 Q119368 Q949179 Q6791293 Q2656947 Q6085072 Q7490769
(c(Q502895),P607,Q181533)
action filter_type
action find_reverse
entity Q181533
relation P607
type Q502895
Bosnian War fought in the [ANSWERS]
[{'concept': 'Q502895'}, 'P607', 'Q181533']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P607 resource:Q181533 }
Robin Brims Gary Coward Bo Pellnäs Ibn al-Khattab John Moore-Bick Ljubiša Savić Carl Dixon Nigel Richards Nicholas Pope Mehmed Alagić Jeremy Blackham Christian Piquemal Nick Welch William L. Nash Brigadier Rupert Jones Igor Strelkov Spomenko Gostić Naser Orić Michael Rose Mustafa Hajrulahović Talijan Ed Davis Avdo Palić Bill Rollo Momčilo Perišić Walter Natynczyk Peter Devlin Milan Gvero Edward M. Flint Srđan Knežević Peter Pearson Bernard Barrera Richard Kemp Amir Kubura Slobodan Praljak Anthony Raper James Everard Paul Luker Adrian Bradshaw Sefer Halilović David Pennefather Michael Willcocks Milorad Ulemek Jovan Divjak John Kiszely Zdravko Tolimir Benjamin Bathurst Fabian Malbon Nick Carter Andrew Figgures Jacko Page Hamish Rollo Hulusi Akar Momir Talić Vujadin Popović Chris Brown Paul Ray Smith James Shaw Abbas Ali Khan Vidoje Blagojević Andrew Ridgway Matthew Sykes Blaž Kraljević Ismet Đuherić Shaukat Sultan
Bosnian War fought in the Christian Piquemal, Igor Strelkov and Paul Ray Smith
Christian Piquemal Igor Strelkov Paul Ray Smith
action filter_type
action find_reverse
entity Bosnian War
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Bosnian War']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:conflict resource:Bosnian_War }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181533
P921
Q838948
USER
What are Bosnian War a main subject of ?
(c(Q838948),P921,Q181533)
action filter_type
action find_reverse
entity Q181533
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q181533']
SELECT DISTINCT ?s WHERE { ?s property:P921 resource:Q181533 . ?s rdf:type ontology:Q838948 }
Bosnian War
action filter_type
action find_reverse
entity Bosnian War
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Bosnian War']
SELECT DISTINCT ?s WHERE { ?s property:main_subject resource:Bosnian_War . ?s rdf:type ontology:work_of_art }
[]
work of art
Q12754266 Q244900 Q845235
SYSTEM
Circles, On the Path, No Man's Land
Q12754266 Q244900 Q845235
(c(Q838948),P921,Q181533)
action filter_type
action find_reverse
entity Q181533
relation P921
type Q838948
Bosnian War a main subject of are The [ANSWERS]
[{'concept': 'Q838948'}, 'P921', 'Q181533']
SELECT DISTINCT ?s WHERE { ?s property:P921 resource:Q181533 . ?s rdf:type ontology:Q838948 }
Circles On the Path No Man's Land
Bosnian War a main subject of are The Circles, On the Path and No Man's Land
Circles On the Path No Man's Land
action filter_type
action find_reverse
entity Bosnian War
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Bosnian War']
SELECT DISTINCT ?s WHERE { ?s property:main_subject resource:Bosnian_War . ?s rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q12754266 Q244900 Q845235
P495
Q15617994
USER
Where did those works of art originate ?
(Q12754266,P495,c(Q15617994)) (Q244900,P495,c(Q15617994)) (Q845235,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
['Q12754266', 'P495', {'concept': 'Q15617994'}] ['Q244900', 'P495', {'concept': 'Q15617994'}] ['Q845235', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . ?j property:P495 ?g . VALUES ( ?j ) { ( resource:Q12754266 ) ( resource:Q244900 ) ( resource:Q845235 ) } }
Circles On the Path No Man's Land
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Circles', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['On the Path', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["No Man's Land", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:country_of_origin ?g . VALUES ( ?j ) { ( resource:Circles ) ( resource:On_the_Path ) ( resource:No_Man's_Land ) } }
[]
designation for an administrative territorial entity
Q38 Q142 Q142
SYSTEM
France for 2nd, 3rd, Italy for 1st
Q403 Q142 Q224 Q215 Q225 Q224 Q142 Q225 Q145 Q215 Q31 Q38
(Q12754266,P495,c(Q15617994)) (Q244900,P495,c(Q15617994)) (Q845235,P495,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P495
type Q15617994
[ANSWERS]
['Q12754266', 'P495', {'concept': 'Q15617994'}] ['Q244900', 'P495', {'concept': 'Q15617994'}] ['Q845235', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . ?j property:P495 ?g . VALUES ( ?j ) { ( resource:Q12754266 ) ( resource:Q244900 ) ( resource:Q845235 ) } }
Serbia France Croatia Slovenia Bosnia and Herzegovina Croatia France Bosnia and Herzegovina United Kingdom Slovenia Belgium Italy
Those works of art originated from Italy, France and France
Italy France France
action filter_type
action find
entity prev_answer
relation country of origin
type designation for an administrative territorial entity
['Circles', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['On the Path', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ["No Man's Land", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:country_of_origin ?g . VALUES ( ?j ) { ( resource:Circles ) ( resource:On_the_Path ) ( resource:No_Man's_Land ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q142
P163
Q14660
USER
What is associated with that administrative territory ?
(Q142,P163,c(Q14660))
action filter_type
action find
entity Q142
relation P163
type Q14660
['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?l WHERE { resource:Q142 property:P163 ?l . ?l rdf:type ontology:Q14660 }
France
action filter_type
action find
entity France
relation flag
type flag
['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?l WHERE { resource:France property:flag ?l . ?l rdf:type ontology:flag }
[]
flag
Clarification for simple ques.
Q142
SYSTEM
Did you mean France ?
Q38 Q142 Q142
(Q38,P163,c(Q14660)) (Q142,P163,c(Q14660)) (Q142,P163,c(Q14660))
[ANSWER]
['Q38', 'P163', {'concept': 'Q14660'}] ['Q142', 'P163', {'concept': 'Q14660'}] ['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?l WHERE { resource:Q142 property:P163 ?l . ?l rdf:type ontology:Q14660 }
Italy France France
Did you mean France ?
France
['Italy', 'flag', {'concept': 'flag'}] ['France', 'flag', {'concept': 'flag'}] ['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?l WHERE { resource:France property:flag ?l . ?l rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
USER
Yes
(Q142,P163,c(Q14660))
['Q142', 'P163', {'concept': 'Q14660'}]
['France', 'flag', {'concept': 'flag'}]
[]
Q43192
SYSTEM
Flag of France
Q43192
(Q142,P163,c(Q14660))
action filter_type
action find
entity Q142
relation P163
type Q14660
France [ANSWER] is associated with that administrative territory
['Q142', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?l WHERE { resource:Q142 property:P163 ?l . ?l rdf:type ontology:Q14660 }
Flag of France
France Flag of France is associated with that administrative territory
Flag of France
action filter_type
action find
entity France
relation flag
type flag
['France', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?l WHERE { resource:France property:flag ?l . ?l rdf:type ontology:flag }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q241358
P206
Q337567 Q355304 Q15617994
USER
How many administrative territories are situated in the neighbourhood of approximately the same number of still waterss or watercourses as Schleiden ?
(c(Q15617994),P206,c(Q337567)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q241358
relation P206
type Q337567
type Q355304
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?u WHERE { VALUES ( ?x ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?c rdf:type ?x } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { { ?s rdf:type ontology:Q337567 } UNION { ?s rdf:type ontology:Q355304 } } . resource:Q241358 property:P206 ?s } } . FILTER ( ?d = ?o ) }
Schleiden
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Schleiden
relation located next to body of water
type still waters
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?u WHERE { VALUES ( ?x ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?c rdf:type ?x } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { { ?s rdf:type ontology:still_waters } UNION { ?s rdf:type ontology:watercourse } } . resource:Schleiden property:located_next_to_body_of_water ?s } } . FILTER ( ?d = ?o ) }
[]
still waters watercourse designation for an administrative territorial entity
SYSTEM
79
Q104577 Q31872 Q572949 Q267993 Q525864 Q801 Q487328 Q47585 Q241358 Q6237 Q525945 Q14859 Q1650693 Q503693 Q4391124 Q664950 Q528579 Q493924 Q555609 Q491751 Q10903 Q11343 Q14825 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q6685 Q252772 Q104192 Q255698 Q681329 Q1984541 Q621469 Q3088406 Q690219 Q917406 Q548982 Q2043234 Q42265 Q14889 Q347 Q338094 Q3939 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q507258 Q269010 Q262684 Q573230 Q3923 Q174307 Q522992 Q20267 Q522677 Q194136 Q257859 Q252320 Q251778 Q53742 Q526087 Q7561974 Q2758 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q7942378 Q47612
(c(Q15617994),P206,c(Q337567)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q241358
relation P206
type Q337567
type Q355304
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?u WHERE { VALUES ( ?x ) { ( ontology:Q355304 ) ( ontology:Q337567 ) } . ?c rdf:type ?x } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { { ?s rdf:type ontology:Q337567 } UNION { ?s rdf:type ontology:Q355304 } } . resource:Q241358 property:P206 ?s } } . FILTER ( ?d = ?o ) }
Desenzano del Garda Moosburg an der Isar Solnhofen Muhr am See Höttingen Israel Marktl Garda Schleiden Lecco Pfofeld Ansbach Niamey III Riedenburg Rakhlitsy Loddin Wörth an der Isar Pasewalk Magdala Pfatter Finnentrop Wetter (Ruhr) Memmingen Bellagio Fischen South Bay Shillingford Yepifan Dorfhain Eichstätt Kleinmachnow Abensberg Dümmer Niamey II Wennigsen Front de Seine Perlin Niamey V Heidenheim Almere Buiten Abbadia Lariana Schwabach Liechtenstein Polsingen Dinslaken Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kipfenberg Neustadt an der Donau Füssen Beilngries Bayreuth Essing Braunlage Schwarz Nassenfels Riva del Garda Cham Pleinfeld Vohburg Donauwörth Nennslingen Sonning Eye Mönchengladbach Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Voxna Domaso
79
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Schleiden
relation located next to body of water
type still waters
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) ?u WHERE { VALUES ( ?x ) { ( ontology:watercourse ) ( ontology:still_waters ) } . ?c rdf:type ?x } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { { ?s rdf:type ontology:still_waters } UNION { ?s rdf:type ontology:watercourse } } . resource:Schleiden property:located_next_to_body_of_water ?s } } . FILTER ( ?d = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q884
P206
Q337567 Q355304 Q15617994
USER
And what about South Korea?
(c(Q15617994),P206,c(Q337567)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q884
relation P206
type Q337567
type Q355304
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?l WHERE { { ?l property:P206 ?m . ?l rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q337567 } UNION { ?m rdf:type ontology:Q355304 . ?l rdf:type ontology:Q15617994 . ?l property:P206 ?m } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q884 property:P206 ?i . { { ?i rdf:type ontology:Q337567 } UNION { ?i rdf:type ontology:Q355304 } } } } . FILTER ( ?g = ?d ) }
South Korea
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity South Korea
relation located next to body of water
type still waters
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?l WHERE { { ?l property:located_next_to_body_of_water ?m . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:still_waters } UNION { ?m rdf:type ontology:watercourse . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:located_next_to_body_of_water ?m } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:South_Korea property:located_next_to_body_of_water ?i . { { ?i rdf:type ontology:still_waters } UNION { ?i rdf:type ontology:watercourse } } } } . FILTER ( ?g = ?d ) }
[]
still waters watercourse designation for an administrative territorial entity
SYSTEM
120
Q21111 Q505785 Q104577 Q446425 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q55 Q801 Q487328 Q47585 Q1604782 Q6237 Q2316529 Q525945 Q14859 Q508863 Q568926 Q1650693 Q1009384 Q657 Q622487 Q4628 Q503693 Q4391124 Q884 Q664950 Q528579 Q493924 Q555609 Q161258 Q10903 Q11343 Q263451 Q442666 Q3111694 Q216422 Q244095 Q532046 Q7566251 Q7496670 Q307508 Q34 Q38 Q6685 Q3352704 Q252772 Q769680 Q519663 Q2360428 Q255698 Q236 Q681329 Q1984541 Q560870 Q20 Q621469 Q29 Q3088406 Q690219 Q917406 Q511806 Q548982 Q3038 Q2043234 Q42265 Q225 Q224 Q222 Q14889 Q229 Q347 Q17 Q338094 Q3939 Q1577 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q516567 Q507258 Q547059 Q215 Q269010 Q262684 Q573230 Q1604772 Q174307 Q522992 Q1009 Q1438 Q20267 Q522677 Q194136 Q257859 Q251778 Q895413 Q53742 Q567984 Q1604766 Q7561974 Q948 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q304745 Q542837 Q12056 Q4149191 Q7942378 Q47612
(c(Q15617994),P206,c(Q337567)|c(Q355304))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action count
action filter_multi_types
action find
entity Q884
relation P206
type Q337567
type Q355304
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?l WHERE { { ?l property:P206 ?m . ?l rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q337567 } UNION { ?m rdf:type ontology:Q355304 . ?l rdf:type ontology:Q15617994 . ?l property:P206 ?m } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:Q884 property:P206 ?i . { { ?i rdf:type ontology:Q337567 } UNION { ?i rdf:type ontology:Q355304 } } } } . FILTER ( ?g = ?d ) }
Corn Islands Pförring Desenzano del Garda Altwarp Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Netherlands Israel Marktl Garda Ulul Lecco Noordpolderzijl Pfofeld Ansbach Mindelstetten Maasholm Niamey III Weno Chad Päwesin Faroe Islands Riedenburg Rakhlitsy South Korea Loddin Wörth an der Isar Pasewalk Magdala Clipperton Island Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Gouraya, Tipaza Samsø Bellagio Fischen South Bay Shillingford Yepifan Sweden Italy Dorfhain Oneop Eichstätt Bornholm Kösching Tijuana Municipality Abensberg Montenegro Dümmer Niamey II Owschlag Norway Wennigsen Spain Front de Seine Perlin Niamey V North Slope Borough Heidenheim Helgoland Almere Buiten Abbadia Lariana Bosnia and Herzegovina Croatia Albania Schwabach Cyprus Liechtenstein Japan Polsingen Dinslaken Neuwerk Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Kappeln Kipfenberg Gnotzheim Slovenia Neustadt an der Donau Füssen Beilngries Moch Essing Braunlage Cameroon Campania Schwarz Nassenfels Riva del Garda Cham Vohburg Bowen Island Donauwörth Woleai Pisaras Sonning Eye Tunisia British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Niamey IV Ettenstatt Oschatz Grigorovo Voxna Domaso
120
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity South Korea
relation located next to body of water
type still waters
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?l WHERE { { ?l property:located_next_to_body_of_water ?m . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:still_waters } UNION { ?m rdf:type ontology:watercourse . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:located_next_to_body_of_water ?m } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { resource:South_Korea property:located_next_to_body_of_water ?i . { { ?i rdf:type ontology:still_waters } UNION { ?i rdf:type ontology:watercourse } } } } . FILTER ( ?g = ?d ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P941
Q14660 Q14660
USER
Which flags were inspired by atleast 1 flag ?
(c(Q14660),P941,c(Q14660))
action atleast
action find_tuple_counts
relation P941
type Q14660
type Q14660
value 1
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?c >= 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?c ) WHERE { ?o property:P941 ?q . ?o rdf:type ontology:Q14660 . ?q rdf:type ontology:Q14660 } GROUP BY ?o } }
action atleast
action find_tuple_counts
relation inspired by
type flag
type flag
value 1
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?c >= 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?c ) WHERE { ?o property:inspired_by ?q . ?o rdf:type ontology:flag . ?q rdf:type ontology:flag } GROUP BY ?o } }
[]
flag flag
Q429900 Q12188 Q604735
SYSTEM
Flag of Saba, flag of Brittany, Flag of Sint Maarten
Q429900 Q12188 Q604735
(c(Q14660),P941,c(Q14660))
action atleast
action find_tuple_counts
relation P941
type Q14660
type Q14660
value 1
[ANSWERS] were inspired by atleast 1 flag
[{'concept': 'Q14660'}, 'P941', {'concept': 'Q14660'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?c >= 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?c ) WHERE { ?o property:P941 ?q . ?o rdf:type ontology:Q14660 . ?q rdf:type ontology:Q14660 } GROUP BY ?o } }
Flag of Saba flag of Brittany Flag of Sint Maarten
Flag of Saba, flag of Brittany and Flag of Sint Maarten were inspired by atleast 1 flag
Flag of Saba flag of Brittany Flag of Sint Maarten
action atleast
action find_tuple_counts
relation inspired by
type flag
type flag
value 1
[{'concept': 'flag'}, 'inspired by', {'concept': 'flag'}]
SELECT DISTINCT ?o WHERE { FILTER ( ?c >= 1 ) . { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?c ) WHERE { ?o property:inspired_by ?q . ?o rdf:type ontology:flag . ?q rdf:type ontology:flag } GROUP BY ?o } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4870698 Q170314
P361
Q350604
USER
Which armed conflicts are Second Sino-Japanese War or Battle of Cervera a part of ?
OR((Q170314,P361,c(Q350604)), (Q4870698,P361,c(Q350604)))
action filter_type
action union
action find
entity Q170314
relation P361
action find
entity Q4870698
relation P361
type Q350604
{'OR': [['Q170314', 'P361', {'concept': 'Q350604'}], ['Q4870698', 'P361', {'concept': 'Q350604'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q350604 . { { resource:Q170314 property:P361 ?p } UNION { resource:Q4870698 property:P361 ?p } } }
Battle of Cervera Second Sino-Japanese War
action filter_type
action union
action find
entity Second Sino-Japanese War
relation part of
action find
entity Battle of Cervera
relation part of
type armed conflict
{'OR': [['Second Sino-Japanese War', 'part of', {'concept': 'armed conflict'}], ['Battle of Cervera', 'part of', {'concept': 'armed conflict'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:armed_conflict . { { resource:Second_Sino-Japanese_War property:part_of ?p } UNION { resource:Battle_of_Cervera property:part_of ?p } } }
[]
armed conflict
Q184425 Q79791
SYSTEM
Pacific War, Reconquista
Q184425 Q79791
OR((Q170314,P361,c(Q350604)), (Q4870698,P361,c(Q350604)))
action filter_type
action union
action find
entity Q170314
relation P361
action find
entity Q4870698
relation P361
type Q350604
Are Second Sino-Japanese War or Battle of Cervera a part of the [ANSWERS]
{'OR': [['Q170314', 'P361', {'concept': 'Q350604'}], ['Q4870698', 'P361', {'concept': 'Q350604'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q350604 . { { resource:Q170314 property:P361 ?p } UNION { resource:Q4870698 property:P361 ?p } } }
Pacific War Reconquista
Are Second Sino-Japanese War or Battle of Cervera a part of the Pacific War and Reconquista
Pacific War Reconquista
action filter_type
action union
action find
entity Second Sino-Japanese War
relation part of
action find
entity Battle of Cervera
relation part of
type armed conflict
{'OR': [['Second Sino-Japanese War', 'part of', {'concept': 'armed conflict'}], ['Battle of Cervera', 'part of', {'concept': 'armed conflict'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:armed_conflict . { { resource:Second_Sino-Japanese_War property:part_of ?p } UNION { resource:Battle_of_Cervera property:part_of ?p } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q184425 Q79791
P607
Q502895
USER
Which people did those armed conflicts fight in ?
(c(Q502895),P607,Q184425) (c(Q502895),P607,Q79791)
action filter_type
action find_reverse
entity prev_answer
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q184425'] [{'concept': 'Q502895'}, 'P607', 'Q79791']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q184425 ) ( resource:Q79791 ) } . ?g property:P607 ?c }
Pacific War Reconquista
action filter_type
action find_reverse
entity prev_answer
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Pacific War'] [{'concept': 'common name'}, 'conflict', 'Reconquista']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:Pacific_War ) ( resource:Reconquista ) } . ?g property:conflict ?c }
[]
common name
Q9588 Q160847 Q5770182
SYSTEM
Richard Nixon, Hideki Tōjō, Hirohide Fushimi
Q5345075 Q295839 Q7326223 Q160847 Q712306 Q5681891 Q485453 Q8056224 Q9588 Q13950274 Q5733876 Q3572689 Q1777847 Q7451180 Q11516899 Q5349209 Q14592507 Q6782397 Q5986140 Q14567341 Q3532631 Q6268962 Q7385658 Q23621929 Q6419055 Q7447060 Q2475730 Q3607352 Q6381676 Q6406073 Q713483 Q1664309 Q6389223 Q5102288 Q7973001 Q508287 Q3280933 Q715464 Q14586688 Q6782259 Q5240689 Q5081032 Q646375 Q6104015 Q472531 Q7105689 Q1983788 Q5770182 Q644730 Q7397467 Q7674362 Q344529 Q3601007 Q6349522 Q256584 Q11543571 Q1944399 Q6078783 Q4701102 Q13638953 Q697256 Q7688282 Q1149636 Q792717 Q704507 Q1573496 Q8056252 Q43958
(c(Q502895),P607,Q184425) (c(Q502895),P607,Q79791)
action filter_type
action find_reverse
entity prev_answer
relation P607
type Q502895
Those armed conflicts fought in the [ANSWERS]
[{'concept': 'Q502895'}, 'P607', 'Q184425'] [{'concept': 'Q502895'}, 'P607', 'Q79791']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . VALUES ( ?c ) { ( resource:Q184425 ) ( resource:Q79791 ) } . ?g property:P607 ?c }
Edward Robert Sellstrom Chūichi Nagumo Richard Halsey Best Hideki Tōjō Toshio Ōta Hatsuo Hidaka Korechika Anami Yoshio Fukui Richard Nixon Takeshi Sakurada Herbert D. Riley Yoshio Yoshida Marasmi Kobayashi Sentarō Ōmori Takushiro Hattori Eiji Gotō John R. Monaghan Masaichi Kondō Ichiji Sugita Herbert F. Leary Toshinari Maeda Joichiro Sanada Ryūzō Sejima Yukio Araki Kiyonobu Suzuki Seizō Yasunori Chūichi Hara Akira Yamamoto Kazuo Tsunoda Kiichi Oda Aritomo Gotō Masakichi Inoue Kenichi Abe Chitoshi Isozaki Watari Handa Takeo Takagi Makoto Ogawa Hiroyoshi Nishizawa John F. Laboon Masaaki Shimakawa David W. Bagley Charles Momsen Kiyohide Shima J.C. Wylie Jo Iimura Osamu Kudō Newton Henry Mason Hirohide Fushimi Albert Coady Wedemeyer Sadaaki Akamatsu Tadashi Kaneko Shintarō Hashimoto Arthur Trudeau Takahide Aioi Masanobu Tsuji Isamu Kashiide Kiyoshi Ogawa Isamu Mochizuki Akio Matsuba James Veneris Hisao Tani Tatsuji Suga Kiyonao Ichiki Kitsuju Ayabe Kaneyoshi Muto Jinichi Kusaka Yoshio Shiga El Cid
Those armed conflicts fought in the Richard Nixon, Hideki Tōjō and Hirohide Fushimi
Richard Nixon Hideki Tōjō Hirohide Fushimi
action filter_type
action find_reverse
entity prev_answer
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Pacific War'] [{'concept': 'common name'}, 'conflict', 'Reconquista']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . VALUES ( ?c ) { ( resource:Pacific_War ) ( resource:Reconquista ) } . ?g property:conflict ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q845235
P136
Q1792379
USER
What can be considered as category for No Man's Land ?
(Q845235,P136,c(Q1792379))
action filter_type
action find
entity Q845235
relation P136
type Q1792379
['Q845235', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1792379 . resource:Q845235 property:P136 ?p }
No Man's Land
action filter_type
action find
entity No Man's Land
relation genre
type art genre
["No Man's Land", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:art_genre . resource:No_Man's_Land property:genre ?p }
[]
art genre
Q369747 Q157443 Q130232
SYSTEM
war film, comedy film, drama film
Q369747 Q157443 Q130232
(Q845235,P136,c(Q1792379))
action filter_type
action find
entity Q845235
relation P136
type Q1792379
The [ANSWERS] can be considered as category for No Man's Land
['Q845235', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1792379 . resource:Q845235 property:P136 ?p }
war film comedy film drama film
The war film, comedy film and drama film can be considered as category for No Man's Land
war film comedy film drama film
action filter_type
action find
entity No Man's Land
relation genre
type art genre
["No Man's Land", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:art_genre . resource:No_Man's_Land property:genre ?p }
[]