Simple Question (Direct)
Simple Question
Q2357762
P25
Q502895
USER
Which female person was the parent of Izyaslav of Polotsk ?
(Q2357762,P25,c(Q502895))
action filter_type
action find
entity Q2357762
relation P25
type Q502895
['Q2357762', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2357762 property:P25 ?u . ?u rdf:type ontology:Q502895 }
Izyaslav of Polotsk
action filter_type
action find
entity Izyaslav of Polotsk
relation mother
type common name
['Izyaslav of Polotsk', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Izyaslav_of_Polotsk property:mother ?u . ?u rdf:type ontology:common_name }
[]
common name
Q2298294
SYSTEM
Rogneda of Polotsk
Q2298294
(Q2357762,P25,c(Q502895))
action filter_type
action find
entity Q2357762
relation P25
type Q502895
[ANSWER] was the parent of Izyaslav of Polotsk
['Q2357762', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q2357762 property:P25 ?u . ?u rdf:type ontology:Q502895 }
Rogneda of Polotsk
Rogneda of Polotsk was the parent of Izyaslav of Polotsk
Rogneda of Polotsk
action filter_type
action find
entity Izyaslav of Polotsk
relation mother
type common name
['Izyaslav of Polotsk', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Izyaslav_of_Polotsk property:mother ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2298294
P138
Q13220204
USER
Which administrative country subdivision is the eponym of that person ?
(c(Q13220204),P138,Q2298294)
action filter_type
action find_reverse
entity Q2298294
relation P138
type Q13220204
[{'concept': 'Q13220204'}, 'P138', 'Q2298294']
SELECT DISTINCT ?e WHERE { ?e property:P138 resource:Q2298294 . ?e rdf:type ontology:Q13220204 }
Rogneda of Polotsk
action filter_type
action find_reverse
entity Rogneda of Polotsk
relation named after
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'named after', 'Rogneda of Polotsk']
SELECT DISTINCT ?e WHERE { ?e property:named_after resource:Rogneda_of_Polotsk . ?e rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q638592
SYSTEM
Krāslava
Q638592
(c(Q13220204),P138,Q2298294)
action filter_type
action find_reverse
entity Q2298294
relation P138
type Q13220204
[ANSWER] is the eponym of that person
[{'concept': 'Q13220204'}, 'P138', 'Q2298294']
SELECT DISTINCT ?e WHERE { ?e property:P138 resource:Q2298294 . ?e rdf:type ontology:Q13220204 }
Krāslava
Krāslava is the eponym of that person
Krāslava
action filter_type
action find_reverse
entity Rogneda of Polotsk
relation named after
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'named after', 'Rogneda of Polotsk']
SELECT DISTINCT ?e WHERE { ?e property:named_after resource:Rogneda_of_Polotsk . ?e rdf:type ontology:second-level_administrative_country_subdivision }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3658218
P138
Q337567 Q13220204
USER
Which still waterss are the origin of less number of administrative country subdivisions than Lake Bile ?
(c(Q13220204),P138,c(Q337567))
action less
action find_reverse_tuple_counts
relation P138
type Q337567
type Q13220204
action count
action filter_type
action find_reverse
entity Q3658218
relation P138
type Q13220204
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q337567'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?v < ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P138 resource:Q3658218 . ?x rdf:type ontology:Q13220204 } } . { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P138 ?q . ?q rdf:type ontology:Q337567 . ?s rdf:type ontology:Q13220204 } GROUP BY ?q } }
Lake Bile
action less
action find_reverse_tuple_counts
relation named after
type still waters
type second-level administrative country subdivision
action count
action filter_type
action find_reverse
entity Lake Bile
relation named after
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'still waters'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?v < ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:named_after resource:Lake_Bile . ?x rdf:type ontology:second-level_administrative_country_subdivision } } . { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:named_after ?q . ?q rdf:type ontology:still_waters . ?s rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?q } }
[]
still waters second-level administrative country subdivision
Q15288 Q5513 Q4127
SYSTEM
Lake Ladoga, Lake Baikal, Lake Constance
Q213769 Q23775622 Q835186 Q445408 Q1062 Q304933 Q5492 Q1301207 Q5513 Q3215178 Q3591716 Q1473008 Q1882698 Q716287 Q24305783 Q26268941 Q2249567 Q1029508 Q1652613 Q265997 Q1242053 Q2264730 Q575489 Q845876 Q639919 Q332894 Q2232549 Q2254073 Q360892 Q454646 Q272463 Q5399915 Q808245 Q1548593 Q890532 Q962898 Q722633 Q704782 Q6476967 Q10315693 Q201843 Q688459 Q26268793 Q187782 Q450031 Q18175332 Q1805526 Q3214976 Q14418 Q203137 Q11221125 Q881665 Q3215157 Q2043091 Q19636338 Q846456 Q1407004 Q192770 Q2283279 Q18326756 Q635952 Q18327260 Q2055426 Q1797016 Q1424609 Q3369 Q1299170 Q908661 Q1298761 Q2211792 Q3424558 Q188487 Q22691357 Q565637 Q1674859 Q1772785 Q7362220 Q2155789 Q3361115 Q257232 Q694789 Q22329016 Q15288 Q15523 Q1129374 Q114397 Q184492 Q203811 Q24731533 Q1535615 Q1549188 Q1345130 Q1684060 Q248234 Q1771237 Q22454153 Q958388 Q891693 Q1565645 Q200239 Q12979759 Q2439795 Q3257708 Q1493200 Q318313 Q880631 Q2457181 Q1485521 Q3023366 Q6977483 Q19963110 Q12268925 Q1460079 Q7109416 Q19829392 Q15694938 Q2283141 Q1714919 Q688154 Q1600016 Q1389195 Q3149577 Q11871887 Q1799613 Q7264846 Q1817607 Q1361869 Q18661301 Q4983082 Q905065 Q2018667 Q1058308 Q1549069 Q2530182 Q805098 Q3257692 Q5254523 Q1675244 Q11873196 Q402778 Q165782 Q1552345 Q799691 Q2264279 Q2452182 Q884662 Q1799601 Q1271778 Q370128 Q319144 Q1329031 Q2564653 Q16065440 Q7337838 Q3504077 Q5602756 Q4991981 Q1657905 Q845891 Q1805105 Q2162424 Q2350816 Q1532485 Q1381569 Q2045081 Q209333 Q1415971 Q3049825 Q1074063 Q1143502 Q202905 Q1020737 Q68467 Q338137 Q27092901 Q842881 Q20736849 Q1658740 Q1320568 Q1474939 Q4127 Q2363863 Q2458029 Q3378013 Q17487950 Q6403 Q1247231
(c(Q13220204),P138,c(Q337567))
action less
action find_reverse_tuple_counts
relation P138
type Q337567
type Q13220204
action count
action filter_type
action find_reverse
entity Q3658218
relation P138
type Q13220204
[ANSWERS] are the origin of less number of administrative country subdivisions than Lake Bile
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q337567'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?v < ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P138 resource:Q3658218 . ?x rdf:type ontology:Q13220204 } } . { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P138 ?q . ?q rdf:type ontology:Q337567 . ?s rdf:type ontology:Q13220204 } GROUP BY ?q } }
Päijänne Lindenweiher Krüselinsee Altshauser Weiher Lake Ontario Lake Abaya Lake Erie Eibsee Lake Baikal Lake Saint Francis Saint-Paul Pond Fuhlensee Lake Machnow Jingpo Lake Vikajärvi Erlachsee Schreckensee Red Lake Hüttensee Lake Imandra Donoperteich Seedorfer See Plansee Lake of the Woods Mechower See Lake Überlingen Scheibensee Schwarzer See Lake George Ratzeburger See Lake Athabasca Essingen Islands Barkauer See Großer Auesee Kallavesi Großes Heiliges Meer Lake Aschersleben Schaalsee Lake Monger Feia Lake Khanka Lake Dümmer Erlachsee Zellersee Selenter See Bülter See Lankower See Kejimikujik Lake Lake Lugano Lake Inari Lake Gjerdingen Blanksee Redberry Lake Ozegahara Bogen Lake Lake Mégantic Schulensee Saimaa lake Flevo Kauhajärvi Beetzsee Kuivasjärvi Paschensee Kührener Teich kettle Müritz Uckermark Lakes Hartbeespoort Dam Glaswaldsee Sager Meer Orlången Lake Trasimeno Bibersee Untersee Lengener Meer Mindelsee Vaalajärvi Rixdorfer Teich Trekanten Oijärvi Müggelsee Entenfang Lake Ladoga Lake Como Conventer See Lanker See Mälaren Lake Skadar Senat lake Goldensee Großes Meer Koitere Jastorfer See Federsee Plätlinsee Cayuga Lake Loch Coruisk Bolzer See Kreuzweiher Lake Biwa Flaten Cardiel Lake Loch Nevis Lake Traverse Schwielowsee Teterower See Tröndelsee Hengelesweiher Étang de Lers Lillsjön Lausheimer Weiher Vuontisjärvi Lake Umbozero Otter Tail Lake Ruschweiler See Crassensee Lake Chicot Jägerweiher Kummerower See Mille Lacs Lake Schönitzer See Imuta-ike Kivijärvi Lake Témiscouata Pöyrisjärvi Lengeder Teiche Loch Striven Piikajärvi Buckeye Lake Breeser See Oldenburger See Zabuye lake Loch Earn Vogelwoog Balksee Loch Aline Delsjön Itelteich Kuivasjärvi Ahrensee Steinhuder Meer Almere Badsee Seddinsee Treßsee Einfelder See Lac Le Jeune Northeim Lake District Neffelsee Lake Stechlin Lake Saroma Westensee Pyykösjärvi Lake Freeman Lake Žuvintas Green Lake Magelungen Ihlsee Pielinen Langensee Rohrsee Stocksee Großer Binnensee Last Mountain Lake Braslau Lakes oxbow lake Niep Lake Iguaque Lake Mackay Culpiner See Lake Okeechobee Bültsee Lake Champlain IJ Rovajärvi Lake Saint Pierre Kauhajärvi Lake Illawarra Red Lake Lake Seydozero Lake Constance Suhrer See Clean Ponds Ådran Kaukajärvi Lake Geneva Oneida Lake
Lake Ladoga, Lake Baikal and Lake Constance are the origin of less number of administrative country subdivisions than Lake Bile
Lake Ladoga Lake Baikal Lake Constance
action less
action find_reverse_tuple_counts
relation named after
type still waters
type second-level administrative country subdivision
action count
action filter_type
action find_reverse
entity Lake Bile
relation named after
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'still waters'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?v < ?u ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:named_after resource:Lake_Bile . ?x rdf:type ontology:second-level_administrative_country_subdivision } } . { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:named_after ?q . ?q rdf:type ontology:still_waters . ?s rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?q } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q4989906 Q860861
USER
How many people were the persons who commissioned atleast 1 monuments and sculptures ?
(c(Q4989906)|c(Q860861),P88,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q4989906
action find_reverse_tuple_counts
relation P88
type Q502895
type Q860861
value 1
[[{'concept': 'Q4989906'}, {'concept': 'Q860861'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?j ) WHERE { VALUES ( ?y ) { ( ontology:Q4989906 ) ( ontology:Q860861 ) } . ?r rdf:type ?y } GROUP BY ?h } . FILTER ( ?j >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type monument
action find_reverse_tuple_counts
relation commissioned by
type common name
type sculpture
value 1
[[{'concept': 'monument'}, {'concept': 'sculpture'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?j ) WHERE { VALUES ( ?y ) { ( ontology:monument ) ( ontology:sculpture ) } . ?r rdf:type ?y } GROUP BY ?h } . FILTER ( ?j >= 1 ) }
[]
common name monument sculpture
SYSTEM
6
Q1523 Q44361 Q152229 Q131706 Q1066012 Q517
(c(Q4989906)|c(Q860861),P88,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q4989906
action find_reverse_tuple_counts
relation P88
type Q502895
type Q860861
value 1
[ANSWER]
[[{'concept': 'Q4989906'}, {'concept': 'Q860861'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?j ) WHERE { VALUES ( ?y ) { ( ontology:Q4989906 ) ( ontology:Q860861 ) } . ?r rdf:type ?y } GROUP BY ?h } . FILTER ( ?j >= 1 ) }
Ramesses II Ludwig I of Bavaria Frederick William II of Prussia Maria Theresa of Austria Charles Saatchi Napoleon
6
action count
action atleast
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type monument
action find_reverse_tuple_counts
relation commissioned by
type common name
type sculpture
value 1
[[{'concept': 'monument'}, {'concept': 'sculpture'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?j ) WHERE { VALUES ( ?y ) { ( ontology:monument ) ( ontology:sculpture ) } . ?r rdf:type ?y } GROUP BY ?h } . FILTER ( ?j >= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2351059 Q2357762
P9
Q502895
USER
Which people are the sisters of Izyaslav of Polotsk or Charles Henri of Lorraine, Prince of Commercy ?
OR((Q2357762,P9,c(Q502895)), (Q2351059,P9,c(Q502895)))
action filter_type
action union
action find
entity Q2357762
relation P9
action find
entity Q2351059
relation P9
type Q502895
{'OR': [['Q2357762', 'P9', {'concept': 'Q502895'}], ['Q2351059', 'P9', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2357762 property:P9 ?b } UNION { resource:Q2351059 property:P9 ?b } } . ?b rdf:type ontology:Q502895 }
Charles Henri of Lorraine, Prince of Commercy Izyaslav of Polotsk
action filter_type
action union
action find
entity Izyaslav of Polotsk
relation sister
action find
entity Charles Henri of Lorraine, Prince of Commercy
relation sister
type common name
{'OR': [['Izyaslav of Polotsk', 'sister', {'concept': 'common name'}], ['Charles Henri of Lorraine, Prince of Commercy', 'sister', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Izyaslav_of_Polotsk property:sister ?b } UNION { resource:Charles_Henri_of_Lorraine,_Prince_of_Commercy property:sister ?b } } . ?b rdf:type ontology:common_name }
[]
common name
Q13032030 Q263296 Q2826477 Q22080197 Q3920465
SYSTEM
Pramislava Sviatoslavna, Maria Dobroniega of Kiev, Agatha, wife of Edward the Exile, Anne of Lorraine, Predslava Vladimirovna
Q13032030 Q263296 Q2826477 Q22080197 Q3920465
OR((Q2357762,P9,c(Q502895)), (Q2351059,P9,c(Q502895)))
action filter_type
action union
action find
entity Q2357762
relation P9
action find
entity Q2351059
relation P9
type Q502895
[ANSWERS] are the sisters of Izyaslav of Polotsk or Charles Henri of Lorraine, Prince of Commercy
{'OR': [['Q2357762', 'P9', {'concept': 'Q502895'}], ['Q2351059', 'P9', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2357762 property:P9 ?b } UNION { resource:Q2351059 property:P9 ?b } } . ?b rdf:type ontology:Q502895 }
Pramislava Sviatoslavna Maria Dobroniega of Kiev Agatha, wife of Edward the Exile Anne of Lorraine Predslava Vladimirovna
Pramislava Sviatoslavna, Maria Dobroniega of Kiev, Agatha, wife of Edward the Exile, Anne of Lorraine and Predslava Vladimirovna are the sisters of Izyaslav of Polotsk or Charles Henri of Lorraine, Prince of Commercy
Pramislava Sviatoslavna Maria Dobroniega of Kiev Agatha, wife of Edward the Exile Anne of Lorraine Predslava Vladimirovna
action filter_type
action union
action find
entity Izyaslav of Polotsk
relation sister
action find
entity Charles Henri of Lorraine, Prince of Commercy
relation sister
type common name
{'OR': [['Izyaslav of Polotsk', 'sister', {'concept': 'common name'}], ['Charles Henri of Lorraine, Prince of Commercy', 'sister', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Izyaslav_of_Polotsk property:sister ?b } UNION { resource:Charles_Henri_of_Lorraine,_Prince_of_Commercy property:sister ?b } } . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can approximately 1864 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1864
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?g = 1864 ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?d } }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1864
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?g = 1864 ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?d } }
[]
musical instrument common name
Q46185 Q80019 Q8338
SYSTEM
bass guitar, double bass, trumpet
Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1864
[ANSWERS] can approximately 1864 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?g = 1864 ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?d } }
bass guitar double bass trumpet cello organ drum kit
Bass guitar, double bass and trumpet can approximately 1864 people perform with
bass guitar double bass trumpet
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1864
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?g = 1864 ) . { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?d } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1481710 Q2298294
P161 P40
Q502895
USER
Which people are an offsprings of Rogneda of Polotsk or are in O. Henry's Full House ?
OR((Q2298294,P40,c(Q502895)), (Q1481710,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2298294
relation P40
action find
entity Q1481710
relation P161
type Q502895
{'OR': [['Q2298294', 'P40', {'concept': 'Q502895'}], ['Q1481710', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2298294 property:P40 ?u } UNION { resource:Q1481710 property:P161 ?u } } . ?u rdf:type ontology:Q502895 }
O. Henry's Full House Rogneda of Polotsk
action filter_type
action union
action find
entity Rogneda of Polotsk
relation child
action find
entity O. Henry's Full House
relation cast member
type common name
{'OR': [['Rogneda of Polotsk', 'child', {'concept': 'common name'}], ["O. Henry's Full House", 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Rogneda_of_Polotsk property:child ?u } UNION { resource:O._Henry's_Full_House property:cast_member ?u } } . ?u rdf:type ontology:common_name }
[]
common name
Q500566 Q1177111 Q188943 Q2350272 Q238032 Q272505 Q13032030 Q3430783 Q1361039 Q685709
SYSTEM
Some of them are Philip Tonge, David Wayne, Yaroslav the Wise, Mstislav of Chernigov, Jeanne Crain, Kathleen Freeman, Pramislava Sviatoslavna, Richard Garrick, Gregory Ratoff, Lee Aaker
Q945042 Q243005 Q2357762 Q4616 Q500566 Q967454 Q320036 Q1177111 Q238032 Q1157865 Q188943 Q2367726 Q685709 Q3430783 Q2350272 Q272505 Q13032030 Q228906 Q1361039 Q55264 Q240076
OR((Q2298294,P40,c(Q502895)), (Q1481710,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2298294
relation P40
action find
entity Q1481710
relation P161
type Q502895
[ANSWERS] are an offsprings of Rogneda of Polotsk or are in O. Henry's Full House
{'OR': [['Q2298294', 'P40', {'concept': 'Q502895'}], ['Q1481710', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2298294 property:P40 ?u } UNION { resource:Q1481710 property:P161 ?u } } . ?u rdf:type ontology:Q502895 }
Oscar Levant Jean Peters Izyaslav of Polotsk Marilyn Monroe Philip Tonge Fred Allen Richard Widmark David Wayne Jeanne Crain Dale Robertson Yaroslav the Wise Vsevolod Vladimirovitch Lee Aaker Richard Garrick Mstislav of Chernigov Kathleen Freeman Pramislava Sviatoslavna Anne Baxter Gregory Ratoff Charles Laughton Farley Granger
Philip Tonge, David Wayne, Yaroslav the Wise, Mstislav of Chernigov, Jeanne Crain, Kathleen Freeman, Pramislava Sviatoslavna, Richard Garrick, Gregory Ratoff and Lee Aaker are an offsprings of Rogneda of Polotsk or are in O. Henry's Full House
Philip Tonge David Wayne Yaroslav the Wise Mstislav of Chernigov Jeanne Crain Kathleen Freeman Pramislava Sviatoslavna Richard Garrick Gregory Ratoff Lee Aaker
action filter_type
action union
action find
entity Rogneda of Polotsk
relation child
action find
entity O. Henry's Full House
relation cast member
type common name
{'OR': [['Rogneda of Polotsk', 'child', {'concept': 'common name'}], ["O. Henry's Full House", 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Rogneda_of_Polotsk property:child ?u } UNION { resource:O._Henry's_Full_House property:cast_member ?u } } . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6441867 Q263296
P27
Q15617994
USER
Which administrative territories do Maria Dobroniega of Kiev or Kuei Chih-hung belong to ?
OR((Q263296,P27,c(Q15617994)), (Q6441867,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q263296
relation P27
action find
entity Q6441867
relation P27
type Q15617994
{'OR': [['Q263296', 'P27', {'concept': 'Q15617994'}], ['Q6441867', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q263296 property:P27 ?h } UNION { resource:Q6441867 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Kuei Chih-hung Maria Dobroniega of Kiev
action filter_type
action union
action find
entity Maria Dobroniega of Kiev
relation country of citizenship
action find
entity Kuei Chih-hung
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Maria Dobroniega of Kiev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kuei Chih-hung', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Maria_Dobroniega_of_Kiev property:country_of_citizenship ?h } UNION { resource:Kuei_Chih-hung property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148 Q36
SYSTEM
People's Republic of China, Poland
Q148 Q36
OR((Q263296,P27,c(Q15617994)), (Q6441867,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q263296
relation P27
action find
entity Q6441867
relation P27
type Q15617994
Maria Dobroniega of Kiev or Kuei Chih-hung belong to the [ANSWERS]
{'OR': [['Q263296', 'P27', {'concept': 'Q15617994'}], ['Q6441867', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q263296 property:P27 ?h } UNION { resource:Q6441867 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
People's Republic of China Poland
Maria Dobroniega of Kiev or Kuei Chih-hung belong to the People's Republic of China and Poland
People's Republic of China Poland
action filter_type
action union
action find
entity Maria Dobroniega of Kiev
relation country of citizenship
action find
entity Kuei Chih-hung
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Maria Dobroniega of Kiev', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kuei Chih-hung', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Maria_Dobroniega_of_Kiev property:country_of_citizenship ?h } UNION { resource:Kuei_Chih-hung property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with atmost 64 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 64
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?f ) WHERE { ?c property:P530 ?z . ?c rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?f <= 64 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 64
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?f ) WHERE { ?c property:diplomatic_relation ?z . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?f <= 64 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
159
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 64
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?f ) WHERE { ?c property:P530 ?z . ?c rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?c } . FILTER ( ?f <= 64 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
159
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 64
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?f ) WHERE { ?c property:diplomatic_relation ?z . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } . FILTER ( ?f <= 64 ) }
[]