Simple Question (Direct)
Simple Question
Q2077564
P166
Q618779
USER
Which award was Peter Pius Irl awarded with ?
(Q2077564,P166,c(Q618779))
action filter_type
action find
entity Q2077564
relation P166
type Q618779
['Q2077564', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { resource:Q2077564 property:P166 ?h . ?h rdf:type ontology:Q618779 }
Peter Pius Irl
action filter_type
action find
entity Peter Pius Irl
relation award received
type award
['Peter Pius Irl', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { resource:Peter_Pius_Irl property:award_received ?h . ?h rdf:type ontology:award }
[]
award
Q16750686
SYSTEM
knight of St. Sylvester
Q16750686
(Q2077564,P166,c(Q618779))
action filter_type
action find
entity Q2077564
relation P166
type Q618779
Peter Pius Irl was awarded the [ANSWER]
['Q2077564', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?h WHERE { resource:Q2077564 property:P166 ?h . ?h rdf:type ontology:Q618779 }
knight of St. Sylvester
Peter Pius Irl was awarded the knight of St. Sylvester
knight of St. Sylvester
action filter_type
action find
entity Peter Pius Irl
relation award received
type award
['Peter Pius Irl', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?h WHERE { resource:Peter_Pius_Irl property:award_received ?h . ?h rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2077564
P19
Q486972
USER
Which human settlement was that person born at ?
(Q16750686,P19,c(Q486972))
action filter_type
action find
entity Q2077564
relation P19
type Q486972
['Q16750686', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q2077564 property:P19 ?t . ?t rdf:type ontology:Q486972 }
Peter Pius Irl
action filter_type
action find
entity Peter Pius Irl
relation place of birth
type human settlement
['knight of St. Sylvester', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Peter_Pius_Irl property:place_of_birth ?t . ?t rdf:type ontology:human_settlement }
[]
human settlement
Q14805
SYSTEM
Kaufbeuren
Q14805
(Q16750686,P19,c(Q486972))
action filter_type
action find
entity Q2077564
relation P19
type Q486972
That person was born in [ANSWER]
['Q16750686', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q2077564 property:P19 ?t . ?t rdf:type ontology:Q486972 }
Kaufbeuren
That person was born in Kaufbeuren
Kaufbeuren
action filter_type
action find
entity Peter Pius Irl
relation place of birth
type human settlement
['knight of St. Sylvester', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Peter_Pius_Irl property:place_of_birth ?t . ?t rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2929183 Q2077564
P27
Q1048835
USER
Which political territories are Peter Pius Irl or Byron Edmund Walker a civilian of ?
OR((Q2077564,P27,c(Q1048835)), (Q2929183,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2077564
relation P27
action find
entity Q2929183
relation P27
type Q1048835
{'OR': [['Q2077564', 'P27', {'concept': 'Q1048835'}], ['Q2929183', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q2077564 property:P27 ?g } UNION { resource:Q2929183 property:P27 ?g } } . ?g rdf:type ontology:Q1048835 }
Byron Edmund Walker Peter Pius Irl
action filter_type
action union
action find
entity Peter Pius Irl
relation country of citizenship
action find
entity Byron Edmund Walker
relation country of citizenship
type political territorial entity
{'OR': [['Peter Pius Irl', 'country of citizenship', {'concept': 'political territorial entity'}], ['Byron Edmund Walker', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Peter_Pius_Irl property:country_of_citizenship ?g } UNION { resource:Byron_Edmund_Walker property:country_of_citizenship ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q2077564,P27,c(Q1048835)), (Q2929183,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2077564
relation P27
action find
entity Q2929183
relation P27
type Q1048835
[ANSWERS] are Peter Pius Irl or Byron Edmund Walker a civilian of
{'OR': [['Q2077564', 'P27', {'concept': 'Q1048835'}], ['Q2929183', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q2077564 property:P27 ?g } UNION { resource:Q2929183 property:P27 ?g } } . ?g rdf:type ontology:Q1048835 }
Canada Germany
Canada and Germany are Peter Pius Irl or Byron Edmund Walker a civilian of
Canada Germany
action filter_type
action union
action find
entity Peter Pius Irl
relation country of citizenship
action find
entity Byron Edmund Walker
relation country of citizenship
type political territorial entity
{'OR': [['Peter Pius Irl', 'country of citizenship', {'concept': 'political territorial entity'}], ['Byron Edmund Walker', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Peter_Pius_Irl property:country_of_citizenship ?g } UNION { resource:Byron_Edmund_Walker property:country_of_citizenship ?g } } . ?g rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16 Q768717
P276
Q838948
USER
How many works of art are situated at Canada or private collection ?
(c(Q838948),P276,Q16) (c(Q838948),P276,Q768717)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P276
type Q838948
action filter_type
action find_reverse
entity Q768717
relation P276
type Q838948
[{'concept': 'Q838948'}, 'P276', 'Q16'] [{'concept': 'Q838948'}, 'P276', 'Q768717']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { VALUES ( ?s ) { ( resource:Q16 ) ( resource:Q768717 ) } . ?q property:P276 ?s }
Canada private collection
action count
action union
action filter_type
action find_reverse
entity Canada
relation location
type work of art
action filter_type
action find_reverse
entity private collection
relation location
type work of art
[{'concept': 'work of art'}, 'location', 'Canada'] [{'concept': 'work of art'}, 'location', 'private collection']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { VALUES ( ?s ) { ( resource:Canada ) ( resource:private_collection ) } . ?q property:location ?s }
[]
work of art
SYSTEM
2
Q24451146 Q24514267
(c(Q838948),P276,Q16) (c(Q838948),P276,Q768717)
action count
action union
action filter_type
action find_reverse
entity Q16
relation P276
type Q838948
action filter_type
action find_reverse
entity Q768717
relation P276
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P276', 'Q16'] [{'concept': 'Q838948'}, 'P276', 'Q768717']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { VALUES ( ?s ) { ( resource:Q16 ) ( resource:Q768717 ) } . ?q property:P276 ?s }
Boy Sleeping in a High Chair Boy Asleep in his High Chair
2
action count
action union
action filter_type
action find_reverse
entity Canada
relation location
type work of art
action filter_type
action find_reverse
entity private collection
relation location
type work of art
[{'concept': 'work of art'}, 'location', 'Canada'] [{'concept': 'work of art'}, 'location', 'private collection']
SELECT DISTINCT ( COUNT ( ?q ) AS ?z ) WHERE { VALUES ( ?s ) { ( resource:Canada ) ( resource:private_collection ) } . ?q property:location ?s }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q38
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relationships with less number of political territories than Italy ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?o } . FILTER ( ?b < ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q38 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } }
Italy
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?o } . FILTER ( ?b < ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Italy property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
Q155 Q30 Q230
SYSTEM
Brazil, United States of America, Georgia
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 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 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with less number of political territories than Italy
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:P530 ?o . ?o rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q1048835 } GROUP BY ?o } . FILTER ( ?b < ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Q38 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati 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 Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan 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 Georgia have diplomatic relationships with less number of political territories than Italy
Brazil United States of America Georgia
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:political_territorial_entity } GROUP BY ?o } . FILTER ( ?b < ?e ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { resource:Italy property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q252
P530
Q15617994 Q1048835
USER
And also tell me about Indonesia?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q252
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { resource:Q252 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?a < ?k ) . { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 } GROUP BY ?u } }
Indonesia
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Indonesia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { resource:Indonesia property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a < ?k ) . { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?u } }
[]
designation for an administrative territorial entity political territorial entity
Q230 Q55 Q148
SYSTEM
Georgia, Netherlands, People's Republic of China
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q252
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { resource:Q252 property:P530 ?n . ?n rdf:type ontology:Q15617994 } } . FILTER ( ?a < ?k ) . { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q1048835 } GROUP BY ?u } }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Georgia Netherlands People's Republic of China
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Indonesia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { resource:Indonesia property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a < ?k ) . { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?u } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have ambassadorial relations with those ones ?
(Q184,P530,Q230) (Q184,P530,Q55) (Q184,P530,Q148)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q230'] ['Q184', 'P530', 'Q55'] ['Q184', 'P530', 'Q148']
ASK WHERE { resource:Q184 property:P530 ?q . VALUES ( ?q ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Georgia'] ['Belarus', 'diplomatic relation', 'Netherlands'] ['Belarus', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Belarus property:diplomatic_relation ?q . VALUES ( ?q ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q230) (Q184,P530,Q55) (Q184,P530,Q148)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q230'] ['Q184', 'P530', 'Q55'] ['Q184', 'P530', 'Q148']
ASK WHERE { resource:Q184 property:P530 ?q . VALUES ( ?q ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Georgia'] ['Belarus', 'diplomatic relation', 'Netherlands'] ['Belarus', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Belarus property:diplomatic_relation ?q . VALUES ( ?q ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11896336 Q2929183
P27
Q1048835
USER
Which political territories are Byron Edmund Walker or Petra Auer an inhabitant of ?
OR((Q2929183,P27,c(Q1048835)), (Q11896336,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2929183
relation P27
action find
entity Q11896336
relation P27
type Q1048835
{'OR': [['Q2929183', 'P27', {'concept': 'Q1048835'}], ['Q11896336', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q2929183 property:P27 ?e } UNION { resource:Q11896336 property:P27 ?e } } . ?e rdf:type ontology:Q1048835 }
Petra Auer Byron Edmund Walker
action filter_type
action union
action find
entity Byron Edmund Walker
relation country of citizenship
action find
entity Petra Auer
relation country of citizenship
type political territorial entity
{'OR': [['Byron Edmund Walker', 'country of citizenship', {'concept': 'political territorial entity'}], ['Petra Auer', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Byron_Edmund_Walker property:country_of_citizenship ?e } UNION { resource:Petra_Auer property:country_of_citizenship ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q2929183,P27,c(Q1048835)), (Q11896336,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q2929183
relation P27
action find
entity Q11896336
relation P27
type Q1048835
[ANSWERS] are Byron Edmund Walker or Petra Auer an inhabitant of
{'OR': [['Q2929183', 'P27', {'concept': 'Q1048835'}], ['Q11896336', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q2929183 property:P27 ?e } UNION { resource:Q11896336 property:P27 ?e } } . ?e rdf:type ontology:Q1048835 }
Canada Germany
Canada and Germany are Byron Edmund Walker or Petra Auer an inhabitant of
Canada Germany
action filter_type
action union
action find
entity Byron Edmund Walker
relation country of citizenship
action find
entity Petra Auer
relation country of citizenship
type political territorial entity
{'OR': [['Byron Edmund Walker', 'country of citizenship', {'concept': 'political territorial entity'}], ['Petra Auer', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Byron_Edmund_Walker property:country_of_citizenship ?e } UNION { resource:Petra_Auer property:country_of_citizenship ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4657124
P495
Q15416
USER
Did A Good Place To Come From originate in those political territories ?
(Q4657124,P495,Q16) (Q4657124,P495,Q183)
action is_in
entity prev_answer
action find
entity Q4657124
relation P495
['Q4657124', 'P495', 'Q16'] ['Q4657124', 'P495', 'Q183']
ASK WHERE { VALUES ( ?t ) { ( resource:Q16 ) ( resource:Q183 ) } . resource:Q4657124 property:P495 ?t }
A Good Place To Come From
action is_in
entity prev_answer
action find
entity A Good Place To Come From
relation country of origin
['A Good Place To Come From', 'country of origin', 'Canada'] ['A Good Place To Come From', 'country of origin', 'Germany']
ASK WHERE { VALUES ( ?t ) { ( resource:Canada ) ( resource:Germany ) } . resource:A_Good_Place_To_Come_From property:country_of_origin ?t }
[]
television program
SYSTEM
NO
(Q4657124,P495,Q16) (Q4657124,P495,Q183)
action is_in
entity prev_answer
action find
entity Q4657124
relation P495
[ANSWER]
['Q4657124', 'P495', 'Q16'] ['Q4657124', 'P495', 'Q183']
ASK WHERE { VALUES ( ?t ) { ( resource:Q16 ) ( resource:Q183 ) } . resource:Q4657124 property:P495 ?t }
No
action is_in
entity prev_answer
action find
entity A Good Place To Come From
relation country of origin
['A Good Place To Come From', 'country of origin', 'Canada'] ['A Good Place To Come From', 'country of origin', 'Germany']
ASK WHERE { VALUES ( ?t ) { ( resource:Canada ) ( resource:Germany ) } . resource:A_Good_Place_To_Come_From property:country_of_origin ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16750686 Q26696365
P1027
Q12737077
USER
Does mayor of Muelas de los Caballeros bestow knight of St. Sylvester ?
(Q16750686,P1027,Q26696365)
action is_in
entity Q26696365
action find
entity Q16750686
relation P1027
['Q16750686', 'P1027', 'Q26696365']
ASK WHERE { resource:Q16750686 property:P1027 resource:Q26696365 }
knight of St. Sylvester mayor of Muelas de los Caballeros
action is_in
entity mayor of Muelas de los Caballeros
action find
entity knight of St. Sylvester
relation conferred by
['knight of St. Sylvester', 'conferred by', 'mayor of Muelas de los Caballeros']
ASK WHERE { resource:knight_of_St._Sylvester property:conferred_by resource:mayor_of_Muelas_de_los_Caballeros }
[]
occupation
SYSTEM
NO
(Q16750686,P1027,Q26696365)
action is_in
entity Q26696365
action find
entity Q16750686
relation P1027
[ANSWER]
['Q16750686', 'P1027', 'Q26696365']
ASK WHERE { resource:Q16750686 property:P1027 resource:Q26696365 }
No
action is_in
entity mayor of Muelas de los Caballeros
action find
entity knight of St. Sylvester
relation conferred by
['knight of St. Sylvester', 'conferred by', 'mayor of Muelas de los Caballeros']
ASK WHERE { resource:knight_of_St._Sylvester property:conferred_by resource:mayor_of_Muelas_de_los_Caballeros }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2077564 Q1803569 Q183
P27
Q1048835
USER
Is Peter Pius Irl a citizen of Marquinho and Germany ?
(Q2077564,P27,Q1803569) (Q2077564,P27,Q183)
action is_in
entity Q2077564
action intersection
action find_reverse
entity Q1803569
relation P27
action find_reverse
entity Q183
relation P27
['Q2077564', 'P27', 'Q1803569'] ['Q2077564', 'P27', 'Q183']
ASK WHERE { resource:Q2077564 property:P27 resource:Q1803569 . resource:Q2077564 property:P27 resource:Q183 }
Peter Pius Irl Marquinho Germany
action is_in
entity Peter Pius Irl
action intersection
action find_reverse
entity Marquinho
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Peter Pius Irl', 'country of citizenship', 'Marquinho'] ['Peter Pius Irl', 'country of citizenship', 'Germany']
ASK WHERE { resource:Peter_Pius_Irl property:country_of_citizenship resource:Marquinho . resource:Peter_Pius_Irl property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q2077564,P27,Q1803569) (Q2077564,P27,Q183)
action is_in
entity Q2077564
action intersection
action find_reverse
entity Q1803569
relation P27
action find_reverse
entity Q183
relation P27
[ANSWER]
['Q2077564', 'P27', 'Q1803569'] ['Q2077564', 'P27', 'Q183']
ASK WHERE { resource:Q2077564 property:P27 resource:Q1803569 . resource:Q2077564 property:P27 resource:Q183 }
NO and YES respectively
action is_in
entity Peter Pius Irl
action intersection
action find_reverse
entity Marquinho
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Peter Pius Irl', 'country of citizenship', 'Marquinho'] ['Peter Pius Irl', 'country of citizenship', 'Germany']
ASK WHERE { resource:Peter_Pius_Irl property:country_of_citizenship resource:Marquinho . resource:Peter_Pius_Irl property:country_of_citizenship resource:Germany }
[]