Simple Question (Direct)
Simple Question
Q460187
P937
Q56061
USER
Where did Juliet Marillier work ?
(Q460187,P937,c(Q56061))
action filter_type
action find
entity Q460187
relation P937
type Q56061
['Q460187', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q460187 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Juliet Marillier
action filter_type
action find
entity Juliet Marillier
relation work location
type administrative territorial entity
['Juliet Marillier', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Juliet_Marillier property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3183
SYSTEM
Perth
Q3183
(Q460187,P937,c(Q56061))
action filter_type
action find
entity Q460187
relation P937
type Q56061
Juliet Marillier worked in [ANSWER]
['Q460187', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { resource:Q460187 property:P937 ?i . ?i rdf:type ontology:Q56061 }
Perth
Juliet Marillier worked in Perth
Perth
action filter_type
action find
entity Juliet Marillier
relation work location
type administrative territorial entity
['Juliet Marillier', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Juliet_Marillier property:work_location ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3183
P138
Q56061
USER
Which administrative territory is that one named after ?
(Q3183,P138,c(Q56061))
action filter_type
action find
entity Q3183
relation P138
type Q56061
['Q3183', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3183 property:P138 ?y . ?y rdf:type ontology:Q56061 }
Perth
action filter_type
action find
entity Perth
relation named after
type administrative territorial entity
['Perth', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Perth property:named_after ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q203000
SYSTEM
Perth
Q203000
(Q3183,P138,c(Q56061))
action filter_type
action find
entity Q3183
relation P138
type Q56061
[ANSWER]
['Q3183', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3183 property:P138 ?y . ?y rdf:type ontology:Q56061 }
Perth
Perth
action filter_type
action find
entity Perth
relation named after
type administrative territorial entity
['Perth', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Perth property:named_after ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q203000
P190
Q486972
USER
Which human settlement is twin town of that administrative territory ?
(Q203000,P190,c(Q486972))
action filter_type
action find
entity Q203000
relation P190
type Q486972
['Q203000', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?j WHERE { resource:Q203000 property:P190 ?j . ?j rdf:type ontology:Q486972 }
Perth
action filter_type
action find
entity Perth
relation sister city
type human settlement
['Perth', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?j WHERE { resource:Perth property:sister_city ?j . ?j rdf:type ontology:human_settlement }
[]
human settlement
Q41252
SYSTEM
Bydgoszcz
Q41252
(Q203000,P190,c(Q486972))
action filter_type
action find
entity Q203000
relation P190
type Q486972
[ANSWER] is twin town of that administrative territory
['Q203000', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?j WHERE { resource:Q203000 property:P190 ?j . ?j rdf:type ontology:Q486972 }
Bydgoszcz
Bydgoszcz is twin town of that administrative territory
Bydgoszcz
action filter_type
action find
entity Perth
relation sister city
type human settlement
['Perth', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?j WHERE { resource:Perth property:sister_city ?j . ?j rdf:type ontology:human_settlement }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3070009
P138
Q486972 Q12280 Q82799
USER
How many human settlements are the etymology of greater number of bridges or names than Myllypuro ?
(c(Q12280)|c(Q82799),P138,c(Q486972))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q486972
type Q12280
action find_reverse_tuple_counts
relation P138
type Q486972
type Q82799
action count
action filter_multi_types
action find_reverse
entity Q3070009
relation P138
type Q12280
type Q82799
[[{'concept': 'Q12280'}, {'concept': 'Q82799'}], 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { FILTER ( ?v > ?t ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P138 resource:Q3070009 . { VALUES ( ?e ) { ( ontology:Q82799 ) ( ontology:Q12280 ) } . ?k rdf:type ?e } } } . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:Q12280 ) ( ontology:Q82799 ) } } GROUP BY ?n } }
Myllypuro
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type human settlement
type bridge
action find_reverse_tuple_counts
relation named after
type human settlement
type name
action count
action filter_multi_types
action find_reverse
entity Myllypuro
relation named after
type bridge
type name
[[{'concept': 'bridge'}, {'concept': 'name'}], 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { FILTER ( ?v > ?t ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:named_after resource:Myllypuro . { VALUES ( ?e ) { ( ontology:name ) ( ontology:bridge ) } . ?k rdf:type ?e } } } . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:bridge ) ( ontology:name ) } } GROUP BY ?n } }
[]
human settlement bridge name
SYSTEM
3
Q1190585 Q1792 Q10667344
(c(Q12280)|c(Q82799),P138,c(Q486972))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q486972
type Q12280
action find_reverse_tuple_counts
relation P138
type Q486972
type Q82799
action count
action filter_multi_types
action find_reverse
entity Q3070009
relation P138
type Q12280
type Q82799
[ANSWER]
[[{'concept': 'Q12280'}, {'concept': 'Q82799'}], 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { FILTER ( ?v > ?t ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P138 resource:Q3070009 . { VALUES ( ?e ) { ( ontology:Q82799 ) ( ontology:Q12280 ) } . ?k rdf:type ?e } } } . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:Q12280 ) ( ontology:Q82799 ) } } GROUP BY ?n } }
Rialto Gdańsk Sickla udde
3
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type human settlement
type bridge
action find_reverse_tuple_counts
relation named after
type human settlement
type name
action count
action filter_multi_types
action find_reverse
entity Myllypuro
relation named after
type bridge
type name
[[{'concept': 'bridge'}, {'concept': 'name'}], 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { FILTER ( ?v > ?t ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:named_after resource:Myllypuro . { VALUES ( ?e ) { ( ontology:name ) ( ontology:bridge ) } . ?k rdf:type ?e } } } . { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?v ) WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:bridge ) ( ontology:name ) } } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q153774
P138
Q486972 Q12280 Q82799
USER
And how about Duisdorf?
(c(Q12280)|c(Q82799),P138,c(Q486972))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q486972
type Q12280
action find_reverse_tuple_counts
relation P138
type Q486972
type Q82799
action count
action filter_multi_types
action find_reverse
entity Q153774
relation P138
type Q12280
type Q82799
[[{'concept': 'Q12280'}, {'concept': 'Q82799'}], 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:P138 ?y . ?z rdf:type ontology:Q12280 . ?y rdf:type ontology:Q486972 } UNION { ?z property:P138 ?y . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q486972 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P138 resource:Q153774 . { { ?l rdf:type ontology:Q12280 } UNION { ?l rdf:type ontology:Q82799 } } } } . FILTER ( ?r > ?a ) }
Duisdorf
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type human settlement
type bridge
action find_reverse_tuple_counts
relation named after
type human settlement
type name
action count
action filter_multi_types
action find_reverse
entity Duisdorf
relation named after
type bridge
type name
[[{'concept': 'bridge'}, {'concept': 'name'}], 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:named_after ?y . ?z rdf:type ontology:bridge . ?y rdf:type ontology:human_settlement } UNION { ?z property:named_after ?y . ?z rdf:type ontology:name . ?y rdf:type ontology:human_settlement } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:named_after resource:Duisdorf . { { ?l rdf:type ontology:bridge } UNION { ?l rdf:type ontology:name } } } } . FILTER ( ?r > ?a ) }
[]
human settlement bridge name
SYSTEM
3
Q1190585 Q1792 Q10667344
(c(Q12280)|c(Q82799),P138,c(Q486972))
action count
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q486972
type Q12280
action find_reverse_tuple_counts
relation P138
type Q486972
type Q82799
action count
action filter_multi_types
action find_reverse
entity Q153774
relation P138
type Q12280
type Q82799
[ANSWER]
[[{'concept': 'Q12280'}, {'concept': 'Q82799'}], 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:P138 ?y . ?z rdf:type ontology:Q12280 . ?y rdf:type ontology:Q486972 } UNION { ?z property:P138 ?y . ?z rdf:type ontology:Q82799 . ?y rdf:type ontology:Q486972 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P138 resource:Q153774 . { { ?l rdf:type ontology:Q12280 } UNION { ?l rdf:type ontology:Q82799 } } } } . FILTER ( ?r > ?a ) }
Rialto Gdańsk Sickla udde
3
action count
action greater
action union
action find_reverse_tuple_counts
relation named after
type human settlement
type bridge
action find_reverse_tuple_counts
relation named after
type human settlement
type name
action count
action filter_multi_types
action find_reverse
entity Duisdorf
relation named after
type bridge
type name
[[{'concept': 'bridge'}, {'concept': 'name'}], 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:named_after ?y . ?z rdf:type ontology:bridge . ?y rdf:type ontology:human_settlement } UNION { ?z property:named_after ?y . ?z rdf:type ontology:name . ?y rdf:type ontology:human_settlement } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:named_after resource:Duisdorf . { { ?l rdf:type ontology:bridge } UNION { ?l rdf:type ontology:name } } } } . FILTER ( ?r > ?a ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q203000
P276
Q1190554
USER
What are located at Perth ?
(c(Q1190554),P276,Q203000)
action filter_type
action find_reverse
entity Q203000
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q203000']
SELECT DISTINCT ?c WHERE { ?c property:P276 resource:Q203000 . ?c rdf:type ontology:Q1190554 }
Perth
action filter_type
action find_reverse
entity Perth
relation location
type event
[{'concept': 'event'}, 'location', 'Perth']
SELECT DISTINCT ?c WHERE { ?c property:location resource:Perth . ?c rdf:type ontology:event }
[]
event
Q1968883 Q4087469
SYSTEM
Battle of Methven, Battle of Tippermuir
Q1968883 Q4087469
(c(Q1190554),P276,Q203000)
action filter_type
action find_reverse
entity Q203000
relation P276
type Q1190554
[ANSWERS] are located at Perth
[{'concept': 'Q1190554'}, 'P276', 'Q203000']
SELECT DISTINCT ?c WHERE { ?c property:P276 resource:Q203000 . ?c rdf:type ontology:Q1190554 }
Battle of Methven Battle of Tippermuir
Battle of Methven and Battle of Tippermuir are located at Perth
Battle of Methven Battle of Tippermuir
action filter_type
action find_reverse
entity Perth
relation location
type event
[{'concept': 'event'}, 'location', 'Perth']
SELECT DISTINCT ?c WHERE { ?c property:location resource:Perth . ?c rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4087469
P361
Q350604
USER
Which armed conflict is that event a component of ?
(Q4087469,P361,c(Q350604))
action filter_type
action find
entity Q4087469
relation P361
type Q350604
['Q4087469', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?k WHERE { resource:Q4087469 property:P361 ?k . ?k rdf:type ontology:Q350604 }
Battle of Tippermuir
action filter_type
action find
entity Battle of Tippermuir
relation part of
type armed conflict
['Battle of Tippermuir', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?k WHERE { resource:Battle_of_Tippermuir property:part_of ?k . ?k rdf:type ontology:armed_conflict }
[]
armed conflict
Clarification for simple ques.
Q4087469
SYSTEM
Did you mean Battle of Tippermuir ?
Q1968883 Q4087469
(Q1968883,P361,c(Q350604)) (Q4087469,P361,c(Q350604))
[ANSWER]
['Q1968883', 'P361', {'concept': 'Q350604'}] ['Q4087469', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?k WHERE { resource:Q4087469 property:P361 ?k . ?k rdf:type ontology:Q350604 }
Battle of Methven Battle of Tippermuir
Did you mean Battle of Tippermuir ?
Battle of Tippermuir
['Battle of Methven', 'part of', {'concept': 'armed conflict'}] ['Battle of Tippermuir', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?k WHERE { resource:Battle_of_Tippermuir property:part_of ?k . ?k rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
USER
Yes
(Q4087469,P361,c(Q350604))
['Q4087469', 'P361', {'concept': 'Q350604'}]
['Battle of Tippermuir', 'part of', {'concept': 'armed conflict'}]
[]
Q2577772
SYSTEM
Wars of the Three Kingdoms
Q2577772
(Q4087469,P361,c(Q350604))
action filter_type
action find
entity Q4087469
relation P361
type Q350604
The [ANSWER] is that event a component of
['Q4087469', 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?k WHERE { resource:Q4087469 property:P361 ?k . ?k rdf:type ontology:Q350604 }
Wars of the Three Kingdoms
The Wars of the Three Kingdoms is that event a component of
Wars of the Three Kingdoms
action filter_type
action find
entity Battle of Tippermuir
relation part of
type armed conflict
['Battle of Tippermuir', 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?k WHERE { resource:Battle_of_Tippermuir property:part_of ?k . ?k rdf:type ontology:armed_conflict }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P793
Q1190554 Q811979 Q44539
USER
Which events are min number of architectural structures and temples associated with ?
(c(Q811979)|c(Q44539),P793,c(Q1190554))
action argmin
action union
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q811979
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q44539
[[{'concept': 'Q811979'}, {'concept': 'Q44539'}], 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?k WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q811979 ) ( ontology:Q44539 ) } } GROUP BY ?k } } . FILTER ( ?i = ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?j WHERE { { ?a property:P793 ?j . ?j rdf:type ontology:Q1190554 . ?a rdf:type ontology:Q811979 } UNION { ?a property:P793 ?j . ?j rdf:type ontology:Q1190554 . ?a rdf:type ontology:Q44539 } } GROUP BY ?j } }
action argmin
action union
action find_reverse_tuple_counts
relation significant event
type event
type architectural structure
action find_reverse_tuple_counts
relation significant event
type event
type temple
[[{'concept': 'architectural structure'}, {'concept': 'temple'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?k WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:architectural_structure ) ( ontology:temple ) } } GROUP BY ?k } } . FILTER ( ?i = ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?j WHERE { { ?a property:significant_event ?j . ?j rdf:type ontology:event . ?a rdf:type ontology:architectural_structure } UNION { ?a property:significant_event ?j . ?j rdf:type ontology:event . ?a rdf:type ontology:temple } } GROUP BY ?j } }
[]
event architectural structure temple
Q218678 Q254106 Q1638488
SYSTEM
North African Campaign, Crimean War, Battle of Monmouth
Q131297 Q14903979 Q201692 Q7114127 Q15829638 Q718605 Q635882 Q17986818 Q234132 Q188925 Q19866992 Q24478688 Q564388 Q15980725 Q21014657 Q180182 Q760089 Q2424544 Q1268733 Q365640 Q166495 Q1154390 Q1294303 Q1669285 Q1363768 Q2334719 Q2237633 Q6208645 Q384091 Q1267513 Q3289878 Q200056 Q1138460 Q18175787 Q1408770 Q186284 Q173077 Q2889160 Q1121532 Q5916 Q1274566 Q280868 Q463206 Q1886703 Q1497011 Q850529 Q18603729 Q25517452 Q649727 Q5051574 Q600016 Q2026625 Q2238935 Q7642201 Q851504 Q2890798 Q4602925 Q170400 Q4872357 Q1840806 Q254106 Q258873 Q8016240 Q1362364 Q201676 Q700569 Q533034 Q327035 Q114953 Q4159143 Q1650581 Q849653 Q688308 Q15056768 Q205512 Q28545 Q20668205 Q2918584 Q21953089 Q1818072 Q204854 Q1157021 Q218678 Q126306 Q112016 Q683635 Q15921519 Q2890900 Q906018 Q555463 Q1313538 Q35140 Q21980597 Q617922 Q473853 Q1972070 Q610000 Q171558 Q2305019 Q27550425 Q18119757 Q15089703 Q1644792 Q5678097 Q16686346 Q1975665 Q6200334 Q2511359 Q22075993 Q744913 Q851304 Q476300 Q490812 Q223604 Q131386 Q7884274 Q376154 Q1055755 Q635028 Q324916 Q604897 Q1260622 Q4606339 Q2440191 Q4870505 Q4870504 Q4366849 Q1628304 Q946054 Q464980 Q2783811 Q18511800 Q93190 Q115105 Q4870896 Q15089689 Q16328520 Q19880899 Q2505574 Q1638488 Q647827 Q339052 Q702460 Q841440 Q663405
(c(Q811979)|c(Q44539),P793,c(Q1190554))
action argmin
action union
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q811979
action find_reverse_tuple_counts
relation P793
type Q1190554
type Q44539
Min number of architectural structures and temples associated with are the [ANSWERS]
[[{'concept': 'Q811979'}, {'concept': 'Q44539'}], 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?k WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:Q811979 ) ( ontology:Q44539 ) } } GROUP BY ?k } } . FILTER ( ?i = ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?j WHERE { { ?a property:P793 ?j . ?j rdf:type ontology:Q1190554 . ?a rdf:type ontology:Q811979 } UNION { ?a property:P793 ?j . ?j rdf:type ontology:Q1190554 . ?a rdf:type ontology:Q44539 } } GROUP BY ?j } }
Rwandan Genocide change of ownership Battle of Poitiers Battle of Kuuterselkä first run Martial law in Poland Battle of Black Jack imprisonment at Auschwitz concentration camp Hillsborough disaster Battles of Khalkhin Gol Obergefell v. Hodges Seznec Affair Defense of the Polish Post Office in Danzig Skirmish of Todos Santos assignment Battle of Iwo Jima commission levee breach Battle of the Sabis Battle of Beaver Dams Catalonia Offensive academic tenure Edwards v Canada (Attorney General) Sack of Amorium fusion legal case Battle of Musgrove Mill Joe Biden presidential campaign, 1988 Battle of Mukden Battle of Vosges Battle of Curuzú Battle of Zama Battle of Annual Idi Amin Dada regime destitution hard disk drive failure Polish–Soviet War Battle of Tours Battle of Loon Lake Battle of Alcácer Quibir spaceflight Battle of the Arar Battle of Gergovia 2001 failed shoe bomb attempt Battle of Sulci communal reorganisation Betty and Barney Hill abduction dissolution of an administrative territorial entity battle of the Tollense River Sledgehammer catastrophic failure Battle of Jargeau Battle of Chains Slighting Super Bowl XLVI halftime show Battle of Vouillé Battle of the Windmill 2004 Iranian seizure of Royal Navy personnel Battle of Kunersdorf Battle of Setauket delivery Crimean War Waco siege trial maiden flight funeral Sinking of Prince of Wales and Repulse Battle of Westerplatte Battle of Gazala poisoning Battle of Someri building implosion Battle of Thapsus Swedish War of Liberation Major League Baseball debut Gaza flotilla raid teaching Battle of Brouwershaven (1490) relocation militia occupation of the Malheur National Wildlife Refuge MV Maersk Alabama première Battle of Białołęka North African Campaign Decembrist revolt Battle of the Persian Gate Wendish Crusade Trans-Atlantic flight of America Battle of the Faubourg St Antoine Battle of Great Bridge Battle at the Harzhorn Operation Maslenica performance Causeway Bay Books disappearances Battle of Wytyczno school shooting Battle of Lutetia Battle of the Grebbeberg accident Battle of Curupaity academic suspension invention Major League Baseball final game Battle of Lake Regillus United States v. Hasan K. Akbar date of listing Ennoblement Siege of Pelium Assault on Nijmegen debut as an actor aviation accidents and incidents Looted art competition coming into force Greco-Italian War Battle of Alesia unexplained disappearance Battle of Copenhagen Battle of Ilipa Battle of Bibracte Battle of Solferino Battle of Dien Bien Phu Battle of the Axona 2006 Hamas cross-border raid Battle of Liaoyang Battle of Bloody Creek Battle of Bloody Creek Battle of the Border Magetobria Burr–Hamilton duel exhibition Tarnak Farm incident split divorce Battle of Wogastisburg Battle of Dong Khe Major League Baseball initial signing trial of Oscar Pistorius Isabella Stewart Gardner Museum theft Ambiorix's revolt Battle of Monmouth Battle of Dennewitz Battle of Großbeeren Ministries Trial naturalization Battle of Zorndorf
Min number of architectural structures and temples associated with are the North African Campaign, Crimean War and Battle of Monmouth
North African Campaign Crimean War Battle of Monmouth
action argmin
action union
action find_reverse_tuple_counts
relation significant event
type event
type architectural structure
action find_reverse_tuple_counts
relation significant event
type event
type temple
[[{'concept': 'architectural structure'}, {'concept': 'temple'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?m ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?k WHERE { ?x rdf:type ?p . VALUES ( ?p ) { ( ontology:architectural_structure ) ( ontology:temple ) } } GROUP BY ?k } } . FILTER ( ?i = ?m ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?i ) ?j WHERE { { ?a property:significant_event ?j . ?j rdf:type ontology:event . ?a rdf:type ontology:architectural_structure } UNION { ?a property:significant_event ?j . ?j rdf:type ontology:event . ?a rdf:type ontology:temple } } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q3839081 Q1190554
USER
How many disasters leads to atmost 1 event ?
(c(Q1190554),P828,c(Q3839081))
action count
action atmost
action find_reverse_tuple_counts
relation P828
type Q3839081
type Q1190554
value 1
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q3839081'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P828 ?o . ?o rdf:type ontology:Q3839081 . ?w rdf:type ontology:Q1190554 } GROUP BY ?o } . FILTER ( ?l <= 1 ) }
action count
action atmost
action find_reverse_tuple_counts
relation has cause
type disaster
type event
value 1
[{'concept': 'event'}, 'has cause', {'concept': 'disaster'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:has_cause ?o . ?o rdf:type ontology:disaster . ?w rdf:type ontology:event } GROUP BY ?o } . FILTER ( ?l <= 1 ) }
[]
disaster event
SYSTEM
5
Q5377742 Q7692360 Q8068 Q327541 Q629257
(c(Q1190554),P828,c(Q3839081))
action count
action atmost
action find_reverse_tuple_counts
relation P828
type Q3839081
type Q1190554
value 1
[ANSWER]
[{'concept': 'Q1190554'}, 'P828', {'concept': 'Q3839081'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P828 ?o . ?o rdf:type ontology:Q3839081 . ?w rdf:type ontology:Q1190554 } GROUP BY ?o } . FILTER ( ?l <= 1 ) }
engine failure on take-off volcanic eruption flood arson work accident
5
action count
action atmost
action find_reverse_tuple_counts
relation has cause
type disaster
type event
value 1
[{'concept': 'event'}, 'has cause', {'concept': 'disaster'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:has_cause ?o . ?o rdf:type ontology:disaster . ?w rdf:type ontology:event } GROUP BY ?o } . FILTER ( ?l <= 1 ) }
[]