Simple Question (Direct)
Simple Question
Q3791301
P495
Q15617994
USER
Which administrative territory is the origin of I sogni muoiono all'alba ?
(Q3791301,P495,c(Q15617994))
action filter_type
action find
entity Q3791301
relation P495
type Q15617994
['Q3791301', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q3791301 property:P495 ?d . ?d rdf:type ontology:Q15617994 }
I sogni muoiono all'alba
action filter_type
action find
entity I sogni muoiono all'alba
relation country of origin
type designation for an administrative territorial entity
["I sogni muoiono all'alba", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:I_sogni_muoiono_all'alba property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3791301,P495,c(Q15617994))
action filter_type
action find
entity Q3791301
relation P495
type Q15617994
[ANSWER] is the origin of I sogni muoiono all'alba
['Q3791301', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q3791301 property:P495 ?d . ?d rdf:type ontology:Q15617994 }
Italy
Italy is the origin of I sogni muoiono all'alba
Italy
action filter_type
action find
entity I sogni muoiono all'alba
relation country of origin
type designation for an administrative territorial entity
["I sogni muoiono all'alba", 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:I_sogni_muoiono_all'alba property:country_of_origin ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3791301
P2554
Q502895
USER
Who created the production designs of that work of art ?
(Q38,P2554,c(Q502895))
action filter_type
action find
entity Q3791301
relation P2554
type Q502895
['Q38', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q3791301 property:P2554 ?s . ?s rdf:type ontology:Q502895 }
I sogni muoiono all'alba
action filter_type
action find
entity I sogni muoiono all'alba
relation production designer
type common name
['Italy', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:I_sogni_muoiono_all'alba property:production_designer ?s . ?s rdf:type ontology:common_name }
[]
common name
Q3903392
SYSTEM
Piero Zuffi
Q3903392
(Q38,P2554,c(Q502895))
action filter_type
action find
entity Q3791301
relation P2554
type Q502895
[ANSWER] created the production designs of that work of art
['Q38', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q3791301 property:P2554 ?s . ?s rdf:type ontology:Q502895 }
Piero Zuffi
Piero Zuffi created the production designs of that work of art
Piero Zuffi
action filter_type
action find
entity I sogni muoiono all'alba
relation production designer
type common name
['Italy', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:I_sogni_muoiono_all'alba property:production_designer ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3903392
P58
Q838948
USER
Which work of art did that person do the screenwriting for ?
(c(Q838948),P58,Q3903392)
action filter_type
action find_reverse
entity Q3903392
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q3903392']
SELECT DISTINCT ?c WHERE { ?c property:P58 resource:Q3903392 . ?c rdf:type ontology:Q838948 }
Piero Zuffi
action filter_type
action find_reverse
entity Piero Zuffi
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Piero Zuffi']
SELECT DISTINCT ?c WHERE { ?c property:screenwriter resource:Piero_Zuffi . ?c rdf:type ontology:work_of_art }
[]
work of art
Q3683747
SYSTEM
The Syndicate: A Death in the Family
Q3683747
(c(Q838948),P58,Q3903392)
action filter_type
action find_reverse
entity Q3903392
relation P58
type Q838948
That person did the screenwriting for [ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q3903392']
SELECT DISTINCT ?c WHERE { ?c property:P58 resource:Q3903392 . ?c rdf:type ontology:Q838948 }
The Syndicate: A Death in the Family
That person did the screenwriting for The Syndicate: A Death in the Family
The Syndicate: A Death in the Family
action filter_type
action find_reverse
entity Piero Zuffi
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Piero Zuffi']
SELECT DISTINCT ?c WHERE { ?c property:screenwriter resource:Piero_Zuffi . ?c rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26694204 Q38
P17
Q15617994
USER
Which administrative territories are Italy or mayor of Liendo a part of ?
OR((Q38,P17,c(Q15617994)), (Q26694204,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P17
action find
entity Q26694204
relation P17
type Q15617994
{'OR': [['Q38', 'P17', {'concept': 'Q15617994'}], ['Q26694204', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?n property:P17 ?b . VALUES ( ?n ) { ( resource:Q38 ) ( resource:Q26694204 ) } } . ?b rdf:type ontology:Q15617994 }
mayor of Liendo Italy
action filter_type
action union
action find
entity Italy
relation country
action find
entity mayor of Liendo
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['mayor of Liendo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?n property:country ?b . VALUES ( ?n ) { ( resource:Italy ) ( resource:mayor_of_Liendo ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q38
SYSTEM
Spain, Italy
Q29 Q38
OR((Q38,P17,c(Q15617994)), (Q26694204,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P17
action find
entity Q26694204
relation P17
type Q15617994
[ANSWERS] are Italy or mayor of Liendo a part of
{'OR': [['Q38', 'P17', {'concept': 'Q15617994'}], ['Q26694204', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?n property:P17 ?b . VALUES ( ?n ) { ( resource:Q38 ) ( resource:Q26694204 ) } } . ?b rdf:type ontology:Q15617994 }
Spain Italy
Spain and Italy are Italy or mayor of Liendo a part of
Spain Italy
action filter_type
action union
action find
entity Italy
relation country
action find
entity mayor of Liendo
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['mayor of Liendo', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?n property:country ?b . VALUES ( ?n ) { ( resource:Italy ) ( resource:mayor_of_Liendo ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q29 Q222695
P915
Q838948
USER
How many works of art were filmed at Spain or Grand Teton National Park ?
(c(Q838948),P915,Q29) (c(Q838948),P915,Q222695)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P915
type Q838948
action filter_type
action find_reverse
entity Q222695
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q29'] [{'concept': 'Q838948'}, 'P915', 'Q222695']
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P915 ?b . VALUES ( ?b ) { ( resource:Q222695 ) ( resource:Q29 ) } }
Spain Grand Teton National Park
action count
action union
action filter_type
action find_reverse
entity Spain
relation filming location
type work of art
action filter_type
action find_reverse
entity Grand Teton National Park
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Spain'] [{'concept': 'work of art'}, 'filming location', 'Grand Teton National Park']
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:filming_location ?b . VALUES ( ?b ) { ( resource:Grand_Teton_National_Park ) ( resource:Spain ) } }
[]
work of art
SYSTEM
150
Q1306579 Q2983218 Q228186 Q733003 Q6060368 Q164813 Q5242958 Q879174 Q3222253 Q1740288 Q2060283 Q860425 Q18713033 Q1162803 Q5148528 Q1352428 Q464964 Q16933459 Q2484388 Q1131173 Q671423 Q3277324 Q2701566 Q1210832 Q3281101 Q2534044 Q930071 Q3428553 Q547259 Q3936036 Q7164420 Q107761 Q661693 Q17086555 Q3893167 Q1198096 Q76479 Q212145 Q821604 Q190765 Q3208216 Q18415 Q4445949 Q1373198 Q19405 Q1760278 Q1127790 Q597239 Q1775628 Q1431878 Q2066531 Q892039 Q1265869 Q1759875 Q1305104 Q1316253 Q5361071 Q16782 Q763144 Q273676 Q845252 Q3067642 Q15873488 Q387638 Q195011 Q762927 Q15052351 Q574196 Q2712855 Q2268877 Q990857 Q60792 Q3061599 Q309003 Q12102714 Q7573862 Q5659581 Q262173 Q7361466 Q185658 Q212123 Q6126842 Q277038 Q730765 Q1339013 Q2529482 Q7994598 Q240061 Q909239 Q7820305 Q4189197 Q3226852 Q241811 Q18822293 Q714989 Q3062620 Q4666737 Q107226 Q323827 Q1199631 Q485836 Q2309964 Q192979 Q3960185 Q41483 Q2616450 Q7995027 Q4121945 Q1918038 Q5826620 Q679918 Q217220 Q510657 Q367748 Q960926 Q649850 Q226773 Q108297 Q632328 Q945883 Q1877554 Q7372082 Q244115 Q4745596 Q920225 Q688329 Q19363675 Q394978 Q1092932 Q1350521 Q1424099 Q1428124 Q4500618 Q617874 Q1199513 Q16259187 Q270988 Q1612412 Q7719656 Q512475 Q552036 Q1498454 Q638356 Q1130310 Q45988 Q181069 Q3791287 Q1754755 Q153677 Q1657565
(c(Q838948),P915,Q29) (c(Q838948),P915,Q222695)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P915
type Q838948
action filter_type
action find_reverse
entity Q222695
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q29'] [{'concept': 'Q838948'}, 'P915', 'Q222695']
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:P915 ?b . VALUES ( ?b ) { ( resource:Q222695 ) ( resource:Q29 ) } }
A Pistol for Ringo Tengo ganas de ti Lawrence of Arabia The Sheriff of Fractured Jaw Para Elisa Perfume: The Story of a Murderer Day of the Assassin Biutiful The Running Man Kevin & Perry Go Large Savage Grace Che Part 1: The Argentine Hunter's Prayer Ursus Color's Notes Chino The Dictator The Sun Also Rises The King of the Mountain Suddenly, Last Summer Navajo Joe Mindscape Sleep Tight The Adventures of Baron Munchausen Soldiers of Salamina The Trojan Women Robin and Marian Sidewalls Cannon for Cordoba The Texican Penny Princess You Only Live Twice Anything for Her Pyro... The Thing Without a Face Bread, Love and Andalusia The Wind and the Lion A Fistful of Dollars The World Is Not Enough Black Beauty 1492: Conquest of Paradise The Last Grenade Spirits of the Dead Honeymoon Academy La taglia è tua... l'uomo l'ammazzo io The Ninth Gate The Hit The Happy Thieves Reds Villa Rides Shipwrecked Lost Command Bon Appétit Pandora and the Flying Dutchman Valdez Is Coming Crack in the World Solomon and Sheba Eliminators Buried Sivaji Asterix at the Olympic Games The Machinist Zindagi Na Milegi Dobara Living Is Easy with Eyes Closed Rocky IV Pistol for a Hundred Coffins King of Kings Spanish Teen Rally Anthony Zimmer No Rest for the Wicked Semana santa Brothers Wheels on Meals The Counselor Conan the Barbarian Blackout Spartacus and the Ten Gladiators After The Inbetweeners Movie Roma Indiana Jones and the Last Crusade Vicky Cristina Barcelona Jalisco canta en Sevilla The Impossible Blame It on Fidel The Cold Light of Day Chimes at Midnight White Comanche Dead Men Don't Count North West Frontier Tomorrowland Moscow Zero Pieces Django Our Lady of Sorrows Battle of Britain Extraterrestrial Abendland The Bourne Ultimatum Doctor Zhivago The Spanish Gardener La Femme et le Pantin Tetro Clash of the Titans She Killed in Ecstasy The Good, the Bad and the Ugly Eloïse's Lover White Love House of Jericho Ma Mère Sex of Angels Knight and Day Patton Duck, You Sucker! The Fall of the Roman Empire Garringo Horror Express Wrath of the Titans Spartacus Green Zone El Cid Mr. Arkadin Rowing with the Wind 55 Days at Peking Americano Seven Dollars on the Red Even Dwarfs Started Small Love at First Sight Agnosía Circus World The Devil's Backbone Live Flesh Flesh and Blood Di Di Hollywood The Hill Armour of God El Hijo de Hernández 800 Bullets Julius Caesar The Boy Who Stole a Million Nicholas and Alexandra Sexy Beast Uncovered A Reason to Live, a Reason to Die The Skin I Live In Pancho Villa Star Wars Episode II: Attack of the Clones The Seven from Texas Bolero For a Few Dollars More Navy SEALs
150
action count
action union
action filter_type
action find_reverse
entity Spain
relation filming location
type work of art
action filter_type
action find_reverse
entity Grand Teton National Park
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Spain'] [{'concept': 'work of art'}, 'filming location', 'Grand Teton National Park']
SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { ?i property:filming_location ?b . VALUES ( ?b ) { ( resource:Grand_Teton_National_Park ) ( resource:Spain ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q96
P17
Q15617994 Q223557 Q838948
USER
How many administrative territories are less number of physical objects and works of art a part of than Mexico ?
(c(Q223557)|c(Q838948),P17,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q96
relation P17
type Q223557
type Q838948
[[{'concept': 'Q223557'}, {'concept': 'Q838948'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?g ) WHERE { VALUES ( ?p ) { ( ontology:Q223557 ) ( ontology:Q838948 ) } . ?s rdf:type ?p } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { { ?l rdf:type ontology:Q223557 } UNION { ?l rdf:type ontology:Q838948 } } . ?l property:P17 resource:Q96 } } . FILTER ( ?g < ?h ) }
Mexico
action count
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Mexico
relation country
type physical object
type work of art
[[{'concept': 'physical object'}, {'concept': 'work of art'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?g ) WHERE { VALUES ( ?p ) { ( ontology:physical_object ) ( ontology:work_of_art ) } . ?s rdf:type ?p } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { { ?l rdf:type ontology:physical_object } UNION { ?l rdf:type ontology:work_of_art } } . ?l property:country resource:Mexico } } . FILTER ( ?g < ?h ) }
[]
designation for an administrative territorial entity physical object work of art
SYSTEM
226
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q684030 Q2172530 Q414 Q12536 Q262 Q148 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q252 Q399 Q1462 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q219 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q155019 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q47261 Q229 Q347 Q1050 Q977 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q37 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q223557)|c(Q838948),P17,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q96
relation P17
type Q223557
type Q838948
[ANSWER]
[[{'concept': 'Q223557'}, {'concept': 'Q838948'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?g ) WHERE { VALUES ( ?p ) { ( ontology:Q223557 ) ( ontology:Q838948 ) } . ?s rdf:type ?p } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { { ?l rdf:type ontology:Q223557 } UNION { ?l rdf:type ontology:Q838948 } } . ?l property:P17 resource:Q96 } } . FILTER ( ?g < ?h ) }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora Principality of Serbia Electorate of Württemberg Argentina Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Indonesia Armenia Sardinia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Vietnam Eritrea Bulgaria Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Finland Brunei Belgium Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Somalia Sierra Leone Seychelles Senegal Ireland Hungary developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Cyprus Liechtenstein Swaziland Djibouti Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Thailand Duchy of Savoy Zambia
226
action count
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Mexico
relation country
type physical object
type work of art
[[{'concept': 'physical object'}, {'concept': 'work of art'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?g ) WHERE { VALUES ( ?p ) { ( ontology:physical_object ) ( ontology:work_of_art ) } . ?s rdf:type ?p } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { { ?l rdf:type ontology:physical_object } UNION { ?l rdf:type ontology:work_of_art } } . ?l property:country resource:Mexico } } . FILTER ( ?g < ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1016
P17
Q15617994 Q223557 Q838948
USER
And how about Libya?
(c(Q223557)|c(Q838948),P17,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1016
relation P17
type Q223557
type Q838948
[[{'concept': 'Q223557'}, {'concept': 'Q838948'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?x WHERE { VALUES ( ?k ) { ( ontology:Q223557 ) ( ontology:Q838948 ) } . ?f rdf:type ?k } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P17 resource:Q1016 . { { ?n rdf:type ontology:Q223557 } UNION { ?n rdf:type ontology:Q838948 } } } } . FILTER ( ?l < ?a ) }
Libya
action count
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Libya
relation country
type physical object
type work of art
[[{'concept': 'physical object'}, {'concept': 'work of art'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?x WHERE { VALUES ( ?k ) { ( ontology:physical_object ) ( ontology:work_of_art ) } . ?f rdf:type ?k } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:country resource:Libya . { { ?n rdf:type ontology:physical_object } UNION { ?n rdf:type ontology:work_of_art } } } } . FILTER ( ?l < ?a ) }
[]
designation for an administrative territorial entity physical object work of art
SYSTEM
105
Q1256 Q709 Q339952 Q270508 Q684030 Q2172530 Q12536 Q784 Q640426 Q36678 Q736029 Q565812 Q187035 Q1462 Q657 Q792 Q790 Q517333 Q954 Q2001966 Q326029 Q153529 Q695316 Q165040 Q241 Q315667 Q811 Q153136 Q1210 Q155019 Q733 Q29999 Q734 Q819 Q107426 Q730 Q1282 Q159626 Q238 Q1044 Q1041 Q177323 Q313175 Q149621 Q1025 Q1027 Q1029 Q34762 Q1458 Q786 Q228 Q3462133 Q223 Q221 Q815731 Q47261 Q229 Q347 Q704288 Q10957559 Q1032 Q1030 Q965 Q967 Q962 Q963 Q697 Q695 Q114 Q389004 Q1013 Q160307 Q164092 Q1483510 Q2662372 Q916 Q1007 Q1005 Q829700 Q1008 Q971 Q239502 Q15581 Q34020 Q2380910 Q193152 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q696651 Q774 Q948 Q148499 Q678 Q8575586 Q529605 Q672 Q33788 Q929 Q11024667 Q426025 Q953
(c(Q223557)|c(Q838948),P17,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q223557
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1016
relation P17
type Q223557
type Q838948
[ANSWER]
[[{'concept': 'Q223557'}, {'concept': 'Q838948'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?x WHERE { VALUES ( ?k ) { ( ontology:Q223557 ) ( ontology:Q838948 ) } . ?f rdf:type ?k } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:P17 resource:Q1016 . { { ?n rdf:type ontology:Q223557 } UNION { ?n rdf:type ontology:Q838948 } } } } . FILTER ( ?l < ?a ) }
Liguria Marshall Islands Principality of Orange-Nassau Andora Principality of Serbia Electorate of Württemberg Abbasid caliphate Dominica Stahnsdorf West Bank Nassau-Siegen Principality of Calenberg Principality of Albania Sardinia Chad El Salvador Haiti Principality of Polotsk Zimbabwe Company rule in India Duchy of Brunswick Duchy of Milan Schwarzburg-Rudolstadt Duchy of Parma Cuba Saxe-Weimar Nicaragua Habsburg Empire Lombardy Duchy of Lorraine Paraguay Kingdom of the Netherlands Guyana Laos Anjou Suriname Lazio Württemberg San Marino Sierra Leone Senegal developing country Saxe-Lauenburg district Mauritania Mauritius Mozambique Principality of Bayreuth Calabria Dominican Republic Andorra Saxe-Coburg and Gotha Greenland Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Cyprus Liechtenstein Duchy of Holstein Moldavia Niger Namibia Burkina Faso Burundi Benin Botswana Nauru Palau Kenya Wallachia Lesotho Fatimid caliphate Duchy of Saxony Principality of Wales Principality of Minsk Angola Guinea-Bissau Gambia Saxe-Jena Côte d'Ivoire Republic of the Congo Kingdom of Galicia–Volhynia Principality of Catalonia Niue Duchy of Zaslawye Great Moravia Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Saxe-Eisenach Guatemala Tunisia Margraviate of Brandenburg Tonga Umayyad Caliphate Electorate of Hesse Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Duchy of Savoy Zambia
105
action count
action less
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type physical object
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Libya
relation country
type physical object
type work of art
[[{'concept': 'physical object'}, {'concept': 'work of art'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) ?x WHERE { VALUES ( ?k ) { ( ontology:physical_object ) ( ontology:work_of_art ) } . ?f rdf:type ?k } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n property:country resource:Libya . { { ?n rdf:type ontology:physical_object } UNION { ?n rdf:type ontology:work_of_art } } } } . FILTER ( ?l < ?a ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P608
Q667276 Q56061 Q838948
USER
Which works of art were presented at max number of art exhibitions and administrative territories ?
(c(Q838948),P608,c(Q667276)|c(Q56061))
action argmax
action union
action find_tuple_counts
relation P608
type Q838948
type Q667276
action find_tuple_counts
relation P608
type Q838948
type Q56061
[{'concept': 'Q838948'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?l WHERE { ?w rdf:type ?e . VALUES ( ?e ) { ( ontology:Q667276 ) ( ontology:Q56061 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?x WHERE { VALUES ( ?v ) { ( ontology:Q667276 ) ( ontology:Q56061 ) } . ?h rdf:type ?v } GROUP BY ?x } . FILTER ( ?o = ?c ) }
action argmax
action union
action find_tuple_counts
relation exhibition history
type work of art
type art exhibition
action find_tuple_counts
relation exhibition history
type work of art
type administrative territorial entity
[{'concept': 'work of art'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?l WHERE { ?w rdf:type ?e . VALUES ( ?e ) { ( ontology:art_exhibition ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?x WHERE { VALUES ( ?v ) { ( ontology:art_exhibition ) ( ontology:administrative_territorial_entity ) } . ?h rdf:type ?v } GROUP BY ?x } . FILTER ( ?o = ?c ) }
[]
art exhibition administrative territorial entity work of art
Q4780980 Q7170104 Q457675
SYSTEM
Appeal to the Great Spirit, Persephone, It Is Not the Homosexual Who Is Perverse, But the Society in Which He Lives
Q17104796 Q1219934 Q27037078 Q7170104 Q4780980 Q457675 Q1741424
(c(Q838948),P608,c(Q667276)|c(Q56061))
action argmax
action union
action find_tuple_counts
relation P608
type Q838948
type Q667276
action find_tuple_counts
relation P608
type Q838948
type Q56061
[ANSWERS]
[{'concept': 'Q838948'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?l WHERE { ?w rdf:type ?e . VALUES ( ?e ) { ( ontology:Q667276 ) ( ontology:Q56061 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?x WHERE { VALUES ( ?v ) { ( ontology:Q667276 ) ( ontology:Q56061 ) } . ?h rdf:type ?v } GROUP BY ?x } . FILTER ( ?o = ?c ) }
Dial H-I-S-T-O-R-Y The Destroyed City Flying Carpets Persephone Appeal to the Great Spirit It Is Not the Homosexual Who Is Perverse, But the Society in Which He Lives Man walking to the sky
Appeal to the Great Spirit, Persephone and It is Not the Homosexual Who is Perverse, But the Society in Which He Lives were presented at max number of art exhibitions and administrative territories
Appeal to the Great Spirit Persephone It Is Not the Homosexual Who Is Perverse, But the Society in Which He Lives
action argmax
action union
action find_tuple_counts
relation exhibition history
type work of art
type art exhibition
action find_tuple_counts
relation exhibition history
type work of art
type administrative territorial entity
[{'concept': 'work of art'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) ?l WHERE { ?w rdf:type ?e . VALUES ( ?e ) { ( ontology:art_exhibition ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) ?x WHERE { VALUES ( ?v ) { ( ontology:art_exhibition ) ( ontology:administrative_territorial_entity ) } . ?h rdf:type ?v } GROUP BY ?x } . FILTER ( ?o = ?c ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18154426 Q7170104
P69 P127
Q163740
USER
Which nonprofit organizations do Persephone belong to or were Millicent Lownes-Jackson educated ?
OR((Q7170104,P127,c(Q163740)), (Q18154426,P69,c(Q163740)))
action filter_type
action union
action find
entity Q7170104
relation P127
action find
entity Q18154426
relation P69
type Q163740
{'OR': [['Q7170104', 'P127', {'concept': 'Q163740'}], ['Q18154426', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q18154426 property:P69 ?e } UNION { resource:Q7170104 property:P127 ?e } } . ?e rdf:type ontology:Q163740 }
Millicent Lownes-Jackson Persephone
action filter_type
action union
action find
entity Persephone
relation owned by
action find
entity Millicent Lownes-Jackson
relation educated at
type nonprofit organization
{'OR': [['Persephone', 'owned by', {'concept': 'nonprofit organization'}], ['Millicent Lownes-Jackson', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Millicent_Lownes-Jackson property:educated_at ?e } UNION { resource:Persephone property:owned_by ?e } } . ?e rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q29052 Q49087 Q1017974
SYSTEM
Vanderbilt University, Fisk University, Butler University
Q29052 Q49087 Q1017974
OR((Q7170104,P127,c(Q163740)), (Q18154426,P69,c(Q163740)))
action filter_type
action union
action find
entity Q7170104
relation P127
action find
entity Q18154426
relation P69
type Q163740
Persephone belong to [ANSWERS]
{'OR': [['Q7170104', 'P127', {'concept': 'Q163740'}], ['Q18154426', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q18154426 property:P69 ?e } UNION { resource:Q7170104 property:P127 ?e } } . ?e rdf:type ontology:Q163740 }
Vanderbilt University Fisk University Butler University
Persephone belong to Vanderbilt University, Fisk University and Butler University
Vanderbilt University Fisk University Butler University
action filter_type
action union
action find
entity Persephone
relation owned by
action find
entity Millicent Lownes-Jackson
relation educated at
type nonprofit organization
{'OR': [['Persephone', 'owned by', {'concept': 'nonprofit organization'}], ['Millicent Lownes-Jackson', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Millicent_Lownes-Jackson property:educated_at ?e } UNION { resource:Persephone property:owned_by ?e } } . ?e rdf:type ontology:nonprofit_organization }
[]