Simple Question (Direct)
Simple Question
Q215
P463
Q43229
USER
Which organizations were Slovenia a member of ?
(Q215,P463,c(Q43229))
action filter_type
action find
entity Q215
relation P463
type Q43229
['Q215', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { resource:Q215 property:P463 ?q . ?q rdf:type ontology:Q43229 }
Slovenia
action filter_type
action find
entity Slovenia
relation member of
type organization
['Slovenia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { resource:Slovenia property:member_of ?q . ?q rdf:type ontology:organization }
[]
organization
Q7825 Q41550 Q191384
SYSTEM
World Trade Organization, Organisation for Economic Co-operation and Development, International Bank for Reconstruction and Development
Q191384 Q899770 Q41550 Q656801 Q7825 Q827525
(Q215,P463,c(Q43229))
action filter_type
action find
entity Q215
relation P463
type Q43229
Slovenia were the [ANSWERS]
['Q215', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { resource:Q215 property:P463 ?q . ?q rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation World Trade Organization International Development Association
Slovenia were the World Trade Organization, Organisation for Economic Co-operation and Development and International Bank for Reconstruction and Development
World Trade Organization Organisation for Economic Co-operation and Development International Bank for Reconstruction and Development
action filter_type
action find
entity Slovenia
relation member of
type organization
['Slovenia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { resource:Slovenia property:member_of ?q . ?q rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q215
P30
Q2221906
USER
Where is that administrative territory situated ?
(Q7825,P30,c(Q2221906)) (Q41550,P30,c(Q2221906)) (Q191384,P30,c(Q2221906))
action filter_type
action find
entity Q215
relation P30
type Q2221906
['Q7825', 'P30', {'concept': 'Q2221906'}] ['Q41550', 'P30', {'concept': 'Q2221906'}] ['Q191384', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2221906 . resource:Q215 property:P30 ?y }
Slovenia
action filter_type
action find
entity Slovenia
relation continent
type geographic location
['World Trade Organization', 'continent', {'concept': 'geographic location'}] ['Organisation for Economic Co-operation and Development', 'continent', {'concept': 'geographic location'}] ['International Bank for Reconstruction and Development', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:geographic_location . resource:Slovenia property:continent ?y }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q7825,P30,c(Q2221906)) (Q41550,P30,c(Q2221906)) (Q191384,P30,c(Q2221906))
action filter_type
action find
entity Q215
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q7825', 'P30', {'concept': 'Q2221906'}] ['Q41550', 'P30', {'concept': 'Q2221906'}] ['Q191384', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2221906 . resource:Q215 property:P30 ?y }
Europe
That administrative territory is situated in Europe
Europe
action filter_type
action find
entity Slovenia
relation continent
type geographic location
['World Trade Organization', 'continent', {'concept': 'geographic location'}] ['Organisation for Economic Co-operation and Development', 'continent', {'concept': 'geographic location'}] ['International Bank for Reconstruction and Development', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:geographic_location . resource:Slovenia property:continent ?y }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q215
P530
Q15617994 Q1048835
USER
How many administrative territories or political territories have ambassadorial relations with Slovenia ?
(c(Q15617994),P530,Q215) (c(Q1048835),P530,Q215)
action count
action union
action filter_type
action find_reverse
entity Q215
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q215
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', 'Q215'] [{'concept': 'Q1048835'}, 'P530', 'Q215']
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { ?c property:P530 resource:Q215 . ?c rdf:type ontology:Q15617994 } UNION { ?c property:P530 resource:Q215 . ?c rdf:type ontology:Q1048835 } }
Slovenia
action count
action union
action filter_type
action find_reverse
entity Slovenia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Slovenia
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Slovenia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Slovenia']
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { ?c property:diplomatic_relation resource:Slovenia . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:diplomatic_relation resource:Slovenia . ?c rdf:type ontology:political_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
5
Q225 Q38 Q183 Q184 Q408
(c(Q15617994),P530,Q215) (c(Q1048835),P530,Q215)
action count
action union
action filter_type
action find_reverse
entity Q215
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q215
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q215'] [{'concept': 'Q1048835'}, 'P530', 'Q215']
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { ?c property:P530 resource:Q215 . ?c rdf:type ontology:Q15617994 } UNION { ?c property:P530 resource:Q215 . ?c rdf:type ontology:Q1048835 } }
Bosnia and Herzegovina Italy Germany Belarus Australia
5
action count
action union
action filter_type
action find_reverse
entity Slovenia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Slovenia
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Slovenia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Slovenia']
SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { ?c property:diplomatic_relation resource:Slovenia . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:diplomatic_relation resource:Slovenia . ?c rdf:type ontology:political_territorial_entity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18030290
P706
Q2221906 Q3895768
USER
Which fictional locations are located in approximately the same number of geographic locations as New New York ?
(c(Q3895768),P706,c(Q2221906))
action approx
action find_tuple_counts
relation P706
type Q3895768
type Q2221906
action count
action filter_type
action find
entity Q18030290
relation P706
type Q3895768
[{'concept': 'Q3895768'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?e ) WHERE { ?g rdf:type ontology:Q3895768 . ?s rdf:type ontology:Q2221906 . ?g property:P706 ?s } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q18030290 property:P706 ?b . ?b rdf:type ontology:Q3895768 } } . FILTER ( ?e = ?a ) }
New New York
action approx
action find_tuple_counts
relation located on terrain feature
type fictional location
type geographic location
action count
action filter_type
action find
entity New New York
relation located on terrain feature
type fictional location
[{'concept': 'fictional location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?e ) WHERE { ?g rdf:type ontology:fictional_location . ?s rdf:type ontology:geographic_location . ?g property:located_on_terrain_feature ?s } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:New_New_York property:located_on_terrain_feature ?b . ?b rdf:type ontology:fictional_location } } . FILTER ( ?e = ?a ) }
[]
geographic location fictional location
Q26922992 Q213223 Q641375
SYSTEM
Rock Tunnel, Arnor, Doriath
Q3098980 Q931583 Q2372432 Q18763210 Q18763211 Q18763212 Q5748800 Q5031960 Q5532694 Q12282683 Q26995312 Q11755466 Q1234628 Q20746359 Q12005279 Q10750431 Q1772976 Q2720685 Q13586486 Q3236023 Q2882138 Q3078960 Q3490968 Q11903265 Q717079 Q3358862 Q2104066 Q3305317 Q2722222 Q3591950 Q8458577 Q834656 Q5815259 Q26098 Q12287751 Q947309 Q6150892 Q13586984 Q27643192 Q27643193 Q218728 Q843151 Q2363061 Q3751838 Q2031367 Q3553489 Q20791988 Q3356700 Q18030290 Q719496 Q2288937 Q2609014 Q3490022 Q368572 Q509110 Q3315777 Q3932040 Q18763209 Q26987257 Q18379925 Q9088483 Q1098873 Q1417506 Q2328564 Q840539 Q18763205 Q18215067 Q308659 Q14088252 Q16540960 Q18381143 Q3493126 Q3192885 Q11800584 Q987372 Q3160818 Q947130 Q2866101 Q987380 Q2604645 Q3707746 Q2620849 Q3509107 Q3370353 Q20791967 Q26922992 Q2345258 Q2084841 Q2736938 Q13231336 Q2454900 Q9088888 Q3861637 Q46289 Q16382515 Q3434365 Q2638853 Q2792965 Q2930025 Q1755479 Q20267163 Q26985022 Q2918364 Q213223 Q9373781 Q1773933 Q1781719 Q11690667 Q932923 Q641375 Q1698465 Q2068808 Q2707952 Q661818 Q2272995 Q2997950 Q833022 Q632806 Q2519058 Q2294726 Q26995314 Q26995316 Q13221630 Q1066081 Q6470774 Q3319549 Q1772818 Q3200314 Q2721743 Q2634165 Q18763208 Q2997433 Q16896007 Q3647114 Q13222057 Q2280167 Q997218 Q79734 Q9360122 Q1991162 Q3510506 Q26995318 Q2014805 Q2603177 Q617964 Q10332032 Q10565747 Q2622787
(c(Q3895768),P706,c(Q2221906))
action approx
action find_tuple_counts
relation P706
type Q3895768
type Q2221906
action count
action filter_type
action find
entity Q18030290
relation P706
type Q3895768
[ANSWERS] are located in approximately the same number of geographic locations as New York
[{'concept': 'Q3895768'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?e ) WHERE { ?g rdf:type ontology:Q3895768 . ?s rdf:type ontology:Q2221906 . ?g property:P706 ?s } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:Q18030290 property:P706 ?b . ?b rdf:type ontology:Q3895768 } } . FILTER ( ?e = ?a ) }
Blingdenstone Phatt Island Überwald Keshan Punt Zembabwei Carach Angren Candlekeep Genertela Carchost Victory Road Woodland Realm Angband Halruaa Taur-nu-Fuin Kingdom of Rhovanion Tol Eressëa Logres Kingdom of the Isles Dalelands Bandalong Formenos Agatean Empire Hornburg Isengard Aglon Dolmed Melvaunt Meduseld Evermeet Muntab Booty Island Durthang Lonely Mountain Narchost Umbar Towers of the Teeth Luskan Aether Paradise Melemele Shire Barad-dûr Forodwaith Rammas Echor Baldur's Gate Icewind Dale Kharé Cloudyhead New New York Angmar Brethil Nevrast Klatch Valinor Calacirya Mirabar Dwarf kingdom of the Dwarrowdelf Darfar Mt. Mortar Núath Torech Ungol Andúnië Fangorn Ankh-Morpork Eregion Xapur Lantan Lothlórien Himring Dor-Cúarthol Havens of the Falas Maglor's Gap Kara-Tur Last Bridge Isle of Balar Jambalaya Island Nan Elmoth Aryvandaar Thargelion Dor Daedeloth Dimholt Almaren Ephebe Eithel Sirion Kakhabad Rock Tunnel Menzoberranzan Amon Rûdh Bay of Belfalas Quirm Sevii Islands Tower of Cirith Ungol Haunted Mountain Mirkwood Amn Shrieking Shack Helcaraxë High Pass Beregost Dol Guldur Borogravia Ilex Forest Gap of Rohan Arnor Durin's Tower Tol Galen Orthanc Cirith Ninniach Old Forest Doriath Aman Utumno Silvertine Harad Tol Brandir Waterdeep Lindon Cair Andros Rauros Minas Tirith Victory Road Victory Road Sto Lat Neverwinter Chamber of Mazarbul Lancre Amon Ereb Kuldahar Ossiriand Dor-lómin Kush Cormyr Null Island Barad Eithel Genua March of Maedhros White Towers Middle-earth Tor Lara Erathia XXXX Victory Road Dorthonion Dunharrow Blood Island Mount Rerir Gulf of Lune Faerûn
Rock Tunnel, Arnor and Doriath are located in approximately the same number of geographic locations as New York
Rock Tunnel Arnor Doriath
action approx
action find_tuple_counts
relation located on terrain feature
type fictional location
type geographic location
action count
action filter_type
action find
entity New New York
relation located on terrain feature
type fictional location
[{'concept': 'fictional location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?e ) WHERE { ?g rdf:type ontology:fictional_location . ?s rdf:type ontology:geographic_location . ?g property:located_on_terrain_feature ?s } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { resource:New_New_York property:located_on_terrain_feature ?b . ?b rdf:type ontology:fictional_location } } . FILTER ( ?e = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3192885
P706
Q2221906 Q3895768
USER
And what about Kara-Tur?
(c(Q3895768),P706,c(Q2221906))
action approx
action find_tuple_counts
relation P706
type Q3895768
type Q2221906
action count
action filter_type
action find
entity Q3192885
relation P706
type Q3895768
[{'concept': 'Q3895768'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?x ) WHERE { ?b property:P706 ?r . ?b rdf:type ontology:Q3895768 . ?r rdf:type ontology:Q2221906 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q3192885 property:P706 ?u . ?u rdf:type ontology:Q3895768 } } . FILTER ( ?x = ?s ) }
Kara-Tur
action approx
action find_tuple_counts
relation located on terrain feature
type fictional location
type geographic location
action count
action filter_type
action find
entity Kara-Tur
relation located on terrain feature
type fictional location
[{'concept': 'fictional location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?x ) WHERE { ?b property:located_on_terrain_feature ?r . ?b rdf:type ontology:fictional_location . ?r rdf:type ontology:geographic_location } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Kara-Tur property:located_on_terrain_feature ?u . ?u rdf:type ontology:fictional_location } } . FILTER ( ?x = ?s ) }
[]
geographic location fictional location
Q26922992 Q213223 Q641375
SYSTEM
Rock Tunnel, Arnor, Doriath
Q3098980 Q931583 Q2372432 Q18763210 Q18763211 Q18763212 Q5748800 Q5031960 Q5532694 Q12282683 Q26995312 Q11755466 Q1234628 Q20746359 Q12005279 Q10750431 Q1772976 Q2720685 Q13586486 Q3236023 Q2882138 Q3078960 Q3490968 Q11903265 Q717079 Q3358862 Q2104066 Q3305317 Q2722222 Q3591950 Q8458577 Q834656 Q5815259 Q26098 Q12287751 Q947309 Q6150892 Q13586984 Q27643192 Q27643193 Q218728 Q843151 Q2363061 Q3751838 Q2031367 Q3553489 Q20791988 Q3356700 Q18030290 Q719496 Q2288937 Q2609014 Q3490022 Q368572 Q509110 Q3315777 Q3932040 Q18763209 Q26987257 Q18379925 Q9088483 Q1098873 Q1417506 Q2328564 Q840539 Q18763205 Q18215067 Q308659 Q14088252 Q16540960 Q18381143 Q3493126 Q3192885 Q11800584 Q987372 Q3160818 Q947130 Q2866101 Q987380 Q2604645 Q3707746 Q2620849 Q3509107 Q3370353 Q20791967 Q26922992 Q2345258 Q2084841 Q2736938 Q13231336 Q2454900 Q9088888 Q3861637 Q46289 Q16382515 Q3434365 Q2638853 Q2792965 Q2930025 Q1755479 Q20267163 Q26985022 Q2918364 Q213223 Q9373781 Q1773933 Q1781719 Q11690667 Q932923 Q641375 Q1698465 Q2068808 Q2707952 Q661818 Q2272995 Q2997950 Q833022 Q632806 Q2519058 Q2294726 Q26995314 Q26995316 Q13221630 Q1066081 Q6470774 Q3319549 Q1772818 Q3200314 Q2721743 Q2634165 Q18763208 Q2997433 Q16896007 Q3647114 Q13222057 Q2280167 Q997218 Q79734 Q9360122 Q1991162 Q3510506 Q26995318 Q2014805 Q2603177 Q617964 Q10332032 Q10565747 Q2622787
(c(Q3895768),P706,c(Q2221906))
action approx
action find_tuple_counts
relation P706
type Q3895768
type Q2221906
action count
action filter_type
action find
entity Q3192885
relation P706
type Q3895768
[ANSWERS]
[{'concept': 'Q3895768'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?x ) WHERE { ?b property:P706 ?r . ?b rdf:type ontology:Q3895768 . ?r rdf:type ontology:Q2221906 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q3192885 property:P706 ?u . ?u rdf:type ontology:Q3895768 } } . FILTER ( ?x = ?s ) }
Blingdenstone Phatt Island Überwald Keshan Punt Zembabwei Carach Angren Candlekeep Genertela Carchost Victory Road Woodland Realm Angband Halruaa Taur-nu-Fuin Kingdom of Rhovanion Tol Eressëa Logres Kingdom of the Isles Dalelands Bandalong Formenos Agatean Empire Hornburg Isengard Aglon Dolmed Melvaunt Meduseld Evermeet Muntab Booty Island Durthang Lonely Mountain Narchost Umbar Towers of the Teeth Luskan Aether Paradise Melemele Shire Barad-dûr Forodwaith Rammas Echor Baldur's Gate Icewind Dale Kharé Cloudyhead New New York Angmar Brethil Nevrast Klatch Valinor Calacirya Mirabar Dwarf kingdom of the Dwarrowdelf Darfar Mt. Mortar Núath Torech Ungol Andúnië Fangorn Ankh-Morpork Eregion Xapur Lantan Lothlórien Himring Dor-Cúarthol Havens of the Falas Maglor's Gap Kara-Tur Last Bridge Isle of Balar Jambalaya Island Nan Elmoth Aryvandaar Thargelion Dor Daedeloth Dimholt Almaren Ephebe Eithel Sirion Kakhabad Rock Tunnel Menzoberranzan Amon Rûdh Bay of Belfalas Quirm Sevii Islands Tower of Cirith Ungol Haunted Mountain Mirkwood Amn Shrieking Shack Helcaraxë High Pass Beregost Dol Guldur Borogravia Ilex Forest Gap of Rohan Arnor Durin's Tower Tol Galen Orthanc Cirith Ninniach Old Forest Doriath Aman Utumno Silvertine Harad Tol Brandir Waterdeep Lindon Cair Andros Rauros Minas Tirith Victory Road Victory Road Sto Lat Neverwinter Chamber of Mazarbul Lancre Amon Ereb Kuldahar Ossiriand Dor-lómin Kush Cormyr Null Island Barad Eithel Genua March of Maedhros White Towers Middle-earth Tor Lara Erathia XXXX Victory Road Dorthonion Dunharrow Blood Island Mount Rerir Gulf of Lune Faerûn
Rock Tunnel Arnor Doriath
action approx
action find_tuple_counts
relation located on terrain feature
type fictional location
type geographic location
action count
action filter_type
action find
entity Kara-Tur
relation located on terrain feature
type fictional location
[{'concept': 'fictional location'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?x ) WHERE { ?b property:located_on_terrain_feature ?r . ?b rdf:type ontology:fictional_location . ?r rdf:type ontology:geographic_location } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Kara-Tur property:located_on_terrain_feature ?u . ?u rdf:type ontology:fictional_location } } . FILTER ( ?x = ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3315777 Q3192885
P1080
Q3275581
USER
Which shared universes do Kara-Tur or Mirabar belong to ?
OR((Q3192885,P1080,c(Q3275581)), (Q3315777,P1080,c(Q3275581)))
action filter_type
action union
action find
entity Q3192885
relation P1080
action find
entity Q3315777
relation P1080
type Q3275581
{'OR': [['Q3192885', 'P1080', {'concept': 'Q3275581'}], ['Q3315777', 'P1080', {'concept': 'Q3275581'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q3275581 . { ?y property:P1080 ?j . VALUES ( ?y ) { ( resource:Q3192885 ) ( resource:Q3315777 ) } } }
Mirabar Kara-Tur
action filter_type
action union
action find
entity Kara-Tur
relation from fictional universe
action find
entity Mirabar
relation from fictional universe
type shared universe
{'OR': [['Kara-Tur', 'from fictional universe', {'concept': 'shared universe'}], ['Mirabar', 'from fictional universe', {'concept': 'shared universe'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:shared_universe . { ?y property:from_fictional_universe ?j . VALUES ( ?y ) { ( resource:Kara-Tur ) ( resource:Mirabar ) } } }
[]
shared universe
Q853499
SYSTEM
Forgotten Realms
Q853499
OR((Q3192885,P1080,c(Q3275581)), (Q3315777,P1080,c(Q3275581)))
action filter_type
action union
action find
entity Q3192885
relation P1080
action find
entity Q3315777
relation P1080
type Q3275581
[ANSWER] do Kara-Tur or Mirabar belong to
{'OR': [['Q3192885', 'P1080', {'concept': 'Q3275581'}], ['Q3315777', 'P1080', {'concept': 'Q3275581'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q3275581 . { ?y property:P1080 ?j . VALUES ( ?y ) { ( resource:Q3192885 ) ( resource:Q3315777 ) } } }
Forgotten Realms
Forgotten Realms do Kara-Tur or Mirabar belong to
Forgotten Realms
action filter_type
action union
action find
entity Kara-Tur
relation from fictional universe
action find
entity Mirabar
relation from fictional universe
type shared universe
{'OR': [['Kara-Tur', 'from fictional universe', {'concept': 'shared universe'}], ['Mirabar', 'from fictional universe', {'concept': 'shared universe'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:shared_universe . { ?y property:from_fictional_universe ?j . VALUES ( ?y ) { ( resource:Kara-Tur ) ( resource:Mirabar ) } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1080
Q3275581 Q15707583
USER
How many shared universes have around the same number of fictional taxons as their universe as that shared universe ?
(c(Q15707583),P1080,c(Q3275581))
action count
action approx
action find_reverse_tuple_counts
relation P1080
type Q3275581
type Q15707583
action count
action filter_type
action find
entity Q853499
relation P1080
type Q3275581
[{'concept': 'Q15707583'}, 'P1080', {'concept': 'Q3275581'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Q853499 property:P1080 ?i . ?i rdf:type ontology:Q3275581 } } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P1080 ?b . ?b rdf:type ontology:Q3275581 . ?x rdf:type ontology:Q15707583 } GROUP BY ?b } }
action count
action approx
action find_reverse_tuple_counts
relation from fictional universe
type shared universe
type fictional taxon
action count
action filter_type
action find
entity Forgotten Realms
relation from fictional universe
type shared universe
[{'concept': 'fictional taxon'}, 'from fictional universe', {'concept': 'shared universe'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Forgotten_Realms property:from_fictional_universe ?i . ?i rdf:type ontology:shared_universe } } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:from_fictional_universe ?b . ?b rdf:type ontology:shared_universe . ?x rdf:type ontology:fictional_taxon } GROUP BY ?b } }
[]
shared universe fictional taxon
SYSTEM
1
Q853499
(c(Q15707583),P1080,c(Q3275581))
action count
action approx
action find_reverse_tuple_counts
relation P1080
type Q3275581
type Q15707583
action count
action filter_type
action find
entity Q853499
relation P1080
type Q3275581
[ANSWER]
[{'concept': 'Q15707583'}, 'P1080', {'concept': 'Q3275581'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Q853499 property:P1080 ?i . ?i rdf:type ontology:Q3275581 } } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:P1080 ?b . ?b rdf:type ontology:Q3275581 . ?x rdf:type ontology:Q15707583 } GROUP BY ?b } }
Forgotten Realms
1
action count
action approx
action find_reverse_tuple_counts
relation from fictional universe
type shared universe
type fictional taxon
action count
action filter_type
action find
entity Forgotten Realms
relation from fictional universe
type shared universe
[{'concept': 'fictional taxon'}, 'from fictional universe', {'concept': 'shared universe'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Forgotten_Realms property:from_fictional_universe ?i . ?i rdf:type ontology:shared_universe } } . FILTER ( ?w = ?f ) . { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?w ) WHERE { ?x property:from_fictional_universe ?b . ?b rdf:type ontology:shared_universe . ?x rdf:type ontology:fictional_taxon } GROUP BY ?b } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215
P276
Q198
USER
Which war is situated at Slovenia ?
(c(Q198),P276,Q215)
action filter_type
action find_reverse
entity Q215
relation P276
type Q198
[{'concept': 'Q198'}, 'P276', 'Q215']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q198 . ?a property:P276 resource:Q215 }
Slovenia
action filter_type
action find_reverse
entity Slovenia
relation location
type war
[{'concept': 'war'}, 'location', 'Slovenia']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:war . ?a property:location resource:Slovenia }
[]
war
Q163883
SYSTEM
Ten-Day War
Q163883
(c(Q198),P276,Q215)
action filter_type
action find_reverse
entity Q215
relation P276
type Q198
[ANSWER] is situated at Slovenia
[{'concept': 'Q198'}, 'P276', 'Q215']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q198 . ?a property:P276 resource:Q215 }
Ten-Day War
Ten-Day War is situated at Slovenia
Ten-Day War
action filter_type
action find_reverse
entity Slovenia
relation location
type war
[{'concept': 'war'}, 'location', 'Slovenia']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:war . ?a property:location resource:Slovenia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q163883
P1542
Q131569
USER
What is the effect of that war ?
(Q163883,P1542,c(Q131569))
action filter_type
action find
entity Q163883
relation P1542
type Q131569
['Q163883', 'P1542', {'concept': 'Q131569'}]
SELECT DISTINCT ?u WHERE { resource:Q163883 property:P1542 ?u . ?u rdf:type ontology:Q131569 }
Ten-Day War
action filter_type
action find
entity Ten-Day War
relation cause of
type treaty
['Ten-Day War', 'cause of', {'concept': 'treaty'}]
SELECT DISTINCT ?u WHERE { resource:Ten-Day_War property:cause_of ?u . ?u rdf:type ontology:treaty }
[]
treaty
Q917606
SYSTEM
Brioni Agreement
Q917606
(Q163883,P1542,c(Q131569))
action filter_type
action find
entity Q163883
relation P1542
type Q131569
The effect of that war is the [ANSWER]
['Q163883', 'P1542', {'concept': 'Q131569'}]
SELECT DISTINCT ?u WHERE { resource:Q163883 property:P1542 ?u . ?u rdf:type ontology:Q131569 }
Brioni Agreement
The effect of that war is the Brioni Agreement
Brioni Agreement
action filter_type
action find
entity Ten-Day War
relation cause of
type treaty
['Ten-Day War', 'cause of', {'concept': 'treaty'}]
SELECT DISTINCT ?u WHERE { resource:Ten-Day_War property:cause_of ?u . ?u rdf:type ontology:treaty }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q15961987 Q15416 Q3895768
USER
Which fictional locations are featured in exactly 3 television genres and television programs ?
(c(Q3895768),P1441,c(Q15961987)|c(Q15416))
action equal
action union
action find_tuple_counts
relation P1441
type Q3895768
type Q15961987
action find_tuple_counts
relation P1441
type Q3895768
type Q15416
value 3
[{'concept': 'Q3895768'}, 'P1441', [{'concept': 'Q15961987'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?p WHERE { FILTER ( ?x = 3 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?p WHERE { { ?p property:P1441 ?c . ?c rdf:type ontology:Q15961987 . ?p rdf:type ontology:Q3895768 } UNION { ?p property:P1441 ?c . ?c rdf:type ontology:Q15416 . ?p rdf:type ontology:Q3895768 } } GROUP BY ?p } }
action equal
action union
action find_tuple_counts
relation present in work
type fictional location
type television genre
action find_tuple_counts
relation present in work
type fictional location
type television program
value 3
[{'concept': 'fictional location'}, 'present in work', [{'concept': 'television genre'}, {'concept': 'television program'}]]
SELECT DISTINCT ?p WHERE { FILTER ( ?x = 3 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?p WHERE { { ?p property:present_in_work ?c . ?c rdf:type ontology:television_genre . ?p rdf:type ontology:fictional_location } UNION { ?p property:present_in_work ?c . ?c rdf:type ontology:television_program . ?p rdf:type ontology:fictional_location } } GROUP BY ?p } }
[]
television genre television program fictional location
Q766099
SYSTEM
Wakanda
Q766099
(c(Q3895768),P1441,c(Q15961987)|c(Q15416))
action equal
action union
action find_tuple_counts
relation P1441
type Q3895768
type Q15961987
action find_tuple_counts
relation P1441
type Q3895768
type Q15416
value 3
[ANSWER] is featured in exactly 3 television genres and television programs
[{'concept': 'Q3895768'}, 'P1441', [{'concept': 'Q15961987'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?p WHERE { FILTER ( ?x = 3 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?p WHERE { { ?p property:P1441 ?c . ?c rdf:type ontology:Q15961987 . ?p rdf:type ontology:Q3895768 } UNION { ?p property:P1441 ?c . ?c rdf:type ontology:Q15416 . ?p rdf:type ontology:Q3895768 } } GROUP BY ?p } }
Wakanda
Wakanda is featured in exactly 3 television genres and television programs
Wakanda
action equal
action union
action find_tuple_counts
relation present in work
type fictional location
type television genre
action find_tuple_counts
relation present in work
type fictional location
type television program
value 3
[{'concept': 'fictional location'}, 'present in work', [{'concept': 'television genre'}, {'concept': 'television program'}]]
SELECT DISTINCT ?p WHERE { FILTER ( ?x = 3 ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?p WHERE { { ?p property:present_in_work ?c . ?c rdf:type ontology:television_genre . ?p rdf:type ontology:fictional_location } UNION { ?p property:present_in_work ?c . ?c rdf:type ontology:television_program . ?p rdf:type ontology:fictional_location } } GROUP BY ?p } }
[]