Simple Question (Direct)
Simple Question
Q7343513
P20
Q56061
USER
Which administrative territory is the place of death of Robert Detweiler ?
(Q7343513,P20,c(Q56061))
action filter_type
action find
entity Q7343513
relation P20
type Q56061
['Q7343513', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q7343513 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Robert Detweiler
action filter_type
action find
entity Robert Detweiler
relation place of death
type administrative territorial entity
['Robert Detweiler', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Robert_Detweiler property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q52468
SYSTEM
Orem
Q52468
(Q7343513,P20,c(Q56061))
action filter_type
action find
entity Q7343513
relation P20
type Q56061
[ANSWER] is the place of death of Robert Detweiler
['Q7343513', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q7343513 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Orem
Orem is the place of death of Robert Detweiler
Orem
action filter_type
action find
entity Robert Detweiler
relation place of death
type administrative territorial entity
['Robert Detweiler', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Robert_Detweiler property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q52468
P740
Q2088357
USER
Which musical ensemble was formed at that administrative territory ?
(c(Q2088357),P740,Q52468)
action filter_type
action find_reverse
entity Q52468
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q52468']
SELECT DISTINCT ?y WHERE { ?y property:P740 resource:Q52468 . ?y rdf:type ontology:Q2088357 }
Orem
action filter_type
action find_reverse
entity Orem
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Orem']
SELECT DISTINCT ?y WHERE { ?y property:location_of_formation resource:Orem . ?y rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q847970
SYSTEM
The Used
Q847970
(c(Q2088357),P740,Q52468)
action filter_type
action find_reverse
entity Q52468
relation P740
type Q2088357
[ANSWER] was formed at that administrative territory
[{'concept': 'Q2088357'}, 'P740', 'Q52468']
SELECT DISTINCT ?y WHERE { ?y property:P740 resource:Q52468 . ?y rdf:type ontology:Q2088357 }
The Used
The Used was formed at that administrative territory
The Used
action filter_type
action find_reverse
entity Orem
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Orem']
SELECT DISTINCT ?y WHERE { ?y property:location_of_formation resource:Orem . ?y rdf:type ontology:musical_ensemble }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q52468
P495 P740
Q2088357
USER
Which musical ensembles were formed at Orem and have United States of America as their place of origin ?
AND((c(Q2088357),P740,Q52468), (c(Q2088357),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q52468
relation P740
action find_reverse
entity Q30
relation P495
type Q2088357
{'AND': [[{'concept': 'Q2088357'}, 'P740', 'Q52468'], [{'concept': 'Q2088357'}, 'P495', 'Q30']]}
SELECT DISTINCT ?e WHERE { ?e property:P740 resource:Q52468 . ?e property:P495 resource:Q30 . ?e rdf:type ontology:Q2088357 }
United States of America Orem
action filter_type
action intersection
action find_reverse
entity Orem
relation location of formation
action find_reverse
entity United States of America
relation country of origin
type musical ensemble
{'AND': [[{'concept': 'musical ensemble'}, 'location of formation', 'Orem'], [{'concept': 'musical ensemble'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?e WHERE { ?e property:location_of_formation resource:Orem . ?e property:country_of_origin resource:United_States_of_America . ?e rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q847970
SYSTEM
The Used
Q847970
AND((c(Q2088357),P740,Q52468), (c(Q2088357),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q52468
relation P740
action find_reverse
entity Q30
relation P495
type Q2088357
[ANSWER] was formed at Orem and have United States of America as their place of origin
{'AND': [[{'concept': 'Q2088357'}, 'P740', 'Q52468'], [{'concept': 'Q2088357'}, 'P495', 'Q30']]}
SELECT DISTINCT ?e WHERE { ?e property:P740 resource:Q52468 . ?e property:P495 resource:Q30 . ?e rdf:type ontology:Q2088357 }
The Used
The Used was formed at Orem and have United States of America as their place of origin
The Used
action filter_type
action intersection
action find_reverse
entity Orem
relation location of formation
action find_reverse
entity United States of America
relation country of origin
type musical ensemble
{'AND': [[{'concept': 'musical ensemble'}, 'location of formation', 'Orem'], [{'concept': 'musical ensemble'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?e WHERE { ?e property:location_of_formation resource:Orem . ?e property:country_of_origin resource:United_States_of_America . ?e rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q847970
P136
Q151885
USER
Which genre does that musical ensemble belong to ?
(Q847970,P136,c(Q151885))
action filter_type
action find
entity Q847970
relation P136
type Q151885
['Q847970', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q847970 property:P136 ?w . ?w rdf:type ontology:Q151885 }
The Used
action filter_type
action find
entity The Used
relation genre
type concept
['The Used', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:The_Used property:genre ?w . ?w rdf:type ontology:concept }
[]
concept
Q11366
SYSTEM
alternative rock
Q11366
(Q847970,P136,c(Q151885))
action filter_type
action find
entity Q847970
relation P136
type Q151885
That musical ensemble belongs to [ANSWER]
['Q847970', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { resource:Q847970 property:P136 ?w . ?w rdf:type ontology:Q151885 }
alternative rock
That musical ensemble belongs to alternative rock
alternative rock
action filter_type
action find
entity The Used
relation genre
type concept
['The Used', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { resource:The_Used property:genre ?w . ?w rdf:type ontology:concept }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q11366 Q3230569
P136
Q2031291
USER
Does Les Animals a that concept as its type ?
(Q3230569,P136,Q11366)
action is_in
entity Q11366
action find
entity Q3230569
relation P136
['Q3230569', 'P136', 'Q11366']
ASK WHERE { resource:Q3230569 property:P136 resource:Q11366 }
alternative rock Les Animals
action is_in
entity alternative rock
action find
entity Les Animals
relation genre
['Les Animals', 'genre', 'alternative rock']
ASK WHERE { resource:Les_Animals property:genre resource:alternative_rock }
[]
release
SYSTEM
YES
(Q3230569,P136,Q11366)
action is_in
entity Q11366
action find
entity Q3230569
relation P136
[ANSWER]
['Q3230569', 'P136', 'Q11366']
ASK WHERE { resource:Q3230569 property:P136 resource:Q11366 }
Yes
action is_in
entity alternative rock
action find
entity Les Animals
relation genre
['Les Animals', 'genre', 'alternative rock']
ASK WHERE { resource:Les_Animals property:genre resource:alternative_rock }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1950626
P138
Q151885 Q14524493
USER
How many terrains have less number of concepts as their namesake than Mount POW/MIA ?
(c(Q14524493),P138,c(Q151885))
action count
action less
action find_tuple_counts
relation P138
type Q14524493
type Q151885
action count
action filter_type
action find
entity Q1950626
relation P138
type Q151885
[{'concept': 'Q14524493'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x rdf:type ontology:Q151885 . resource:Q1950626 property:P138 ?x } } . FILTER ( ?o < ?l ) . { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?o ) WHERE { ?y property:P138 ?p . ?y rdf:type ontology:Q14524493 . ?p rdf:type ontology:Q151885 } GROUP BY ?y } }
Mount POW/MIA
action count
action less
action find_tuple_counts
relation named after
type terrain
type concept
action count
action filter_type
action find
entity Mount POW/MIA
relation named after
type concept
[{'concept': 'terrain'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x rdf:type ontology:concept . resource:Mount_POW/MIA property:named_after ?x } } . FILTER ( ?o < ?l ) . { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?o ) WHERE { ?y property:named_after ?p . ?y rdf:type ontology:terrain . ?p rdf:type ontology:concept } GROUP BY ?y } }
[]
concept terrain
SYSTEM
157
Q7095558 Q6920614 Q260580 Q501066 Q2746234 Q185611 Q15198209 Q7145180 Q1049584 Q284882 Q500595 Q3389369 Q500982 Q8523327 Q783742 Q499158 Q20872984 Q624434 Q3002222 Q1604532 Q498967 Q21490000 Q6429490 Q209341 Q20630750 Q6922432 Q2100877 Q3321784 Q3321842 Q183027 Q826942 Q577987 Q501100 Q500388 Q6920288 Q1585737 Q1623447 Q5061464 Q3077516 Q16801180 Q21880667 Q499360 Q3321833 Q6920867 Q283552 Q267646 Q850051 Q3403 Q1367889 Q6921188 Q3389364 Q127579 Q1430350 Q6923098 Q18625795 Q1772545 Q6921161 Q6420719 Q772492 Q1419222 Q2133133 Q20717280 Q501042 Q1551962 Q501125 Q857077 Q500635 Q5068967 Q210722 Q138114 Q5059 Q4285549 Q499309 Q21892735 Q181252 Q3321856 Q15514329 Q7838778 Q513 Q1950619 Q30400 Q807788 Q825709 Q6921860 Q21877793 Q7652194 Q16891072 Q7584820 Q501224 Q6578099 Q6920808 Q838587 Q1258129 Q2753855 Q1472624 Q21854976 Q501152 Q499001 Q6136577 Q500300 Q624430 Q1746655 Q1718336 Q499490 Q194057 Q130018 Q500909 Q2275484 Q6923367 Q26231302 Q924312 Q1585428 Q499037 Q1545452 Q594387 Q668432 Q828411 Q500562 Q81213 Q152073 Q6920389 Q499132 Q3321974 Q1733970 Q41413 Q206161 Q831100 Q3321760 Q499521 Q6923346 Q7458114 Q13659482 Q188982 Q577122 Q501012 Q4840748 Q1548802 Q8525207 Q235539 Q159860 Q3274184 Q500040 Q1472572 Q8519545 Q841110 Q6924087 Q6495867 Q21488684 Q14874702 Q21170104 Q500676 Q6924672 Q6920421 Q337946 Q6919416 Q148154 Q1862168
(c(Q14524493),P138,c(Q151885))
action count
action less
action find_tuple_counts
relation P138
type Q14524493
type Q151885
action count
action filter_type
action find
entity Q1950626
relation P138
type Q151885
[ANSWER]
[{'concept': 'Q14524493'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x rdf:type ontology:Q151885 . resource:Q1950626 property:P138 ?x } } . FILTER ( ?o < ?l ) . { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?o ) WHERE { ?y property:P138 ?p . ?y rdf:type ontology:Q14524493 . ?p rdf:type ontology:Q151885 } GROUP BY ?y } }
Opalchenie Peak Mount Elliot Pieter Both Montes Secchi Mount Raoul Blanchard Federation Peak Belchenflue Paton Peak Mitre Peak Montes Archimedes Mons Maraldi Piton Plaine des Fougères Montes Riphaeus Mount Field (New Hampshire) Pico Duarte Mons Blanc Mount Theodore Roosevelt Lyctos Facula Newberry Volcano Helpt Hills Montes Agricola Mount Lewis Mount Lagado Musala Mont Jean-Yves-Bérubé Mount Nivelle Pojeta Peak Mount Conness Mount Fridtjof Nansen Mount Garibaldi Mount Griggs Mons Wolff Montes Spitzbergen Mons Huygens Mount Crean Black Elk Peak Hohe Burg Central Mount Stuart Formica Leo Linnéfjella Kalksburger Grat Mons Esam Mont François-De Laval Mount Gaston de Gerlache Gaussberg Mount Adams Mount Taranaki Dufourspitze Mount Lamington Mount Heyburn Piton Dugain Mons Herodotus Floyd Bennett Field Mount Pétain McCauley Mountain Mount McLoughlin Mount Henry Lucy Kletting Peak Mount Jefferson Newtontoppen Rauen Hills Duke Island Mons Rümker Mount Tasman Montes Taurus Bieberer Berg Mons Delisle Challenger Point Sugarloaf Mountain Thórsmörk Mount Cook Mount Peck Montes Carpatus Mount Deakin Flechtingen Hills Mount Gosford Hellandfjellet Tresidder Peak Mount Everest Mount Nansen Zumsteinspitze Barbeau Peak Gunnbjørn Fjeld Mount Lloyd George Mizzi-Langer-Wand Sverdrup Nunataks Mount Emmons (Colorado) Mount Kurchatov Mons Vitruvius Mount Rendu Mount Frederick Clarke Lenin Peak Dreispitz Mount Lyell Mons Hadley Delta Annaberg Mons Vinogradov Montes Alpes Mount Baden-Powell Mons Hansteen Ida Facula Kleiner Oderberg Mount Obama Mons Gruithuisen Gamma Mount Rainier Denali Montes Pyrenaeus Sex Rouge Mount Russell Prédikálószék Mount Sidley Harkortberg Montes Apenninus Piton des Neiges Mount Baker Schwarzsee Bertrab Nunatak Mons La Hire Gerlachovský štít Monserrate Mount Deakin Mons Argaeus Mount Nansen Karlsruher Grat Ismoil Somoni Peak Mount Herzl Mount Muir Mount Clark Mons Hadley Mount Ruegg Sevtopolis Peak Hengist Nunatak Mount Erebus Gellért Hill Montes Rook Baden-Powell Peak Großer Oderberg Mount Tennent Mount Whitney Vaalserberg Mount Simeon Montes Haemus Mons Usov Junipero Serra Peak Mount Ritter Mount Terry Fox Latham Peak Instituto Antártico Argentino Mount Prevost Mount Cedric Wright Mons Penck Mount Wright Mount Desor Montes Teneriffe Mount Ansel Adams Paulet Island Mount Dana
157
action count
action less
action find_tuple_counts
relation named after
type terrain
type concept
action count
action filter_type
action find
entity Mount POW/MIA
relation named after
type concept
[{'concept': 'terrain'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x rdf:type ontology:concept . resource:Mount_POW/MIA property:named_after ?x } } . FILTER ( ?o < ?l ) . { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?o ) WHERE { ?y property:named_after ?p . ?y rdf:type ontology:terrain . ?p rdf:type ontology:concept } GROUP BY ?y } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1041885 Q847970
P495
Q15617994
USER
Which administrative territories are the countries of origin of The Used or Wallander ?
OR((Q847970,P495,c(Q15617994)), (Q1041885,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q847970
relation P495
action find
entity Q1041885
relation P495
type Q15617994
{'OR': [['Q847970', 'P495', {'concept': 'Q15617994'}], ['Q1041885', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1041885 property:P495 ?t } UNION { resource:Q847970 property:P495 ?t } } . ?t rdf:type ontology:Q15617994 }
Wallander The Used
action filter_type
action union
action find
entity The Used
relation country of origin
action find
entity Wallander
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Used', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Wallander', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Wallander property:country_of_origin ?t } UNION { resource:The_Used property:country_of_origin ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q847970,P495,c(Q15617994)), (Q1041885,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q847970
relation P495
action find
entity Q1041885
relation P495
type Q15617994
[ANSWERS] are the countries of origin of The Used or Wallander
{'OR': [['Q847970', 'P495', {'concept': 'Q15617994'}], ['Q1041885', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q1041885 property:P495 ?t } UNION { resource:Q847970 property:P495 ?t } } . ?t rdf:type ontology:Q15617994 }
United States of America United Kingdom
United States of America and United Kingdom are the countries of origin of The Used or Wallander
United States of America United Kingdom
action filter_type
action union
action find
entity The Used
relation country of origin
action find
entity Wallander
relation country of origin
type designation for an administrative territorial entity
{'OR': [['The Used', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Wallander', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Wallander property:country_of_origin ?t } UNION { resource:The_Used property:country_of_origin ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5670741
P27
Q502895
USER
Are Harry Low a citizen of those administrative territories ?
(Q5670741,P27,Q30) (Q5670741,P27,Q145)
action is_in
entity prev_answer
action find
entity Q5670741
relation P27
['Q5670741', 'P27', 'Q30'] ['Q5670741', 'P27', 'Q145']
ASK WHERE { resource:Q5670741 property:P27 ?p . VALUES ( ?p ) { ( resource:Q30 ) ( resource:Q145 ) } }
Harry Low
action is_in
entity prev_answer
action find
entity Harry Low
relation country of citizenship
['Harry Low', 'country of citizenship', 'United States of America'] ['Harry Low', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Harry_Low property:country_of_citizenship ?p . VALUES ( ?p ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } }
[]
common name
SYSTEM
NO
(Q5670741,P27,Q30) (Q5670741,P27,Q145)
action is_in
entity prev_answer
action find
entity Q5670741
relation P27
[ANSWER]
['Q5670741', 'P27', 'Q30'] ['Q5670741', 'P27', 'Q145']
ASK WHERE { resource:Q5670741 property:P27 ?p . VALUES ( ?p ) { ( resource:Q30 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity Harry Low
relation country of citizenship
['Harry Low', 'country of citizenship', 'United States of America'] ['Harry Low', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Harry_Low property:country_of_citizenship ?p . VALUES ( ?p ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q170132
P737
Q2088357 Q215380 Q2088357
USER
Which musical ensembles acted as an inflence on more number of bands or musical ensembles than Can ?
(c(Q215380)|c(Q2088357),P737,c(Q2088357))
action greater
action union
action find_reverse_tuple_counts
relation P737
type Q2088357
type Q215380
action find_reverse_tuple_counts
relation P737
type Q2088357
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q170132
relation P737
type Q215380
type Q2088357
[[{'concept': 'Q215380'}, {'concept': 'Q2088357'}], 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?v WHERE { { ?v rdf:type ontology:Q2088357 . ?u rdf:type ontology:Q215380 . ?u property:P737 ?v } UNION { ?u property:P737 ?v . ?v rdf:type ontology:Q2088357 . ?u rdf:type ontology:Q2088357 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:P737 resource:Q170132 . { { ?z rdf:type ontology:Q215380 } UNION { ?z rdf:type ontology:Q2088357 } } } } . FILTER ( ?y > ?g ) }
Can
action greater
action union
action find_reverse_tuple_counts
relation influenced by
type musical ensemble
type band
action find_reverse_tuple_counts
relation influenced by
type musical ensemble
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Can
relation influenced by
type band
type musical ensemble
[[{'concept': 'band'}, {'concept': 'musical ensemble'}], 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?v WHERE { { ?v rdf:type ontology:musical_ensemble . ?u rdf:type ontology:band . ?u property:influenced_by ?v } UNION { ?u property:influenced_by ?v . ?v rdf:type ontology:musical_ensemble . ?u rdf:type ontology:musical_ensemble } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:influenced_by resource:Can . { { ?z rdf:type ontology:band } UNION { ?z rdf:type ontology:musical_ensemble } } } } . FILTER ( ?y > ?g ) }
[]
musical ensemble band musical ensemble
Q44190 Q188626 Q482477
SYSTEM
Radiohead, Sonic Youth, Blink-182
Q44190 Q188626 Q482477
(c(Q215380)|c(Q2088357),P737,c(Q2088357))
action greater
action union
action find_reverse_tuple_counts
relation P737
type Q2088357
type Q215380
action find_reverse_tuple_counts
relation P737
type Q2088357
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q170132
relation P737
type Q215380
type Q2088357
[ANSWERS] acted as an inflence on more number of bands or musical ensembles than Can
[[{'concept': 'Q215380'}, {'concept': 'Q2088357'}], 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?v WHERE { { ?v rdf:type ontology:Q2088357 . ?u rdf:type ontology:Q215380 . ?u property:P737 ?v } UNION { ?u property:P737 ?v . ?v rdf:type ontology:Q2088357 . ?u rdf:type ontology:Q2088357 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:P737 resource:Q170132 . { { ?z rdf:type ontology:Q215380 } UNION { ?z rdf:type ontology:Q2088357 } } } } . FILTER ( ?y > ?g ) }
Radiohead Sonic Youth Blink-182
Radiohead, Sonic Youth and Blink-182 acted as an inflence on more number of bands or musical ensembles than Can
Radiohead Sonic Youth Blink-182
action greater
action union
action find_reverse_tuple_counts
relation influenced by
type musical ensemble
type band
action find_reverse_tuple_counts
relation influenced by
type musical ensemble
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Can
relation influenced by
type band
type musical ensemble
[[{'concept': 'band'}, {'concept': 'musical ensemble'}], 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) ?v WHERE { { ?v rdf:type ontology:musical_ensemble . ?u rdf:type ontology:band . ?u property:influenced_by ?v } UNION { ?u property:influenced_by ?v . ?v rdf:type ontology:musical_ensemble . ?u rdf:type ontology:musical_ensemble } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:influenced_by resource:Can . { { ?z rdf:type ontology:band } UNION { ?z rdf:type ontology:musical_ensemble } } } } . FILTER ( ?y > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q81509
P737
Q2088357 Q215380 Q2088357
USER
And how about Minor Threat?
(c(Q215380)|c(Q2088357),P737,c(Q2088357))
action greater
action union
action find_reverse_tuple_counts
relation P737
type Q2088357
type Q215380
action find_reverse_tuple_counts
relation P737
type Q2088357
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q81509
relation P737
type Q215380
type Q2088357
[[{'concept': 'Q215380'}, {'concept': 'Q2088357'}], 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:P737 resource:Q81509 . { { ?p rdf:type ontology:Q215380 } UNION { ?p rdf:type ontology:Q2088357 } } } } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?z WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:Q215380 ) ( ontology:Q2088357 ) } } GROUP BY ?z } }
Minor Threat
action greater
action union
action find_reverse_tuple_counts
relation influenced by
type musical ensemble
type band
action find_reverse_tuple_counts
relation influenced by
type musical ensemble
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Minor Threat
relation influenced by
type band
type musical ensemble
[[{'concept': 'band'}, {'concept': 'musical ensemble'}], 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:influenced_by resource:Minor_Threat . { { ?p rdf:type ontology:band } UNION { ?p rdf:type ontology:musical_ensemble } } } } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?z WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:band ) ( ontology:musical_ensemble ) } } GROUP BY ?z } }
[]
musical ensemble band musical ensemble
Q44190 Q188626 Q482477
SYSTEM
Radiohead, Sonic Youth, Blink-182
Q44190 Q188626 Q482477
(c(Q215380)|c(Q2088357),P737,c(Q2088357))
action greater
action union
action find_reverse_tuple_counts
relation P737
type Q2088357
type Q215380
action find_reverse_tuple_counts
relation P737
type Q2088357
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q81509
relation P737
type Q215380
type Q2088357
[ANSWERS]
[[{'concept': 'Q215380'}, {'concept': 'Q2088357'}], 'P737', {'concept': 'Q2088357'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:P737 resource:Q81509 . { { ?p rdf:type ontology:Q215380 } UNION { ?p rdf:type ontology:Q2088357 } } } } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?z WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:Q215380 ) ( ontology:Q2088357 ) } } GROUP BY ?z } }
Radiohead Sonic Youth Blink-182
Radiohead Sonic Youth Blink-182
action greater
action union
action find_reverse_tuple_counts
relation influenced by
type musical ensemble
type band
action find_reverse_tuple_counts
relation influenced by
type musical ensemble
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Minor Threat
relation influenced by
type band
type musical ensemble
[[{'concept': 'band'}, {'concept': 'musical ensemble'}], 'influenced by', {'concept': 'musical ensemble'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { ?p property:influenced_by resource:Minor_Threat . { { ?p rdf:type ontology:band } UNION { ?p rdf:type ontology:musical_ensemble } } } } . FILTER ( ?i > ?b ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?z WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:band ) ( ontology:musical_ensemble ) } } GROUP BY ?z } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q44190
P264
Q334453
USER
Which divisions sponsored the recording of that musical ensemble ?
(Q44190,P264,c(Q334453))
action filter_type
action find
entity Q44190
relation P264
type Q334453
['Q44190', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?a WHERE { resource:Q44190 property:P264 ?a . ?a rdf:type ontology:Q334453 }
Radiohead
action filter_type
action find
entity Radiohead
relation record label
type division
['Radiohead', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?a WHERE { resource:Radiohead property:record_label ?a . ?a rdf:type ontology:division }
[]
division
Clarification for simple ques.
Q482477
SYSTEM
Did you mean Blink-182 ?
Q44190 Q188626 Q482477
(Q44190,P264,c(Q334453)) (Q188626,P264,c(Q334453)) (Q482477,P264,c(Q334453))
[ANSWER]
['Q44190', 'P264', {'concept': 'Q334453'}] ['Q188626', 'P264', {'concept': 'Q334453'}] ['Q482477', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?a WHERE { resource:Q44190 property:P264 ?a . ?a rdf:type ontology:Q334453 }
Radiohead Sonic Youth Blink-182
Did you mean Blink-182 ?
Blink-182
['Radiohead', 'record label', {'concept': 'division'}] ['Sonic Youth', 'record label', {'concept': 'division'}] ['Blink-182', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?a WHERE { resource:Radiohead property:record_label ?a . ?a rdf:type ontology:division }
[]
Simple Question (Coreferenced)
USER
No, I meant Radiohead. Could you tell me the answer for that?
(Q44190,P264,c(Q334453))
Q44190
['Q44190', 'P264', {'concept': 'Q334453'}]
['Radiohead', 'record label', {'concept': 'division'}]
[]
Q193023 Q128280 Q208909
SYSTEM
Capitol Records, ATO Records, Parlophone Records
Q193023 Q128280 Q208909
(Q44190,P264,c(Q334453))
action filter_type
action find
entity Q44190
relation P264
type Q334453
[ANSWERS] sponsored the recording of that musical ensemble
['Q44190', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?a WHERE { resource:Q44190 property:P264 ?a . ?a rdf:type ontology:Q334453 }
Capitol Records ATO Records Parlophone Records
Capitol Records, ATO Records and Parlophone Records sponsored the recording of that musical ensemble
Capitol Records ATO Records Parlophone Records
action filter_type
action find
entity Radiohead
relation record label
type division
['Radiohead', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?a WHERE { resource:Radiohead property:record_label ?a . ?a rdf:type ontology:division }
[]