Simple Question (Direct)
Simple Question
Q1339612
P1412
Q34770
USER
Which language does Scott Cunningham speak in ?
(Q1339612,P1412,c(Q34770))
action filter_type
action find
entity Q1339612
relation P1412
type Q34770
['Q1339612', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q1339612 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Scott Cunningham
action filter_type
action find
entity Scott Cunningham
relation languages spoken, written or signed
type language
['Scott Cunningham', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Scott_Cunningham property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1339612,P1412,c(Q34770))
action filter_type
action find
entity Q1339612
relation P1412
type Q34770
Scott Cunningham speaks [ANSWER]
['Q1339612', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q1339612 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
English
Scott Cunningham speaks English
English
action filter_type
action find
entity Scott Cunningham
relation languages spoken, written or signed
type language
['Scott Cunningham', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Scott_Cunningham property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1339612
P1196
Q1931388
USER
What situation did Scott Cunningham die in ?
(Q1339612,P1196,c(Q1931388))
action filter_type
action find
entity Q1339612
relation P1196
type Q1931388
['Q1339612', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q1339612 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
Scott Cunningham
action filter_type
action find
entity Scott Cunningham
relation manner of death
type cause of death
['Scott Cunningham', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Scott_Cunningham property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q1339612,P1196,c(Q1931388))
action filter_type
action find
entity Q1339612
relation P1196
type Q1931388
Scott Cunningham died in [ANSWER]
['Q1339612', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?c WHERE { resource:Q1339612 property:P1196 ?c . ?c rdf:type ontology:Q1931388 }
natural causes
Scott Cunningham died in natural causes
natural causes
action filter_type
action find
entity Scott Cunningham
relation manner of death
type cause of death
['Scott Cunningham', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?c WHERE { resource:Scott_Cunningham property:manner_of_death ?c . ?c rdf:type ontology:cause_of_death }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q21203
P37
Q34770 Q7275
USER
Which states have their official language as approximately the same number of languages as Aruba ?
(c(Q7275),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q21203
relation P37
type Q7275
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?l ) WHERE { ?u property:P37 ?c . ?u rdf:type ontology:Q7275 . ?c rdf:type ontology:Q34770 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x rdf:type ontology:Q7275 . resource:Q21203 property:P37 ?x } } . FILTER ( ?l = ?s ) }
Aruba
action approx
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Aruba
relation official language
type state
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?l ) WHERE { ?u property:official_language ?c . ?u rdf:type ontology:state . ?c rdf:type ontology:language } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x rdf:type ontology:state . resource:Aruba property:official_language ?x } } . FILTER ( ?l = ?s ) }
[]
language state
Q15180 Q330988 Q147909
SYSTEM
Soviet Union, Democratic Kampuchea, Kingdom of Bulgaria
Q2444884 Q2145397 Q8146595 Q552157 Q4461035 Q218023 Q1493843 Q271570 Q303421 Q36704 Q23541302 Q3456417 Q75613 Q1269234 Q10874967 Q15180 Q696908 Q550374 Q14934927 Q220167 Q330988 Q842091 Q877579 Q147909 Q76236 Q319881 Q1136259 Q112558 Q1142179 Q7382038 Q7318 Q729768 Q212056 Q940741 Q21203 Q12490507 Q600018 Q107299 Q1029847 Q1044668 Q139319 Q1483430 Q11876909 Q150981 Q1362278 Q623751 Q633573
(c(Q7275),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q21203
relation P37
type Q7275
[ANSWERS] have their official language as approximately the same number of languages as Aruba
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?l ) WHERE { ?u property:P37 ?c . ?u rdf:type ontology:Q7275 . ?c rdf:type ontology:Q34770 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x rdf:type ontology:Q7275 . resource:Q21203 property:P37 ?x } } . FILTER ( ?l = ?s ) }
Tibet Goshen (South Africa) Upingtonia Nieuwe Republiek Akkadian empire Orange Free State Klein Vrystaat Kingdom of Araucanía and Patagonia Kingdom of Galicia Yugoslavia Kaluga Soviet Republic Republic of Saint-Malo Almoravid dynasty Stellaland People's Republic of Zhongtai Soviet Union Kingdom of Poland South African Republic Murrawarri Republic Lydenburg Republic Democratic Kampuchea Duchy of Normandy Kugelmugel Kingdom of Bulgaria Lithuanian–Belorussian Soviet Socialist Republic Republic of Taiwan Southwestern Somalia Republic of Saugeais Orange River Colony Imperial Throne Nazi Germany Zulu Kingdom Mongolian People's Republic Republic of Hungary Aruba Rashidun Caliphate Kingdom of Hungary Kingdom of Northumbria Natalia Republic Republic of Rose Island Russian Republic Principality of Kiev State of Brazil North German Confederation United States of Stellaland Kingdom of Bernicia Kingdom of Rheged
Soviet Union, Democratic Kampuchea and Kingdom of Bulgaria have their official language as approximately the same number of languages as Aruba
Soviet Union Democratic Kampuchea Kingdom of Bulgaria
action approx
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Aruba
relation official language
type state
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?l ) WHERE { ?u property:official_language ?c . ?u rdf:type ontology:state . ?c rdf:type ontology:language } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x rdf:type ontology:state . resource:Aruba property:official_language ?x } } . FILTER ( ?l = ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1044668
P37
Q34770 Q7275
USER
And what about Republic of Rose Island?
(c(Q7275),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q1044668
relation P37
type Q7275
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?c ) WHERE { ?e property:P37 ?p . ?e rdf:type ontology:Q7275 . ?p rdf:type ontology:Q34770 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k rdf:type ontology:Q7275 . resource:Q1044668 property:P37 ?k } } . FILTER ( ?c = ?y ) }
Republic of Rose Island
action approx
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Republic of Rose Island
relation official language
type state
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?c ) WHERE { ?e property:official_language ?p . ?e rdf:type ontology:state . ?p rdf:type ontology:language } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k rdf:type ontology:state . resource:Republic_of_Rose_Island property:official_language ?k } } . FILTER ( ?c = ?y ) }
[]
language state
Q15180 Q330988 Q147909
SYSTEM
Soviet Union, Democratic Kampuchea, Kingdom of Bulgaria
Q2444884 Q2145397 Q8146595 Q552157 Q4461035 Q218023 Q1493843 Q271570 Q303421 Q36704 Q23541302 Q3456417 Q75613 Q1269234 Q10874967 Q15180 Q696908 Q550374 Q14934927 Q220167 Q330988 Q842091 Q877579 Q147909 Q76236 Q319881 Q1136259 Q112558 Q1142179 Q7382038 Q7318 Q729768 Q212056 Q940741 Q21203 Q12490507 Q600018 Q107299 Q1029847 Q1044668 Q139319 Q1483430 Q11876909 Q150981 Q1362278 Q623751 Q633573
(c(Q7275),P37,c(Q34770))
action approx
action find_tuple_counts
relation P37
type Q7275
type Q34770
action count
action filter_type
action find
entity Q1044668
relation P37
type Q7275
[ANSWERS]
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?c ) WHERE { ?e property:P37 ?p . ?e rdf:type ontology:Q7275 . ?p rdf:type ontology:Q34770 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k rdf:type ontology:Q7275 . resource:Q1044668 property:P37 ?k } } . FILTER ( ?c = ?y ) }
Tibet Goshen (South Africa) Upingtonia Nieuwe Republiek Akkadian empire Orange Free State Klein Vrystaat Kingdom of Araucanía and Patagonia Kingdom of Galicia Yugoslavia Kaluga Soviet Republic Republic of Saint-Malo Almoravid dynasty Stellaland People's Republic of Zhongtai Soviet Union Kingdom of Poland South African Republic Murrawarri Republic Lydenburg Republic Democratic Kampuchea Duchy of Normandy Kugelmugel Kingdom of Bulgaria Lithuanian–Belorussian Soviet Socialist Republic Republic of Taiwan Southwestern Somalia Republic of Saugeais Orange River Colony Imperial Throne Nazi Germany Zulu Kingdom Mongolian People's Republic Republic of Hungary Aruba Rashidun Caliphate Kingdom of Hungary Kingdom of Northumbria Natalia Republic Republic of Rose Island Russian Republic Principality of Kiev State of Brazil North German Confederation United States of Stellaland Kingdom of Bernicia Kingdom of Rheged
Soviet Union Democratic Kampuchea Kingdom of Bulgaria
action approx
action find_tuple_counts
relation official language
type state
type language
action count
action filter_type
action find
entity Republic of Rose Island
relation official language
type state
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?p ) AS ?c ) WHERE { ?e property:official_language ?p . ?e rdf:type ontology:state . ?p rdf:type ontology:language } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { ?k rdf:type ontology:state . resource:Republic_of_Rose_Island property:official_language ?k } } . FILTER ( ?c = ?y ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q9779 Q34770
USER
How many languages are atleast 2 notations or alphabets the writing system of ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action count
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?v >= 2 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?i WHERE { { ?i property:P282 ?q . ?i rdf:type ontology:Q34770 . ?q rdf:type ontology:Q2001982 } UNION { ?i property:P282 ?q . ?i rdf:type ontology:Q34770 . ?q rdf:type ontology:Q9779 } } GROUP BY ?i } }
action count
action atleast
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?v >= 2 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?i WHERE { { ?i property:writing_system ?q . ?i rdf:type ontology:language . ?q rdf:type ontology:notation } UNION { ?i property:writing_system ?q . ?i rdf:type ontology:language . ?q rdf:type ontology:alphabet } } GROUP BY ?i } }
[]
notation alphabet language
SYSTEM
1
Q29572
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action count
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
value 2
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?v >= 2 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?i WHERE { { ?i property:P282 ?q . ?i rdf:type ontology:Q34770 . ?q rdf:type ontology:Q2001982 } UNION { ?i property:P282 ?q . ?i rdf:type ontology:Q34770 . ?q rdf:type ontology:Q9779 } } GROUP BY ?i } }
Avestan
1
action count
action atleast
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?v >= 2 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) ?i WHERE { { ?i property:writing_system ?q . ?i rdf:type ontology:language . ?q rdf:type ontology:notation } UNION { ?i property:writing_system ?q . ?i rdf:type ontology:language . ?q rdf:type ontology:alphabet } } GROUP BY ?i } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19577772
P106
Q12737077
USER
What is the job of David Schiaffino ?
(Q19577772,P106,c(Q12737077))
action filter_type
action find
entity Q19577772
relation P106
type Q12737077
['Q19577772', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q19577772 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
David Schiaffino
action filter_type
action find
entity David Schiaffino
relation occupation
type occupation
['David Schiaffino', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:David_Schiaffino property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q17486376
SYSTEM
sport shooter
Q17486376
(Q19577772,P106,c(Q12737077))
action filter_type
action find
entity Q19577772
relation P106
type Q12737077
The job of David Schiaffino is a [ANSWER]
['Q19577772', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q19577772 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
sport shooter
The job of David Schiaffino is a sport shooter
sport shooter
action filter_type
action find
entity David Schiaffino
relation occupation
type occupation
['David Schiaffino', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:David_Schiaffino property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19577772
P27
Q15617994
USER
Which administrative territory is David Schiaffino a civilian of ?
(Q19577772,P27,c(Q15617994))
action filter_type
action find
entity Q19577772
relation P27
type Q15617994
['Q19577772', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q19577772 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
David Schiaffino
action filter_type
action find
entity David Schiaffino
relation country of citizenship
type designation for an administrative territorial entity
['David Schiaffino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:David_Schiaffino property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q19577772,P27,c(Q15617994))
action filter_type
action find
entity Q19577772
relation P27
type Q15617994
[ANSWER] is David Schiaffino a civilian of
['Q19577772', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q19577772 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Argentina
Argentina is David Schiaffino a civilian of
Argentina
action filter_type
action find
entity David Schiaffino
relation country of citizenship
type designation for an administrative territorial entity
['David Schiaffino', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:David_Schiaffino property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7318
P194
Q1752346 Q11204 Q7275
USER
How many states have less number of assemblies and legislatures as their representative body than Nazi Germany ?
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action count
action less
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q7318
relation P194
type Q1752346
type Q11204
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?p WHERE { VALUES ( ?l ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?q rdf:type ?l } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { { ?d rdf:type ontology:Q1752346 } UNION { ?d rdf:type ontology:Q11204 } } . resource:Q7318 property:P194 ?d } } . FILTER ( ?g < ?w ) }
Nazi Germany
action count
action less
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity Nazi Germany
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?p WHERE { VALUES ( ?l ) { ( ontology:legislature ) ( ontology:assembly ) } . ?q rdf:type ?l } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { { ?d rdf:type ontology:assembly } UNION { ?d rdf:type ontology:legislature } } . resource:Nazi_Germany property:legislative_body ?d } } . FILTER ( ?g < ?w ) }
[]
assembly legislature state
SYSTEM
42
Q211853 Q476757 Q207272 Q965174 Q1078602 Q201038 Q208545 Q167360 Q1811029 Q209062 Q204920 Q2006542 Q133356 Q191077 Q903779 Q16957 Q1649871 Q55502 Q62623 Q842794 Q71747 Q1423581 Q83286 Q1277557 Q330362 Q212439 Q28025 Q153015 Q83618 Q964024 Q487829 Q4948 Q49683 Q2342822 Q199841 Q12557 Q217196 Q23541302 Q1775277 Q70972 Q427941 Q216173
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action count
action less
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q7318
relation P194
type Q1752346
type Q11204
[ANSWER]
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?p WHERE { VALUES ( ?l ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?q rdf:type ?l } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { { ?d rdf:type ontology:Q1752346 } UNION { ?d rdf:type ontology:Q11204 } } . resource:Q7318 property:P194 ?d } } . FILTER ( ?g < ?w ) }
Republic of Serbian Krajina Democratic Republic of Afghanistan Second Polish Republic Coalition Provisional Authority Kingdom of Nepal Roman Kingdom Socialist Republic of Bosnia and Herzegovina First Portuguese Republic Finnish Socialist Workers' Republic Socialist Republic of Croatia Crown of Aragon Dominion of Pakistan Ukrainian Soviet Socialist Republic Kingdom of Yugoslavia United Kingdom of Portugal, Brazil and the Algarves East Germany Kingdom of Poland Kingdom of Jerusalem Kalmar Union Socialist Republic of Romania Duchy of Brittany Italian Regency of Carnaro Socialist Federal Republic of Yugoslavia Democratic Federal Yugoslavia Commonwealth of England Cossack Hetmanate Ryukyu Kingdom Kingdom of Saxony Maratha Empire Moldavian Democratic Republic Chagatai Khanate Republic of Venice Grand Duchy of Lithuania West Pakistan South Yemen Mongol Empire Crown of Castile Kaluga Soviet Republic Dominion of India Kingdom of France Islamic Emirate of Afghanistan Free City of Danzig
42
action count
action less
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity Nazi Germany
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) ?p WHERE { VALUES ( ?l ) { ( ontology:legislature ) ( ontology:assembly ) } . ?q rdf:type ?l } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { { ?d rdf:type ontology:assembly } UNION { ?d rdf:type ontology:legislature } } . resource:Nazi_Germany property:legislative_body ?d } } . FILTER ( ?g < ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q15864
P194
Q1752346 Q11204 Q7275
USER
And what about United Kingdom of the Netherlands?
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action count
action less
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q15864
relation P194
type Q1752346
type Q11204
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q15864 property:P194 ?w . { VALUES ( ?t ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?w rdf:type ?t } } } . FILTER ( ?l < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?f WHERE { { ?f rdf:type ontology:Q7275 . ?p rdf:type ontology:Q1752346 . ?f property:P194 ?p } UNION { ?p rdf:type ontology:Q11204 . ?f rdf:type ontology:Q7275 . ?f property:P194 ?p } } GROUP BY ?f } }
United Kingdom of the Netherlands
action count
action less
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity United Kingdom of the Netherlands
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:United_Kingdom_of_the_Netherlands property:legislative_body ?w . { VALUES ( ?t ) { ( ontology:legislature ) ( ontology:assembly ) } . ?w rdf:type ?t } } } . FILTER ( ?l < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?f WHERE { { ?f rdf:type ontology:state . ?p rdf:type ontology:assembly . ?f property:legislative_body ?p } UNION { ?p rdf:type ontology:legislature . ?f rdf:type ontology:state . ?f property:legislative_body ?p } } GROUP BY ?f } }
[]
assembly legislature state
SYSTEM
42
Q211853 Q476757 Q207272 Q965174 Q1078602 Q201038 Q208545 Q167360 Q1811029 Q209062 Q204920 Q2006542 Q133356 Q191077 Q903779 Q16957 Q1649871 Q55502 Q62623 Q842794 Q71747 Q1423581 Q83286 Q1277557 Q330362 Q212439 Q28025 Q153015 Q83618 Q964024 Q487829 Q4948 Q49683 Q2342822 Q199841 Q12557 Q217196 Q23541302 Q1775277 Q70972 Q427941 Q216173
(c(Q7275),P194,c(Q1752346)|c(Q11204))
action count
action less
action union
action find_tuple_counts
relation P194
type Q7275
type Q1752346
action find_tuple_counts
relation P194
type Q7275
type Q11204
action count
action filter_multi_types
action find
entity Q15864
relation P194
type Q1752346
type Q11204
[ANSWER]
[{'concept': 'Q7275'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q15864 property:P194 ?w . { VALUES ( ?t ) { ( ontology:Q11204 ) ( ontology:Q1752346 ) } . ?w rdf:type ?t } } } . FILTER ( ?l < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?f WHERE { { ?f rdf:type ontology:Q7275 . ?p rdf:type ontology:Q1752346 . ?f property:P194 ?p } UNION { ?p rdf:type ontology:Q11204 . ?f rdf:type ontology:Q7275 . ?f property:P194 ?p } } GROUP BY ?f } }
Republic of Serbian Krajina Democratic Republic of Afghanistan Second Polish Republic Coalition Provisional Authority Kingdom of Nepal Roman Kingdom Socialist Republic of Bosnia and Herzegovina First Portuguese Republic Finnish Socialist Workers' Republic Socialist Republic of Croatia Crown of Aragon Dominion of Pakistan Ukrainian Soviet Socialist Republic Kingdom of Yugoslavia United Kingdom of Portugal, Brazil and the Algarves East Germany Kingdom of Poland Kingdom of Jerusalem Kalmar Union Socialist Republic of Romania Duchy of Brittany Italian Regency of Carnaro Socialist Federal Republic of Yugoslavia Democratic Federal Yugoslavia Commonwealth of England Cossack Hetmanate Ryukyu Kingdom Kingdom of Saxony Maratha Empire Moldavian Democratic Republic Chagatai Khanate Republic of Venice Grand Duchy of Lithuania West Pakistan South Yemen Mongol Empire Crown of Castile Kaluga Soviet Republic Dominion of India Kingdom of France Islamic Emirate of Afghanistan Free City of Danzig
42
action count
action less
action union
action find_tuple_counts
relation legislative body
type state
type assembly
action find_tuple_counts
relation legislative body
type state
type legislature
action count
action filter_multi_types
action find
entity United Kingdom of the Netherlands
relation legislative body
type assembly
type legislature
[{'concept': 'state'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:United_Kingdom_of_the_Netherlands property:legislative_body ?w . { VALUES ( ?t ) { ( ontology:legislature ) ( ontology:assembly ) } . ?w rdf:type ?t } } } . FILTER ( ?l < ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) ?f WHERE { { ?f rdf:type ontology:state . ?p rdf:type ontology:assembly . ?f property:legislative_body ?p } UNION { ?p rdf:type ontology:legislature . ?f rdf:type ontology:state . ?f property:legislative_body ?p } } GROUP BY ?f } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with atleast 53 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 53
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?j ) WHERE { ?z property:P530 ?d . ?z rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?j >= 53 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 53
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?j ) WHERE { ?z property:diplomatic_relation ?d . ?z rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?j >= 53 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 53
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?j ) WHERE { ?z property:P530 ?d . ?z rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?j >= 53 ) }
Germany Australia
2
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 53
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?d ) AS ?j ) WHERE { ?z property:diplomatic_relation ?d . ?z rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?j >= 53 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q414
P137
Q3084961
USER
Which product linings can be described as service operator of Argentina ?
(c(Q3084961),P137,Q414)
action filter_type
action find_reverse
entity Q414
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q414']
SELECT DISTINCT ?g WHERE { ?g property:P137 resource:Q414 . ?g rdf:type ontology:Q3084961 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Argentina']
SELECT DISTINCT ?g WHERE { ?g property:operator resource:Argentina . ?g rdf:type ontology:product_lining }
[]
product lining
Q12257149 Q234371 Q39699
SYSTEM
AS332 Super Puma, Mirage III, AS355 Écureuil 2
Q4883194 Q1065437 Q154106 Q1141392 Q683041 Q334759 Q316815 Q1393122 Q1138526 Q848899 Q1094597 Q689011 Q17439021 Q17476643 Q6497 Q728940 Q17444989 Q698242 Q17438173 Q182027 Q39699 Q17459476 Q16303630 Q375655 Q234371 Q17407104 Q155490 Q1867545 Q660969 Q933767 Q12257149 Q159129 Q398965 Q17163402 Q2660305 Q1057353 Q842608 Q381143 Q725319
(c(Q3084961),P137,Q414)
action filter_type
action find_reverse
entity Q414
relation P137
type Q3084961
And [ANSWERS] can be described as service operator of Argentina
[{'concept': 'Q3084961'}, 'P137', 'Q414']
SELECT DISTINCT ?g WHERE { ?g property:P137 resource:Q414 . ?g rdf:type ontology:Q3084961 }
Huey S-2 Tracker UH-1 Iroquois Nesher DHC-6 Twin Otter A-4 Skyhawk Alouette II Metroliner Mirage 5 MD 500 Super King Air PC-6 Porter Mirage H-3 Sea King C-212 Aviocar OV-1 Mohawk Merlin IV Bell 212 SA 316 Alouette III C-130 Hercules AS355 Écureuil 2 Puma Alouette G 120 Mirage III Écureuil P-3 Orion KC-130 Hercules Bell 206 Hawk 75 AS332 Super Puma Sea King AW109 S-61 Bell 205 Citation EMB 312 Tucano G.222 F28 Fellowship
And AS332 Super Puma, Mirage III and AS355 Écureuil 2 can be described as service operator of Argentina
AS332 Super Puma Mirage III AS355 Écureuil 2
action filter_type
action find_reverse
entity Argentina
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Argentina']
SELECT DISTINCT ?g WHERE { ?g property:operator resource:Argentina . ?g rdf:type ontology:product_lining }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q12257149 Q234371 Q39699
P137
Q15617994
USER
Which administrative territories can manage AS332 Super Puma, Mirage III and AS355 Écureuil 2 ?
(Q12257149,P137,c(Q15617994)) (Q234371,P137,c(Q15617994)) (Q39699,P137,c(Q15617994))
action union
action filter_type
action find
entity Q12257149
relation P137
type Q15617994
action filter_type
action find
entity Q234371
relation P137
type Q15617994
action filter_type
action find
entity Q39699
relation P137
type Q15617994
['Q12257149', 'P137', {'concept': 'Q15617994'}] ['Q234371', 'P137', {'concept': 'Q15617994'}] ['Q39699', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { resource:Q12257149 property:P137 ?u . ?u rdf:type ontology:Q15617994 } UNION { ?u rdf:type ontology:Q15617994 . resource:Q234371 property:P137 ?u } }
AS332 Super Puma Mirage III AS355 Écureuil 2
action union
action filter_type
action find
entity AS332 Super Puma
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity Mirage III
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity AS355 Écureuil 2
relation operator
type designation for an administrative territorial entity
['AS332 Super Puma', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Mirage III', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['AS355 Écureuil 2', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { resource:AS332_Super_Puma property:operator ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mirage_III property:operator ?u } }
[]
designation for an administrative territorial entity
Q148 Q184 Q414
SYSTEM
People's Republic of China, Belarus, Argentina
Q414 Q148 Q414 Q184 Q414
(Q12257149,P137,c(Q15617994)) (Q234371,P137,c(Q15617994)) (Q39699,P137,c(Q15617994))
action union
action filter_type
action find
entity Q12257149
relation P137
type Q15617994
action filter_type
action find
entity Q234371
relation P137
type Q15617994
action filter_type
action find
entity Q39699
relation P137
type Q15617994
[ANSWERS] can manage AS332 Super Puma, Mirage III and AS355 Écureuil 2
['Q12257149', 'P137', {'concept': 'Q15617994'}] ['Q234371', 'P137', {'concept': 'Q15617994'}] ['Q39699', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { resource:Q12257149 property:P137 ?u . ?u rdf:type ontology:Q15617994 } UNION { ?u rdf:type ontology:Q15617994 . resource:Q234371 property:P137 ?u } }
Argentina People's Republic of China Argentina Belarus Argentina
People's Republic of China, Belarus and Argentina can manage AS332 Super Puma, Mirage III and AS355 Écureuil 2
People's Republic of China Belarus Argentina
action union
action filter_type
action find
entity AS332 Super Puma
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity Mirage III
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity AS355 Écureuil 2
relation operator
type designation for an administrative territorial entity
['AS332 Super Puma', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['Mirage III', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['AS355 Écureuil 2', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { resource:AS332_Super_Puma property:operator ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mirage_III property:operator ?u } }
[]