Simple Question (Direct)
Simple Question
Q16151862
P21
Q290
USER
Which sex does Athuman Mfutakamba belong to ?
(Q16151862,P21,c(Q290))
action filter_type
action find
entity Q16151862
relation P21
type Q290
['Q16151862', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q16151862 property:P21 ?w }
Athuman Mfutakamba
action filter_type
action find
entity Athuman Mfutakamba
relation gender
type sex
['Athuman Mfutakamba', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Athuman_Mfutakamba property:gender ?w }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16151862,P21,c(Q290))
action filter_type
action find
entity Q16151862
relation P21
type Q290
Athuman Mfutakamba belongs to [ANSWER]
['Q16151862', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q16151862 property:P21 ?w }
male
Athuman Mfutakamba belongs to male
male
action filter_type
action find
entity Athuman Mfutakamba
relation gender
type sex
['Athuman Mfutakamba', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Athuman_Mfutakamba property:gender ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16151862
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q16151862
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q16151862 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Athuman Mfutakamba
action filter_type
action find
entity Athuman Mfutakamba
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Athuman_Mfutakamba property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q924
SYSTEM
Tanzania
Q924
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q16151862
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q16151862 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Tanzania
Tanzania is the country of citizenship of that person
Tanzania
action filter_type
action find
entity Athuman Mfutakamba
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Athuman_Mfutakamba property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q924 Q3769916
P27
Q502895
USER
Is Giuseppe Alberganti a native of that administrative territory ?
(Q3769916,P27,Q924)
action is_in
entity Q3769916
action find
entity Q924
relation P27
['Q3769916', 'P27', 'Q924']
ASK WHERE { resource:Q924 property:P27 resource:Q3769916 }
Tanzania Giuseppe Alberganti
action is_in
entity Giuseppe Alberganti
action find
entity Tanzania
relation country of citizenship
['Giuseppe Alberganti', 'country of citizenship', 'Tanzania']
ASK WHERE { resource:Tanzania property:country_of_citizenship resource:Giuseppe_Alberganti }
[]
common name
SYSTEM
NO
(Q3769916,P27,Q924)
action is_in
entity Q3769916
action find
entity Q924
relation P27
[ANSWER]
['Q3769916', 'P27', 'Q924']
ASK WHERE { resource:Q924 property:P27 resource:Q3769916 }
No
action is_in
entity Giuseppe Alberganti
action find
entity Tanzania
relation country of citizenship
['Giuseppe Alberganti', 'country of citizenship', 'Tanzania']
ASK WHERE { resource:Tanzania property:country_of_citizenship resource:Giuseppe_Alberganti }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16151862 Q652091
P102
Q7210356
USER
Does Athuman Mfutakamba belong to Party of the Revolution ?
(Q16151862,P102,Q652091)
action is_in
entity Q652091
action find
entity Q16151862
relation P102
['Q16151862', 'P102', 'Q652091']
ASK WHERE { resource:Q16151862 property:P102 resource:Q652091 }
Athuman Mfutakamba Party of the Revolution
action is_in
entity Party of the Revolution
action find
entity Athuman Mfutakamba
relation member of political party
['Athuman Mfutakamba', 'member of political party', 'Party of the Revolution']
ASK WHERE { resource:Athuman_Mfutakamba property:member_of_political_party resource:Party_of_the_Revolution }
[]
political organization
SYSTEM
YES
(Q16151862,P102,Q652091)
action is_in
entity Q652091
action find
entity Q16151862
relation P102
[ANSWER]
['Q16151862', 'P102', 'Q652091']
ASK WHERE { resource:Q16151862 property:P102 resource:Q652091 }
Yes
action is_in
entity Party of the Revolution
action find
entity Athuman Mfutakamba
relation member of political party
['Athuman Mfutakamba', 'member of political party', 'Party of the Revolution']
ASK WHERE { resource:Athuman_Mfutakamba property:member_of_political_party resource:Party_of_the_Revolution }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16151862
P69
Q163740
USER
Which nonprofit organization is the alma mater of Athuman Mfutakamba ?
(Q16151862,P69,c(Q163740))
action filter_type
action find
entity Q16151862
relation P69
type Q163740
['Q16151862', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { resource:Q16151862 property:P69 ?z . ?z rdf:type ontology:Q163740 }
Athuman Mfutakamba
action filter_type
action find
entity Athuman Mfutakamba
relation educated at
type nonprofit organization
['Athuman Mfutakamba', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { resource:Athuman_Mfutakamba property:educated_at ?z . ?z rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q41506
SYSTEM
Stanford University
Q41506
(Q16151862,P69,c(Q163740))
action filter_type
action find
entity Q16151862
relation P69
type Q163740
[ANSWER] is the alma mater of Athuman Mfutakamba
['Q16151862', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?z WHERE { resource:Q16151862 property:P69 ?z . ?z rdf:type ontology:Q163740 }
Stanford University
Stanford University is the alma mater of Athuman Mfutakamba
Stanford University
action filter_type
action find
entity Athuman Mfutakamba
relation educated at
type nonprofit organization
['Athuman Mfutakamba', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?z WHERE { resource:Athuman_Mfutakamba property:educated_at ?z . ?z rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q41506 Q14179248 Q1359434
P112
Q502895
USER
Was that nonprofit organization started by Tzvetan Vassilev and Ernst Martin Chladni ?
(Q41506,P112,Q14179248) (Q41506,P112,Q1359434)
action is_in
entity Q41506
action intersection
action find_reverse
entity Q14179248
relation P112
action find_reverse
entity Q1359434
relation P112
['Q41506', 'P112', 'Q14179248'] ['Q41506', 'P112', 'Q1359434']
ASK WHERE { resource:Q41506 property:P112 resource:Q1359434 . resource:Q41506 property:P112 resource:Q14179248 }
Stanford University Tzvetan Vassilev Ernst Martin Chladni
action is_in
entity Stanford University
action intersection
action find_reverse
entity Tzvetan Vassilev
relation founder
action find_reverse
entity Ernst Martin Chladni
relation founder
['Stanford University', 'founder', 'Tzvetan Vassilev'] ['Stanford University', 'founder', 'Ernst Martin Chladni']
ASK WHERE { resource:Stanford_University property:founder resource:Ernst_Martin_Chladni . resource:Stanford_University property:founder resource:Tzvetan_Vassilev }
[]
common name
SYSTEM
NO
(Q41506,P112,Q14179248) (Q41506,P112,Q1359434)
action is_in
entity Q41506
action intersection
action find_reverse
entity Q14179248
relation P112
action find_reverse
entity Q1359434
relation P112
[ANSWER]
['Q41506', 'P112', 'Q14179248'] ['Q41506', 'P112', 'Q1359434']
ASK WHERE { resource:Q41506 property:P112 resource:Q1359434 . resource:Q41506 property:P112 resource:Q14179248 }
No
action is_in
entity Stanford University
action intersection
action find_reverse
entity Tzvetan Vassilev
relation founder
action find_reverse
entity Ernst Martin Chladni
relation founder
['Stanford University', 'founder', 'Tzvetan Vassilev'] ['Stanford University', 'founder', 'Ernst Martin Chladni']
ASK WHERE { resource:Stanford_University property:founder resource:Ernst_Martin_Chladni . resource:Stanford_University property:founder resource:Tzvetan_Vassilev }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15581
P17
Q15617994 Q355304 Q3947
USER
Which administrative territories are more number of watercourses or houses present in than Principality of Catalonia ?
(c(Q355304)|c(Q3947),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q355304
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3947
action count
action filter_multi_types
action find_reverse
entity Q15581
relation P17
type Q355304
type Q3947
[[{'concept': 'Q355304'}, {'concept': 'Q3947'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?w WHERE { VALUES ( ?p ) { ( ontology:Q355304 ) ( ontology:Q3947 ) } . ?f rdf:type ?p } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P17 resource:Q15581 . { ?b rdf:type ?l . VALUES ( ?l ) { ( ontology:Q355304 ) ( ontology:Q3947 ) } } } } . FILTER ( ?k > ?v ) }
Principality of Catalonia
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type watercourse
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type house
action count
action filter_multi_types
action find_reverse
entity Principality of Catalonia
relation country
type watercourse
type house
[[{'concept': 'watercourse'}, {'concept': 'house'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?w WHERE { VALUES ( ?p ) { ( ontology:watercourse ) ( ontology:house ) } . ?f rdf:type ?p } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:country resource:Principality_of_Catalonia . { ?b rdf:type ?l . VALUES ( ?l ) { ( ontology:watercourse ) ( ontology:house ) } } } } . FILTER ( ?k > ?v ) }
[]
designation for an administrative territorial entity watercourse house
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q800 Q398 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q214 Q712 Q711 Q717 Q837 Q252 Q399 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q219 Q4628 Q822 Q241 Q242 Q244 Q811 Q736 Q33 Q921 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q854 Q734 Q819 Q424 Q730 Q1282 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q836 Q786 Q32 Q228 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1050 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q37 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q686 Q760 Q29 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q929 Q863 Q1049 Q869 Q953
(c(Q355304)|c(Q3947),P17,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q355304
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3947
action count
action filter_multi_types
action find_reverse
entity Q15581
relation P17
type Q355304
type Q3947
[ANSWERS] are more number of watercourses or houses present in than Principality of Catalonia
[[{'concept': 'Q355304'}, {'concept': 'Q3947'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?w WHERE { VALUES ( ?p ) { ( ontology:Q355304 ) ( ontology:Q3947 ) } . ?f rdf:type ?p } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:P17 resource:Q15581 . { ?b rdf:type ?l . VALUES ( ?l ) { ( ontology:Q355304 ) ( ontology:Q3947 ) } } } } . FILTER ( ?k > ?v ) }
Federated States of Micronesia Panama Israel Costa Rica Bahrain Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Fiji Mongolia Venezuela Nepal Indonesia Armenia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Bulgaria Faroe Islands Lebanon Cuba Belize Barbados Nicaragua Ecuador Finland Brunei Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Sri Lanka Guyana Laos Cambodia Suriname Lazio Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Myanmar Dominican Republic Luxembourg Andorra Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Swaziland Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Lithuania Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Vanuatu Saint Lucia Spain East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Central African Republic Tajikistan Sudan Thailand Zambia
Italy, Brazil and United States of America are more number of watercourses or houses present in than Principality of Catalonia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type watercourse
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type house
action count
action filter_multi_types
action find_reverse
entity Principality of Catalonia
relation country
type watercourse
type house
[[{'concept': 'watercourse'}, {'concept': 'house'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) ?w WHERE { VALUES ( ?p ) { ( ontology:watercourse ) ( ontology:house ) } . ?f rdf:type ?p } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { ?b property:country resource:Principality_of_Catalonia . { ?b rdf:type ?l . VALUES ( ?l ) { ( ontology:watercourse ) ( ontology:house ) } } } } . FILTER ( ?k > ?v ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5645
P530
Q15617994
USER
Do Marsberg have diplomatic associations with those ones ?
(Q5645,P530,Q38) (Q5645,P530,Q155) (Q5645,P530,Q30)
action is_in
entity prev_answer
action find
entity Q5645
relation P530
['Q5645', 'P530', 'Q38'] ['Q5645', 'P530', 'Q155'] ['Q5645', 'P530', 'Q30']
ASK WHERE { VALUES ( ?k ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q5645 property:P530 ?k }
Marsberg
action is_in
entity prev_answer
action find
entity Marsberg
relation diplomatic relation
['Marsberg', 'diplomatic relation', 'Italy'] ['Marsberg', 'diplomatic relation', 'Brazil'] ['Marsberg', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?k ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } . resource:Marsberg property:diplomatic_relation ?k }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5645,P530,Q38) (Q5645,P530,Q155) (Q5645,P530,Q30)
action is_in
entity prev_answer
action find
entity Q5645
relation P530
[ANSWER]
['Q5645', 'P530', 'Q38'] ['Q5645', 'P530', 'Q155'] ['Q5645', 'P530', 'Q30']
ASK WHERE { VALUES ( ?k ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q5645 property:P530 ?k }
No
action is_in
entity prev_answer
action find
entity Marsberg
relation diplomatic relation
['Marsberg', 'diplomatic relation', 'Italy'] ['Marsberg', 'diplomatic relation', 'Brazil'] ['Marsberg', 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?k ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } . resource:Marsberg property:diplomatic_relation ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q924
P30
Q2221906
USER
Which geographic location is Tanzania a part of ?
(Q924,P30,c(Q2221906))
action filter_type
action find
entity Q924
relation P30
type Q2221906
['Q924', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { resource:Q924 property:P30 ?a . ?a rdf:type ontology:Q2221906 }
Tanzania
action filter_type
action find
entity Tanzania
relation continent
type geographic location
['Tanzania', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { resource:Tanzania property:continent ?a . ?a rdf:type ontology:geographic_location }
[]
geographic location
Q15
SYSTEM
Africa
Q15
(Q924,P30,c(Q2221906))
action filter_type
action find
entity Q924
relation P30
type Q2221906
Which geographic location is Tanzania a part of
['Q924', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { resource:Q924 property:P30 ?a . ?a rdf:type ontology:Q2221906 }
Africa
Which geographic location is Tanzania a part of
Africa
action filter_type
action find
entity Tanzania
relation continent
type geographic location
['Tanzania', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { resource:Tanzania property:continent ?a . ?a rdf:type ontology:geographic_location }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q4975408 Q924
P30
Q2221906
USER
Or Brosnahan Island?
OR((Q924,P30,c(Q2221906)), (Q4975408,P30,c(Q2221906)))
action filter_type
action union
action find
entity Q924
relation P30
action find
entity Q4975408
relation P30
type Q2221906
{'OR': [['Q924', 'P30', {'concept': 'Q2221906'}], ['Q4975408', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q924 property:P30 ?o } UNION { resource:Q4975408 property:P30 ?o } } . ?o rdf:type ontology:Q2221906 }
Brosnahan Island Tanzania
action filter_type
action union
action find
entity Tanzania
relation continent
action find
entity Brosnahan Island
relation continent
type geographic location
{'OR': [['Tanzania', 'continent', {'concept': 'geographic location'}], ['Brosnahan Island', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Tanzania property:continent ?o } UNION { resource:Brosnahan_Island property:continent ?o } } . ?o rdf:type ontology:geographic_location }
[]
geographic location
Q15 Q51
SYSTEM
Africa, Antarctica
Q15 Q51
OR((Q924,P30,c(Q2221906)), (Q4975408,P30,c(Q2221906)))
action filter_type
action union
action find
entity Q924
relation P30
action find
entity Q4975408
relation P30
type Q2221906
[ANSWERS]
{'OR': [['Q924', 'P30', {'concept': 'Q2221906'}], ['Q4975408', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q924 property:P30 ?o } UNION { resource:Q4975408 property:P30 ?o } } . ?o rdf:type ontology:Q2221906 }
Africa Antarctica
Africa Antarctica
action filter_type
action union
action find
entity Tanzania
relation continent
action find
entity Brosnahan Island
relation continent
type geographic location
{'OR': [['Tanzania', 'continent', {'concept': 'geographic location'}], ['Brosnahan Island', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Tanzania property:continent ?o } UNION { resource:Brosnahan_Island property:continent ?o } } . ?o rdf:type ontology:geographic_location }
[]