Simple Question (Direct)
Simple Question
Q71096
P937
Q56061
USER
Where did Hermann Brehmer work ?
(Q71096,P937,c(Q56061))
action filter_type
action find
entity Q71096
relation P937
type Q56061
['Q71096', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q71096 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Hermann Brehmer
action filter_type
action find
entity Hermann Brehmer
relation work location
type administrative territorial entity
['Hermann Brehmer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hermann_Brehmer property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q71096,P937,c(Q56061))
action filter_type
action find
entity Q71096
relation P937
type Q56061
Hermann Brehmer worked in [ANSWER]
['Q71096', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q71096 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Berlin
Hermann Brehmer worked in Berlin
Berlin
action filter_type
action find
entity Hermann Brehmer
relation work location
type administrative territorial entity
['Hermann Brehmer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Hermann_Brehmer property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64
P840
Q838948
USER
Which works of art have their setting located at that administrative territory ?
(c(Q838948),P840,Q64)
action filter_type
action find_reverse
entity Q64
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q64']
SELECT DISTINCT ?g WHERE { ?g property:P840 resource:Q64 . ?g rdf:type ontology:Q838948 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Berlin']
SELECT DISTINCT ?g WHERE { ?g property:narrative_location resource:Berlin . ?g rdf:type ontology:work_of_art }
[]
work of art
Q18407657 Q156608 Q591272
SYSTEM
Captain America: Civil War, The Bourne Supremacy, Casino Royale
Q2056924 Q325355 Q1304863 Q551992 Q325286 Q3232960 Q1217049 Q204958 Q124358 Q699685 Q663960 Q5605534 Q587566 Q203102 Q822177 Q1655170 Q766770 Q491442 Q1796408 Q320219 Q474425 Q1585569 Q1956156 Q885033 Q5246862 Q265440 Q1759358 Q671631 Q1192128 Q640762 Q1211810 Q442941 Q686125 Q163160 Q632375 Q204398 Q179017 Q154817 Q4655428 Q317816 Q7919734 Q232993 Q1341784 Q4811843 Q167411 Q870450 Q565088 Q1754840 Q3236613 Q538438 Q826943 Q1170124 Q1255939 Q2299137 Q20064350 Q554063 Q5493949 Q822580 Q159054 Q18786433 Q540624 Q574295 Q1196153 Q1470342 Q1167354 Q1193023 Q918363 Q2500178 Q558297 Q2587854 Q2147019 Q18202704 Q29600 Q1283810 Q5016445 Q158759 Q582569 Q694812 Q1683487 Q657477 Q1262985 Q7142853 Q157975 Q457003 Q4762136 Q591272 Q1475778 Q153882 Q7900685 Q1199657 Q3214254 Q1368194 Q1169101 Q3269372 Q443140 Q2592899 Q495924 Q18407657 Q673627 Q1319302 Q4892415 Q1720918 Q329007 Q656166 Q481328 Q820866 Q821356 Q831246 Q3575602 Q1066785 Q286141 Q457675 Q770965 Q833208 Q874050 Q19481099 Q2396099 Q638386 Q586960 Q705893 Q478536 Q2492744 Q1052682 Q3193421 Q835581 Q185658 Q7748911 Q3943872 Q7593166 Q3666654 Q318154 Q7622780 Q1436522 Q928508 Q320318 Q829979 Q7314135 Q166696 Q1170445 Q372174 Q246656 Q1269691 Q6690550 Q4959893 Q438033 Q156608 Q642559 Q681602 Q308681 Q13534360 Q2282098 Q3092 Q2134371 Q480273 Q173945 Q93539 Q163806 Q468697 Q158069 Q315299 Q2636971 Q455555 Q491338 Q2819825 Q323359 Q938856 Q1773078 Q683446 Q875253 Q869644 Q875444 Q698644 Q1672620 Q669619 Q288173 Q156911 Q539262 Q258389 Q875197 Q821420 Q1194147 Q1655247 Q467876 Q1229947 Q1718784 Q15847583 Q1759682 Q327882 Q1216995 Q875875 Q7979448 Q127021 Q734151 Q4120951 Q406920 Q327809 Q1592170 Q474127 Q3536572 Q689605 Q2549119 Q697393 Q7977485 Q697014 Q558280 Q5911256 Q2520906 Q1199186 Q152857 Q1475617 Q1455551 Q683461 Q567598 Q473966 Q1306837 Q25598 Q21065355 Q2227153 Q324540 Q8075022 Q478793 Q820298 Q7705911 Q876449 Q2515772 Q540191 Q1451856 Q2631364 Q1032779 Q1203252 Q461539 Q7426800 Q554975 Q2751308
(c(Q838948),P840,Q64)
action filter_type
action find_reverse
entity Q64
relation P840
type Q838948
[ANSWERS] have their setting located at that administrative territory
[{'concept': 'Q838948'}, 'P840', 'Q64']
SELECT DISTINCT ?g WHERE { ?g property:P840 resource:Q64 . ?g rdf:type ontology:Q838948 }
A Dandy in Aspic The Promise Ein Lord am Alexanderplatz The Devil Came at Night David Night People Cracks in the Shell Funeral in Berlin Put on Ice Hitler: The Last Ten Days Cherry Blossoms Atomised Stroszek Zille and Me Big Girls Don't Cry Treffpunkt Aimée The Girl of Your Dreams Rosenstraße Star-Crossed Lovers The Captain from Köpenick Nekromantik 2 Husaren in Berlin Muxmäuschenstill Everyone Dies Alone Dear Friend Hitler Learning to Lie Our Willi Is the Best Ninja Assassin The Albanian Invincible The Beaverskin Kokowääh Lili Marleen 1. Mai – Helden bei der Arbeit Just a Gigolo Octopussy The Plot to Assassinate Hitler Good Bye, Lenin! A Berlin Romance Emil and the Detectives Venetian Nights Zweiohrküken Angels of Iron Asudem The Counterfeiters A Trick of Light Taking Sides Wild Geese II The Stars Shine Shining Through Inside Out The Quiller Memorandum Losing Balance Solo Sunny The Days Between Lola and Billy the Kid Fraulein The Three from the Filling Station Valkyrie Victoria Germany, Year Zero Berlin Calling The Passenger – Welcome to Germany The Good German The Bread of Those Early Years Her Third Cabaret Urban Explorer When We Leave The Fall of Berlin Revue um Mitternacht Phoenix Aimée & Jaguar One, Two, Three Cadets Unknown Kuhle Wampe Murderers Among Us Jargo Faraway, So Close! Hochzeitsnacht im Regen Passport to Destiny The Edukators The Legend of Paul and Paula Angel Express Casino Royale A Coffee in Berlin The Lives of Others Urlaub auf Ehrenwort Der tapfere Schulschwänzer Hitler Meine Frau macht Musik Dr. M Flirt Antibodies Sheriff Teddy The Big Lift Captain America: Civil War The International The Life and Death of Colonel Blimp Berlin Correspondent Kaddisch für einen Freund Comedian Harmonists Coming Out The Berlin Affair Story of A Young Couple Berlin, Schoenhauser Corner Des Teufels General The Fifth Estate Charlie & Louise – Das doppelte Lottchen Reclaim Your Brain It Is Not the Homosexual Who Is Perverse, But the Society in Which He Lives Confessions of a Dangerous Mind Jackboot Mutiny Der Einstein des Sex Jason Bourne Tatort Berlin Flightplan Unser täglich Brot The Serpent's Egg Three Und wieder 48 The Keys to the House Karl Liebknecht The Red Baron Indiana Jones and the Last Crusade The Love Express The Berlin File St George's Day Charlie Chan at the Olympics Nasser Asphalt Street Acquaintances For Eyes Only Ten Seconds to Hell Life is All You Get Friedemann Bach Reportage 57 The Baader Meinhof Complex Spider's Web Torn Curtain Grand Hotel Demons Love Fiction Breathful Old Barge, Young Love The Bourne Supremacy EuroTrip Love in Thoughts Lord of War The Night Belongs to Us Sie nannten ihn Amigo The Man Between Razzia We Are the Night A Foreign Affair Mein Führer – Die wirklich wahrste Wahrheit über Adolf Hitler The Last Ten Days Run Lola Run Olympia The Three from the Filling Station Alarm in the Circus Anatomy 2 Different from You and Me A Most Wanted Man Rotation Valerie Possession Die Schönste Die große Liebe A Woman in Flames I Was Nineteen Christiane F. – We Children from Bahnhof Zoo Somewhere in Berlin Hanussen Mission: Impossible III Wings of Desire Rosa Luxemburg Summer in the City Teenage Wolfpack The Berliner The Captain from Köpenick I Phone You Tough Enough Sun Seekers KLK Calling PTZ – The Red Orchestra Silent Youth Walk on Water Shahada No Place to Go Wunschkonzert Weekend Warriors M Fridericus Muppets Most Wanted Hitlerjunge Quex Men in the City He, Du! What to Do in Case of Fire? Night Train to Munich Keinohrhasen Goods for Catalonia Bent We Cellar Children Half Past Dead The Third Generation Hotel Berlin Love's Confusion The Little Punker Downfall The Young Lions Obsession In Those Days A Woman in Berlin Where Is Fred? The Debt Emil and the Detectives Look Who's Back Sauerbruch – Das war mein Leben Wolke Neun Zugverkehr unregelmäßig Berlin 36 Escape from East Berlin Herr Lehmann Rhythm Is It! Don't Forget My Little Traudel Sonnenallee Frauenschicksale 1914 Canaris Don 2 Alles auf Zucker! Saturn Returns Die Ratten Kokowääh 2
Captain America: Civil War, The Bourne Supremacy and Casino Royale have their setting located at that administrative territory
Captain America: Civil War The Bourne Supremacy Casino Royale
action filter_type
action find_reverse
entity Berlin
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Berlin']
SELECT DISTINCT ?g WHERE { ?g property:narrative_location resource:Berlin . ?g rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
How many technicss are used for the assembly of exactly 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action count
action equal
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?g ) WHERE { ?w property:P2079 ?x . ?x rdf:type ontology:Q2695280 . ?w rdf:type ontology:Q838948 } GROUP BY ?x } }
action count
action equal
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?g ) WHERE { ?w property:fabrication_method ?x . ?x rdf:type ontology:technics . ?w rdf:type ontology:work_of_art } GROUP BY ?x } }
[]
technics work of art
SYSTEM
2
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action count
action equal
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?g ) WHERE { ?w property:P2079 ?x . ?x rdf:type ontology:Q2695280 . ?w rdf:type ontology:Q838948 } GROUP BY ?x } }
gilding collage
2
action count
action equal
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { FILTER ( ?g = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?g ) WHERE { ?w property:fabrication_method ?x . ?x rdf:type ontology:technics . ?w rdf:type ontology:work_of_art } GROUP BY ?x } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3539174 Q156608
P915 P17
Q15617994
USER
Which administrative territories were The Bourne Supremacy filmed or are Michałów-Reginów situated in ?
OR((Q156608,P915,c(Q15617994)), (Q3539174,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q156608
relation P915
action find
entity Q3539174
relation P17
type Q15617994
{'OR': [['Q156608', 'P915', {'concept': 'Q15617994'}], ['Q3539174', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q156608 property:P915 ?q } UNION { resource:Q3539174 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Michałów-Reginów The Bourne Supremacy
action filter_type
action union
action find
entity The Bourne Supremacy
relation filming location
action find
entity Michałów-Reginów
relation country
type designation for an administrative territorial entity
{'OR': [['The Bourne Supremacy', 'filming location', {'concept': 'designation for an administrative territorial entity'}], ['Michałów-Reginów', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:The_Bourne_Supremacy property:filming_location ?q } UNION { resource:Michałów-Reginów property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q36
SYSTEM
Russia, Poland
Q159 Q36
OR((Q156608,P915,c(Q15617994)), (Q3539174,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q156608
relation P915
action find
entity Q3539174
relation P17
type Q15617994
The Bourne Supremacy were filmed situated in [ANSWERS]
{'OR': [['Q156608', 'P915', {'concept': 'Q15617994'}], ['Q3539174', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q156608 property:P915 ?q } UNION { resource:Q3539174 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
Russia Poland
The Bourne Supremacy were filmed situated in Russia and Poland
Russia Poland
action filter_type
action union
action find
entity The Bourne Supremacy
relation filming location
action find
entity Michałów-Reginów
relation country
type designation for an administrative territorial entity
{'OR': [['The Bourne Supremacy', 'filming location', {'concept': 'designation for an administrative territorial entity'}], ['Michałów-Reginów', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:The_Bourne_Supremacy property:filming_location ?q } UNION { resource:Michałów-Reginów property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q741927
P17
Q355304
USER
Are Krasnaya River located in those administrative territories ?
(Q741927,P17,Q159) (Q741927,P17,Q36)
action is_in
entity prev_answer
action find
entity Q741927
relation P17
['Q741927', 'P17', 'Q159'] ['Q741927', 'P17', 'Q36']
ASK WHERE { resource:Q741927 property:P17 ?m . VALUES ( ?m ) { ( resource:Q159 ) ( resource:Q36 ) } }
Krasnaya River
action is_in
entity prev_answer
action find
entity Krasnaya River
relation country
['Krasnaya River', 'country', 'Russia'] ['Krasnaya River', 'country', 'Poland']
ASK WHERE { resource:Krasnaya_River property:country ?m . VALUES ( ?m ) { ( resource:Russia ) ( resource:Poland ) } }
[]
watercourse
SYSTEM
YES
(Q741927,P17,Q159) (Q741927,P17,Q36)
action is_in
entity prev_answer
action find
entity Q741927
relation P17
[ANSWER]
['Q741927', 'P17', 'Q159'] ['Q741927', 'P17', 'Q36']
ASK WHERE { resource:Q741927 property:P17 ?m . VALUES ( ?m ) { ( resource:Q159 ) ( resource:Q36 ) } }
Yes
action is_in
entity prev_answer
action find
entity Krasnaya River
relation country
['Krasnaya River', 'country', 'Russia'] ['Krasnaya River', 'country', 'Poland']
ASK WHERE { resource:Krasnaya_River property:country ?m . VALUES ( ?m ) { ( resource:Russia ) ( resource:Poland ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q156608 Q13616
P495
Q15617994
USER
Is Matera the country of origin of The Bourne Supremacy ?
(Q156608,P495,Q13616)
action is_in
entity Q13616
action find
entity Q156608
relation P495
['Q156608', 'P495', 'Q13616']
ASK WHERE { resource:Q156608 property:P495 resource:Q13616 }
The Bourne Supremacy Matera
action is_in
entity Matera
action find
entity The Bourne Supremacy
relation country of origin
['The Bourne Supremacy', 'country of origin', 'Matera']
ASK WHERE { resource:The_Bourne_Supremacy property:country_of_origin resource:Matera }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q156608,P495,Q13616)
action is_in
entity Q13616
action find
entity Q156608
relation P495
[ANSWER]
['Q156608', 'P495', 'Q13616']
ASK WHERE { resource:Q156608 property:P495 resource:Q13616 }
No
action is_in
entity Matera
action find
entity The Bourne Supremacy
relation country of origin
['The Bourne Supremacy', 'country of origin', 'Matera']
ASK WHERE { resource:The_Bourne_Supremacy property:country_of_origin resource:Matera }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q29
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with approximately the same number of administrative territories as Spain ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q29
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?e ) WHERE { ?z rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 . ?z property:P530 ?a } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q29 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?s ) }
Spain
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?e ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?a } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Spain property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 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 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 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 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q29
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?e ) WHERE { ?z rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15617994 . ?z property:P530 ?a } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q29 property:P530 ?l . ?l rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?s ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines 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 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 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 United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?e ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?a } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Spain property:diplomatic_relation ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q96
P530
Q15617994 Q15617994
USER
And what about Mexico?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q96
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q96 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?m ) . { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?h ) WHERE { ?x property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } }
Mexico
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Mexico property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?m ) . { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?h ) WHERE { ?x property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 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 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 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 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q96
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q96 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . FILTER ( ?h = ?m ) . { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?h ) WHERE { ?x property:P530 ?z . ?z rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?x } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines 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 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 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 United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Mexico property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h = ?m ) . { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?h ) WHERE { ?x property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q15624215
P361
Q838948 Q3305213 Q6619679
USER
How many works of art are lesser number of paintings and fictional humanoids a portion of than Lucy ?
(c(Q3305213)|c(Q6619679),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q15624215
relation P361
type Q3305213
type Q6619679
[[{'concept': 'Q3305213'}, {'concept': 'Q6619679'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ?e . VALUES ( ?e ) { ( ontology:Q6619679 ) ( ontology:Q3305213 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P361 resource:Q15624215 . { { ?j rdf:type ontology:Q3305213 } UNION { ?j rdf:type ontology:Q6619679 } } } } . FILTER ( ?p < ?k ) }
Lucy
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type painting
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Lucy
relation part of
type painting
type fictional humanoid
[[{'concept': 'painting'}, {'concept': 'fictional humanoid'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ?e . VALUES ( ?e ) { ( ontology:fictional_humanoid ) ( ontology:painting ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:part_of resource:Lucy . { { ?j rdf:type ontology:painting } UNION { ?j rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?p < ?k ) }
[]
work of art painting fictional humanoid
SYSTEM
124
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q489772 Q41567 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q3305213)|c(Q6619679),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q15624215
relation P361
type Q3305213
type Q6619679
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q6619679'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ?e . VALUES ( ?e ) { ( ontology:Q6619679 ) ( ontology:Q3305213 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P361 resource:Q15624215 . { { ?j rdf:type ontology:Q3305213 } UNION { ?j rdf:type ontology:Q6619679 } } } } . FILTER ( ?p < ?k ) }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's The Merchant of Venice Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Seven Wonders of the Ancient World Hamlet baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Playing for Keeps Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
124
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type painting
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Lucy
relation part of
type painting
type fictional humanoid
[[{'concept': 'painting'}, {'concept': 'fictional humanoid'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?p ) WHERE { ?z rdf:type ?e . VALUES ( ?e ) { ( ontology:fictional_humanoid ) ( ontology:painting ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:part_of resource:Lucy . { { ?j rdf:type ontology:painting } UNION { ?j rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?p < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q152185
P361
Q838948 Q3305213 Q6619679
USER
And also tell me about The Legend of Lucy Keyes?
(c(Q3305213)|c(Q6619679),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q152185
relation P361
type Q3305213
type Q6619679
[[{'concept': 'Q3305213'}, {'concept': 'Q6619679'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P361 resource:Q152185 . { { ?z rdf:type ontology:Q6619679 } UNION { ?z rdf:type ontology:Q3305213 } } } } . FILTER ( ?t < ?c ) . { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:Q3305213 ) ( ontology:Q6619679 ) } . ?h rdf:type ?k } GROUP BY ?s } }
The Legend of Lucy Keyes
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type painting
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity The Legend of Lucy Keyes
relation part of
type painting
type fictional humanoid
[[{'concept': 'painting'}, {'concept': 'fictional humanoid'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:part_of resource:The_Legend_of_Lucy_Keyes . { { ?z rdf:type ontology:fictional_humanoid } UNION { ?z rdf:type ontology:painting } } } } . FILTER ( ?t < ?c ) . { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:painting ) ( ontology:fictional_humanoid ) } . ?h rdf:type ?k } GROUP BY ?s } }
[]
work of art painting fictional humanoid
SYSTEM
124
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q489772 Q41567 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q3305213)|c(Q6619679),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q152185
relation P361
type Q3305213
type Q6619679
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q6619679'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P361 resource:Q152185 . { { ?z rdf:type ontology:Q6619679 } UNION { ?z rdf:type ontology:Q3305213 } } } } . FILTER ( ?t < ?c ) . { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:Q3305213 ) ( ontology:Q6619679 ) } . ?h rdf:type ?k } GROUP BY ?s } }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's The Merchant of Venice Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Seven Wonders of the Ancient World Hamlet baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Playing for Keeps Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
124
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type painting
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity The Legend of Lucy Keyes
relation part of
type painting
type fictional humanoid
[[{'concept': 'painting'}, {'concept': 'fictional humanoid'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:part_of resource:The_Legend_of_Lucy_Keyes . { { ?z rdf:type ontology:fictional_humanoid } UNION { ?z rdf:type ontology:painting } } } } . FILTER ( ?t < ?c ) . { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:painting ) ( ontology:fictional_humanoid ) } . ?h rdf:type ?k } GROUP BY ?s } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with max number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?g ) { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?y ) WHERE { ?t property:P530 ?i . ?t rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?t } } . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?w ) WHERE { ?a property:P530 ?c . ?a rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?w = ?g ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?g ) { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?y ) WHERE { ?t property:diplomatic_relation ?i . ?t rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } } . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?w ) WHERE { ?a property:diplomatic_relation ?c . ?a rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?w = ?g ) }
[]
designation for an administrative territorial entity political territorial entity
Q183
SYSTEM
Germany
Q183
(c(Q1048835),P530,c(Q15617994))
action argmax
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWER] is known to have diplomatic connections with max number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?g ) { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?y ) WHERE { ?t property:P530 ?i . ?t rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 } GROUP BY ?t } } . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?w ) WHERE { ?a property:P530 ?c . ?a rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?w = ?g ) }
Germany
Germany is known to have diplomatic connections with max number of administrative territories
Germany
action argmax
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?g ) { SELECT DISTINCT ?t ( COUNT ( ?i ) AS ?y ) WHERE { ?t property:diplomatic_relation ?i . ?t rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } } . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?w ) WHERE { ?a property:diplomatic_relation ?c . ?a rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?w = ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1427
Q1048835 Q2912397
USER
How many political territories do less number of single-day races start than that political territory ?
(c(Q2912397),P1427,c(Q1048835))
action count
action less
action find_tuple_counts
relation P1427
type Q1048835
type Q2912397
action count
action filter_type
action find
entity Q183
relation P1427
type Q1048835
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { FILTER ( ?e < ?w ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q183 property:P1427 ?s . ?s rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?e ) WHERE { ?u property:P1427 ?v . ?u rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q2912397 } GROUP BY ?u } }
action count
action less
action find_tuple_counts
relation start point
type political territorial entity
type single-day race
action count
action filter_type
action find
entity Germany
relation start point
type political territorial entity
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { FILTER ( ?e < ?w ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Germany property:start_point ?s . ?s rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?e ) WHERE { ?u property:start_point ?v . ?u rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:single-day_race } GROUP BY ?u } }
[]
political territorial entity single-day race
SYSTEM
0
(c(Q2912397),P1427,c(Q1048835))
action count
action less
action find_tuple_counts
relation P1427
type Q1048835
type Q2912397
action count
action filter_type
action find
entity Q183
relation P1427
type Q1048835
[ANSWER]
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { FILTER ( ?e < ?w ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q183 property:P1427 ?s . ?s rdf:type ontology:Q1048835 } } . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?e ) WHERE { ?u property:P1427 ?v . ?u rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q2912397 } GROUP BY ?u } }
0
action count
action less
action find_tuple_counts
relation start point
type political territorial entity
type single-day race
action count
action filter_type
action find
entity Germany
relation start point
type political territorial entity
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { FILTER ( ?e < ?w ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Germany property:start_point ?s . ?s rdf:type ontology:political_territorial_entity } } . { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?e ) WHERE { ?u property:start_point ?v . ?u rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:single-day_race } GROUP BY ?u } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P163
Q14660
USER
Which flag is associated with Russia ?
(Q159,P163,c(Q14660))
action filter_type
action find
entity Q159
relation P163
type Q14660
['Q159', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?d WHERE { resource:Q159 property:P163 ?d . ?d rdf:type ontology:Q14660 }
Russia
action filter_type
action find
entity Russia
relation flag
type flag
['Russia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?d WHERE { resource:Russia property:flag ?d . ?d rdf:type ontology:flag }
[]
flag
Q16611
SYSTEM
flag of Russia
Q16611
(Q159,P163,c(Q14660))
action filter_type
action find
entity Q159
relation P163
type Q14660
On [ANSWER] is associated with Russia
['Q159', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?d WHERE { resource:Q159 property:P163 ?d . ?d rdf:type ontology:Q14660 }
flag of Russia
On flag of Russia is associated with Russia
flag of Russia
action filter_type
action find
entity Russia
relation flag
type flag
['Russia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?d WHERE { resource:Russia property:flag ?d . ?d rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P123
Q166142
USER
Which application produced Russia ?
(c(Q166142),P123,Q159)
action filter_type
action find_reverse
entity Q159
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q159']
SELECT DISTINCT ?g WHERE { ?g property:P123 resource:Q159 . ?g rdf:type ontology:Q166142 }
Russia
action filter_type
action find_reverse
entity Russia
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Russia']
SELECT DISTINCT ?g WHERE { ?g property:publisher resource:Russia . ?g rdf:type ontology:application }
[]
application
Q498469
SYSTEM
Postal III
Q498469
(c(Q166142),P123,Q159)
action filter_type
action find_reverse
entity Q159
relation P123
type Q166142
[ANSWER] produced Russia
[{'concept': 'Q166142'}, 'P123', 'Q159']
SELECT DISTINCT ?g WHERE { ?g property:P123 resource:Q159 . ?g rdf:type ontology:Q166142 }
Postal III
Postal III produced Russia
Postal III
action filter_type
action find_reverse
entity Russia
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'Russia']
SELECT DISTINCT ?g WHERE { ?g property:publisher resource:Russia . ?g rdf:type ontology:application }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q159
P38
Q8142
USER
What is the currency of that administrative territory ?
(Q498469,P38,c(Q8142))
action filter_type
action find
entity Q159
relation P38
type Q8142
['Q498469', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?z WHERE { resource:Q159 property:P38 ?z . ?z rdf:type ontology:Q8142 }
Russia
action filter_type
action find
entity Russia
relation currency
type currency
['Postal III', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?z WHERE { resource:Russia property:currency ?z . ?z rdf:type ontology:currency }
[]
currency
Q615640
SYSTEM
Soviet ruble
Q615640
(Q498469,P38,c(Q8142))
action filter_type
action find
entity Q159
relation P38
type Q8142
The currency of that administrative territory is the [ANSWER]
['Q498469', 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?z WHERE { resource:Q159 property:P38 ?z . ?z rdf:type ontology:Q8142 }
Soviet ruble
The currency of that administrative territory is the Soviet ruble
Soviet ruble
action filter_type
action find
entity Russia
relation currency
type currency
['Postal III', 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?z WHERE { resource:Russia property:currency ?z . ?z rdf:type ontology:currency }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P38
Q8142 Q7275
USER
Which states are min number of currencies the currency of ?
(c(Q7275),P38,c(Q8142))
action argmin
action find_tuple_counts
relation P38
type Q7275
type Q8142
[{'concept': 'Q7275'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?f ) WHERE { ?s property:P38 ?q . ?s rdf:type ontology:Q7275 . ?q rdf:type ontology:Q8142 } GROUP BY ?s } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( MIN ( ?g ) AS ?h ) { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?g ) WHERE { ?p property:P38 ?a . ?a rdf:type ontology:Q8142 . ?p rdf:type ontology:Q7275 } GROUP BY ?p } } }
action argmin
action find_tuple_counts
relation currency
type state
type currency
[{'concept': 'state'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?f ) WHERE { ?s property:currency ?q . ?s rdf:type ontology:state . ?q rdf:type ontology:currency } GROUP BY ?s } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( MIN ( ?g ) AS ?h ) { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?g ) WHERE { ?p property:currency ?a . ?a rdf:type ontology:currency . ?p rdf:type ontology:state } GROUP BY ?p } } }
[]
currency state
Q33946 Q16957 Q131964
SYSTEM
Czechoslovakia, East Germany, Austrian Empire
Q241748 Q320930 Q211853 Q484104 Q1193822 Q105092 Q70802 Q46652 Q172107 Q1538311 Q476757 Q121932 Q1148907 Q431731 Q2593136 Q669241 Q218023 Q1057542 Q216632 Q202687 Q207272 Q718763 Q548114 Q965174 Q1269234 Q889394 Q152750 Q5148520 Q212278 Q761370 Q233263 Q796583 Q175881 Q330988 Q27306 Q320925 Q7559152 Q533558 Q1247508 Q491507 Q167360 Q1044536 Q171150 Q323904 Q209065 Q10988528 Q206411 Q1811029 Q2552742 Q7352 Q1998866 Q189545 Q146246 Q2593459 Q9903 Q11196 Q2006542 Q1240096 Q131964 Q1274468 Q215530 Q1028835 Q488521 Q6083755 Q33946 Q912043 Q4948 Q191077 Q234009 Q5157575 Q2638486 Q903779 Q28278 Q16957 Q752431 Q334731 Q941881 Q147909 Q870055 Q842794 Q713750 Q180114 Q652560 Q1789596 Q184536 Q550374 Q178038 Q590743 Q1046443 Q30623 Q203493 Q501303 Q1475713 Q58202 Q1709185 Q154401 Q503623 Q39760 Q518101 Q37024 Q1311219 Q14934927 Q112558 Q16410 Q867782 Q798431 Q2342822 Q1271523 Q210036 Q1277557 Q188553 Q152855 Q76048 Q19901436 Q1150344 Q164079 Q44642 Q505503 Q310293 Q267584 Q1052040 Q738144 Q207521 Q1658411 Q28025 Q71092 Q153015 Q49910 Q1108659 Q1078602 Q386496 Q75613 Q83618 Q738264 Q1479726 Q217230 Q4843701 Q1406298 Q600093 Q170072 Q7382038 Q467864 Q580188 Q209857 Q1415585 Q800236 Q618399 Q153128 Q170174 Q212056 Q180573 Q153943 Q7318 Q170468 Q146328 Q1649871 Q487829 Q175379 Q1138904 Q8733 Q58296 Q696908 Q371334 Q422065 Q1477220 Q156038 Q853348 Q7405 Q940821 Q1549254 Q824489 Q49683 Q7314513 Q862701 Q248572 Q189988 Q1192936 Q83286 Q174306 Q199841 Q1077630 Q213353 Q12557 Q217196 Q837136 Q491559 Q3041595 Q154195 Q31454 Q13706 Q498735 Q1775277 Q173082 Q285658 Q146761 Q11876909 Q391980 Q156020 Q541455 Q170588 Q769782 Q23541302 Q842931 Q70972 Q1152126 Q1986139 Q497777 Q797527 Q878319 Q105313 Q582861 Q1517772 Q188586 Q211274 Q7252559 Q158725 Q588672 Q6500954 Q26988 Q12490507 Q1054184 Q139319 Q274488 Q487687 Q161036 Q207162 Q1061488 Q5148517 Q41304 Q797422 Q216173 Q726798 Q646374 Q149805
(c(Q7275),P38,c(Q8142))
action argmin
action find_tuple_counts
relation P38
type Q7275
type Q8142
The [ANSWERS] are min number of currencies the currency of
[{'concept': 'Q7275'}, 'P38', {'concept': 'Q8142'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?f ) WHERE { ?s property:P38 ?q . ?s rdf:type ontology:Q7275 . ?q rdf:type ontology:Q8142 } GROUP BY ?s } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( MIN ( ?g ) AS ?h ) { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?g ) WHERE { ?p property:P38 ?a . ?a rdf:type ontology:Q8142 . ?p rdf:type ontology:Q7275 } GROUP BY ?p } } }
Kingdom of Serbia Cao Wei Republic of Serbian Krajina United States Army Military Government in Korea Wuyue Kingdom of Mercia French Third Republic Malacca sultanate Polish–Lithuanian Commonwealth Travancore-Cochin Democratic Republic of Afghanistan People's Republic of Bulgaria State of Katanga Tanganyika Senegambia and Niger League of Lezhë Orange Free State Republic of Hawaii Mali Federation Songhai Empire Second Polish Republic South Pacific Mandate Free State of Fiume Coalition Provisional Authority Stellaland Portuguese Mozambique Protectorate of Bohemia and Moravia Colony of Niger Kingdom of Holland Aro Confederacy Second Republic of South Korea Kingdom of Kongo Roman Republic Democratic Kampuchea Kingdom of Prussia Shu Han Somali Republic Kingdom of Croatia-Slavonia Domain of Soissons Egypt Eyalet First Portuguese Republic Spain under the Restoration Kingdom of Hungary Portuguese India Kingdom of Greece Second East Turkestan Republic Democratic Republic of Azerbaijan Finnish Socialist Workers' Republic Northland State Jin dynasty Czech and Slovak Federal Republic Zengid dynasty Francia Provisional Government of Hawaii Ming imperium Republika Srpska Dominion of Pakistan Hyderabad State Austrian Empire Republic of Bosnia and Herzegovina Kingdom of Ireland British Cameroons Fourth Republic of South Korea Islands of Refreshment Czechoslovakia Jin Republic of Venice Kingdom of Yugoslavia Magadha Griqualand East Kingdom of Cambodia United Kingdom of Portugal, Brazil and the Algarves Provisional Government of the Republic of Korea East Germany New Hebrides Croatian Republic of Herzeg-Bosnia Netherlands New Guinea Kingdom of Bulgaria Kingdom of Laos Socialist Republic of Romania West Germany Ayyubid dynasty West Indies Federation Croatia in personal union with Hungary Mali Empire South African Republic Second Spanish Republic Ruanda-Urundi Republic of Užice Manchukuo Kingdom of Romania Free City of Kraków Sennar Sultanate July Monarchy Kingdom of Spain under Joseph Bonaparte Slovak Republic Gold Coast Gaza Strip First Republic of Austria Serbia and Montenegro Jaffna kingdom Murrawarri Republic Republic of Saugeais People's Republic of Hungary Kingdom of Funan Republic of Dahomey West Pakistan Upper Senegal and Niger Chechen Republic of Ichkeria Democratic Federal Yugoslavia Batavian Republic Kingdom of Tungning Congo Free State Suriname Johor Sultanate Kingdom of Hanover Federation of Arab Republics Cochinchina Saar Protectorate Yemen Arab Republic Cayor United Provinces of the Río de la Plata Abyssinia Kingdom of Sarawak Ryukyu Kingdom Second French Empire Kingdom of Saxony Colony of Aden Republic of Benin Kingdom of Nepal Kingdom of Montenegro Almoravid dynasty Maratha Empire Los Altos, Central America Federation of Malaya Empire of Brazil Libyan Arab Jamahiriya Serbian Empire Habsburg Spain Dutch Republic Imperial Throne People's Socialist Republic of Albania Mutawakkilite Kingdom of Yemen Kingdom of Lombardy–Venetia Islamic State of Afghanistan Bahawalpur State Republic of the Congo Independent State of Croatia Papal States Mongolian People's Republic South Vietnam Kingdom of Westphalia Nazi Germany United Arab Republic Commonwealth of the Philippines Kingdom of Poland Chagatai Khanate Empire of China Kingdom of Afghanistan Qing dynasty French Republic Kingdom of Poland Second Mexican Empire Sultanate of Sulu Somali Democratic Republic Duchy of Courland and Semigallia Czechoslovak Socialist Republic Sui dynasty People's Democratic Republic of Ethiopia Principality of Seborga Estado Novo Grand Duchy of Lithuania Republic of South Carolina People's Republic of Benin Sultanate of Maguindanao Central African Empire Kingdom of Burundi Socialist Federal Republic of Yugoslavia Republic of Genoa South Yemen Septinsular Republic Cisalpine Republic Mongol Empire Crown of Castile Kingdom of Deheubarth First Republic of South Korea Republic of Iraq Kingdom of Bavaria Kingdom of Libya Principality of Sealand division of Korea Dominion of India Dacia First Mexican Empire Hatay State State of Brazil Free Territory of Trieste State of the Teutonic Order Anglo-Egyptian Sudan Republic of Texas Kingdom of Powys Kaluga Soviet Republic East Pakistan Kingdom of France People's Republic of the Congo Parthian Empire First Spanish Republic British Togoland Serbian Despotate Kingdom of Wessex Marinid dynasty Protectorate of South Arabia Kingdom of Sicily People's Republic of Poland Province of Bumbunga Tanganyika Territory Hammadid dynasty Zaire Cook Islands Rashidun Caliphate Khmer Republic Russian Republic Eastern Wu Third Republic of South Korea Free State of Prussia Bourbon Restoration United States of Colombia Colony and Protectorate of Nigeria Weimar Republic Republic of Upper Volta Free City of Danzig Tulunids French India Kingdom of Iraq
The Czechoslovakia, East Germany and Austrian Empire are min number of currencies the currency of
Czechoslovakia East Germany Austrian Empire
action argmin
action find_tuple_counts
relation currency
type state
type currency
[{'concept': 'state'}, 'currency', {'concept': 'currency'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?f ) WHERE { ?s property:currency ?q . ?s rdf:type ontology:state . ?q rdf:type ontology:currency } GROUP BY ?s } . FILTER ( ?f = ?h ) . { SELECT DISTINCT ( MIN ( ?g ) AS ?h ) { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?g ) WHERE { ?p property:currency ?a . ?a rdf:type ontology:currency . ?p rdf:type ontology:state } GROUP BY ?p } } }
[]