Simple Question (Direct)
Simple Question
Q5467091
P57
Q502895
USER
Which person served as the directed of For the Love of Money ?
(Q5467091,P57,c(Q502895))
action filter_type
action find
entity Q5467091
relation P57
type Q502895
['Q5467091', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q5467091 property:P57 ?g . ?g rdf:type ontology:Q502895 }
For the Love of Money
action filter_type
action find
entity For the Love of Money
relation director
type common name
['For the Love of Money', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:For_the_Love_of_Money property:director ?g . ?g rdf:type ontology:common_name }
[]
common name
Q16730565
SYSTEM
Ellie Kanner
Q16730565
(Q5467091,P57,c(Q502895))
action filter_type
action find
entity Q5467091
relation P57
type Q502895
[ANSWER] served as the directed of For the Love of Money
['Q5467091', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q5467091 property:P57 ?g . ?g rdf:type ontology:Q502895 }
Ellie Kanner
Ellie Kanner served as the directed of For the Love of Money
Ellie Kanner
action filter_type
action find
entity For the Love of Money
relation director
type common name
['For the Love of Money', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:For_the_Love_of_Money property:director ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16730565
P26
Q502895
USER
Which person has that one as spouse ?
(c(Q502895),P26,Q16730565)
action filter_type
action find
entity Q16730565
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q16730565']
SELECT DISTINCT ?t WHERE { resource:Q16730565 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Ellie Kanner
action filter_type
action find
entity Ellie Kanner
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ellie Kanner']
SELECT DISTINCT ?t WHERE { resource:Ellie_Kanner property:spouse ?t . ?t rdf:type ontology:common_name }
[]
common name
Q2706398
SYSTEM
David Zuckerman
Q2706398
(c(Q502895),P26,Q16730565)
action filter_type
action find
entity Q16730565
relation P26
type Q502895
[ANSWER] has that one as spouse
[{'concept': 'Q502895'}, 'P26', 'Q16730565']
SELECT DISTINCT ?t WHERE { resource:Q16730565 property:P26 ?t . ?t rdf:type ontology:Q502895 }
David Zuckerman
David Zuckerman has that one as spouse
David Zuckerman
action filter_type
action find
entity Ellie Kanner
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Ellie Kanner']
SELECT DISTINCT ?t WHERE { resource:Ellie_Kanner property:spouse ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2706398
P69
Q3918
USER
Which university was that person educated at ?
(Q2706398,P69,c(Q3918))
action filter_type
action find
entity Q2706398
relation P69
type Q3918
['Q2706398', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3918 . resource:Q2706398 property:P69 ?p }
David Zuckerman
action filter_type
action find
entity David Zuckerman
relation educated at
type university
['David Zuckerman', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:university . resource:David_Zuckerman property:educated_at ?p }
[]
university
Q174710
SYSTEM
University of California, Los Angeles
Q174710
(Q2706398,P69,c(Q3918))
action filter_type
action find
entity Q2706398
relation P69
type Q3918
That person was educated by [ANSWER]
['Q2706398', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3918 . resource:Q2706398 property:P69 ?p }
University of California, Los Angeles
That person was educated by University of California, Los Angeles
University of California, Los Angeles
action filter_type
action find
entity David Zuckerman
relation educated at
type university
['David Zuckerman', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:university . resource:David_Zuckerman property:educated_at ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2706398 Q9188327
P26
Q502895
USER
How many people are the spouse of David Zuckerman or Cetner family ?
(c(Q502895),P26,Q2706398) (c(Q502895),P26,Q9188327)
action count
action union
action filter_type
action find_reverse
entity Q2706398
relation P26
type Q502895
action filter_type
action find_reverse
entity Q9188327
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2706398'] [{'concept': 'Q502895'}, 'P26', 'Q9188327']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { ?l property:P26 resource:Q2706398 . ?l rdf:type ontology:Q502895 } UNION { ?l property:P26 resource:Q9188327 . ?l rdf:type ontology:Q502895 } }
David Zuckerman Cetner family
action count
action union
action filter_type
action find_reverse
entity David Zuckerman
relation spouse
type common name
action filter_type
action find_reverse
entity Cetner family
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'David Zuckerman'] [{'concept': 'common name'}, 'spouse', 'Cetner family']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { ?l property:spouse resource:David_Zuckerman . ?l rdf:type ontology:common_name } UNION { ?l property:spouse resource:Cetner_family . ?l rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q16730565 Q10018149
(c(Q502895),P26,Q2706398) (c(Q502895),P26,Q9188327)
action count
action union
action filter_type
action find_reverse
entity Q2706398
relation P26
type Q502895
action filter_type
action find_reverse
entity Q9188327
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q2706398'] [{'concept': 'Q502895'}, 'P26', 'Q9188327']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { ?l property:P26 resource:Q2706398 . ?l rdf:type ontology:Q502895 } UNION { ?l property:P26 resource:Q9188327 . ?l rdf:type ontology:Q502895 } }
Ellie Kanner Józef Felicjan Potocki
2
action count
action union
action filter_type
action find_reverse
entity David Zuckerman
relation spouse
type common name
action filter_type
action find_reverse
entity Cetner family
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'David Zuckerman'] [{'concept': 'common name'}, 'spouse', 'Cetner family']
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { ?l property:spouse resource:David_Zuckerman . ?l rdf:type ontology:common_name } UNION { ?l property:spouse resource:Cetner_family . ?l rdf:type ontology:common_name } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12386964 Q2706398
P170
Q15961987
USER
Which television genres did David Zuckerman or David Hornsby make ?
OR((c(Q15961987),P170,Q2706398), (c(Q15961987),P170,Q12386964))
action filter_type
action union
action find_reverse
entity Q2706398
relation P170
action find_reverse
entity Q12386964
relation P170
type Q15961987
{'OR': [[{'concept': 'Q15961987'}, 'P170', 'Q2706398'], [{'concept': 'Q15961987'}, 'P170', 'Q12386964']]}
SELECT DISTINCT ?e WHERE { { ?e property:P170 ?r . VALUES ( ?r ) { ( resource:Q2706398 ) ( resource:Q12386964 ) } } . ?e rdf:type ontology:Q15961987 }
David Hornsby David Zuckerman
action filter_type
action union
action find_reverse
entity David Zuckerman
relation creator
action find_reverse
entity David Hornsby
relation creator
type television genre
{'OR': [[{'concept': 'television genre'}, 'creator', 'David Zuckerman'], [{'concept': 'television genre'}, 'creator', 'David Hornsby']]}
SELECT DISTINCT ?e WHERE { { ?e property:creator ?r . VALUES ( ?r ) { ( resource:David_Zuckerman ) ( resource:David_Hornsby ) } } . ?e rdf:type ontology:television_genre }
[]
television genre
Q7897553 Q7745768
SYSTEM
Unsupervised, The Last Frontier
Q7897553 Q7745768
OR((c(Q15961987),P170,Q2706398), (c(Q15961987),P170,Q12386964))
action filter_type
action union
action find_reverse
entity Q2706398
relation P170
action find_reverse
entity Q12386964
relation P170
type Q15961987
David Zuckerman or David Hornsby made The [ANSWERS]
{'OR': [[{'concept': 'Q15961987'}, 'P170', 'Q2706398'], [{'concept': 'Q15961987'}, 'P170', 'Q12386964']]}
SELECT DISTINCT ?e WHERE { { ?e property:P170 ?r . VALUES ( ?r ) { ( resource:Q2706398 ) ( resource:Q12386964 ) } } . ?e rdf:type ontology:Q15961987 }
Unsupervised The Last Frontier
David Zuckerman or David Hornsby made The Unsupervised and The Last Frontier
Unsupervised The Last Frontier
action filter_type
action union
action find_reverse
entity David Zuckerman
relation creator
action find_reverse
entity David Hornsby
relation creator
type television genre
{'OR': [[{'concept': 'television genre'}, 'creator', 'David Zuckerman'], [{'concept': 'television genre'}, 'creator', 'David Hornsby']]}
SELECT DISTINCT ?e WHERE { { ?e property:creator ?r . VALUES ( ?r ) { ( resource:David_Zuckerman ) ( resource:David_Hornsby ) } } . ?e rdf:type ontology:television_genre }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2804040
P1441
Q15961987 Q3895768
USER
How many fictional locations are present in around the same number of television genres as San Theodoros ?
(c(Q3895768),P1441,c(Q15961987))
action count
action approx
action find_tuple_counts
relation P1441
type Q3895768
type Q15961987
action count
action filter_type
action find
entity Q2804040
relation P1441
type Q3895768
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?d ) WHERE { ?h property:P1441 ?n . ?n rdf:type ontology:Q15961987 . ?h rdf:type ontology:Q3895768 } GROUP BY ?h } . FILTER ( ?d = ?g ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q2804040 property:P1441 ?e . ?e rdf:type ontology:Q3895768 } } }
San Theodoros
action count
action approx
action find_tuple_counts
relation present in work
type fictional location
type television genre
action count
action filter_type
action find
entity San Theodoros
relation present in work
type fictional location
[{'concept': 'fictional location'}, 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?d ) WHERE { ?h property:present_in_work ?n . ?n rdf:type ontology:television_genre . ?h rdf:type ontology:fictional_location } GROUP BY ?h } . FILTER ( ?d = ?g ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:San_Theodoros property:present_in_work ?e . ?e rdf:type ontology:fictional_location } } }
[]
television genre fictional location
SYSTEM
277
Q1306534 Q24140376 Q4535333 Q27334275 Q27334375 Q2372432 Q27333795 Q5138976 Q368572 Q27334373 Q5034806 Q24387968 Q931583 Q5031960 Q9274482 Q26964268 Q15706810 Q26995312 Q1234628 Q17238797 Q1772976 Q27333858 Q24131920 Q923051 Q259410 Q5479343 Q20244992 Q3236023 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 Q27643192 Q27643193 Q3091514 Q15286773 Q27334287 Q218728 Q843151 Q26920612 Q16481554 Q3751838 Q27333847 Q5770908 Q2031367 Q27334283 Q20791988 Q27334352 Q27334350 Q7903141 Q949732 Q18596108 Q26964246 Q15133081 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 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 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 Q1698465 Q2068808 Q21116831 Q3513524 Q27334258 Q27334254 Q2345258 Q18030394 Q11392416 Q2997950 Q27334316 Q26964288 Q3717834 Q19414239 Q27334310 Q2325089 Q3591950 Q632806 Q3352887 Q3858317 Q3858316 Q25991635 Q3881878 Q2351583 Q26995318 Q15133082 Q26995314 Q1043045 Q26995316 Q13221630 Q1291432 Q1066081 Q6470774 Q15133099 Q3319549 Q2307359 Q27333832 Q3200314 Q15133090 Q26964284 Q18367086 Q7887172 Q20822660 Q27334260 Q26964212 Q7156285 Q3017298 Q27334268 Q3647114 Q13222057 Q22956316 Q3482551 Q5318794 Q26964342 Q1991162 Q22011225 Q3510506 Q15133079 Q7116408 Q9066331 Q19595301 Q3436359 Q26920609 Q27333826 Q20820678 Q3313001 Q590524 Q390301 Q2979245 Q617964 Q26920599 Q19819200 Q3122592 Q27334327
(c(Q3895768),P1441,c(Q15961987))
action count
action approx
action find_tuple_counts
relation P1441
type Q3895768
type Q15961987
action count
action filter_type
action find
entity Q2804040
relation P1441
type Q3895768
[ANSWER]
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?d ) WHERE { ?h property:P1441 ?n . ?n rdf:type ontology:Q15961987 . ?h rdf:type ontology:Q3895768 } GROUP BY ?h } . FILTER ( ?d = ?g ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:Q2804040 property:P1441 ?e . ?e rdf:type ontology:Q3895768 } } }
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 Airan Island Tol Eressëa Route 107 Puente Antiguo Brobdingnag Lagado Hill of Guard L-space Dalelands 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 Aether Paradise Melemele Sao Rico Far Far Away Route 119 Shire Barad-dûr Route 28 Galma Rammas Echor Route 106 Minas Tirith citadel Baldur's Gate Route 118 Kharé Route 130 Route 129 Chetwood Central City Roarton Route 35 Goldenrod City 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 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 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 Aman Utumno Neverland Tabot Route 114 Route 113 Menzoberranzan New New York Rokujō-in Waterdeep 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 Lancre Zakkestan Route 105 Kuldahar Violet 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 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
277
action count
action approx
action find_tuple_counts
relation present in work
type fictional location
type television genre
action count
action filter_type
action find
entity San Theodoros
relation present in work
type fictional location
[{'concept': 'fictional location'}, 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?d ) WHERE { ?h property:present_in_work ?n . ?n rdf:type ontology:television_genre . ?h rdf:type ontology:fictional_location } GROUP BY ?h } . FILTER ( ?d = ?g ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { resource:San_Theodoros property:present_in_work ?e . ?e rdf:type ontology:fictional_location } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q11695978
P1441
Q15961987 Q3895768
USER
And what about North Takoma?
(c(Q3895768),P1441,c(Q15961987))
action count
action approx
action find_tuple_counts
relation P1441
type Q3895768
type Q15961987
action count
action filter_type
action find
entity Q11695978
relation P1441
type Q3895768
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?o ) WHERE { ?p property:P1441 ?y . ?p rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15961987 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q11695978 property:P1441 ?r . ?r rdf:type ontology:Q3895768 } } . FILTER ( ?o = ?e ) }
North Takoma
action count
action approx
action find_tuple_counts
relation present in work
type fictional location
type television genre
action count
action filter_type
action find
entity North Takoma
relation present in work
type fictional location
[{'concept': 'fictional location'}, 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?o ) WHERE { ?p property:present_in_work ?y . ?p rdf:type ontology:fictional_location . ?y rdf:type ontology:television_genre } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:North_Takoma property:present_in_work ?r . ?r rdf:type ontology:fictional_location } } . FILTER ( ?o = ?e ) }
[]
television genre fictional location
SYSTEM
13
Q3285391 Q6045191 Q5795541 Q5888160 Q1983907 Q2199750 Q7831763 Q11695978 Q151076 Q3279818 Q5734165 Q3176924 Q6049336
(c(Q3895768),P1441,c(Q15961987))
action count
action approx
action find_tuple_counts
relation P1441
type Q3895768
type Q15961987
action count
action filter_type
action find
entity Q11695978
relation P1441
type Q3895768
[ANSWER]
[{'concept': 'Q3895768'}, 'P1441', {'concept': 'Q15961987'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?o ) WHERE { ?p property:P1441 ?y . ?p rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15961987 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q11695978 property:P1441 ?r . ?r rdf:type ontology:Q3895768 } } . FILTER ( ?o = ?e ) }
Shelbyville North Haverbrook Cypress Creek Guidopolis Springfield Nuclear Power Plant Champignac Tracy Island North Takoma Springfield Springfield Retirement Home Brockway Capital City Ogdenville
13
action count
action approx
action find_tuple_counts
relation present in work
type fictional location
type television genre
action count
action filter_type
action find
entity North Takoma
relation present in work
type fictional location
[{'concept': 'fictional location'}, 'present in work', {'concept': 'television genre'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?y ) AS ?o ) WHERE { ?p property:present_in_work ?y . ?p rdf:type ontology:fictional_location . ?y rdf:type ontology:television_genre } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:North_Takoma property:present_in_work ?r . ?r rdf:type ontology:fictional_location } } . FILTER ( ?o = ?e ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1778011 Q16730565
P27 P17
Q15617994
USER
Which administrative territories are Ellie Kanner a civilian of or do Mysen Station belong to ?
OR((Q16730565,P27,c(Q15617994)), (Q1778011,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16730565
relation P27
action find
entity Q1778011
relation P17
type Q15617994
{'OR': [['Q16730565', 'P27', {'concept': 'Q15617994'}], ['Q1778011', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q16730565 property:P27 ?s } UNION { resource:Q1778011 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Mysen Station Ellie Kanner
action filter_type
action union
action find
entity Ellie Kanner
relation country of citizenship
action find
entity Mysen Station
relation country
type designation for an administrative territorial entity
{'OR': [['Ellie Kanner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mysen Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Ellie_Kanner property:country_of_citizenship ?s } UNION { resource:Mysen_Station property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q30
SYSTEM
Norway, United States of America
Q20 Q30
OR((Q16730565,P27,c(Q15617994)), (Q1778011,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16730565
relation P27
action find
entity Q1778011
relation P17
type Q15617994
[ANSWERS] are Ellie Kanner a civilian of or do Mysen Station belong to
{'OR': [['Q16730565', 'P27', {'concept': 'Q15617994'}], ['Q1778011', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q16730565 property:P27 ?s } UNION { resource:Q1778011 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Norway United States of America
Norway and United States of America are Ellie Kanner a civilian of or do Mysen Station belong to
Norway United States of America
action filter_type
action union
action find
entity Ellie Kanner
relation country of citizenship
action find
entity Mysen Station
relation country
type designation for an administrative territorial entity
{'OR': [['Ellie Kanner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mysen Station', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Ellie_Kanner property:country_of_citizenship ?s } UNION { resource:Mysen_Station property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q13102317
P27
Q502895
USER
Are Demy Schlechter a native of those administrative territories ?
(Q13102317,P27,Q20) (Q13102317,P27,Q30)
action is_in
entity prev_answer
action find
entity Q13102317
relation P27
['Q13102317', 'P27', 'Q20'] ['Q13102317', 'P27', 'Q30']
ASK WHERE { resource:Q13102317 property:P27 ?c . VALUES ( ?c ) { ( resource:Q20 ) ( resource:Q30 ) } }
Demy Schlechter
action is_in
entity prev_answer
action find
entity Demy Schlechter
relation country of citizenship
['Demy Schlechter', 'country of citizenship', 'Norway'] ['Demy Schlechter', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Demy_Schlechter property:country_of_citizenship ?c . VALUES ( ?c ) { ( resource:Norway ) ( resource:United_States_of_America ) } }
[]
common name
SYSTEM
NO
(Q13102317,P27,Q20) (Q13102317,P27,Q30)
action is_in
entity prev_answer
action find
entity Q13102317
relation P27
[ANSWER]
['Q13102317', 'P27', 'Q20'] ['Q13102317', 'P27', 'Q30']
ASK WHERE { resource:Q13102317 property:P27 ?c . VALUES ( ?c ) { ( resource:Q20 ) ( resource:Q30 ) } }
No
action is_in
entity prev_answer
action find
entity Demy Schlechter
relation country of citizenship
['Demy Schlechter', 'country of citizenship', 'Norway'] ['Demy Schlechter', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Demy_Schlechter property:country_of_citizenship ?c . VALUES ( ?c ) { ( resource:Norway ) ( resource:United_States_of_America ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q174710 Q65
P159
Q56061
USER
Is Los Angeles the HQ of that university ?
(Q174710,P159,Q65)
action is_in
entity Q65
action find
entity Q174710
relation P159
['Q174710', 'P159', 'Q65']
ASK WHERE { resource:Q174710 property:P159 resource:Q65 }
University of California, Los Angeles Los Angeles
action is_in
entity Los Angeles
action find
entity University of California, Los Angeles
relation headquarters location
['University of California, Los Angeles', 'headquarters location', 'Los Angeles']
ASK WHERE { resource:University_of_California,_Los_Angeles property:headquarters_location resource:Los_Angeles }
[]
administrative territorial entity
SYSTEM
YES
(Q174710,P159,Q65)
action is_in
entity Q65
action find
entity Q174710
relation P159
[ANSWER]
['Q174710', 'P159', 'Q65']
ASK WHERE { resource:Q174710 property:P159 resource:Q65 }
Yes
action is_in
entity Los Angeles
action find
entity University of California, Los Angeles
relation headquarters location
['University of California, Los Angeles', 'headquarters location', 'Los Angeles']
ASK WHERE { resource:University_of_California,_Los_Angeles property:headquarters_location resource:Los_Angeles }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q221
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with approximately the same number of administrative territories as Republic of Macedonia ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q221
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Q221 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?l ) }
Republic of Macedonia
action approx
action find_reverse_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 Republic of Macedonia
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Republic_of_Macedonia property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?l ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 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 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q221
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with approximately the same number of administrative territories as Republic of Macedonia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Q221 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?e = ?l ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland have a diplomatic relationship with approximately the same number of administrative territories as Republic of Macedonia
Georgia Netherlands Poland
action approx
action find_reverse_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 Republic of Macedonia
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?e ) WHERE { ?n property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Republic_of_Macedonia property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?e = ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q234460 Q15961987 Q15961987
USER
Which television genres are adapted from min number of texts and television genres ?
(c(Q15961987),P144,c(Q234460)|c(Q15961987))
action argmin
action union
action find_tuple_counts
relation P144
type Q15961987
type Q234460
action find_tuple_counts
relation P144
type Q15961987
type Q15961987
[{'concept': 'Q15961987'}, 'P144', [{'concept': 'Q234460'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?w WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q234460 ) ( ontology:Q15961987 ) } } GROUP BY ?w } . FILTER ( ?k = ?e ) . { SELECT DISTINCT ( MIN ( ?j ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?u WHERE { { ?u property:P144 ?b . ?u rdf:type ontology:Q15961987 . ?b rdf:type ontology:Q234460 } UNION { ?u property:P144 ?b . ?u rdf:type ontology:Q15961987 . ?b rdf:type ontology:Q15961987 } } GROUP BY ?u } } }
action argmin
action union
action find_tuple_counts
relation based on
type television genre
type text
action find_tuple_counts
relation based on
type television genre
type television genre
[{'concept': 'television genre'}, 'based on', [{'concept': 'text'}, {'concept': 'television genre'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?w WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:text ) ( ontology:television_genre ) } } GROUP BY ?w } . FILTER ( ?k = ?e ) . { SELECT DISTINCT ( MIN ( ?j ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?u WHERE { { ?u property:based_on ?b . ?u rdf:type ontology:television_genre . ?b rdf:type ontology:text } UNION { ?u property:based_on ?b . ?u rdf:type ontology:television_genre . ?b rdf:type ontology:television_genre } } GROUP BY ?u } } }
[]
text television genre television genre
Q1066948 Q5415 Q12500134
SYSTEM
Ghost in the Shell, My Little Pony: Friendship Is Magic, Naruto: Shippūden
Q16830194 Q2905862 Q2857749 Q18118907 Q2760256 Q10911282 Q257839 Q11635891 Q4796584 Q13427472 Q3782358 Q16878961 Q3641079 Q3284392 Q7722539 Q1194571 Q16747052 Q16830179 Q5245861 Q576501 Q15846395 Q2481867 Q15846391 Q493774 Q916946 Q704651 Q19357037 Q15051479 Q5415 Q11544915 Q11544914 Q11544913 Q15283528 Q16748948 Q1042019 Q303064 Q841367 Q2332113 Q676786 Q3641021 Q1066948 Q5276650 Q3998145 Q13516970 Q11544916 Q16521550 Q20354790 Q3038453 Q2698991 Q12500134 Q16878993 Q3699736 Q2700068 Q5594013 Q19954870 Q3038448 Q3419007 Q653789 Q16841675 Q5390008 Q15949405 Q16748951
(c(Q15961987),P144,c(Q234460)|c(Q15961987))
action argmin
action union
action find_tuple_counts
relation P144
type Q15961987
type Q234460
action find_tuple_counts
relation P144
type Q15961987
type Q15961987
Ghost in the Shell, My Little Pony: Friendship is Magic and Naruto: Shippūden are adapted from min number of texts and television genres
[{'concept': 'Q15961987'}, 'P144', [{'concept': 'Q234460'}, {'concept': 'Q15961987'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?w WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:Q234460 ) ( ontology:Q15961987 ) } } GROUP BY ?w } . FILTER ( ?k = ?e ) . { SELECT DISTINCT ( MIN ( ?j ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?u WHERE { { ?u property:P144 ?b . ?u rdf:type ontology:Q15961987 . ?b rdf:type ontology:Q234460 } UNION { ?u property:P144 ?b . ?u rdf:type ontology:Q15961987 . ?b rdf:type ontology:Q15961987 } } GROUP BY ?u } } }
YuruYuri Blake and Mortimer Operación Triunfo The Return of the Condor Heroes Wakfu The Legendary Ranger Creature Comforts Akō Rōshi Rupan Shanshei Spirou et Fantasio Honey and Clover OniAi Bloody Monday The Twisted Whiskers Show The Chimp Channel The Inspector Is the Order a Rabbit? Sora no Manimani Deal or No Deal Garfield and Friends Love, Chunibyo and Other Delusions! -Heart Throb- Big Brother Brasil Love, Chunibyo & Other Delusions My Fair Lady Mad Dragon Ball Z Kai The Idolmaster Cinderella Girls Black Bullet My Little Pony: Friendship Is Magic Jirochō Sangokushi: Tōkaidō no abarenbō Jirochō Sangokushi Jirochō Sangokushi HaKoKav HaBa Oreimo Yokoyama Mitsuteru Sangokushi international versions of Wheel of Fortune Mr. Bean The Adventures of Paddington Bear Albert the Fifth Musketeer Blondie Ghost in the Shell Dil kam No Dil Three's a Crowd Rad van Fortuin Jirochō Sangokushi: Seizoroi Nijūhachinin-shū Kenka-tabi Gunslinger Girl Late Night Restaurant Dr. Slump New Cutie Honey Naruto: Shippūden Non Non Biyori Honey & Clover Rambo: The Force of Freedom Gran Hermano Peter Pan Doctor Slump Ranma ½ Pippi Longstocking Big Brother Uncut Lupin III Part III Hayate the Combat Butler Ore no Imōto ga Konna ni Kawaii Wake ga Nai.
Ghost in the Shell, My Little Pony: Friendship is Magic and Naruto: Shippūden are adapted from min number of texts and television genres
Ghost in the Shell My Little Pony: Friendship Is Magic Naruto: Shippūden
action argmin
action union
action find_tuple_counts
relation based on
type television genre
type text
action find_tuple_counts
relation based on
type television genre
type television genre
[{'concept': 'television genre'}, 'based on', [{'concept': 'text'}, {'concept': 'television genre'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) ?w WHERE { ?a rdf:type ?g . VALUES ( ?g ) { ( ontology:text ) ( ontology:television_genre ) } } GROUP BY ?w } . FILTER ( ?k = ?e ) . { SELECT DISTINCT ( MIN ( ?j ) AS ?e ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?u WHERE { { ?u property:based_on ?b . ?u rdf:type ontology:television_genre . ?b rdf:type ontology:text } UNION { ?u property:based_on ?b . ?u rdf:type ontology:television_genre . ?b rdf:type ontology:television_genre } } GROUP BY ?u } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q9202
P144
Q838948 Q201658 Q11424
USER
How many works of art are greater number of film genres or films based on than Statue of Liberty ?
(c(Q201658)|c(Q11424),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P144
type Q838948
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q9202
relation P144
type Q201658
type Q11424
[[{'concept': 'Q201658'}, {'concept': 'Q11424'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { FILTER ( ?h > ?z ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { { ?x rdf:type ontology:Q11424 } UNION { ?x rdf:type ontology:Q201658 } } . ?x property:P144 resource:Q9202 } } . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?h ) WHERE { VALUES ( ?f ) { ( ontology:Q201658 ) ( ontology:Q11424 ) } . ?j rdf:type ?f } GROUP BY ?y } }
Statue of Liberty
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action find_reverse_tuple_counts
relation based on
type work of art
type film
action count
action filter_multi_types
action find_reverse
entity Statue of Liberty
relation based on
type film genre
type film
[[{'concept': 'film genre'}, {'concept': 'film'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { FILTER ( ?h > ?z ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { { ?x rdf:type ontology:film } UNION { ?x rdf:type ontology:film_genre } } . ?x property:based_on resource:Statue_of_Liberty } } . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?h ) WHERE { VALUES ( ?f ) { ( ontology:film_genre ) ( ontology:film ) } . ?j rdf:type ?f } GROUP BY ?y } }
[]
work of art film genre film
SYSTEM
30
Q5331173 Q130283 Q7457308 Q5095462 Q7548351 Q83186 Q7722470 Q369393 Q3987496 Q1248928 Q7713385 Q7715789 Q41567 Q669694 Q7776285 Q26833 Q176465 Q528296 Q3481943 Q7991351 Q321047 Q4685705 Q19032697 Q7754681 Q7837980 Q3740328 Q3989443 Q1212719 Q1169767 Q3066270
(c(Q201658)|c(Q11424),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P144
type Q838948
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q9202
relation P144
type Q201658
type Q11424
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q11424'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { FILTER ( ?h > ?z ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { { ?x rdf:type ontology:Q11424 } UNION { ?x rdf:type ontology:Q201658 } } . ?x property:P144 resource:Q9202 } } . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?h ) WHERE { VALUES ( ?f ) { ( ontology:Q201658 ) ( ontology:Q11424 ) } . ?j rdf:type ?f } GROUP BY ?y } }
Easy Virtue Macbeth Seven Keys to Baldpate Chicago Snow White and the Seven Dwarfs Romeo and Juliet The Children's Hour The Tragedy of Man The Heart of Maryland The Admirable Crichton The Amazons The Bat Hamlet A Doll's House The Wrecker Othello Hedda Gabler 3 Godfathers Sherlock Holmes What Price Glory? Abie's Irish Rose Adrienne Lecouvreur Peter Pan, or The Boy Who Wouldn't Grow Up The Octoroon Trelawny of the 'Wells' The Cat and the Canary The Squaw Man The Lady from the Sea The Miracle Florodora
30
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action find_reverse_tuple_counts
relation based on
type work of art
type film
action count
action filter_multi_types
action find_reverse
entity Statue of Liberty
relation based on
type film genre
type film
[[{'concept': 'film genre'}, {'concept': 'film'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { FILTER ( ?h > ?z ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { { ?x rdf:type ontology:film } UNION { ?x rdf:type ontology:film_genre } } . ?x property:based_on resource:Statue_of_Liberty } } . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?h ) WHERE { VALUES ( ?f ) { ( ontology:film_genre ) ( ontology:film ) } . ?j rdf:type ?f } GROUP BY ?y } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q471306
P144
Q838948 Q201658 Q11424
USER
And also tell me about Scarface?
(c(Q201658)|c(Q11424),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P144
type Q838948
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q471306
relation P144
type Q201658
type Q11424
[[{'concept': 'Q201658'}, {'concept': 'Q11424'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:Q201658 ) ( ontology:Q11424 ) } . ?d rdf:type ?q } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:P144 resource:Q471306 . { { ?b rdf:type ontology:Q201658 } UNION { ?b rdf:type ontology:Q11424 } } } } . FILTER ( ?g > ?n ) }
Scarface
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action find_reverse_tuple_counts
relation based on
type work of art
type film
action count
action filter_multi_types
action find_reverse
entity Scarface
relation based on
type film genre
type film
[[{'concept': 'film genre'}, {'concept': 'film'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:film_genre ) ( ontology:film ) } . ?d rdf:type ?q } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:based_on resource:Scarface . { { ?b rdf:type ontology:film_genre } UNION { ?b rdf:type ontology:film } } } } . FILTER ( ?g > ?n ) }
[]
work of art film genre film
SYSTEM
30
Q5331173 Q130283 Q7457308 Q5095462 Q7548351 Q83186 Q7722470 Q369393 Q3987496 Q1248928 Q7713385 Q7715789 Q41567 Q669694 Q7776285 Q26833 Q176465 Q528296 Q3481943 Q7991351 Q321047 Q4685705 Q19032697 Q7754681 Q7837980 Q3740328 Q3989443 Q1212719 Q1169767 Q3066270
(c(Q201658)|c(Q11424),P144,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P144
type Q838948
type Q11424
action count
action filter_multi_types
action find_reverse
entity Q471306
relation P144
type Q201658
type Q11424
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q11424'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:Q201658 ) ( ontology:Q11424 ) } . ?d rdf:type ?q } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:P144 resource:Q471306 . { { ?b rdf:type ontology:Q201658 } UNION { ?b rdf:type ontology:Q11424 } } } } . FILTER ( ?g > ?n ) }
Easy Virtue Macbeth Seven Keys to Baldpate Chicago Snow White and the Seven Dwarfs Romeo and Juliet The Children's Hour The Tragedy of Man The Heart of Maryland The Admirable Crichton The Amazons The Bat Hamlet A Doll's House The Wrecker Othello Hedda Gabler 3 Godfathers Sherlock Holmes What Price Glory? Abie's Irish Rose Adrienne Lecouvreur Peter Pan, or The Boy Who Wouldn't Grow Up The Octoroon Trelawny of the 'Wells' The Cat and the Canary The Squaw Man The Lady from the Sea The Miracle Florodora
30
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action find_reverse_tuple_counts
relation based on
type work of art
type film
action count
action filter_multi_types
action find_reverse
entity Scarface
relation based on
type film genre
type film
[[{'concept': 'film genre'}, {'concept': 'film'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?t ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?q ) { ( ontology:film_genre ) ( ontology:film ) } . ?d rdf:type ?q } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:based_on resource:Scarface . { { ?b rdf:type ontology:film_genre } UNION { ?b rdf:type ontology:film } } } } . FILTER ( ?g > ?n ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1066948
P1431
Q502895
USER
Whose production is Ghost in the Shell of ?
(Q1066948,P1431,c(Q502895))
action filter_type
action find
entity Q1066948
relation P1431
type Q502895
['Q1066948', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1066948 property:P1431 ?g . ?g rdf:type ontology:Q502895 }
Ghost in the Shell
action filter_type
action find
entity Ghost in the Shell
relation executive producer
type common name
['Ghost in the Shell', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Ghost_in_the_Shell property:executive_producer ?g . ?g rdf:type ontology:common_name }
[]
common name
Q4760681
SYSTEM
Andy Frain
Q4760681
(Q1066948,P1431,c(Q502895))
action filter_type
action find
entity Q1066948
relation P1431
type Q502895
[ANSWER] is Ghost in the Shell of
['Q1066948', 'P1431', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q1066948 property:P1431 ?g . ?g rdf:type ontology:Q502895 }
Andy Frain
Andy Frain is Ghost in the Shell of
Andy Frain
action filter_type
action find
entity Ghost in the Shell
relation executive producer
type common name
['Ghost in the Shell', 'executive producer', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Ghost_in_the_Shell property:executive_producer ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4760681
P21
Q290
USER
What is the sex of that person ?
(Q4760681,P21,c(Q290))
action filter_type
action find
entity Q4760681
relation P21
type Q290
['Q4760681', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q4760681 property:P21 ?x . ?x rdf:type ontology:Q290 }
Andy Frain
action filter_type
action find
entity Andy Frain
relation gender
type sex
['Andy Frain', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Andy_Frain property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4760681,P21,c(Q290))
action filter_type
action find
entity Q4760681
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q4760681', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q4760681 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Andy Frain
relation gender
type sex
['Andy Frain', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Andy_Frain property:gender ?x . ?x rdf:type ontology:sex }
[]