Simple Question (Direct)
Simple Question
Q12884653
P20
Q271669
USER
Where did the demise of Spiros Alamanos occur ?
(Q12884653,P20,c(Q271669))
action filter_type
action find
entity Q12884653
relation P20
type Q271669
['Q12884653', 'P20', {'concept': 'Q271669'}]
SELECT DISTINCT ?w WHERE { resource:Q12884653 property:P20 ?w . ?w rdf:type ontology:Q271669 }
Spiros Alamanos
action filter_type
action find
entity Spiros Alamanos
relation place of death
type landform
['Spiros Alamanos', 'place of death', {'concept': 'landform'}]
SELECT DISTINCT ?w WHERE { resource:Spiros_Alamanos property:place_of_death ?w . ?w rdf:type ontology:landform }
[]
landform
Q121378
SYSTEM
Corfu
Q121378
(Q12884653,P20,c(Q271669))
action filter_type
action find
entity Q12884653
relation P20
type Q271669
The demise of Spiros Alamanos occurred in [ANSWER]
['Q12884653', 'P20', {'concept': 'Q271669'}]
SELECT DISTINCT ?w WHERE { resource:Q12884653 property:P20 ?w . ?w rdf:type ontology:Q271669 }
Corfu
The demise of Spiros Alamanos occurred in Corfu
Corfu
action filter_type
action find
entity Spiros Alamanos
relation place of death
type landform
['Spiros Alamanos', 'place of death', {'concept': 'landform'}]
SELECT DISTINCT ?w WHERE { resource:Spiros_Alamanos property:place_of_death ?w . ?w rdf:type ontology:landform }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12884653
P21
Q290
USER
Which sex does that person possess ?
(Q121378,P21,c(Q290))
action filter_type
action find
entity Q12884653
relation P21
type Q290
['Q121378', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q12884653 property:P21 ?b . ?b rdf:type ontology:Q290 }
Spiros Alamanos
action filter_type
action find
entity Spiros Alamanos
relation gender
type sex
['Corfu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Spiros_Alamanos property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q121378,P21,c(Q290))
action filter_type
action find
entity Q12884653
relation P21
type Q290
That person possesses a [ANSWER]
['Q121378', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q12884653 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Spiros Alamanos
relation gender
type sex
['Corfu', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Spiros_Alamanos property:gender ?b . ?b rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q5698518
P21
Q502895
USER
Is Antonio González Terol a that sex ?
(Q5698518,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5698518
relation P21
['Q5698518', 'P21', 'Q6581097']
ASK WHERE { resource:Q5698518 property:P21 resource:Q6581097 }
male Antonio González Terol
action is_in
entity male
action find
entity Antonio González Terol
relation gender
['Antonio González Terol', 'gender', 'male']
ASK WHERE { resource:Antonio_González_Terol property:gender resource:male }
[]
common name
SYSTEM
YES
(Q5698518,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q5698518
relation P21
[ANSWER]
['Q5698518', 'P21', 'Q6581097']
ASK WHERE { resource:Q5698518 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Antonio González Terol
relation gender
['Antonio González Terol', 'gender', 'male']
ASK WHERE { resource:Antonio_González_Terol property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q121378
P840
Q2342494 Q15416
USER
How many collectables and television programs have their narrative set in Corfu ?
(c(Q2342494),P840,Q121378) (c(Q15416),P840,Q121378)
action count
action union
action filter_type
action find_reverse
entity Q121378
relation P840
type Q2342494
action filter_type
action find_reverse
entity Q121378
relation P840
type Q15416
[{'concept': 'Q2342494'}, 'P840', 'Q121378'] [{'concept': 'Q15416'}, 'P840', 'Q121378']
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:P840 resource:Q121378 . ?f rdf:type ontology:Q2342494 } UNION { ?f property:P840 resource:Q121378 . ?f rdf:type ontology:Q15416 } }
Corfu
action count
action union
action filter_type
action find_reverse
entity Corfu
relation narrative location
type collectable
action filter_type
action find_reverse
entity Corfu
relation narrative location
type television program
[{'concept': 'collectable'}, 'narrative location', 'Corfu'] [{'concept': 'television program'}, 'narrative location', 'Corfu']
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:narrative_location resource:Corfu . ?f rdf:type ontology:collectable } UNION { ?f property:narrative_location resource:Corfu . ?f rdf:type ontology:television_program } }
[]
collectable television program
SYSTEM
2 collectables and 1 television programs
Q6352865 Q23647063 Q3312280
(c(Q2342494),P840,Q121378) (c(Q15416),P840,Q121378)
action count
action union
action filter_type
action find_reverse
entity Q121378
relation P840
type Q2342494
action filter_type
action find_reverse
entity Q121378
relation P840
type Q15416
[ANSWER]
[{'concept': 'Q2342494'}, 'P840', 'Q121378'] [{'concept': 'Q15416'}, 'P840', 'Q121378']
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:P840 resource:Q121378 . ?f rdf:type ontology:Q2342494 } UNION { ?f property:P840 resource:Q121378 . ?f rdf:type ontology:Q15416 } }
Fauna and Family The Durrells Birds, Beasts, and Relatives
2 collectables and 1 television programs
action count
action union
action filter_type
action find_reverse
entity Corfu
relation narrative location
type collectable
action filter_type
action find_reverse
entity Corfu
relation narrative location
type television program
[{'concept': 'collectable'}, 'narrative location', 'Corfu'] [{'concept': 'television program'}, 'narrative location', 'Corfu']
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:narrative_location resource:Corfu . ?f rdf:type ontology:collectable } UNION { ?f property:narrative_location resource:Corfu . ?f rdf:type ontology:television_program } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q121378
P190
Q15617994
USER
How many administrative territories are twin towns of Corfu ?
(Q121378,P190,c(Q15617994))
action count
action filter_type
action find
entity Q121378
relation P190
type Q15617994
['Q121378', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q121378 property:P190 ?j . ?j rdf:type ontology:Q15617994 }
Corfu
action count
action filter_type
action find
entity Corfu
relation sister city
type designation for an administrative territorial entity
['Corfu', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Corfu property:sister_city ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q3900 Q8738
(Q121378,P190,c(Q15617994))
action count
action filter_type
action find
entity Q121378
relation P190
type Q15617994
[ANSWER]
['Q121378', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Q121378 property:P190 ?j . ?j rdf:type ontology:Q15617994 }
Troisdorf Meissen
2
action count
action filter_type
action find
entity Corfu
relation sister city
type designation for an administrative territorial entity
['Corfu', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { resource:Corfu property:sister_city ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q121378
P276
Q131569
USER
What is situated at that landform ?
action filter_type
action find_reverse
entity Q121378
relation P276
type Q131569
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q131569 . ?v property:P276 resource:Q121378 }
Corfu
action filter_type
action find_reverse
entity Corfu
relation location
type treaty
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:treaty . ?v property:location resource:Corfu }
[]
treaty
Q3313588
SYSTEM
Protocol of Corfu
Q3313588
action filter_type
action find_reverse
entity Q121378
relation P276
type Q131569
[ANSWER] is situated at that landform
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q131569 . ?v property:P276 resource:Q121378 }
Protocol of Corfu
Protocol of Corfu is situated at that landform
Protocol of Corfu
action filter_type
action find_reverse
entity Corfu
relation location
type treaty
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:treaty . ?v property:location resource:Corfu }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1542
Q131569 Q1190554
USER
Which events result in atleast 1 treaty ?
(c(Q1190554),P1542,c(Q131569))
action atleast
action find_tuple_counts
relation P1542
type Q1190554
type Q131569
value 1
[{'concept': 'Q1190554'}, 'P1542', {'concept': 'Q131569'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?d ) WHERE { ?b property:P1542 ?q . ?b rdf:type ontology:Q1190554 . ?q rdf:type ontology:Q131569 } GROUP BY ?b } . FILTER ( ?d >= 1 ) }
action atleast
action find_tuple_counts
relation cause of
type event
type treaty
value 1
[{'concept': 'event'}, 'cause of', {'concept': 'treaty'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?d ) WHERE { ?b property:cause_of ?q . ?b rdf:type ontology:event . ?q rdf:type ontology:treaty } GROUP BY ?b } . FILTER ( ?d >= 1 ) }
[]
treaty event
Q1070342 Q150701 Q916495
SYSTEM
King William's War, War of the Spanish Succession, Second Anglo-Dutch War
Q1070342 Q150701 Q916495
(c(Q1190554),P1542,c(Q131569))
action atleast
action find_tuple_counts
relation P1542
type Q1190554
type Q131569
value 1
[ANSWERS] result in atleast 1 treaty
[{'concept': 'Q1190554'}, 'P1542', {'concept': 'Q131569'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?d ) WHERE { ?b property:P1542 ?q . ?b rdf:type ontology:Q1190554 . ?q rdf:type ontology:Q131569 } GROUP BY ?b } . FILTER ( ?d >= 1 ) }
King William's War War of the Spanish Succession Second Anglo-Dutch War
King William's War, War of the Spanish Succession and Second Anglo-Dutch War result in atleast 1 treaty
King William's War War of the Spanish Succession Second Anglo-Dutch War
action atleast
action find_tuple_counts
relation cause of
type event
type treaty
value 1
[{'concept': 'event'}, 'cause of', {'concept': 'treaty'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?q ) AS ?d ) WHERE { ?b property:cause_of ?q . ?b rdf:type ontology:event . ?q rdf:type ontology:treaty } GROUP BY ?b } . FILTER ( ?d >= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q24072981
P2695
Q271669 Q3977918 Q11173
USER
How many landforms are the localities where around the same number of mineral supergroupss and chemical compounds are found as Sacrofano caldera ?
(c(Q3977918)|c(Q11173),P2695,c(Q271669))
action count
action approx
action union
action find_reverse_tuple_counts
relation P2695
type Q271669
type Q3977918
action find_reverse_tuple_counts
relation P2695
type Q271669
type Q11173
action count
action filter_multi_types
action find_reverse
entity Q24072981
relation P2695
type Q3977918
type Q11173
[[{'concept': 'Q3977918'}, {'concept': 'Q11173'}], 'P2695', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?k ) WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:Q3977918 ) ( ontology:Q11173 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { { ?h rdf:type ontology:Q3977918 } UNION { ?h rdf:type ontology:Q11173 } } . ?h property:P2695 resource:Q24072981 } } . FILTER ( ?k = ?p ) }
Sacrofano caldera
action count
action approx
action union
action find_reverse_tuple_counts
relation type locality
type landform
type mineral supergroups
action find_reverse_tuple_counts
relation type locality
type landform
type chemical compound
action count
action filter_multi_types
action find_reverse
entity Sacrofano caldera
relation type locality
type mineral supergroups
type chemical compound
[[{'concept': 'mineral supergroups'}, {'concept': 'chemical compound'}], 'type locality', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?k ) WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:mineral_supergroups ) ( ontology:chemical_compound ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { { ?h rdf:type ontology:mineral_supergroups } UNION { ?h rdf:type ontology:chemical_compound } } . ?h property:type_locality resource:Sacrofano_caldera } } . FILTER ( ?k = ?p ) }
[]
landform mineral supergroups chemical compound
SYSTEM
33
Q24572912 Q175741 Q26883299 Q24320189 Q24320342 Q11474307 Q206137 Q26878849 Q1282214 Q657187 Q1049619 Q208321 Q19374932 Q26617618 Q26450810 Q24376122 Q26812670 Q27510931 Q111444 Q26878777 Q24282690 Q24556491 Q24705154 Q23790598 Q24236993 Q24444547 Q24701978 Q214696 Q26813695 Q24314881 Q7826822 Q24072981 Q173096
(c(Q3977918)|c(Q11173),P2695,c(Q271669))
action count
action approx
action union
action find_reverse_tuple_counts
relation P2695
type Q271669
type Q3977918
action find_reverse_tuple_counts
relation P2695
type Q271669
type Q11173
action count
action filter_multi_types
action find_reverse
entity Q24072981
relation P2695
type Q3977918
type Q11173
[ANSWER]
[[{'concept': 'Q3977918'}, {'concept': 'Q11173'}], 'P2695', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?k ) WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:Q3977918 ) ( ontology:Q11173 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { { ?h rdf:type ontology:Q3977918 } UNION { ?h rdf:type ontology:Q11173 } } . ?h property:P2695 resource:Q24072981 } } . FILTER ( ?k = ?p ) }
Fuchs quarry, Hartkoppe Andros Øvre Lapplægeret quarry Caspar quarry In den Dellen quarries Iwagi Island Rockall Sky Blue Hill Wolfe Creek Crater Faial Island Izalco Sandoy Hundholmen (Tysfjord) New Cliffe Hill quarry Evans-Lou mine Löhley Fillow quarry Hourt quarry Isle of Mull Crestmore quarries Stetind pegmatite Tom's quarry Seravezza quarries Aris quarries Kudriavy volcano Graulay Piława Górna quarry Mount Nyiragongo Tuften quarry Vispi quarry, Pian di Celle volcano Torr Works Sacrofano caldera Euboea
33
action count
action approx
action union
action find_reverse_tuple_counts
relation type locality
type landform
type mineral supergroups
action find_reverse_tuple_counts
relation type locality
type landform
type chemical compound
action count
action filter_multi_types
action find_reverse
entity Sacrofano caldera
relation type locality
type mineral supergroups
type chemical compound
[[{'concept': 'mineral supergroups'}, {'concept': 'chemical compound'}], 'type locality', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?k ) WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:mineral_supergroups ) ( ontology:chemical_compound ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?p ) WHERE { { { ?h rdf:type ontology:mineral_supergroups } UNION { ?h rdf:type ontology:chemical_compound } } . ?h property:type_locality resource:Sacrofano_caldera } } . FILTER ( ?k = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q111444
P2695
Q271669 Q3977918 Q11173
USER
And also tell me about Isle of Mull?
(c(Q3977918)|c(Q11173),P2695,c(Q271669))
action count
action approx
action union
action find_reverse_tuple_counts
relation P2695
type Q271669
type Q3977918
action find_reverse_tuple_counts
relation P2695
type Q271669
type Q11173
action count
action filter_multi_types
action find_reverse
entity Q111444
relation P2695
type Q3977918
type Q11173
[[{'concept': 'Q3977918'}, {'concept': 'Q11173'}], 'P2695', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { VALUES ( ?f ) { ( ontology:Q3977918 ) ( ontology:Q11173 ) } . ?a rdf:type ?f } . ?a property:P2695 resource:Q111444 } } . FILTER ( ?d = ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?c WHERE { { ?k property:P2695 ?c . ?c rdf:type ontology:Q271669 . ?k rdf:type ontology:Q11173 } UNION { ?k property:P2695 ?c . ?c rdf:type ontology:Q271669 . ?k rdf:type ontology:Q3977918 } } GROUP BY ?c } }
Isle of Mull
action count
action approx
action union
action find_reverse_tuple_counts
relation type locality
type landform
type mineral supergroups
action find_reverse_tuple_counts
relation type locality
type landform
type chemical compound
action count
action filter_multi_types
action find_reverse
entity Isle of Mull
relation type locality
type mineral supergroups
type chemical compound
[[{'concept': 'mineral supergroups'}, {'concept': 'chemical compound'}], 'type locality', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { VALUES ( ?f ) { ( ontology:mineral_supergroups ) ( ontology:chemical_compound ) } . ?a rdf:type ?f } . ?a property:type_locality resource:Isle_of_Mull } } . FILTER ( ?d = ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?c WHERE { { ?k property:type_locality ?c . ?c rdf:type ontology:landform . ?k rdf:type ontology:chemical_compound } UNION { ?k property:type_locality ?c . ?c rdf:type ontology:landform . ?k rdf:type ontology:mineral_supergroups } } GROUP BY ?c } }
[]
landform mineral supergroups chemical compound
SYSTEM
33
Q24572912 Q175741 Q26883299 Q24320189 Q24320342 Q11474307 Q206137 Q26878849 Q1282214 Q657187 Q1049619 Q208321 Q19374932 Q26617618 Q26450810 Q24376122 Q26812670 Q27510931 Q111444 Q26878777 Q24282690 Q24556491 Q24705154 Q23790598 Q24236993 Q24444547 Q24701978 Q214696 Q26813695 Q24314881 Q7826822 Q24072981 Q173096
(c(Q3977918)|c(Q11173),P2695,c(Q271669))
action count
action approx
action union
action find_reverse_tuple_counts
relation P2695
type Q271669
type Q3977918
action find_reverse_tuple_counts
relation P2695
type Q271669
type Q11173
action count
action filter_multi_types
action find_reverse
entity Q111444
relation P2695
type Q3977918
type Q11173
[ANSWER]
[[{'concept': 'Q3977918'}, {'concept': 'Q11173'}], 'P2695', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { VALUES ( ?f ) { ( ontology:Q3977918 ) ( ontology:Q11173 ) } . ?a rdf:type ?f } . ?a property:P2695 resource:Q111444 } } . FILTER ( ?d = ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?c WHERE { { ?k property:P2695 ?c . ?c rdf:type ontology:Q271669 . ?k rdf:type ontology:Q11173 } UNION { ?k property:P2695 ?c . ?c rdf:type ontology:Q271669 . ?k rdf:type ontology:Q3977918 } } GROUP BY ?c } }
Fuchs quarry, Hartkoppe Andros Øvre Lapplægeret quarry Caspar quarry In den Dellen quarries Iwagi Island Rockall Sky Blue Hill Wolfe Creek Crater Faial Island Izalco Sandoy Hundholmen (Tysfjord) New Cliffe Hill quarry Evans-Lou mine Löhley Fillow quarry Hourt quarry Isle of Mull Crestmore quarries Stetind pegmatite Tom's quarry Seravezza quarries Aris quarries Kudriavy volcano Graulay Piława Górna quarry Mount Nyiragongo Tuften quarry Vispi quarry, Pian di Celle volcano Torr Works Sacrofano caldera Euboea
33
action count
action approx
action union
action find_reverse_tuple_counts
relation type locality
type landform
type mineral supergroups
action find_reverse_tuple_counts
relation type locality
type landform
type chemical compound
action count
action filter_multi_types
action find_reverse
entity Isle of Mull
relation type locality
type mineral supergroups
type chemical compound
[[{'concept': 'mineral supergroups'}, {'concept': 'chemical compound'}], 'type locality', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { { VALUES ( ?f ) { ( ontology:mineral_supergroups ) ( ontology:chemical_compound ) } . ?a rdf:type ?f } . ?a property:type_locality resource:Isle_of_Mull } } . FILTER ( ?d = ?y ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?c WHERE { { ?k property:type_locality ?c . ?c rdf:type ontology:landform . ?k rdf:type ontology:chemical_compound } UNION { ?k property:type_locality ?c . ?c rdf:type ontology:landform . ?k rdf:type ontology:mineral_supergroups } } GROUP BY ?c } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q150701
P607
Q502895
USER
How many people did War of the Spanish Succession engage in ?
(c(Q502895),P607,Q150701)
action count
action filter_type
action find_reverse
entity Q150701
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q150701']
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P607 resource:Q150701 . ?t rdf:type ontology:Q502895 }
War of the Spanish Succession
action count
action filter_type
action find_reverse
entity War of the Spanish Succession
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'War of the Spanish Succession']
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:conflict resource:War_of_the_Spanish_Succession . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
89
Q4394948 Q376707 Q470335 Q1592228 Q7794171 Q2960487 Q3427899 Q968943 Q3754543 Q2977514 Q13639595 Q3383458 Q2474776 Q6241806 Q2386945 Q881760 Q61710 Q2111140 Q192839 Q579407 Q111993 Q3456107 Q98666 Q213518 Q7325688 Q177134 Q2072512 Q2821819 Q713145 Q3262125 Q6257763 Q71126 Q336005 Q5076265 Q2976913 Q3052507 Q3261495 Q2978306 Q571807 Q96488 Q8008683 Q3098826 Q6143590 Q695284 Q3129200 Q3379568 Q2918396 Q5232496 Q153803 Q2575404 Q2851550 Q569405 Q1026954 Q4470201 Q3133300 Q5482136 Q16011357 Q14949398 Q55250 Q1338135 Q4241651 Q3263534 Q5075827 Q441761 Q3375268 Q1065565 Q158654 Q3086229 Q659576 Q3260869 Q3086320 Q1996296 Q84922 Q2736087 Q19299833 Q1774732 Q4143906 Q1752786 Q473543 Q1028893 Q481338 Q16186021 Q3019559 Q2840013 Q4157020 Q5081306 Q3086095 Q3278281 Q3260372
(c(Q502895),P607,Q150701)
action count
action filter_type
action find_reverse
entity Q150701
relation P607
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P607', 'Q150701']
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:P607 resource:Q150701 . ?t rdf:type ontology:Q502895 }
Sir Robert Rich, 4th Baronet Adrien Maurice de Noailles George Olivier, count of Wallis Pedro Manuel de Ataíde Thomas Stanwix Charles d'Albert du Chesne Restaino Cantelmo Stuart Louis Armand de Brichanteau de Nangis Alberto Octavio Tserclaes de Tilly Claude Guillaume Testu de Balincourt John Cutts, 1st Baron Cutts Pierre-Paul Riquet James O'Hara, 2nd Baron Tyrawley John Jennings Armand de Villars Blas de Lezo Burkhard Christoph von Münnich Francisco Castillo Fajardo, Marquis of Villadarias Sébastien Le Prestre de Vauban François-Marie, 1st duc de Broglie Count Claude Florimond de Mercy Rémy-Claude de Bullion Erhard Ernst von Röder Edward Teach Richard FitzPatrick, 1st Baron Gowran Alessandro, Marquis de Maffei Richard Temple, 1st Viscount Cobham Abraham Duquesne-Monier Edward Vernon Louis Guy Henri de Valori John Shrimpton Hans von Lehwaldt Arnold van Keppel, 1st Earl of Albemarle Charles Churchill Claude Aubery de Vastan Emmanuel-Auguste de Cahideuc Louis Charles de la Blandinière Claude de Beaucaire John Norris Alexander Hermann, Count of Wartensleben William Evans Gaspard de Vento James Steuart Guido Starhemberg Hector-Léonard de Sainte-Colombe de l'Aubépin Philippe Charles de La Fare Juan José Navarro, 1st Marquis of la Victoria David Colyear, 1st Earl of Portmore John Churchill, 1st Duke of Marlborough Jean Thierry du Mont, comte de Gages Annibal de Seguiran-Gardanne Léopold Philippe d'Arenberg Christian Davies John Griffin, 4th Baron Howard de Walden Nicholas Haddock Francis Palmes Joseph d'Hélie de Villarzel George St Lo Pierre Le Moyne d'Iberville Emmanuel-François-Joseph de Bavière Isaac Cronström Louis de Montolieu Charles Brown Richard Kane Pere Joan Barceló i Anguera Charles Mordaunt, 3rd Earl of Peterborough Claude Louis Hector de Villars François de La Rochefoucauld, marquis de Montendre William Martin Louis-Roger Franssure de Villers François de Signier Richard Lestock Meinhardt Schomberg, 3rd Duke of Schomberg Amédée-François Frézier Joan de Jansà Claude François Bidal d'Asfeld Thomas Gordon James Berkeley, 3rd Earl of Berkeley Charles Thomas of Lorraine, Prince of Vaudémont Charles Wager Louis Charles Armand Fouquet Antoine de Villeneuve de Trans William Blakeney, 1st Baron Blakeney Alphonse de Fortia de Forville Magnus Julius De la Gardie Charles O'Hara, 1st Baron Tyrawley François d'Harcourt William Cadogan, 1st Earl Cadogan Louis-Auguste d'Albert d'Ailly
89
action count
action filter_type
action find_reverse
entity War of the Spanish Succession
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'War of the Spanish Succession']
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { ?t property:conflict resource:War_of_the_Spanish_Succession . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q150701
P828
Q131569
USER
What does that event lead to ?
action filter_type
action find_reverse
entity Q150701
relation P828
type Q131569
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q131569 . ?r property:P828 resource:Q150701 }
War of the Spanish Succession
action filter_type
action find_reverse
entity War of the Spanish Succession
relation has cause
type treaty
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:treaty . ?r property:has_cause resource:War_of_the_Spanish_Succession }
[]
treaty
Q688939
SYSTEM
Treaty of Baden
Q688939
action filter_type
action find_reverse
entity Q150701
relation P828
type Q131569
That event leads to [ANSWER]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q131569 . ?r property:P828 resource:Q150701 }
Treaty of Baden
That event leads to Treaty of Baden
Treaty of Baden
action filter_type
action find_reverse
entity War of the Spanish Succession
relation has cause
type treaty
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:treaty . ?r property:has_cause resource:War_of_the_Spanish_Succession }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q688939 Q4035319 Q150701
P828
Q1190554
USER
Does The Mighty Boosh Live: Future Sailors Tour and War of the Spanish Succession cause Q688939 ?
(Q688939,P828,Q4035319) (Q688939,P828,Q150701)
action is_in
entity Q688939
action intersection
action find_reverse
entity Q4035319
relation P828
action find_reverse
entity Q150701
relation P828
['Q688939', 'P828', 'Q4035319'] ['Q688939', 'P828', 'Q150701']
ASK WHERE { resource:Q688939 property:P828 resource:Q4035319 . resource:Q688939 property:P828 resource:Q150701 }
Treaty of Baden The Mighty Boosh Live: Future Sailors Tour War of the Spanish Succession
action is_in
entity Treaty of Baden
action intersection
action find_reverse
entity The Mighty Boosh Live: Future Sailors Tour
relation has cause
action find_reverse
entity War of the Spanish Succession
relation has cause
['Treaty of Baden', 'has cause', 'The Mighty Boosh Live: Future Sailors Tour'] ['Treaty of Baden', 'has cause', 'War of the Spanish Succession']
ASK WHERE { resource:Treaty_of_Baden property:has_cause resource:The_Mighty_Boosh_Live:_Future_Sailors_Tour . resource:Treaty_of_Baden property:has_cause resource:War_of_the_Spanish_Succession }
[]
event
SYSTEM
NO and YES respectively
(Q688939,P828,Q4035319) (Q688939,P828,Q150701)
action is_in
entity Q688939
action intersection
action find_reverse
entity Q4035319
relation P828
action find_reverse
entity Q150701
relation P828
[ANSWER]
['Q688939', 'P828', 'Q4035319'] ['Q688939', 'P828', 'Q150701']
ASK WHERE { resource:Q688939 property:P828 resource:Q4035319 . resource:Q688939 property:P828 resource:Q150701 }
NO and YES respectively
action is_in
entity Treaty of Baden
action intersection
action find_reverse
entity The Mighty Boosh Live: Future Sailors Tour
relation has cause
action find_reverse
entity War of the Spanish Succession
relation has cause
['Treaty of Baden', 'has cause', 'The Mighty Boosh Live: Future Sailors Tour'] ['Treaty of Baden', 'has cause', 'War of the Spanish Succession']
ASK WHERE { resource:Treaty_of_Baden property:has_cause resource:The_Mighty_Boosh_Live:_Future_Sailors_Tour . resource:Treaty_of_Baden property:has_cause resource:War_of_the_Spanish_Succession }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q150701
P21 P607
Q502895
USER
Which people did War of the Spanish Succession take part in and are a male ?
AND((c(Q502895),P607,Q150701), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q150701
relation P607
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P607', 'Q150701'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P607 resource:Q150701 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
male War of the Spanish Succession
action filter_type
action intersection
action find_reverse
entity War of the Spanish Succession
relation conflict
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'conflict', 'War of the Spanish Succession'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:conflict resource:War_of_the_Spanish_Succession . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]
common name
Q158654 Q5482136 Q569405 Q1065565 Q1592228 Q2851550 Q3133300 Q13639595 Q3278281 Q4394948
SYSTEM
Some of them are Claude Louis Hector de Villars, Francis Palmes, Léopold Philippe d'Arenberg, Charles Mordaunt, 3rd Earl of Peterborough, Pedro Manuel de Ataíde, Annibal de Seguiran-Gardanne, Nicholas Haddock, John Cutts, 1st Baron Cutts, William Cadogan, 1st Earl Cadogan, Sir Robert Rich, 4th Baronet
Q16011357 Q4157020 Q1338135 Q473543 Q5081306 Q1774732 Q2474776 Q3383458 Q3086229 Q695284 Q968943 Q2977514 Q3129200 Q3052507 Q4394948 Q659576 Q4143906 Q2072512 Q3278281 Q2575404 Q192839 Q5075827 Q177134 Q1028893 Q2111140 Q571807 Q19299833 Q3261495 Q5076265 Q481338 Q4241651 Q1592228 Q3086320 Q111993 Q2386945 Q5232496 Q2821819 Q7794171 Q579407 Q470335 Q14949398 Q2918396 Q3086095 Q98666 Q441761 Q84922 Q153803 Q61710 Q7325688 Q3456107 Q1996296 Q2976913 Q881760 Q3262125 Q3427899 Q71126 Q3098826 Q2851550 Q3754543 Q6143590 Q3263534 Q3019559 Q2840013 Q3375268 Q1752786 Q3133300 Q3260869 Q376707 Q3260372 Q569405 Q16186021 Q55250 Q3379568 Q336005 Q96488 Q158654 Q4470201 Q5482136 Q8008683 Q213518 Q1065565 Q13639595 Q2736087 Q2978306 Q713145 Q6257763 Q2960487 Q6241806
AND((c(Q502895),P607,Q150701), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q150701
relation P607
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS]
{'AND': [[{'concept': 'Q502895'}, 'P607', 'Q150701'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P607 resource:Q150701 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
Joseph d'Hélie de Villarzel Magnus Julius De la Gardie Emmanuel-François-Joseph de Bavière Charles Thomas of Lorraine, Prince of Vaudémont Charles O'Hara, 1st Baron Tyrawley Claude François Bidal d'Asfeld James O'Hara, 2nd Baron Tyrawley Pierre-Paul Riquet François de La Rochefoucauld, marquis de Montendre Guido Starhemberg Louis Armand de Brichanteau de Nangis Claude Guillaume Testu de Balincourt Hector-Léonard de Sainte-Colombe de l'Aubépin Emmanuel-Auguste de Cahideuc Sir Robert Rich, 4th Baronet William Martin Thomas Gordon Richard Temple, 1st Viscount Cobham William Cadogan, 1st Earl Cadogan Jean Thierry du Mont, comte de Gages Sébastien Le Prestre de Vauban Charles Brown Alessandro, Marquis de Maffei Charles Wager Francisco Castillo Fajardo, Marquis of Villadarias John Norris Joan de Jansà Louis Charles de la Blandinière Charles Churchill Louis Charles Armand Fouquet Isaac Cronström Pedro Manuel de Ataíde François de Signier Count Claude Florimond de Mercy Armand de Villars David Colyear, 1st Earl of Portmore Abraham Duquesne-Monier Thomas Stanwix François-Marie, 1st duc de Broglie George Olivier, count of Wallis George St Lo Juan José Navarro, 1st Marquis of la Victoria François d'Harcourt Erhard Ernst von Röder Richard Kane Meinhardt Schomberg, 3rd Duke of Schomberg John Churchill, 1st Duke of Marlborough Burkhard Christoph von Münnich Richard FitzPatrick, 1st Baron Gowran Rémy-Claude de Bullion Richard Lestock Claude Aubery de Vastan Blas de Lezo Louis Guy Henri de Valori Restaino Cantelmo Stuart Hans von Lehwaldt Gaspard de Vento Annibal de Seguiran-Gardanne Alberto Octavio Tserclaes de Tilly James Steuart Louis de Montolieu William Blakeney, 1st Baron Blakeney Alphonse de Fortia de Forville Pere Joan Barceló i Anguera James Berkeley, 3rd Earl of Berkeley Nicholas Haddock Louis-Roger Franssure de Villers Adrien Maurice de Noailles Louis-Auguste d'Albert d'Ailly Léopold Philippe d'Arenberg Antoine de Villeneuve de Trans Pierre Le Moyne d'Iberville Philippe Charles de La Fare Arnold van Keppel, 1st Earl of Albemarle Alexander Hermann, Count of Wartensleben Claude Louis Hector de Villars John Griffin, 4th Baron Howard de Walden Francis Palmes William Evans Edward Teach Charles Mordaunt, 3rd Earl of Peterborough John Cutts, 1st Baron Cutts Amédée-François Frézier Claude de Beaucaire Edward Vernon John Shrimpton Charles d'Albert du Chesne John Jennings
War of the Spanish Succession took in part and are a male Claude Louis Hector de Villars, Francis Palmes, Léopold Philippe d'Arenberg, Charles Mordaunt, 3rd Earl of Peterborough, Pedro Manuel de Ataíde, Annibal de Seguiran-Gardanne, Nicholas Haddock, John Cutts, 1st Baron Cutts, William Cadogan, 1st Earl Cadogan and Sir Robert Rich, 4th Baronet
Claude Louis Hector de Villars Francis Palmes Léopold Philippe d'Arenberg Charles Mordaunt, 3rd Earl of Peterborough Pedro Manuel de Ataíde Annibal de Seguiran-Gardanne Nicholas Haddock John Cutts, 1st Baron Cutts William Cadogan, 1st Earl Cadogan Sir Robert Rich, 4th Baronet
action filter_type
action intersection
action find_reverse
entity War of the Spanish Succession
relation conflict
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'conflict', 'War of the Spanish Succession'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:conflict resource:War_of_the_Spanish_Succession . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5482136
P410
Q4189293
USER
Which title was the military rank held by that person ?
(Q5482136,P410,c(Q4189293))
action filter_type
action find
entity Q5482136
relation P410
type Q4189293
['Q5482136', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?k WHERE { resource:Q5482136 property:P410 ?k . ?k rdf:type ontology:Q4189293 }
Francis Palmes
action filter_type
action find
entity Francis Palmes
relation military rank
type title
['Francis Palmes', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?k WHERE { resource:Francis_Palmes property:military_rank ?k . ?k rdf:type ontology:title }
[]
title
Clarification for simple ques.
Q569405
SYSTEM
Did you mean Léopold Philippe d'Arenberg ?
Q158654 Q5482136 Q569405 Q1065565 Q1592228 Q2851550 Q3133300 Q13639595 Q3278281 Q4394948
(Q158654,P410,c(Q4189293)) (Q5482136,P410,c(Q4189293)) (Q569405,P410,c(Q4189293)) (Q1065565,P410,c(Q4189293)) (Q1592228,P410,c(Q4189293)) (Q2851550,P410,c(Q4189293)) (Q3133300,P410,c(Q4189293)) (Q13639595,P410,c(Q4189293)) (Q3278281,P410,c(Q4189293)) (Q4394948,P410,c(Q4189293))
[ANSWER]
['Q158654', 'P410', {'concept': 'Q4189293'}] ['Q5482136', 'P410', {'concept': 'Q4189293'}] ['Q569405', 'P410', {'concept': 'Q4189293'}] ['Q1065565', 'P410', {'concept': 'Q4189293'}] ['Q1592228', 'P410', {'concept': 'Q4189293'}] ['Q2851550', 'P410', {'concept': 'Q4189293'}] ['Q3133300', 'P410', {'concept': 'Q4189293'}] ['Q13639595', 'P410', {'concept': 'Q4189293'}] ['Q3278281', 'P410', {'concept': 'Q4189293'}] ['Q4394948', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?k WHERE { resource:Q5482136 property:P410 ?k . ?k rdf:type ontology:Q4189293 }
Claude Louis Hector de Villars Francis Palmes Léopold Philippe d'Arenberg Charles Mordaunt, 3rd Earl of Peterborough Pedro Manuel de Ataíde Annibal de Seguiran-Gardanne Nicholas Haddock John Cutts, 1st Baron Cutts William Cadogan, 1st Earl Cadogan Sir Robert Rich, 4th Baronet
Did you mean Léopold Philippe d'Arenberg ?
Léopold Philippe d'Arenberg
['Claude Louis Hector de Villars', 'military rank', {'concept': 'title'}] ['Francis Palmes', 'military rank', {'concept': 'title'}] ["Léopold Philippe d'Arenberg", 'military rank', {'concept': 'title'}] ['Charles Mordaunt, 3rd Earl of Peterborough', 'military rank', {'concept': 'title'}] ['Pedro Manuel de Ataíde', 'military rank', {'concept': 'title'}] ['Annibal de Seguiran-Gardanne', 'military rank', {'concept': 'title'}] ['Nicholas Haddock', 'military rank', {'concept': 'title'}] ['John Cutts, 1st Baron Cutts', 'military rank', {'concept': 'title'}] ['William Cadogan, 1st Earl Cadogan', 'military rank', {'concept': 'title'}] ['Sir Robert Rich, 4th Baronet', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?k WHERE { resource:Francis_Palmes property:military_rank ?k . ?k rdf:type ontology:title }
[]
Simple Question (Coreferenced)
USER
No, I meant Francis Palmes. Could you tell me the answer for that?
(Q5482136,P410,c(Q4189293))
Q5482136
['Q5482136', 'P410', {'concept': 'Q4189293'}]
['Francis Palmes', 'military rank', {'concept': 'title'}]
[]
Q152951
SYSTEM
lieutenant general
Q152951
(Q5482136,P410,c(Q4189293))
action filter_type
action find
entity Q5482136
relation P410
type Q4189293
The [ANSWER] was the military rank held by that person
['Q5482136', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?k WHERE { resource:Q5482136 property:P410 ?k . ?k rdf:type ontology:Q4189293 }
lieutenant general
The lieutenant general was the military rank held by that person
lieutenant general
action filter_type
action find
entity Francis Palmes
relation military rank
type title
['Francis Palmes', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?k WHERE { resource:Francis_Palmes property:military_rank ?k . ?k rdf:type ontology:title }
[]