Simple Question (Direct)
Simple Question
Q3724008
P641
Q349
USER
Which sport was Emanuele Troise a part of ?
(Q3724008,P641,c(Q349))
action filter_type
action find
entity Q3724008
relation P641
type Q349
['Q3724008', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3724008 property:P641 ?c . ?c rdf:type ontology:Q349 }
Emanuele Troise
action filter_type
action find
entity Emanuele Troise
relation sport
type sport
['Emanuele Troise', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Emanuele_Troise property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3724008,P641,c(Q349))
action filter_type
action find
entity Q3724008
relation P641
type Q349
Which sport was Emanuele Troise a part of
['Q3724008', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3724008 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
Which sport was Emanuele Troise a part of
association football
action filter_type
action find
entity Emanuele Troise
relation sport
type sport
['Emanuele Troise', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Emanuele_Troise property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3724008
P19
Q15617994
USER
Where was Emanuele Troise born ?
(Q3724008,P19,c(Q15617994))
action filter_type
action find
entity Q3724008
relation P19
type Q15617994
['Q3724008', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3724008 property:P19 ?t . ?t rdf:type ontology:Q15617994 }
Emanuele Troise
action filter_type
action find
entity Emanuele Troise
relation place of birth
type designation for an administrative territorial entity
['Emanuele Troise', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Emanuele_Troise property:place_of_birth ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q72783
SYSTEM
Volla, Campania
Q72783
(Q3724008,P19,c(Q15617994))
action filter_type
action find
entity Q3724008
relation P19
type Q15617994
Emanuele Troise was born in [ANSWER]
['Q3724008', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3724008 property:P19 ?t . ?t rdf:type ontology:Q15617994 }
Volla, Campania
Emanuele Troise was born in Volla, Campania
Volla, Campania
action filter_type
action find
entity Emanuele Troise
relation place of birth
type designation for an administrative territorial entity
['Emanuele Troise', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Emanuele_Troise property:place_of_birth ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21914879
Q15617994
USER
And how about Primo Lagasi?
(Q21914879,P19,c(Q15617994))
action filter_type
action find
entity Q21914879
relation P19
type Q15617994
['Q21914879', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q21914879 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
Primo Lagasi
action filter_type
action find
entity Primo Lagasi
relation place of birth
type designation for an administrative territorial entity
['Primo Lagasi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Primo_Lagasi property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q100758
SYSTEM
Bedonia
Q100758
(Q21914879,P19,c(Q15617994))
action filter_type
action find
entity Q21914879
relation P19
type Q15617994
[ANSWER]
['Q21914879', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q21914879 property:P19 ?u . ?u rdf:type ontology:Q15617994 }
Bedonia
Bedonia
action filter_type
action find
entity Primo Lagasi
relation place of birth
type designation for an administrative territorial entity
['Primo Lagasi', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Primo_Lagasi property:place_of_birth ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q100758 Q16664740 Q585221
P17
Q15617994
USER
Is that administrative territory present in Kolionovo and Großkmehlen ?
(Q100758,P17,Q16664740) (Q100758,P17,Q585221)
action is_in
entity Q100758
action intersection
action find_reverse
entity Q16664740
relation P17
action find_reverse
entity Q585221
relation P17
['Q100758', 'P17', 'Q16664740'] ['Q100758', 'P17', 'Q585221']
ASK WHERE { resource:Q100758 property:P17 resource:Q16664740 . resource:Q100758 property:P17 resource:Q585221 }
Bedonia Kolionovo Großkmehlen
action is_in
entity Bedonia
action intersection
action find_reverse
entity Kolionovo
relation country
action find_reverse
entity Großkmehlen
relation country
['Bedonia', 'country', 'Kolionovo'] ['Bedonia', 'country', 'Großkmehlen']
ASK WHERE { resource:Bedonia property:country resource:Kolionovo . resource:Bedonia property:country resource:Großkmehlen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q100758,P17,Q16664740) (Q100758,P17,Q585221)
action is_in
entity Q100758
action intersection
action find_reverse
entity Q16664740
relation P17
action find_reverse
entity Q585221
relation P17
[ANSWER]
['Q100758', 'P17', 'Q16664740'] ['Q100758', 'P17', 'Q585221']
ASK WHERE { resource:Q100758 property:P17 resource:Q16664740 . resource:Q100758 property:P17 resource:Q585221 }
No
action is_in
entity Bedonia
action intersection
action find_reverse
entity Kolionovo
relation country
action find_reverse
entity Großkmehlen
relation country
['Bedonia', 'country', 'Kolionovo'] ['Bedonia', 'country', 'Großkmehlen']
ASK WHERE { resource:Bedonia property:country resource:Kolionovo . resource:Bedonia property:country resource:Großkmehlen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3724008 Q38
P27
Q15617994
USER
Does Emanuele Troise belong to Italy ?
(Q3724008,P27,Q38)
action is_in
entity Q38
action find
entity Q3724008
relation P27
['Q3724008', 'P27', 'Q38']
ASK WHERE { resource:Q3724008 property:P27 resource:Q38 }
Emanuele Troise Italy
action is_in
entity Italy
action find
entity Emanuele Troise
relation country of citizenship
['Emanuele Troise', 'country of citizenship', 'Italy']
ASK WHERE { resource:Emanuele_Troise property:country_of_citizenship resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3724008,P27,Q38)
action is_in
entity Q38
action find
entity Q3724008
relation P27
[ANSWER]
['Q3724008', 'P27', 'Q38']
ASK WHERE { resource:Q3724008 property:P27 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Emanuele Troise
relation country of citizenship
['Emanuele Troise', 'country of citizenship', 'Italy']
ASK WHERE { resource:Emanuele_Troise property:country_of_citizenship resource:Italy }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q833
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relationships with around the same number of administrative territories as Malaysia ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q833
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q833 property:P530 ?h } } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?t } }
Malaysia
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Malaysia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Malaysia property:diplomatic_relation ?h } } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
152
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 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 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 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q833
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q833 property:P530 ?h } } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:P530 ?t . ?t rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?t } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium 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 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 Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
152
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Malaysia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Malaysia property:diplomatic_relation ?h } } . FILTER ( ?g = ?q ) . { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?g ) WHERE { ?s property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q974
P530
Q15617994 Q15617994
USER
And what about Democratic Republic of the Congo?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q974
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?m ) WHERE { ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?z property:P530 ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q974 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?j ) }
Democratic Republic of the Congo
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Democratic Republic of the Congo
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?m ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Democratic_Republic_of_the_Congo property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?j ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
156
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 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 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(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q974
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?m ) WHERE { ?k rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 . ?z property:P530 ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q974 property:P530 ?c . ?c rdf:type ontology:Q15617994 } } . FILTER ( ?m = ?j ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium 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 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
156
action count
action approx
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Democratic Republic of the Congo
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?m ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z property:diplomatic_relation ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Democratic_Republic_of_the_Congo property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?m = ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q225
P206
Q15324
USER
Which body of water is situated nearby Bosnia and Herzegovina ?
(Q225,P206,c(Q15324))
action filter_type
action find
entity Q225
relation P206
type Q15324
['Q225', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15324 . resource:Q225 property:P206 ?f }
Bosnia and Herzegovina
action filter_type
action find
entity Bosnia and Herzegovina
relation located next to body of water
type body of water
['Bosnia and Herzegovina', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:body_of_water . resource:Bosnia_and_Herzegovina property:located_next_to_body_of_water ?f }
[]
body of water
Q13924
SYSTEM
Adriatic Sea
Q13924
(Q225,P206,c(Q15324))
action filter_type
action find
entity Q225
relation P206
type Q15324
And [ANSWER] is situated nearby Bosnia and Herzegovina
['Q225', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15324 . resource:Q225 property:P206 ?f }
Adriatic Sea
And Adriatic Sea is situated nearby Bosnia and Herzegovina
Adriatic Sea
action filter_type
action find
entity Bosnia and Herzegovina
relation located next to body of water
type body of water
['Bosnia and Herzegovina', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:body_of_water . resource:Bosnia_and_Herzegovina property:located_next_to_body_of_water ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2046019
Q15324
USER
And what about Padre Island?
(Q2046019,P206,c(Q15324))
action filter_type
action find
entity Q2046019
relation P206
type Q15324
['Q2046019', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?n WHERE { resource:Q2046019 property:P206 ?n . ?n rdf:type ontology:Q15324 }
Padre Island
action filter_type
action find
entity Padre Island
relation located next to body of water
type body of water
['Padre Island', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?n WHERE { resource:Padre_Island property:located_next_to_body_of_water ?n . ?n rdf:type ontology:body_of_water }
[]
body of water
Q12630
SYSTEM
Gulf of Mexico
Q12630
(Q2046019,P206,c(Q15324))
action filter_type
action find
entity Q2046019
relation P206
type Q15324
[ANSWER]
['Q2046019', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?n WHERE { resource:Q2046019 property:P206 ?n . ?n rdf:type ontology:Q15324 }
Gulf of Mexico
Gulf of Mexico
action filter_type
action find
entity Padre Island
relation located next to body of water
type body of water
['Padre Island', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?n WHERE { resource:Padre_Island property:located_next_to_body_of_water ?n . ?n rdf:type ontology:body_of_water }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q176434 Q3724008
P27
Q15617994
USER
Which administrative territories are Emanuele Troise or Walter Steins an inhabitant of ?
OR((Q3724008,P27,c(Q15617994)), (Q176434,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3724008
relation P27
action find
entity Q176434
relation P27
type Q15617994
{'OR': [['Q3724008', 'P27', {'concept': 'Q15617994'}], ['Q176434', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3724008 property:P27 ?b } UNION { resource:Q176434 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Walter Steins Emanuele Troise
action filter_type
action union
action find
entity Emanuele Troise
relation country of citizenship
action find
entity Walter Steins
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Emanuele Troise', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Walter Steins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Emanuele_Troise property:country_of_citizenship ?b } UNION { resource:Walter_Steins property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q55
SYSTEM
Italy, Netherlands
Q38 Q55
OR((Q3724008,P27,c(Q15617994)), (Q176434,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3724008
relation P27
action find
entity Q176434
relation P27
type Q15617994
[ANSWERS] are Emanuele Troise or Walter Steins an inhabitant of
{'OR': [['Q3724008', 'P27', {'concept': 'Q15617994'}], ['Q176434', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q3724008 property:P27 ?b } UNION { resource:Q176434 property:P27 ?b } } . ?b rdf:type ontology:Q15617994 }
Italy Netherlands
Italy and Netherlands are Emanuele Troise or Walter Steins an inhabitant of
Italy Netherlands
action filter_type
action union
action find
entity Emanuele Troise
relation country of citizenship
action find
entity Walter Steins
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Emanuele Troise', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Walter Steins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Emanuele_Troise property:country_of_citizenship ?b } UNION { resource:Walter_Steins property:country_of_citizenship ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q21995970
P17
Q11024
USER
Are comic debate present in those administrative territories ?
(Q21995970,P17,Q38) (Q21995970,P17,Q55)
action is_in
entity prev_answer
action find
entity Q21995970
relation P17
['Q21995970', 'P17', 'Q38'] ['Q21995970', 'P17', 'Q55']
ASK WHERE { resource:Q21995970 property:P17 ?u . VALUES ( ?u ) { ( resource:Q38 ) ( resource:Q55 ) } }
comic debate
action is_in
entity prev_answer
action find
entity comic debate
relation country
['comic debate', 'country', 'Italy'] ['comic debate', 'country', 'Netherlands']
ASK WHERE { resource:comic_debate property:country ?u . VALUES ( ?u ) { ( resource:Italy ) ( resource:Netherlands ) } }
[]
communication
SYSTEM
YES
(Q21995970,P17,Q38) (Q21995970,P17,Q55)
action is_in
entity prev_answer
action find
entity Q21995970
relation P17
[ANSWER]
['Q21995970', 'P17', 'Q38'] ['Q21995970', 'P17', 'Q55']
ASK WHERE { resource:Q21995970 property:P17 ?u . VALUES ( ?u ) { ( resource:Q38 ) ( resource:Q55 ) } }
Yes
action is_in
entity prev_answer
action find
entity comic debate
relation country
['comic debate', 'country', 'Italy'] ['comic debate', 'country', 'Netherlands']
ASK WHERE { resource:comic_debate property:country ?u . VALUES ( ?u ) { ( resource:Italy ) ( resource:Netherlands ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P162
Q838948
USER
What has been developed by Italy ?
(c(Q838948),P162,Q38)
action filter_type
action find_reverse
entity Q38
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q38']
SELECT DISTINCT ?d WHERE { ?d property:P162 resource:Q38 . ?d rdf:type ontology:Q838948 }
Italy
action filter_type
action find_reverse
entity Italy
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Italy']
SELECT DISTINCT ?d WHERE { ?d property:producer resource:Italy . ?d rdf:type ontology:work_of_art }
[]
work of art
Q2933446
SYSTEM
Calabuch
Q2933446
(c(Q838948),P162,Q38)
action filter_type
action find_reverse
entity Q38
relation P162
type Q838948
Of [ANSWER] has been developed by Italy
[{'concept': 'Q838948'}, 'P162', 'Q38']
SELECT DISTINCT ?d WHERE { ?d property:P162 resource:Q38 . ?d rdf:type ontology:Q838948 }
Calabuch
Of Calabuch has been developed by Italy
Calabuch
action filter_type
action find_reverse
entity Italy
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Italy']
SELECT DISTINCT ?d WHERE { ?d property:producer resource:Italy . ?d rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P30
Q2221906
USER
Which geographic location is that administrative territory situated in ?
(Q2933446,P30,c(Q2221906))
action filter_type
action find
entity Q38
relation P30
type Q2221906
['Q2933446', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q38 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Italy
action filter_type
action find
entity Italy
relation continent
type geographic location
['Calabuch', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Italy property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q2933446,P30,c(Q2221906))
action filter_type
action find
entity Q38
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q2933446', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q38 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Europe
That administrative territory is situated in Europe
Europe
action filter_type
action find
entity Italy
relation continent
type geographic location
['Calabuch', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Italy property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7157977 Q38
P30
Q2221906
USER
Or Pearce Dome?
OR((Q38,P30,c(Q2221906)), (Q7157977,P30,c(Q2221906)))
action filter_type
action union
action find
entity Q38
relation P30
action find
entity Q7157977
relation P30
type Q2221906
{'OR': [['Q38', 'P30', {'concept': 'Q2221906'}], ['Q7157977', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?w ) { ( resource:Q38 ) ( resource:Q7157977 ) } . ?w property:P30 ?e } . ?e rdf:type ontology:Q2221906 }
Pearce Dome Italy
action filter_type
action union
action find
entity Italy
relation continent
action find
entity Pearce Dome
relation continent
type geographic location
{'OR': [['Italy', 'continent', {'concept': 'geographic location'}], ['Pearce Dome', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?w ) { ( resource:Italy ) ( resource:Pearce_Dome ) } . ?w property:continent ?e } . ?e rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q51
SYSTEM
Europe, Antarctica
Q46 Q51
OR((Q38,P30,c(Q2221906)), (Q7157977,P30,c(Q2221906)))
action filter_type
action union
action find
entity Q38
relation P30
action find
entity Q7157977
relation P30
type Q2221906
[ANSWERS]
{'OR': [['Q38', 'P30', {'concept': 'Q2221906'}], ['Q7157977', 'P30', {'concept': 'Q2221906'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?w ) { ( resource:Q38 ) ( resource:Q7157977 ) } . ?w property:P30 ?e } . ?e rdf:type ontology:Q2221906 }
Europe Antarctica
Europe Antarctica
action filter_type
action union
action find
entity Italy
relation continent
action find
entity Pearce Dome
relation continent
type geographic location
{'OR': [['Italy', 'continent', {'concept': 'geographic location'}], ['Pearce Dome', 'continent', {'concept': 'geographic location'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?w ) { ( resource:Italy ) ( resource:Pearce_Dome ) } . ?w property:continent ?e } . ?e rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q22967
P30
Q15617994
USER
Are Kleinkarlbach situated in those geographic locations ?
(Q22967,P30,Q46) (Q22967,P30,Q51)
action is_in
entity prev_answer
action find
entity Q22967
relation P30
['Q22967', 'P30', 'Q46'] ['Q22967', 'P30', 'Q51']
ASK WHERE { VALUES ( ?h ) { ( resource:Q46 ) ( resource:Q51 ) } . resource:Q22967 property:P30 ?h }
Kleinkarlbach
action is_in
entity prev_answer
action find
entity Kleinkarlbach
relation continent
['Kleinkarlbach', 'continent', 'Europe'] ['Kleinkarlbach', 'continent', 'Antarctica']
ASK WHERE { VALUES ( ?h ) { ( resource:Europe ) ( resource:Antarctica ) } . resource:Kleinkarlbach property:continent ?h }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q22967,P30,Q46) (Q22967,P30,Q51)
action is_in
entity prev_answer
action find
entity Q22967
relation P30
[ANSWER]
['Q22967', 'P30', 'Q46'] ['Q22967', 'P30', 'Q51']
ASK WHERE { VALUES ( ?h ) { ( resource:Q46 ) ( resource:Q51 ) } . resource:Q22967 property:P30 ?h }
No
action is_in
entity prev_answer
action find
entity Kleinkarlbach
relation continent
['Kleinkarlbach', 'continent', 'Europe'] ['Kleinkarlbach', 'continent', 'Antarctica']
ASK WHERE { VALUES ( ?h ) { ( resource:Europe ) ( resource:Antarctica ) } . resource:Kleinkarlbach property:continent ?h }
[]