Simple Question (Direct)
Simple Question
Q9032278
P21
Q290
USER
What is the sex of Michael Kagan ?
(Q9032278,P21,c(Q290))
action filter_type
action find
entity Q9032278
relation P21
type Q290
['Q9032278', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q9032278 property:P21 ?x . ?x rdf:type ontology:Q290 }
Michael Kagan
action filter_type
action find
entity Michael Kagan
relation gender
type sex
['Michael Kagan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Michael_Kagan property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q9032278,P21,c(Q290))
action filter_type
action find
entity Q9032278
relation P21
type Q290
The sex of Michael Kagan is the [ANSWER]
['Q9032278', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q9032278 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
The sex of Michael Kagan is the male
male
action filter_type
action find
entity Michael Kagan
relation gender
type sex
['Michael Kagan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Michael_Kagan property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9032278
P175
Q95074
USER
Which fictional character performed Michael Kagan ?
(c(Q95074),P175,Q9032278)
action filter_type
action find_reverse
entity Q9032278
relation P175
type Q95074
[{'concept': 'Q95074'}, 'P175', 'Q9032278']
SELECT DISTINCT ?r WHERE { ?r property:P175 resource:Q9032278 . ?r rdf:type ontology:Q95074 }
Michael Kagan
action filter_type
action find_reverse
entity Michael Kagan
relation performer
type fictional character
[{'concept': 'fictional character'}, 'performer', 'Michael Kagan']
SELECT DISTINCT ?r WHERE { ?r property:performer resource:Michael_Kagan . ?r rdf:type ontology:fictional_character }
[]
fictional character
Q23982155
SYSTEM
George Arnold
Q23982155
(c(Q95074),P175,Q9032278)
action filter_type
action find_reverse
entity Q9032278
relation P175
type Q95074
[ANSWER] performed Michael Kagan
[{'concept': 'Q95074'}, 'P175', 'Q9032278']
SELECT DISTINCT ?r WHERE { ?r property:P175 resource:Q9032278 . ?r rdf:type ontology:Q95074 }
George Arnold
George Arnold performed Michael Kagan
George Arnold
action filter_type
action find_reverse
entity Michael Kagan
relation performer
type fictional character
[{'concept': 'fictional character'}, 'performer', 'Michael Kagan']
SELECT DISTINCT ?r WHERE { ?r property:performer resource:Michael_Kagan . ?r rdf:type ontology:fictional_character }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9032278
P1412
Q34770
USER
Which language can Michael Kagan understand ?
(Q9032278,P1412,c(Q34770))
action filter_type
action find
entity Q9032278
relation P1412
type Q34770
['Q9032278', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q9032278 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Michael Kagan
action filter_type
action find
entity Michael Kagan
relation languages spoken, written or signed
type language
['Michael Kagan', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Michael_Kagan property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q9032278,P1412,c(Q34770))
action filter_type
action find
entity Q9032278
relation P1412
type Q34770
Michael Kagan can understand [ANSWER]
['Q9032278', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q9032278 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
English
Michael Kagan can understand English
English
action filter_type
action find
entity Michael Kagan
relation languages spoken, written or signed
type language
['Michael Kagan', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Michael_Kagan property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9032278
P734
Q82799
USER
Who is associated with that person ?
(Q1860,P734,c(Q82799))
action filter_type
action find
entity Q9032278
relation P734
type Q82799
['Q1860', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q9032278 property:P734 ?p }
Michael Kagan
action filter_type
action find
entity Michael Kagan
relation family name
type name
['English', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Michael_Kagan property:family_name ?p }
[]
name
Q16395510
SYSTEM
Kagan
Q16395510
(Q1860,P734,c(Q82799))
action filter_type
action find
entity Q9032278
relation P734
type Q82799
[ANSWER] is associated with that person
['Q1860', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q9032278 property:P734 ?p }
Kagan
Kagan is associated with that person
Kagan
action filter_type
action find
entity Michael Kagan
relation family name
type name
['English', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Michael_Kagan property:family_name ?p }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1367644 Q9032278
P734
Q82799
USER
Or Matt Murray?
OR((Q9032278,P734,c(Q82799)), (Q1367644,P734,c(Q82799)))
action filter_type
action union
action find
entity Q9032278
relation P734
action find
entity Q1367644
relation P734
type Q82799
{'OR': [['Q9032278', 'P734', {'concept': 'Q82799'}], ['Q1367644', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1367644 property:P734 ?e } UNION { resource:Q9032278 property:P734 ?e } } . ?e rdf:type ontology:Q82799 }
Matt Murray Michael Kagan
action filter_type
action union
action find
entity Michael Kagan
relation family name
action find
entity Matt Murray
relation family name
type name
{'OR': [['Michael Kagan', 'family name', {'concept': 'name'}], ['Matt Murray', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Matt_Murray property:family_name ?e } UNION { resource:Michael_Kagan property:family_name ?e } } . ?e rdf:type ontology:name }
[]
name
Q1308329 Q16395510
SYSTEM
Murray, Kagan
Q1308329 Q16395510
OR((Q9032278,P734,c(Q82799)), (Q1367644,P734,c(Q82799)))
action filter_type
action union
action find
entity Q9032278
relation P734
action find
entity Q1367644
relation P734
type Q82799
[ANSWERS]
{'OR': [['Q9032278', 'P734', {'concept': 'Q82799'}], ['Q1367644', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1367644 property:P734 ?e } UNION { resource:Q9032278 property:P734 ?e } } . ?e rdf:type ontology:Q82799 }
Murray Kagan
Murray Kagan
action filter_type
action union
action find
entity Michael Kagan
relation family name
action find
entity Matt Murray
relation family name
type name
{'OR': [['Michael Kagan', 'family name', {'concept': 'name'}], ['Matt Murray', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Matt_Murray property:family_name ?e } UNION { resource:Michael_Kagan property:family_name ?e } } . ?e rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9153686 Q1367644
P27
Q15617994
USER
Which administrative territories do Matt Murray or Andrzej Szaciłło belong to ?
OR((Q1367644,P27,c(Q15617994)), (Q9153686,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1367644
relation P27
action find
entity Q9153686
relation P27
type Q15617994
{'OR': [['Q1367644', 'P27', {'concept': 'Q15617994'}], ['Q9153686', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { ?c property:P27 ?v . VALUES ( ?c ) { ( resource:Q1367644 ) ( resource:Q9153686 ) } } . ?v rdf:type ontology:Q15617994 }
Andrzej Szaciłło Matt Murray
action filter_type
action union
action find
entity Matt Murray
relation country of citizenship
action find
entity Andrzej Szaciłło
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Matt Murray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Andrzej Szaciłło', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?c property:country_of_citizenship ?v . VALUES ( ?c ) { ( resource:Matt_Murray ) ( resource:Andrzej_Szaciłło ) } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q145
SYSTEM
Poland, United Kingdom
Q36 Q145
OR((Q1367644,P27,c(Q15617994)), (Q9153686,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1367644
relation P27
action find
entity Q9153686
relation P27
type Q15617994
Matt Murray or Andrzej Szaciłło belong to [ANSWERS]
{'OR': [['Q1367644', 'P27', {'concept': 'Q15617994'}], ['Q9153686', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { ?c property:P27 ?v . VALUES ( ?c ) { ( resource:Q1367644 ) ( resource:Q9153686 ) } } . ?v rdf:type ontology:Q15617994 }
Poland United Kingdom
Matt Murray or Andrzej Szaciłło belong to Poland and United Kingdom
Poland United Kingdom
action filter_type
action union
action find
entity Matt Murray
relation country of citizenship
action find
entity Andrzej Szaciłło
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Matt Murray', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Andrzej Szaciłło', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?c property:country_of_citizenship ?v . VALUES ( ?c ) { ( resource:Matt_Murray ) ( resource:Andrzej_Szaciłło ) } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6793176
P27
Q502895
USER
Are Maurice Harrison-Gray a citizen of those administrative territories ?
(Q6793176,P27,Q36) (Q6793176,P27,Q145)
action is_in
entity prev_answer
action find
entity Q6793176
relation P27
['Q6793176', 'P27', 'Q36'] ['Q6793176', 'P27', 'Q145']
ASK WHERE { VALUES ( ?p ) { ( resource:Q36 ) ( resource:Q145 ) } . resource:Q6793176 property:P27 ?p }
Maurice Harrison-Gray
action is_in
entity prev_answer
action find
entity Maurice Harrison-Gray
relation country of citizenship
['Maurice Harrison-Gray', 'country of citizenship', 'Poland'] ['Maurice Harrison-Gray', 'country of citizenship', 'United Kingdom']
ASK WHERE { VALUES ( ?p ) { ( resource:Poland ) ( resource:United_Kingdom ) } . resource:Maurice_Harrison-Gray property:country_of_citizenship ?p }
[]
common name
SYSTEM
NO
(Q6793176,P27,Q36) (Q6793176,P27,Q145)
action is_in
entity prev_answer
action find
entity Q6793176
relation P27
[ANSWER]
['Q6793176', 'P27', 'Q36'] ['Q6793176', 'P27', 'Q145']
ASK WHERE { VALUES ( ?p ) { ( resource:Q36 ) ( resource:Q145 ) } . resource:Q6793176 property:P27 ?p }
No
action is_in
entity prev_answer
action find
entity Maurice Harrison-Gray
relation country of citizenship
['Maurice Harrison-Gray', 'country of citizenship', 'Poland'] ['Maurice Harrison-Gray', 'country of citizenship', 'United Kingdom']
ASK WHERE { VALUES ( ?p ) { ( resource:Poland ) ( resource:United_Kingdom ) } . resource:Maurice_Harrison-Gray property:country_of_citizenship ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with atmost 68 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 68
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { FILTER ( ?r <= 68 ) . { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?r ) WHERE { ?b rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?b property:P530 ?n } GROUP BY ?b } }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 68
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { FILTER ( ?r <= 68 ) . { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?r ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:diplomatic_relation ?n } GROUP BY ?b } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
159
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 count
action atmost
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 68
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { FILTER ( ?r <= 68 ) . { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?r ) WHERE { ?b rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?b property:P530 ?n } GROUP BY ?b } }
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
159
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 68
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { FILTER ( ?r <= 68 ) . { SELECT DISTINCT ?b ( COUNT ( ?n ) AS ?r ) WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:diplomatic_relation ?n } GROUP BY ?b } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P840
Q838948
USER
Which works of art have a setting location of United Kingdom ?
(c(Q838948),P840,Q145)
action filter_type
action find_reverse
entity Q145
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q145']
SELECT DISTINCT ?y WHERE { ?y property:P840 resource:Q145 . ?y rdf:type ontology:Q838948 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'United Kingdom']
SELECT DISTINCT ?y WHERE { ?y property:narrative_location resource:United_Kingdom . ?y rdf:type ontology:work_of_art }
[]
work of art
Q17344458 Q752313
SYSTEM
Mr. Holmes, Bridget Jones's Diary
Q17344458 Q752313
(c(Q838948),P840,Q145)
action filter_type
action find_reverse
entity Q145
relation P840
type Q838948
[ANSWERS] have a setting location of United Kingdom
[{'concept': 'Q838948'}, 'P840', 'Q145']
SELECT DISTINCT ?y WHERE { ?y property:P840 resource:Q145 . ?y rdf:type ontology:Q838948 }
Mr. Holmes Bridget Jones's Diary
Mr. Holmes and Bridget Jones's Diary have a setting location of United Kingdom
Mr. Holmes Bridget Jones's Diary
action filter_type
action find_reverse
entity United Kingdom
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'United Kingdom']
SELECT DISTINCT ?y WHERE { ?y property:narrative_location resource:United_Kingdom . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17344458 Q752313
P344
Q502895
USER
Who are the cinematographers of those works of art ?
(Q17344458,P344,c(Q502895)) (Q752313,P344,c(Q502895))
action filter_type
action find
entity prev_answer
relation P344
type Q502895
['Q17344458', 'P344', {'concept': 'Q502895'}] ['Q752313', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?b property:P344 ?v . VALUES ( ?b ) { ( resource:Q17344458 ) ( resource:Q752313 ) } }
Mr. Holmes Bridget Jones's Diary
action filter_type
action find
entity prev_answer
relation director of photography
type common name
['Mr. Holmes', 'director of photography', {'concept': 'common name'}] ["Bridget Jones's Diary", 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?b property:director_of_photography ?v . VALUES ( ?b ) { ( resource:Mr._Holmes ) ( resource:Bridget_Jones's_Diary ) } }
[]
common name
Q2437689 Q1374692
SYSTEM
Tobias A. Schliessler, Stuart Dryburgh
Q2437689 Q1374692
(Q17344458,P344,c(Q502895)) (Q752313,P344,c(Q502895))
action filter_type
action find
entity prev_answer
relation P344
type Q502895
The cinematographers of those works of art are [ANSWERS]
['Q17344458', 'P344', {'concept': 'Q502895'}] ['Q752313', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?b property:P344 ?v . VALUES ( ?b ) { ( resource:Q17344458 ) ( resource:Q752313 ) } }
Tobias A. Schliessler Stuart Dryburgh
The cinematographers of those works of art are Tobias A. Schliessler and Stuart Dryburgh
Tobias A. Schliessler Stuart Dryburgh
action filter_type
action find
entity prev_answer
relation director of photography
type common name
['Mr. Holmes', 'director of photography', {'concept': 'common name'}] ["Bridget Jones's Diary", 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?b property:director_of_photography ?v . VALUES ( ?b ) { ( resource:Mr._Holmes ) ( resource:Bridget_Jones's_Diary ) } }
[]