Simple Question (Direct)
Simple Question
Q3847848
P119
Q43229
USER
Which organization is the place of burial of Zygmunt Szendzielarz ?
(Q3847848,P119,c(Q43229))
action filter_type
action find
entity Q3847848
relation P119
type Q43229
['Q3847848', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q3847848 property:P119 ?i . ?i rdf:type ontology:Q43229 }
Zygmunt Szendzielarz
action filter_type
action find
entity Zygmunt Szendzielarz
relation place of burial
type organization
['Zygmunt Szendzielarz', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:Zygmunt_Szendzielarz property:place_of_burial ?i . ?i rdf:type ontology:organization }
[]
organization
Q2790054
SYSTEM
Powązki Military Cemetery
Q2790054
(Q3847848,P119,c(Q43229))
action filter_type
action find
entity Q3847848
relation P119
type Q43229
[ANSWER] is the place of burial of Zygmunt Szendzielarz
['Q3847848', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q3847848 property:P119 ?i . ?i rdf:type ontology:Q43229 }
Powązki Military Cemetery
Powązki Military Cemetery is the place of burial of Zygmunt Szendzielarz
Powązki Military Cemetery
action filter_type
action find
entity Zygmunt Szendzielarz
relation place of burial
type organization
['Zygmunt Szendzielarz', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:Zygmunt_Szendzielarz property:place_of_burial ?i . ?i rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3847848
P241
Q781132
USER
Which military branch is Zygmunt Szendzielarz associated with ?
(Q3847848,P241,c(Q781132))
action filter_type
action find
entity Q3847848
relation P241
type Q781132
['Q3847848', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { resource:Q3847848 property:P241 ?w . ?w rdf:type ontology:Q781132 }
Zygmunt Szendzielarz
action filter_type
action find
entity Zygmunt Szendzielarz
relation military branch
type military branch
['Zygmunt Szendzielarz', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { resource:Zygmunt_Szendzielarz property:military_branch ?w . ?w rdf:type ontology:military_branch }
[]
military branch
Q11737524
SYSTEM
cavalry of Second Polish Republic
Q11737524
(Q3847848,P241,c(Q781132))
action filter_type
action find
entity Q3847848
relation P241
type Q781132
Which military branch is Zygmunt Szendzielarz associated with
['Q3847848', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { resource:Q3847848 property:P241 ?w . ?w rdf:type ontology:Q781132 }
cavalry of Second Polish Republic
Which military branch is Zygmunt Szendzielarz associated with
cavalry of Second Polish Republic
action filter_type
action find
entity Zygmunt Szendzielarz
relation military branch
type military branch
['Zygmunt Szendzielarz', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { resource:Zygmunt_Szendzielarz property:military_branch ?w . ?w rdf:type ontology:military_branch }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4889714
Q781132
USER
And how about Bennett Landreneau?
(Q4889714,P241,c(Q781132))
action filter_type
action find
entity Q4889714
relation P241
type Q781132
['Q4889714', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?z WHERE { resource:Q4889714 property:P241 ?z . ?z rdf:type ontology:Q781132 }
Bennett Landreneau
action filter_type
action find
entity Bennett Landreneau
relation military branch
type military branch
['Bennett Landreneau', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?z WHERE { resource:Bennett_Landreneau property:military_branch ?z . ?z rdf:type ontology:military_branch }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q4889714,P241,c(Q781132))
action filter_type
action find
entity Q4889714
relation P241
type Q781132
[ANSWER]
['Q4889714', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?z WHERE { resource:Q4889714 property:P241 ?z . ?z rdf:type ontology:Q781132 }
United States Army
United States Army
action filter_type
action find
entity Bennett Landreneau
relation military branch
type military branch
['Bennett Landreneau', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?z WHERE { resource:Bennett_Landreneau property:military_branch ?z . ?z rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9212
P749
Q21506450
USER
Which military unit size class has that military branch as its parent organization ?
(c(Q21506450),P749,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P749
type Q21506450
[{'concept': 'Q21506450'}, 'P749', 'Q9212']
SELECT DISTINCT ?r WHERE { ?r property:P749 resource:Q9212 . ?r rdf:type ontology:Q21506450 }
United States Army
action filter_type
action find_reverse
entity United States Army
relation parent organization
type military unit size class
[{'concept': 'military unit size class'}, 'parent organization', 'United States Army']
SELECT DISTINCT ?r WHERE { ?r property:parent_organization resource:United_States_Army . ?r rdf:type ontology:military_unit_size_class }
[]
military unit size class
Q495203
SYSTEM
75th Ranger Regiment
Q495203
(c(Q21506450),P749,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P749
type Q21506450
[ANSWER] has that military branch as its parent organization
[{'concept': 'Q21506450'}, 'P749', 'Q9212']
SELECT DISTINCT ?r WHERE { ?r property:P749 resource:Q9212 . ?r rdf:type ontology:Q21506450 }
75th Ranger Regiment
75th Ranger Regiment has that military branch as its parent organization
75th Ranger Regiment
action filter_type
action find_reverse
entity United States Army
relation parent organization
type military unit size class
[{'concept': 'military unit size class'}, 'parent organization', 'United States Army']
SELECT DISTINCT ?r WHERE { ?r property:parent_organization resource:United_States_Army . ?r rdf:type ontology:military_unit_size_class }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q495203
P17
Q15617994
USER
Which administrative territory is that military unit size class present in ?
(Q495203,P17,c(Q15617994))
action filter_type
action find
entity Q495203
relation P17
type Q15617994
['Q495203', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q495203 property:P17 ?a }
75th Ranger Regiment
action filter_type
action find
entity 75th Ranger Regiment
relation country
type designation for an administrative territorial entity
['75th Ranger Regiment', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:75th_Ranger_Regiment property:country ?a }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q495203,P17,c(Q15617994))
action filter_type
action find
entity Q495203
relation P17
type Q15617994
That military unit size class is the [ANSWER]
['Q495203', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q15617994 . resource:Q495203 property:P17 ?a }
United States of America
That military unit size class is the United States of America
United States of America
action filter_type
action find
entity 75th Ranger Regiment
relation country
type designation for an administrative territorial entity
['75th Ranger Regiment', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:75th_Ranger_Regiment property:country ?a }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the origins of approximately the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q30
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Q30 property:P495 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P495 ?j . ?j rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q2031291 } GROUP BY ?j } }
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity United States of America
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:United_States_of_America property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:country_of_origin ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:release } GROUP BY ?j } }
[]
designation for an administrative territorial entity release
Q30
SYSTEM
United States of America
Q30
(c(Q2031291),P495,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q30
relation P495
type Q15617994
[ANSWER] is the origins of approximately the same number of releases as that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Q30 property:P495 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:P495 ?j . ?j rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q2031291 } GROUP BY ?j } }
United States of America
United States of America is the origins of approximately the same number of releases as that administrative territory
United States of America
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity United States of America
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:United_States_of_America property:country_of_origin ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?g = ?h ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?g ) WHERE { ?r property:country_of_origin ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:release } GROUP BY ?j } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q805 Q687283
P530
Q15617994
USER
Does United States of America have tactful political relations with Yemen and Hernstein ?
(Q30,P530,Q805) (Q30,P530,Q687283)
action is_in
entity Q30
action intersection
action find_reverse
entity Q805
relation P530
action find_reverse
entity Q687283
relation P530
['Q30', 'P530', 'Q805'] ['Q30', 'P530', 'Q687283']
ASK WHERE { resource:Q30 property:P530 resource:Q805 . resource:Q30 property:P530 resource:Q687283 }
United States of America Yemen Hernstein
action is_in
entity United States of America
action intersection
action find_reverse
entity Yemen
relation diplomatic relation
action find_reverse
entity Hernstein
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Yemen'] ['United States of America', 'diplomatic relation', 'Hernstein']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Yemen . resource:United_States_of_America property:diplomatic_relation resource:Hernstein }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q30,P530,Q805) (Q30,P530,Q687283)
action is_in
entity Q30
action intersection
action find_reverse
entity Q805
relation P530
action find_reverse
entity Q687283
relation P530
[ANSWER]
['Q30', 'P530', 'Q805'] ['Q30', 'P530', 'Q687283']
ASK WHERE { resource:Q30 property:P530 resource:Q805 . resource:Q30 property:P530 resource:Q687283 }
YES and NO respectively
action is_in
entity United States of America
action intersection
action find_reverse
entity Yemen
relation diplomatic relation
action find_reverse
entity Hernstein
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Yemen'] ['United States of America', 'diplomatic relation', 'Hernstein']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Yemen . resource:United_States_of_America property:diplomatic_relation resource:Hernstein }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q298761
P110
Q502895 Q26971562 Q571
USER
How many people had done the illustration of more number of comic formats or books than Clive Barker ?
(c(Q26971562)|c(Q571),P110,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action count
action filter_multi_types
action find_reverse
entity Q298761
relation P110
type Q26971562
type Q571
[[{'concept': 'Q26971562'}, {'concept': 'Q571'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:P110 resource:Q298761 . { { ?o rdf:type ontology:Q26971562 } UNION { ?o rdf:type ontology:Q571 } } } } . FILTER ( ?h > ?v ) . { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?h ) WHERE { { ?i property:P110 ?b . ?b rdf:type ontology:Q502895 . ?i rdf:type ontology:Q26971562 } UNION { ?i property:P110 ?b . ?b rdf:type ontology:Q502895 . ?i rdf:type ontology:Q571 } } GROUP BY ?b } }
Clive Barker
action count
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action count
action filter_multi_types
action find_reverse
entity Clive Barker
relation illustrator
type comic format
type book
[[{'concept': 'comic format'}, {'concept': 'book'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:illustrator resource:Clive_Barker . { { ?o rdf:type ontology:comic_format } UNION { ?o rdf:type ontology:book } } } } . FILTER ( ?h > ?v ) . { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?h ) WHERE { { ?i property:illustrator ?b . ?b rdf:type ontology:common_name . ?i rdf:type ontology:comic_format } UNION { ?i property:illustrator ?b . ?b rdf:type ontology:common_name . ?i rdf:type ontology:book } } GROUP BY ?b } }
[]
common name comic format book
SYSTEM
103
Q457881 Q1654509 Q24259036 Q24259034 Q982401 Q11264875 Q6682 Q5488651 Q24259199 Q22322914 Q5082131 Q7026779 Q27042725 Q361970 Q7340147 Q772558 Q941468 Q378710 Q17114155 Q16737250 Q12026771 Q128027 Q282121 Q6396491 Q1591928 Q7029528 Q27624911 Q374823 Q525713 Q544975 Q96116 Q313945 Q102108 Q7182001 Q309945 Q650946 Q5721334 Q2535205 Q1507860 Q16065421 Q3272581 Q3260577 Q1866386 Q214565 Q6221056 Q2957653 Q18534452 Q301112 Q19364029 Q272324 Q384225 Q15053140 Q2932464 Q13769198 Q16198124 Q102139 Q729902 Q41513 Q15987638 Q24259053 Q531358 Q15912340 Q22138337 Q17284472 Q15725991 Q6224222 Q206685 Q6787709 Q5363905 Q144520 Q27067551 Q551359 Q999229 Q3528336 Q610576 Q660917 Q27031075 Q3188310 Q167768 Q3018977 Q3433199 Q211619 Q966547 Q3268108 Q1375265 Q313703 Q24259135 Q24259046 Q16030513 Q11644966 Q1018606 Q20155972 Q24259104 Q983349 Q23771657 Q19359177 Q15970956 Q1374807 Q24547769 Q7149500 Q1582739 Q7426424 Q7366035
(c(Q26971562)|c(Q571),P110,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P110
type Q502895
type Q26971562
action find_reverse_tuple_counts
relation P110
type Q502895
type Q571
action count
action filter_multi_types
action find_reverse
entity Q298761
relation P110
type Q26971562
type Q571
[ANSWER]
[[{'concept': 'Q26971562'}, {'concept': 'Q571'}], 'P110', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:P110 resource:Q298761 . { { ?o rdf:type ontology:Q26971562 } UNION { ?o rdf:type ontology:Q571 } } } } . FILTER ( ?h > ?v ) . { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?h ) WHERE { { ?i property:P110 ?b . ?b rdf:type ontology:Q502895 . ?i rdf:type ontology:Q26971562 } UNION { ?i property:P110 ?b . ?b rdf:type ontology:Q502895 . ?i rdf:type ontology:Q571 } } GROUP BY ?b } }
John Tenniel Jean-Richard Geurts Cory Loftis David Goetz Edward Gorey Akira Kiduki Gustave Doré Frank Newfeld Bill Schwab Kwoon Moon-hee Charles Robinson Nick Bertozzi Richard Forgues Louis Le Breton Rob G. Carlo Chiostri Michał Elwiro Andriolli Katsuhiro Otomo Aliy Zirkle George Tate Josef Wenig Giorgio Vasari Yoshiyuki Sadamoto Kevin Henkes John Gilbert Nicolas Bentley Jan Kostěnec Kōshi Rikudō Howard Pyle Mike Mignola Axel Scheffler Gosho Aoyama Alan Lee Phil Hester Peyo Věnceslav Černý Henry Flint Enrico Mazzanti George Marston Watts Phillips Takao Aoki Louis-Henri Brévière Louis Rhead Beatrix Potter John Batchelor Charb Vladimír Rocman Erhard Altdorfer Anne Leduc-Dardill Masami Tsuda Eduardo Risso Ray Hutchins Cabu Alexandre Moisy Philip Dadd Margrethe II of Denmark David Lloyd William Blake H. R. Hammond Mac George Louisa Anne Meredith Nathaniel Orr Richard George Suter Patric Reynolds Joseph Schindelman John Byrne Albert Uderzo Mato Yoshiaki Sukeno Kurt Wiese Bill Maus Go Nagai Sakura Asagi Tignous Yūji Iwahara Walter Crane Agustin Alessio Jul William Makepeace Thackeray David Wenzel Laurent Sourisseau Dale Baer Léon Benett Luz Georges Wolinski Takeshi Obata Nick Orsi Marty Baumann Tommy McRae Takeshi Nogami Byron Howard Sydney Seymour Lucas Borja Montoro Newell Convers Wyeth Shiyoon Kim Kakuzō Fujiyama Philippe Honoré John Leech A. Barton Kent Paul Bransom Hans Tegner Satoshi Yamamoto Ronnie del Carmen
103
action count
action greater
action union
action find_reverse_tuple_counts
relation illustrator
type common name
type comic format
action find_reverse_tuple_counts
relation illustrator
type common name
type book
action count
action filter_multi_types
action find_reverse
entity Clive Barker
relation illustrator
type comic format
type book
[[{'concept': 'comic format'}, {'concept': 'book'}], 'illustrator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?v ) WHERE { ?o property:illustrator resource:Clive_Barker . { { ?o rdf:type ontology:comic_format } UNION { ?o rdf:type ontology:book } } } } . FILTER ( ?h > ?v ) . { SELECT DISTINCT ?b ( COUNT ( ?i ) AS ?h ) WHERE { { ?i property:illustrator ?b . ?b rdf:type ontology:common_name . ?i rdf:type ontology:comic_format } UNION { ?i property:illustrator ?b . ?b rdf:type ontology:common_name . ?i rdf:type ontology:book } } GROUP BY ?b } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with atmost 56 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 56
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?w <= 56 ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?w ) WHERE { ?m property:P530 ?s . ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?m } }
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 56
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?w <= 56 ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?w ) WHERE { ?m property:diplomatic_relation ?s . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155 Q30 Q159
SYSTEM
Brazil, United States of America, Russia
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 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 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 56
[ANSWERS] have tactful political relations with atmost 56 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?w <= 56 ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?w ) WHERE { ?m property:P530 ?s . ?m rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?m } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America 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 Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
Brazil, United States of America and Russia have tactful political relations with atmost 56 administrative territories
Brazil United States of America Russia
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 56
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?w <= 56 ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?w ) WHERE { ?m property:diplomatic_relation ?s . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q252
P530
Q15617994
USER
Do Indonesia have diplomatic relations with those ones ?
(Q252,P530,Q155) (Q252,P530,Q30) (Q252,P530,Q159)
action is_in
entity prev_answer
action find
entity Q252
relation P530
['Q252', 'P530', 'Q155'] ['Q252', 'P530', 'Q30'] ['Q252', 'P530', 'Q159']
ASK WHERE { resource:Q252 property:P530 ?u . VALUES ( ?u ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
Indonesia
action is_in
entity prev_answer
action find
entity Indonesia
relation diplomatic relation
['Indonesia', 'diplomatic relation', 'Brazil'] ['Indonesia', 'diplomatic relation', 'United States of America'] ['Indonesia', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Indonesia property:diplomatic_relation ?u . VALUES ( ?u ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q252,P530,Q155) (Q252,P530,Q30) (Q252,P530,Q159)
action is_in
entity prev_answer
action find
entity Q252
relation P530
[ANSWER]
['Q252', 'P530', 'Q155'] ['Q252', 'P530', 'Q30'] ['Q252', 'P530', 'Q159']
ASK WHERE { resource:Q252 property:P530 ?u . VALUES ( ?u ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
Yes
action is_in
entity prev_answer
action find
entity Indonesia
relation diplomatic relation
['Indonesia', 'diplomatic relation', 'Brazil'] ['Indonesia', 'diplomatic relation', 'United States of America'] ['Indonesia', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Indonesia property:diplomatic_relation ?u . VALUES ( ?u ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q22006653 Q298761
P462 P58
Q838948
USER
Which works of art are Clive Barker a screenwriter of and have color color ?
AND((c(Q838948),P58,Q298761), (c(Q838948),P462,Q22006653))
action filter_type
action intersection
action find_reverse
entity Q298761
relation P58
action find_reverse
entity Q22006653
relation P462
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q298761'], [{'concept': 'Q838948'}, 'P462', 'Q22006653']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q838948 . ?c property:P58 resource:Q298761 . ?c property:P462 resource:Q22006653 }
color Clive Barker
action filter_type
action intersection
action find_reverse
entity Clive Barker
relation screenwriter
action find_reverse
entity color
relation color
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Clive Barker'], [{'concept': 'work of art'}, 'color', 'color']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:work_of_art . ?c property:screenwriter resource:Clive_Barker . ?c property:color resource:color }
[]
work of art
Q536289 Q763024 Q1033094 Q1869916 Q1024694 Q1033108 Q1755324
SYSTEM
Candyman 3: Day of the Dead, Hellraiser III: Hell on Earth, Candyman 2: Farewell to the Flesh, Lord of Illusions, Nightbreed, Candyman, Hellbound: Hellraiser II
Q536289 Q763024 Q1033094 Q1869916 Q1024694 Q1033108 Q1755324
AND((c(Q838948),P58,Q298761), (c(Q838948),P462,Q22006653))
action filter_type
action intersection
action find_reverse
entity Q298761
relation P58
action find_reverse
entity Q22006653
relation P462
type Q838948
[ANSWERS] are Clive Barker a screenwriter of and have color
{'AND': [[{'concept': 'Q838948'}, 'P58', 'Q298761'], [{'concept': 'Q838948'}, 'P462', 'Q22006653']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q838948 . ?c property:P58 resource:Q298761 . ?c property:P462 resource:Q22006653 }
Candyman 3: Day of the Dead Hellraiser III: Hell on Earth Candyman 2: Farewell to the Flesh Lord of Illusions Nightbreed Candyman Hellbound: Hellraiser II
Candyman 3: Day of the Dead, Hellraiser III: Hell on Earth, Candyman 2: Farewell to the Flesh, Lord of Illusions, Nightbreed, Candyman and Hellbound: Hellraiser II are Clive Barker a screenwriter of and have color
Candyman 3: Day of the Dead Hellraiser III: Hell on Earth Candyman 2: Farewell to the Flesh Lord of Illusions Nightbreed Candyman Hellbound: Hellraiser II
action filter_type
action intersection
action find_reverse
entity Clive Barker
relation screenwriter
action find_reverse
entity color
relation color
type work of art
{'AND': [[{'concept': 'work of art'}, 'screenwriter', 'Clive Barker'], [{'concept': 'work of art'}, 'color', 'color']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:work_of_art . ?c property:screenwriter resource:Clive_Barker . ?c property:color resource:color }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q536289 Q763024 Q1033094 Q1869916 Q1024694 Q1033108 Q1755324
P161
Q502895
USER
Which people were casted in those works of art ?
(Q536289,P161,c(Q502895)) (Q763024,P161,c(Q502895)) (Q1033094,P161,c(Q502895)) (Q1869916,P161,c(Q502895)) (Q1024694,P161,c(Q502895)) (Q1033108,P161,c(Q502895)) (Q1755324,P161,c(Q502895))
action filter_type
action find
entity prev_answer
relation P161
type Q502895
['Q536289', 'P161', {'concept': 'Q502895'}] ['Q763024', 'P161', {'concept': 'Q502895'}] ['Q1033094', 'P161', {'concept': 'Q502895'}] ['Q1869916', 'P161', {'concept': 'Q502895'}] ['Q1024694', 'P161', {'concept': 'Q502895'}] ['Q1033108', 'P161', {'concept': 'Q502895'}] ['Q1755324', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?h property:P161 ?e . VALUES ( ?h ) { ( resource:Q536289 ) ( resource:Q763024 ) ( resource:Q1033094 ) } }
Candyman 3: Day of the Dead Hellraiser III: Hell on Earth Candyman 2: Farewell to the Flesh Lord of Illusions Nightbreed Candyman Hellbound: Hellraiser II
action filter_type
action find
entity prev_answer
relation cast member
type common name
['Candyman 3: Day of the Dead', 'cast member', {'concept': 'common name'}] ['Hellraiser III: Hell on Earth', 'cast member', {'concept': 'common name'}] ['Candyman 2: Farewell to the Flesh', 'cast member', {'concept': 'common name'}] ['Lord of Illusions', 'cast member', {'concept': 'common name'}] ['Nightbreed', 'cast member', {'concept': 'common name'}] ['Candyman', 'cast member', {'concept': 'common name'}] ['Hellbound: Hellraiser II', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?h property:cast_member ?e . VALUES ( ?h ) { ( resource:Candyman_3:_Day_of_the_Dead ) ( resource:Hellraiser_III:_Hell_on_Earth ) ( resource:Candyman_2:_Farewell_to_the_Flesh ) } }
[]
common name
Q55422 Q190794 Q333190
SYSTEM
David Cronenberg, Famke Janssen, Vincent Schiavelli
Q271092 Q3084485 Q275658 Q266804 Q351849 Q1825219 Q271040 Q705531 Q945158 Q467051 Q6395828 Q2073741 Q258612 Q235607 Q3288645 Q941712 Q279834 Q283872 Q351849 Q1768022 Q444297 Q311699 Q809099 Q190794 Q721195 Q333190 Q1163293 Q3185214 Q786410 Q2593522 Q3566829 Q705531 Q55422 Q1279422 Q487427 Q593286 Q7518223 Q16240726 Q20027888 Q475703 Q529979 Q361610 Q447713 Q5561067 Q7599559 Q6829578 Q323074 Q3554516 Q3731476 Q351849 Q3038793 Q229784 Q459933 Q274616 Q705531 Q4099757 Q4859675 Q1229052 Q552379 Q1368027 Q467051 Q7087837 Q7518223
(Q536289,P161,c(Q502895)) (Q763024,P161,c(Q502895)) (Q1033094,P161,c(Q502895)) (Q1869916,P161,c(Q502895)) (Q1024694,P161,c(Q502895)) (Q1033108,P161,c(Q502895)) (Q1755324,P161,c(Q502895))
action filter_type
action find
entity prev_answer
relation P161
type Q502895
[ANSWERS] were casted in those works of art
['Q536289', 'P161', {'concept': 'Q502895'}] ['Q763024', 'P161', {'concept': 'Q502895'}] ['Q1033094', 'P161', {'concept': 'Q502895'}] ['Q1869916', 'P161', {'concept': 'Q502895'}] ['Q1024694', 'P161', {'concept': 'Q502895'}] ['Q1033108', 'P161', {'concept': 'Q502895'}] ['Q1755324', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . ?h property:P161 ?e . VALUES ( ?h ) { ( resource:Q536289 ) ( resource:Q763024 ) ( resource:Q1033094 ) } }
Donna D'Errico Jsu Garcia Wade Williams Lupe Ontiveros Tony Todd Lillian Hurst Paula Marshall Doug Bradley Ken Carpenter Ashley Laurence Kevin Bernhardt Peter Atkins Terry Farrell Kelly Rowan William O'Leary Timothy Carhart Bill Nunn Veronica Cartwright Tony Todd Matt Clark Ashley Tesoro Scott Bakula Barry Shabaka Henley Famke Janssen Kevin J. O'Connor Vincent Schiavelli Daniel von Bargen Joseph Latimore Joel Swetow J. Trevor Edmond Wayne Grace Doug Bradley David Cronenberg Charles Haid Hugh Quarshie John Agar Simon Bamford Anne Bobby Hugh Ross Oliver Parker Craig Sheffer Xander Berkeley Ted Raimi Gilbert Lewis Stanley DeSantis Michael Culkin Bernard Rose Vanessa A. Williams Eric Edwards Tony Todd Rusty Schwimmer Virginia Madsen Kasi Lemmons Clare Higgins Doug Bradley Imogen Boorman Barbie Wilde Kenneth Cranham Sean Chapman William Hope Ashley Laurence Oliver Smith Simon Bamford
David Cronenberg, Famke Janssen and Vincent Schiavelli were casted in those works of art
David Cronenberg Famke Janssen Vincent Schiavelli
action filter_type
action find
entity prev_answer
relation cast member
type common name
['Candyman 3: Day of the Dead', 'cast member', {'concept': 'common name'}] ['Hellraiser III: Hell on Earth', 'cast member', {'concept': 'common name'}] ['Candyman 2: Farewell to the Flesh', 'cast member', {'concept': 'common name'}] ['Lord of Illusions', 'cast member', {'concept': 'common name'}] ['Nightbreed', 'cast member', {'concept': 'common name'}] ['Candyman', 'cast member', {'concept': 'common name'}] ['Hellbound: Hellraiser II', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . ?h property:cast_member ?e . VALUES ( ?h ) { ( resource:Candyman_3:_Day_of_the_Dead ) ( resource:Hellraiser_III:_Hell_on_Earth ) ( resource:Candyman_2:_Farewell_to_the_Flesh ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P1408
Q4830453
USER
Which business enterprise is responsible for broadcasting to Russia ?
(c(Q4830453),P1408,Q159)
action filter_type
action find_reverse
entity Q159
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q159']
SELECT DISTINCT ?m WHERE { ?m property:P1408 resource:Q159 . ?m rdf:type ontology:Q4830453 }
Russia
action filter_type
action find_reverse
entity Russia
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Russia']
SELECT DISTINCT ?m WHERE { ?m property:licensed_to_broadcast_to resource:Russia . ?m rdf:type ontology:business_enterprise }
[]
business enterprise
Q3651046
SYSTEM
Silver Rain Radio
Q3651046
(c(Q4830453),P1408,Q159)
action filter_type
action find_reverse
entity Q159
relation P1408
type Q4830453
[ANSWER] is responsible for broadcasting to Russia
[{'concept': 'Q4830453'}, 'P1408', 'Q159']
SELECT DISTINCT ?m WHERE { ?m property:P1408 resource:Q159 . ?m rdf:type ontology:Q4830453 }
Silver Rain Radio
Silver Rain Radio is responsible for broadcasting to Russia
Silver Rain Radio
action filter_type
action find_reverse
entity Russia
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Russia']
SELECT DISTINCT ?m WHERE { ?m property:licensed_to_broadcast_to resource:Russia . ?m rdf:type ontology:business_enterprise }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P163
Q14660
USER
What is the name of flag associated with Russia ?
(Q159,P163,c(Q14660))
action filter_type
action find
entity Q159
relation P163
type Q14660
['Q159', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?t WHERE { resource:Q159 property:P163 ?t . ?t rdf:type ontology:Q14660 }
Russia
action filter_type
action find
entity Russia
relation flag
type flag
['Russia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?t WHERE { resource:Russia property:flag ?t . ?t rdf:type ontology:flag }
[]
flag
Q16611
SYSTEM
flag of Russia
Q16611
(Q159,P163,c(Q14660))
action filter_type
action find
entity Q159
relation P163
type Q14660
The name of flag associated with Russia is the [ANSWER]
['Q159', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?t WHERE { resource:Q159 property:P163 ?t . ?t rdf:type ontology:Q14660 }
flag of Russia
The name of flag associated with Russia is the flag of Russia
flag of Russia
action filter_type
action find
entity Russia
relation flag
type flag
['Russia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?t WHERE { resource:Russia property:flag ?t . ?t rdf:type ontology:flag }
[]