Simple Question (Direct)
Simple Question
Q18354672
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Sandy Scott ?
(Q18354672,P27,c(Q15617994))
action filter_type
action find
entity Q18354672
relation P27
type Q15617994
['Q18354672', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q18354672 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Sandy Scott
action filter_type
action find
entity Sandy Scott
relation country of citizenship
type designation for an administrative territorial entity
['Sandy Scott', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sandy_Scott property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q18354672,P27,c(Q15617994))
action filter_type
action find
entity Q18354672
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Sandy Scott
['Q18354672', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q18354672 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of Sandy Scott
United Kingdom
action filter_type
action find
entity Sandy Scott
relation country of citizenship
type designation for an administrative territorial entity
['Sandy Scott', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Sandy_Scott property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18354672
P641
Q349
USER
Which sport was that person a part of ?
(Q145,P641,c(Q349))
action filter_type
action find
entity Q18354672
relation P641
type Q349
['Q145', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q18354672 property:P641 ?q . ?q rdf:type ontology:Q349 }
Sandy Scott
action filter_type
action find
entity Sandy Scott
relation sport
type sport
['United Kingdom', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Sandy_Scott property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q145,P641,c(Q349))
action filter_type
action find
entity Q18354672
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q145', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q18354672 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Sandy Scott
relation sport
type sport
['United Kingdom', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Sandy_Scott property:sport ?q . ?q rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q486972 Q20667921
USER
How many administrative territories have atleast 3 human settlements or french administrative divisions have their center of administration ?
(c(Q486972)|c(Q20667921),P1376,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 3
[[{'concept': 'Q486972'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { FILTER ( ?w >= 3 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?h WHERE { ?r rdf:type ?y . VALUES ( ?y ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } } GROUP BY ?h } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 3
[[{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { FILTER ( ?w >= 3 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?h WHERE { ?r rdf:type ?y . VALUES ( ?y ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?h } }
[]
designation for an administrative territorial entity human settlement type of french administrative division
SYSTEM
3
Q12703 Q12569 Q12789
(c(Q486972)|c(Q20667921),P1376,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
value 3
[ANSWER]
[[{'concept': 'Q486972'}, {'concept': 'Q20667921'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { FILTER ( ?w >= 3 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?h WHERE { ?r rdf:type ?y . VALUES ( ?y ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } } GROUP BY ?h } }
Pyrénées-Atlantiques Loire Var
3
action count
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
value 3
[[{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { FILTER ( ?w >= 3 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) ?h WHERE { ?r rdf:type ?y . VALUES ( ?y ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q337567 Q223557 Q15617994
USER
How many administrative territories come from exactly 1 still waterss or physical objects ?
(c(Q15617994),P138,c(Q337567)|c(Q223557))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q15617994
type Q337567
action find_tuple_counts
relation P138
type Q15617994
type Q223557
value 1
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q337567'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?t ) WHERE { { ?n rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q337567 . ?n property:P138 ?p } UNION { ?n property:P138 ?p . ?n rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q223557 } } GROUP BY ?n } . FILTER ( ?t = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type physical object
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'still waters'}, {'concept': 'physical object'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?t ) WHERE { { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:still_waters . ?n property:named_after ?p } UNION { ?n property:named_after ?p . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:physical_object } } GROUP BY ?n } . FILTER ( ?t = 1 ) }
[]
still waters physical object designation for an administrative territorial entity
SYSTEM
6
Q707 Q625403 Q691368 Q3240 Q1904 Q1788988
(c(Q15617994),P138,c(Q337567)|c(Q223557))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q15617994
type Q337567
action find_tuple_counts
relation P138
type Q15617994
type Q223557
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q337567'}, {'concept': 'Q223557'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?t ) WHERE { { ?n rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q337567 . ?n property:P138 ?p } UNION { ?n property:P138 ?p . ?n rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q223557 } } GROUP BY ?n } . FILTER ( ?t = 1 ) }
Flevoland Schwielowsee Léman Bouches-du-Rhône Ontario Trasimène
6
action count
action equal
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type physical object
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'still waters'}, {'concept': 'physical object'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?t ) WHERE { { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:still_waters . ?n property:named_after ?p } UNION { ?n property:named_after ?p . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:physical_object } } GROUP BY ?n } . FILTER ( ?t = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q916
P17
Q15617994 Q62447 Q1048835
USER
How many administrative territories are greater number of aerodromes and political territories a part of than Angola ?
(c(Q62447)|c(Q1048835),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q916
relation P17
type Q62447
type Q1048835
[[{'concept': 'Q62447'}, {'concept': 'Q1048835'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?k ) { ( ontology:Q62447 ) ( ontology:Q1048835 ) } . ?i rdf:type ?k } GROUP BY ?w } . FILTER ( ?b > ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { VALUES ( ?j ) { ( ontology:Q62447 ) ( ontology:Q1048835 ) } . ?d rdf:type ?j } . ?d property:P17 resource:Q916 } } }
Angola
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Angola
relation country
type aerodrome
type political territorial entity
[[{'concept': 'aerodrome'}, {'concept': 'political territorial entity'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?k ) { ( ontology:aerodrome ) ( ontology:political_territorial_entity ) } . ?i rdf:type ?k } GROUP BY ?w } . FILTER ( ?b > ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { VALUES ( ?j ) { ( ontology:aerodrome ) ( ontology:political_territorial_entity ) } . ?d rdf:type ?j } . ?d property:country resource:Angola } } }
[]
designation for an administrative territorial entity aerodrome political territorial entity
SYSTEM
44
Q800 Q419 Q668 Q414 Q142 Q145 Q262 Q148 Q717 Q252 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q794 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q38 Q739 Q851 Q20 Q843 Q223 Q96 Q17 Q974 Q298 Q114 Q750 Q212 Q213 Q833 Q29 Q1019 Q869 Q953
(c(Q62447)|c(Q1048835),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q916
relation P17
type Q62447
type Q1048835
[ANSWER]
[[{'concept': 'Q62447'}, {'concept': 'Q1048835'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?k ) { ( ontology:Q62447 ) ( ontology:Q1048835 ) } . ?i rdf:type ?k } GROUP BY ?w } . FILTER ( ?b > ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { VALUES ( ?j ) { ( ontology:Q62447 ) ( ontology:Q1048835 ) } . ?d rdf:type ?j } . ?d property:P17 resource:Q916 } } }
Costa Rica Peru India Argentina France United Kingdom Algeria People's Republic of China Venezuela Indonesia Chad South Africa Portugal Russia Turkey Greece Brazil Iran Finland Belgium United States of America Tanzania Poland Sweden Philippines Italy Colombia Saudi Arabia Norway Pakistan Greenland Mexico Japan Democratic Republic of the Congo Chile Kenya Bolivia Ukraine Czech Republic Malaysia Spain Madagascar Thailand Zambia
44
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Angola
relation country
type aerodrome
type political territorial entity
[[{'concept': 'aerodrome'}, {'concept': 'political territorial entity'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?k ) { ( ontology:aerodrome ) ( ontology:political_territorial_entity ) } . ?i rdf:type ?k } GROUP BY ?w } . FILTER ( ?b > ?o ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { { VALUES ( ?j ) { ( ontology:aerodrome ) ( ontology:political_territorial_entity ) } . ?d rdf:type ?j } . ?d property:country resource:Angola } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q230
P17
Q15617994 Q62447 Q1048835
USER
And how about Georgia?
(c(Q62447)|c(Q1048835),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q230
relation P17
type Q62447
type Q1048835
[[{'concept': 'Q62447'}, {'concept': 'Q1048835'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) ?w WHERE { { ?t property:P17 ?w . ?w rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q62447 } UNION { ?t property:P17 ?w . ?w rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P17 resource:Q230 . { { ?n rdf:type ontology:Q62447 } UNION { ?n rdf:type ontology:Q1048835 } } } } . FILTER ( ?v > ?z ) }
Georgia
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Georgia
relation country
type aerodrome
type political territorial entity
[[{'concept': 'aerodrome'}, {'concept': 'political territorial entity'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) ?w WHERE { { ?t property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:aerodrome } UNION { ?t property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:country resource:Georgia . { { ?n rdf:type ontology:aerodrome } UNION { ?n rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?v > ?z ) }
[]
designation for an administrative territorial entity aerodrome political territorial entity
SYSTEM
143
Q804 Q801 Q800 Q709 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q214 Q712 Q711 Q710 Q717 Q837 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q219 Q826 Q241 Q242 Q811 Q736 Q33 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q854 Q734 Q819 Q424 Q730 Q236 Q232 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q1025 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q786 Q32 Q227 Q225 Q224 Q223 Q222 Q96 Q347 Q1050 Q977 Q17 Q902 Q1036 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q211 Q1013 Q215 Q218 Q37 Q912 Q916 Q1006 Q833 Q1009 Q1008 Q971 Q686 Q29 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q929 Q863 Q1049 Q869 Q953
(c(Q62447)|c(Q1048835),P17,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q62447
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q230
relation P17
type Q62447
type Q1048835
[ANSWER]
[[{'concept': 'Q62447'}, {'concept': 'Q1048835'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) ?w WHERE { { ?t property:P17 ?w . ?w rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q62447 } UNION { ?t property:P17 ?w . ?w rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P17 resource:Q230 . { { ?n rdf:type ontology:Q62447 } UNION { ?n rdf:type ontology:Q1048835 } } } } . FILTER ( ?v > ?z ) }
Panama Israel Costa Rica Marshall Islands Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Slovakia Fiji Mongolia Kiribati Venezuela Nepal Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Bulgaria Maldives Cuba Belize Nicaragua Ecuador Finland Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Sri Lanka Guyana Laos Cambodia Suriname Montenegro Kazakhstan Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary Mauritania Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Dominican Republic Luxembourg Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Mexico Liechtenstein Swaziland Djibouti Japan Bangladesh Uganda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Latvia Lesotho Slovenia Romania Lithuania Mali Angola Guinea Malaysia Cameroon Côte d'Ivoire Republic of the Congo Vanuatu Spain Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Central African Republic Tajikistan Sudan Thailand Zambia
143
action count
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type aerodrome
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Georgia
relation country
type aerodrome
type political territorial entity
[[{'concept': 'aerodrome'}, {'concept': 'political territorial entity'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) ?w WHERE { { ?t property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:aerodrome } UNION { ?t property:country ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:country resource:Georgia . { { ?n rdf:type ontology:aerodrome } UNION { ?n rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?v > ?z ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q310592 Q18354672
P39 P106
Q12737077
USER
Which occupations have Sandy Scott as his/her as a career or were the positions for which Mohammad-Ali Rajai were appointed ?
OR((Q18354672,P106,c(Q12737077)), (Q310592,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q18354672
relation P106
action find
entity Q310592
relation P39
type Q12737077
{'OR': [['Q18354672', 'P106', {'concept': 'Q12737077'}], ['Q310592', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q18354672 property:P106 ?c } UNION { resource:Q310592 property:P39 ?c } } . ?c rdf:type ontology:Q12737077 }
Mohammad-Ali Rajai Sandy Scott
action filter_type
action union
action find
entity Sandy Scott
relation occupation
action find
entity Mohammad-Ali Rajai
relation position held
type occupation
{'OR': [['Sandy Scott', 'occupation', {'concept': 'occupation'}], ['Mohammad-Ali Rajai', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Sandy_Scott property:occupation ?c } UNION { resource:Mohammad-Ali_Rajai property:position_held ?c } } . ?c rdf:type ontology:occupation }
[]
occupation
Q937857 Q13561063 Q838380 Q127710 Q17525449
SYSTEM
association football player, Prime Minister of Iran, President of Iran, Foreign Affairs Minister of Iran, member of the Islamic Consultative Assembly
Q937857 Q13561063 Q838380 Q127710 Q17525449
OR((Q18354672,P106,c(Q12737077)), (Q310592,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q18354672
relation P106
action find
entity Q310592
relation P39
type Q12737077
[ANSWERS] have Sandy Scott as his/her as a career or were the positions for which Mohammad-Ali Rajai were appointed
{'OR': [['Q18354672', 'P106', {'concept': 'Q12737077'}], ['Q310592', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q18354672 property:P106 ?c } UNION { resource:Q310592 property:P39 ?c } } . ?c rdf:type ontology:Q12737077 }
association football player Prime Minister of Iran President of Iran Foreign Affairs Minister of Iran member of the Islamic Consultative Assembly
Association football player, Prime Minister of Iran, President of Iran, Foreign Affairs Minister of Iran and member of the Islamic Consultative Assembly have Sandy Scott as his/her as a career or were the positions for which Mohammad-Ali Rajai were appointed
association football player Prime Minister of Iran President of Iran Foreign Affairs Minister of Iran member of the Islamic Consultative Assembly
action filter_type
action union
action find
entity Sandy Scott
relation occupation
action find
entity Mohammad-Ali Rajai
relation position held
type occupation
{'OR': [['Sandy Scott', 'occupation', {'concept': 'occupation'}], ['Mohammad-Ali Rajai', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Sandy_Scott property:occupation ?c } UNION { resource:Mohammad-Ali_Rajai property:position_held ?c } } . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q127710
P1001
Q15617994
USER
Which administrative territory comes under the supervision of Foreign Affairs Minister of Iran ?
(Q127710,P1001,c(Q15617994))
action filter_type
action find
entity Q127710
relation P1001
type Q15617994
['Q127710', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q127710 property:P1001 ?d . ?d rdf:type ontology:Q15617994 }
Foreign Affairs Minister of Iran
action filter_type
action find
entity Foreign Affairs Minister of Iran
relation applies to jurisdiction
type designation for an administrative territorial entity
['Foreign Affairs Minister of Iran', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Foreign_Affairs_Minister_of_Iran property:applies_to_jurisdiction ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q127710,P1001,c(Q15617994))
action filter_type
action find
entity Q127710
relation P1001
type Q15617994
Of [ANSWER] comes under the supervision of Foreign Affairs Minister of [ANSWER]
['Q127710', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q127710 property:P1001 ?d . ?d rdf:type ontology:Q15617994 }
Iran
Of Iran comes under the supervision of Foreign Affairs Minister of Iran
Iran
action filter_type
action find
entity Foreign Affairs Minister of Iran
relation applies to jurisdiction
type designation for an administrative territorial entity
['Foreign Affairs Minister of Iran', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Foreign_Affairs_Minister_of_Iran property:applies_to_jurisdiction ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q794
P710
Q180684
USER
What event did that administrative territory particiate in ?
(c(Q180684),P710,Q794)
action filter_type
action find_reverse
entity Q794
relation P710
type Q180684
[{'concept': 'Q180684'}, 'P710', 'Q794']
SELECT DISTINCT ?w WHERE { ?w property:P710 resource:Q794 . ?w rdf:type ontology:Q180684 }
Iran
action filter_type
action find_reverse
entity Iran
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Iran']
SELECT DISTINCT ?w WHERE { ?w property:participant resource:Iran . ?w rdf:type ontology:conflict }
[]
conflict
Q26998563 Q21190371
SYSTEM
Aleppo offensive (September–October 2016), Aleppo offensive (October–December 2015)
Q26998563 Q21190371
(c(Q180684),P710,Q794)
action filter_type
action find_reverse
entity Q794
relation P710
type Q180684
That administrative territory particiated in [ANSWERS]
[{'concept': 'Q180684'}, 'P710', 'Q794']
SELECT DISTINCT ?w WHERE { ?w property:P710 resource:Q794 . ?w rdf:type ontology:Q180684 }
Aleppo offensive (September–October 2016) Aleppo offensive (October–December 2015)
That administrative territory particiated in Aleppo offensive (September–October 2016) and Aleppo offensive (October–December 2015)
Aleppo offensive (September–October 2016) Aleppo offensive (October–December 2015)
action filter_type
action find_reverse
entity Iran
relation participant
type conflict
[{'concept': 'conflict'}, 'participant', 'Iran']
SELECT DISTINCT ?w WHERE { ?w property:participant resource:Iran . ?w rdf:type ontology:conflict }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P710
Q502895 Q180684
USER
How many conflicts were greater number of people a participant of than that conflict ?
(c(Q180684),P710,c(Q502895))
[{'concept': 'Q180684'}, 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P710 ?y . ?z rdf:type ontology:Q4231815 . ?y rdf:type ontology:Q502895 }
[{'concept': 'conflict'}, 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:participant ?y . ?z rdf:type ontology:conflict . ?y rdf:type ontology:common_name }
[]
common name conflict
Comparative|Count over More/Less|Single entity type|Clarification
Q21190371
SYSTEM
Did you mean Aleppo offensive (October–December 2015) ?
(c(Q180684),P710,c(Q502895))
[ANSWER]
[{'concept': 'Q180684'}, 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P710 ?y . ?z rdf:type ontology:Q4231815 . ?y rdf:type ontology:Q502895 }
Did you mean Aleppo offensive (October–December 2015) ?
Aleppo offensive (October–December 2015)
[{'concept': 'conflict'}, 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:participant ?y . ?z rdf:type ontology:conflict . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Aleppo offensive (September–October 2016). Could you tell me the answer for that?
(c(Q180684),P710,c(Q502895))
Q26998563
[{'concept': 'Q180684'}, 'P710', {'concept': 'Q502895'}]
[{'concept': 'conflict'}, 'participant', {'concept': 'common name'}]
[]
SYSTEM
17
Q612739 Q150229 Q2825756 Q911972 Q3567222 Q15264166 Q14665 Q3354882 Q4126363 Q4773701 Q1337302 Q704481 Q18121535 Q11574756 Q2281529 Q23661625 Q4575745
(c(Q180684),P710,c(Q502895))
[ANSWER]
[{'concept': 'Q180684'}, 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P710 ?y . ?z rdf:type ontology:Q4231815 . ?y rdf:type ontology:Q502895 }
Operation Eagle Claw Boxer Rebellion Clearstream affair 1 Dunkirk evacuation Don Pacifico affair and case Operation Mascot Emu War Operation Tungsten Rebellion of Ōshio Heihachirō Anthony Weiner sexting scandal Hannibal's Crossing of the Alps 2010 Senkaku boat collision incident Opération Chammal rebellion of Ikuta Yorozu Wittenoorlog 1439 uprising in Buda 1973 Thai student uprising
17
[{'concept': 'conflict'}, 'participant', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:participant ?y . ?z rdf:type ontology:conflict . ?y rdf:type ontology:common_name }
[]