Simple Question (Direct)
Simple Question
Q3750782
P611
Q1530022
USER
What religion is Francis of Fabriano affiliated to ?
(Q3750782,P611,c(Q1530022))
action filter_type
action find
entity Q3750782
relation P611
type Q1530022
['Q3750782', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1530022 . resource:Q3750782 property:P611 ?u }
Francis of Fabriano
action filter_type
action find
entity Francis of Fabriano
relation religious order
type religious organization
['Francis of Fabriano', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:religious_organization . resource:Francis_of_Fabriano property:religious_order ?u }
[]
religious organization
Q165005
SYSTEM
Franciscan
Q165005
(Q3750782,P611,c(Q1530022))
action filter_type
action find
entity Q3750782
relation P611
type Q1530022
Francis of Fabriano is affiliated to [ANSWER]
['Q3750782', 'P611', {'concept': 'Q1530022'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1530022 . resource:Q3750782 property:P611 ?u }
Franciscan
Francis of Fabriano is affiliated to Franciscan
Franciscan
action filter_type
action find
entity Francis of Fabriano
relation religious order
type religious organization
['Francis of Fabriano', 'religious order', {'concept': 'religious organization'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:religious_organization . resource:Francis_of_Fabriano property:religious_order ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q165005
P138
Q502895
USER
Which person is namesake of that religious organization ?
(Q165005,P138,c(Q502895))
action filter_type
action find
entity Q165005
relation P138
type Q502895
['Q165005', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q165005 property:P138 ?c . ?c rdf:type ontology:Q502895 }
Franciscan
action filter_type
action find
entity Franciscan
relation named after
type common name
['Franciscan', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Franciscan property:named_after ?c . ?c rdf:type ontology:common_name }
[]
common name
Q676555
SYSTEM
Francis of Assisi
Q676555
(Q165005,P138,c(Q502895))
action filter_type
action find
entity Q165005
relation P138
type Q502895
[ANSWER] is namesake of that religious organization
['Q165005', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q165005 property:P138 ?c . ?c rdf:type ontology:Q502895 }
Francis of Assisi
Francis of Assisi is namesake of that religious organization
Francis of Assisi
action filter_type
action find
entity Franciscan
relation named after
type common name
['Franciscan', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Franciscan property:named_after ?c . ?c rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q676555 Q19852126
P138
Q502895
USER
Is Wuluzhen the eponym of that one ?
(Q19852126,P138,Q676555)
action is_in
entity Q19852126
action find
entity Q676555
relation P138
['Q19852126', 'P138', 'Q676555']
ASK WHERE { resource:Q676555 property:P138 resource:Q19852126 }
Francis of Assisi Wuluzhen
action is_in
entity Wuluzhen
action find
entity Francis of Assisi
relation named after
['Wuluzhen', 'named after', 'Francis of Assisi']
ASK WHERE { resource:Francis_of_Assisi property:named_after resource:Wuluzhen }
[]
common name
SYSTEM
NO
(Q19852126,P138,Q676555)
action is_in
entity Q19852126
action find
entity Q676555
relation P138
[ANSWER]
['Q19852126', 'P138', 'Q676555']
ASK WHERE { resource:Q676555 property:P138 resource:Q19852126 }
No
action is_in
entity Wuluzhen
action find
entity Francis of Assisi
relation named after
['Wuluzhen', 'named after', 'Francis of Assisi']
ASK WHERE { resource:Francis_of_Assisi property:named_after resource:Wuluzhen }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q2342494
USER
Which collectables have been dubbed by min number of people ?
(c(Q2342494),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q2342494
type Q502895
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?v ) WHERE { ?j property:P725 ?f . ?j rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q502895 } GROUP BY ?j } } . { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?d ) WHERE { ?z property:P725 ?q . ?q rdf:type ontology:Q502895 . ?z rdf:type ontology:Q2342494 } GROUP BY ?z } . FILTER ( ?d = ?x ) }
action argmin
action find_tuple_counts
relation voice actor
type collectable
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?v ) WHERE { ?j property:voice_actor ?f . ?j rdf:type ontology:collectable . ?f rdf:type ontology:common_name } GROUP BY ?j } } . { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?d ) WHERE { ?z property:voice_actor ?q . ?q rdf:type ontology:common_name . ?z rdf:type ontology:collectable } GROUP BY ?z } . FILTER ( ?d = ?x ) }
[]
common name collectable
Q119534 Q11325839 Q495094
SYSTEM
Shakugan no Shana, No Game No Life-mart, Durarara!!
Q495094 Q336056 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q2759489
(c(Q2342494),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q2342494
type Q502895
[ANSWERS] have been dubbed by min number of people
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?v ) WHERE { ?j property:P725 ?f . ?j rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q502895 } GROUP BY ?j } } . { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?d ) WHERE { ?z property:P725 ?q . ?q rdf:type ontology:Q502895 . ?z rdf:type ontology:Q2342494 } GROUP BY ?z } . FILTER ( ?d = ?x ) }
Durarara!! The Girl Who Leapt Through Time Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Muv-Luv
Shakugan no Shana, No Game No Life-mart and Durarara!! have been dubbed by min number of people
Shakugan no Shana No Game No Life-mart Durarara!!
action argmin
action find_tuple_counts
relation voice actor
type collectable
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?x ) { SELECT DISTINCT ?j ( COUNT ( ?f ) AS ?v ) WHERE { ?j property:voice_actor ?f . ?j rdf:type ontology:collectable . ?f rdf:type ontology:common_name } GROUP BY ?j } } . { SELECT DISTINCT ?z ( COUNT ( ?q ) AS ?d ) WHERE { ?z property:voice_actor ?q . ?q rdf:type ontology:common_name . ?z rdf:type ontology:collectable } GROUP BY ?z } . FILTER ( ?d = ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1441
Q2342494 Q3895768
USER
How many fictional locations are seen in atmost 2 collectables ?
(c(Q3895768),P1441,c(Q2342494))
action count
action atmost
action find_tuple_counts
relation P1441
type Q3895768
type Q2342494
value 2
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?t ) WHERE { ?g property:P1441 ?e . ?g rdf:type ontology:Q3895768 . ?e rdf:type ontology:Q2342494 } GROUP BY ?g } . FILTER ( ?t <= 2 ) }
action count
action atmost
action find_tuple_counts
relation present in work
type fictional location
type collectable
value 2
[{'concept': 'fictional location'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?t ) WHERE { ?g property:present_in_work ?e . ?g rdf:type ontology:fictional_location . ?e rdf:type ontology:collectable } GROUP BY ?g } . FILTER ( ?t <= 2 ) }
[]
collectable fictional location
SYSTEM
290
Q3285391 Q1306534 Q24140376 Q4535333 Q27334275 Q27334375 Q2372432 Q27333795 Q5138976 Q368572 Q27334373 Q5034806 Q24387968 Q931583 Q5031960 Q9274482 Q26964268 Q15706810 Q26995312 Q1234628 Q6045191 Q17238797 Q1772976 Q27333858 Q24131920 Q923051 Q259410 Q5479343 Q20244992 Q3236023 Q5795541 Q5984960 Q8240859 Q26920607 Q26920606 Q26920605 Q26920604 Q3078960 Q26920602 Q26920601 Q26920600 Q26760958 Q11903265 Q11908154 Q19753420 Q25991682 Q19595262 Q717079 Q27334363 Q27781791 Q5820519 Q2014805 Q723271 Q26964271 Q2722222 Q20267163 Q23826237 Q8458577 Q26964279 Q2193285 Q834656 Q13099569 Q5815259 Q2925567 Q947309 Q6150892 Q2793775 Q13586984 Q5888160 Q27643192 Q27643193 Q3091514 Q15286773 Q27334287 Q218728 Q843151 Q26920612 Q16481554 Q3751838 Q27333847 Q5770908 Q1983907 Q2031367 Q27334283 Q20791988 Q27334352 Q27334350 Q7903141 Q949732 Q766099 Q18596108 Q26964246 Q15133081 Q2199750 Q26964241 Q2804040 Q18765960 Q3509107 Q2288937 Q12902678 Q3490022 Q26987408 Q27333874 Q6675253 Q25991672 Q27334368 Q27334294 Q3370353 Q3776294 Q16203404 Q26920598 Q26987257 Q26920593 Q26920592 Q26920591 Q26920590 Q26920597 Q26920596 Q26920595 Q26920594 Q2337419 Q1098873 Q3276444 Q1172857 Q1417506 Q7831763 Q27334343 Q202886 Q26964251 Q27333893 Q2328564 Q27334305 Q5500857 Q18763205 Q5086509 Q3299764 Q18417553 Q26964306 Q20861091 Q27333864 Q15133076 Q308659 Q14088252 Q16540960 Q26920611 Q3603731 Q18030322 Q27333869 Q1877267 Q26920588 Q26920589 Q3402263 Q26964298 Q11800584 Q2603177 Q11695978 Q7636097 Q15133086 Q15133084 Q3360786 Q6796971 Q26964225 Q20085723 Q14752002 Q27333887 Q1961610 Q1273975 Q27334335 Q26964337 Q26713189 Q26964335 Q850186 Q18761625 Q2634165 Q3745924 Q26922992 Q6160265 Q3160818 Q2258963 Q27333810 Q13231336 Q898585 Q3511866 Q1751472 Q26964293 Q2730097 Q1781719 Q1975407 Q5614271 Q46289 Q16382515 Q3434365 Q26964237 Q26964234 Q26920608 Q27334323 Q26964323 Q12013570 Q27333818 Q26985022 Q44826 Q9311957 Q745173 Q14834627 Q26920603 Q26964245 Q18763210 Q3564892 Q3553489 Q2353174 Q3490968 Q27334313 Q151076 Q1698465 Q2068808 Q21116831 Q3513524 Q27334258 Q3279818 Q27334254 Q2345258 Q18030394 Q11392416 Q27334316 Q26964288 Q3717834 Q19414239 Q27334310 Q2325089 Q3591950 Q632806 Q3352887 Q3858317 Q3858316 Q25991635 Q3881878 Q2351583 Q26995318 Q15133082 Q26995314 Q1043045 Q26995316 Q13221630 Q1291432 Q1066081 Q6470774 Q15133099 Q5734165 Q3319549 Q2307359 Q27333832 Q3200314 Q15133090 Q3176924 Q26964284 Q18367086 Q7887172 Q20822660 Q27334260 Q26964212 Q7156285 Q3017298 Q27334268 Q3647114 Q13222057 Q22956316 Q3482551 Q5318794 Q26964342 Q1991162 Q22011225 Q6049336 Q3510506 Q15133079 Q7116408 Q9066331 Q19595301 Q3436359 Q26920609 Q27333826 Q20820678 Q3313001 Q590524 Q390301 Q2979245 Q617964 Q26920599 Q19819200 Q3122592 Q27334327
(c(Q3895768),P1441,c(Q2342494))
action count
action atmost
action find_tuple_counts
relation P1441
type Q3895768
type Q2342494
value 2
[ANSWER]
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?t ) WHERE { ?g property:P1441 ?e . ?g rdf:type ontology:Q3895768 . ?e rdf:type ontology:Q2342494 } GROUP BY ?g } . FILTER ( ?t <= 2 ) }
Shelbyville Avonlea Bunnyburrow Yuryatin Route 117 Route 134 Überwald Route 101 Cobra Island Valinor Route 133 Cape Flattery Zootopia Phatt Island Candlekeep Gont Route 37 Pandaria Victory Road Angband North Haverbrook Airan Island Tol Eressëa Route 107 Puente Antiguo Brobdingnag Lagado Hill of Guard L-space Dalelands Cypress Creek Lut Gholein Balnibarbi Route 23 Route 22 Route 20 Route 19 Formenos Route 17 Route 16 Route 15 Wakanda Hornburg Baratària Glimmerdagg Route 2 Lesser Cloud Isengard Route 131 New Bordeaux Eithel Ivrin Dorthonion Liberty City Route 38 Meduseld Borogravia Equatorial Kundu Muntab Route 39 Amon Lhaw Booty Island Hyrule Durthang Brimstone Umbar Towers of the Teeth Shell Cottage Luskan Guidopolis Aether Paradise Melemele Sao Rico Far Far Away Route 119 Shire Barad-dûr Route 28 Galma Rammas Echor Route 106 Minas Tirith citadel Springfield Nuclear Power Plant Baldur's Gate Route 118 Kharé Route 130 Route 129 Chetwood Central City Wakanda Roarton Route 35 Goldenrod City Champignac Route 33 San Theodoros Khauran Ephebe Brethil Zembla Klatch Cliff Edge Gate Route 110 Looking-Glass Land Route 21 Route 132 Route 120 Eithel Sirion Greed Island Land of Fire Route 13 Mt. Mortar Route 8 Route 7 Route 6 Route 5 Route 12 Route 11 Route 10 Route 9 Eurasia Andúnië Little Hangleton Vice City Fangorn Tracy Island Route 128 Mordor Route 36 Route 112 Ankh-Morpork Route 121 Freedonia Xapur Charming Sodor Orbajosa Route 44 Land of Wind Route 108 Azalea Town Lothlórien Himring Dor-Cúarthol Route 27 Water 7 New New York Route 109 Morrowland Route 3 Route 4 Wonderland Route 43 Last Bridge Dunharrow North Takoma Suldanessellar Mahogany Town Dark Cave Number 12, Grimmauld Place Mayberry Route 30 Tashbaan nation of Nineteen Eighty-Four Route 111 Emerald City Eastasia Route 127 Route 47 Abacus Valley Route 46 Kalimdor Afghulistan Dor-lómin Cianwood City Rock Tunnel Vendhya Jambalaya Island Salem Route 102 Quirm Isla Nublar T'u Lung Borduria Route 42 Little Norton Orthanc San Lorenzo Silver Millennium Mirkwood Amn Shrieking Shack Route 32 Route 31 Route 24 Route 125 Route 45 Ecruteak City Route 103 Ilex Forest Tarshish Roke Stars Hollow Treasure Island Route 18 Route 34 Keshan Wa Icewind Dale Bretonnia Agatean Empire Route 123 Springfield Aman Utumno Neverland Tabot Route 114 Springfield Retirement Home Route 113 Menzoberranzan New New York Rokujō-in Route 124 Route 41 Blackthorn City Tol Sirion Route 122 Lustria Evermeet Cair Andros Eleven Kingdoms Minas Malloth Minas Girithlin Route 1 Olivine City Toontown Victory Road Cherrygrove City Victory Road Ravenholm Victory Road Sto Lat Oceania Neverwinter Chamber of Mazarbul Pewter City Brockway Lancre Zakkestan Route 105 Kuldahar Violet City Capital City Route 40 Woody End Sword Coast Megaton Route 115 Route 29 Pawnee Daventry Route 116 Barad Eithel Genua Graabølle Shou Lung Dylath-Leen Route 48 Erathia High Council Tower Ogdenville XXXX New Bark Town Oz Ramsay Street Groasnachek The Burrow Route 25 Route 104 Antagarich Bedrock Twelve Colonies Northrend Malfoy Manor Blood Island Route 14 Death's domain Gwynedd Route 126
290
action count
action atmost
action find_tuple_counts
relation present in work
type fictional location
type collectable
value 2
[{'concept': 'fictional location'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?e ) AS ?t ) WHERE { ?g property:present_in_work ?e . ?g rdf:type ontology:fictional_location . ?e rdf:type ontology:collectable } GROUP BY ?g } . FILTER ( ?t <= 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q581346 Q19852126
P7
Q502895
USER
Which people have Wuluzhen or Erik Axelsson Tott as their brother ?
OR((Q19852126,P7,c(Q502895)), (Q581346,P7,c(Q502895)))
action filter_type
action union
action find
entity Q19852126
relation P7
action find
entity Q581346
relation P7
type Q502895
{'OR': [['Q19852126', 'P7', {'concept': 'Q502895'}], ['Q581346', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?z ) { ( resource:Q19852126 ) ( resource:Q581346 ) } . ?z property:P7 ?c } . ?c rdf:type ontology:Q502895 }
Erik Axelsson Tott Wuluzhen
action filter_type
action union
action find
entity Wuluzhen
relation brother
action find
entity Erik Axelsson Tott
relation brother
type common name
{'OR': [['Wuluzhen', 'brother', {'concept': 'common name'}], ['Erik Axelsson Tott', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?z ) { ( resource:Wuluzhen ) ( resource:Erik_Axelsson_Tott ) } . ?z property:brother ?c } . ?c rdf:type ontology:common_name }
[]
common name
Q4406288 Q5940343 Q5562978 Q7071776 Q7072373 Q7072624 Q7072571 Q7071899 Q7072194 Q7072285
SYSTEM
Some of them are Ivar Axelsson, Laurens Axelsson, Peder Axelsson, Ayachi, Khökhechi, Tamachi, Hutulu Temür, Dorji, Mangala, Nomugan
Q7071776 Q6727705 Q7072373 Q7072624 Q7071899 Q7072451 Q7072285 Q12331822 Q5940343 Q5562974 Q7072571 Q1036575 Q7072194 Q5562982 Q7072496 Q5562978 Q4406288
OR((Q19852126,P7,c(Q502895)), (Q581346,P7,c(Q502895)))
action filter_type
action union
action find
entity Q19852126
relation P7
action find
entity Q581346
relation P7
type Q502895
[ANSWERS] have Wuluzhen or Erik Axelsson Tott as their brother
{'OR': [['Q19852126', 'P7', {'concept': 'Q502895'}], ['Q581346', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?z ) { ( resource:Q19852126 ) ( resource:Q581346 ) } . ?z property:P7 ?c } . ?c rdf:type ontology:Q502895 }
Ayachi Togoon Khökhechi Tamachi Dorji Auruyvci Nomugan Philippus Axelsen Thott Laurens Axelsson Oluf Axelsen Thott Hutulu Temür Zhenjinandun Mangala Åge Axelsen Thott Kuokuochu Peder Axelsson Ivar Axelsson
Ivar Axelsson, Laurens Axelsson, Peder Axelsson, Ayachi, Khökhechi, Tamachi, Hutulu Temür, Dorji, Mangala and Nomugan have Wuluzhen or Erik Axelsson Tott as their brother
Ivar Axelsson Laurens Axelsson Peder Axelsson Ayachi Khökhechi Tamachi Hutulu Temür Dorji Mangala Nomugan
action filter_type
action union
action find
entity Wuluzhen
relation brother
action find
entity Erik Axelsson Tott
relation brother
type common name
{'OR': [['Wuluzhen', 'brother', {'concept': 'common name'}], ['Erik Axelsson Tott', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?z ) { ( resource:Wuluzhen ) ( resource:Erik_Axelsson_Tott ) } . ?z property:brother ?c } . ?c rdf:type ontology:common_name }
[]