Simple Question (Direct)
Simple Question
Q4776425
P21
Q290
USER
What is the sex of Antonio Ayala ?
(Q4776425,P21,c(Q290))
action filter_type
action find
entity Q4776425
relation P21
type Q290
['Q4776425', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q4776425 property:P21 ?o . ?o rdf:type ontology:Q290 }
Antonio Ayala
action filter_type
action find
entity Antonio Ayala
relation gender
type sex
['Antonio Ayala', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Antonio_Ayala property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4776425,P21,c(Q290))
action filter_type
action find
entity Q4776425
relation P21
type Q290
The sex of Antonio Ayala is a [ANSWER]
['Q4776425', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q4776425 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
The sex of Antonio Ayala is a male
male
action filter_type
action find
entity Antonio Ayala
relation gender
type sex
['Antonio Ayala', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Antonio_Ayala property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4776425
P1412
Q34770
USER
Which language can Antonio Ayala understand ?
(Q4776425,P1412,c(Q34770))
action filter_type
action find
entity Q4776425
relation P1412
type Q34770
['Q4776425', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34770 . resource:Q4776425 property:P1412 ?f }
Antonio Ayala
action filter_type
action find
entity Antonio Ayala
relation languages spoken, written or signed
type language
['Antonio Ayala', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language . resource:Antonio_Ayala property:languages_spoken,_written_or_signed ?f }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q4776425,P1412,c(Q34770))
action filter_type
action find
entity Q4776425
relation P1412
type Q34770
Antonio Ayala can understand the [ANSWER]
['Q4776425', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34770 . resource:Q4776425 property:P1412 ?f }
Spanish
Antonio Ayala can understand the Spanish
Spanish
action filter_type
action find
entity Antonio Ayala
relation languages spoken, written or signed
type language
['Antonio Ayala', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language . resource:Antonio_Ayala property:languages_spoken,_written_or_signed ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6001915
Q34770
USER
And what about Marta Fernández Vázquez?
(Q6001915,P1412,c(Q34770))
action filter_type
action find
entity Q6001915
relation P1412
type Q34770
['Q6001915', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q34770 . resource:Q6001915 property:P1412 ?b }
Marta Fernández Vázquez
action filter_type
action find
entity Marta Fernández Vázquez
relation languages spoken, written or signed
type language
['Marta Fernández Vázquez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:language . resource:Marta_Fernández_Vázquez property:languages_spoken,_written_or_signed ?b }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6001915,P1412,c(Q34770))
action filter_type
action find
entity Q6001915
relation P1412
type Q34770
[ANSWER]
['Q6001915', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q34770 . resource:Q6001915 property:P1412 ?b }
Spanish
Spanish
action filter_type
action find
entity Marta Fernández Vázquez
relation languages spoken, written or signed
type language
['Marta Fernández Vázquez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:language . resource:Marta_Fernández_Vázquez property:languages_spoken,_written_or_signed ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4776425
P27
Q15617994
USER
Which administrative territory does Antonio Ayala belong to ?
(Q4776425,P27,c(Q15617994))
action filter_type
action find
entity Q4776425
relation P27
type Q15617994
['Q4776425', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4776425 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Antonio Ayala
action filter_type
action find
entity Antonio Ayala
relation country of citizenship
type designation for an administrative territorial entity
['Antonio Ayala', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Antonio_Ayala property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q4776425,P27,c(Q15617994))
action filter_type
action find
entity Q4776425
relation P27
type Q15617994
Antonio Ayala belongs to [ANSWER]
['Q4776425', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4776425 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Mexico
Antonio Ayala belongs to Mexico
Mexico
action filter_type
action find
entity Antonio Ayala
relation country of citizenship
type designation for an administrative territorial entity
['Antonio Ayala', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Antonio_Ayala property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4776425
P641
Q349
USER
Which sport did Antonio Ayala participate in ?
(Q4776425,P641,c(Q349))
action filter_type
action find
entity Q4776425
relation P641
type Q349
['Q4776425', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q349 . resource:Q4776425 property:P641 ?u }
Antonio Ayala
action filter_type
action find
entity Antonio Ayala
relation sport
type sport
['Antonio Ayala', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sport . resource:Antonio_Ayala property:sport ?u }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q4776425,P641,c(Q349))
action filter_type
action find
entity Q4776425
relation P641
type Q349
Antonio Ayala participated in [ANSWER]
['Q4776425', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q349 . resource:Q4776425 property:P641 ?u }
basketball
Antonio Ayala participated in basketball
basketball
action filter_type
action find
entity Antonio Ayala
relation sport
type sport
['Antonio Ayala', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:sport . resource:Antonio_Ayala property:sport ?u }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q145
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with less number of administrative territories than United Kingdom ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q145
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P530 ?b . ?o rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?x < ?d ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P530 resource:Q145 . ?j rdf:type ontology:Q15617994 } } }
United Kingdom
action count
action less
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_reverse
entity United Kingdom
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 ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:diplomatic_relation ?b . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?x < ?d ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:diplomatic_relation resource:United_Kingdom . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
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 less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q145
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:P530 ?b . ?o rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?b } . FILTER ( ?x < ?d ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P530 resource:Q145 . ?j rdf:type ontology:Q15617994 } } }
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 less
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_reverse
entity United Kingdom
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 ( ?b ) AS ?v ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?x ) WHERE { ?o property:diplomatic_relation ?b . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . FILTER ( ?x < ?d ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:diplomatic_relation resource:United_Kingdom . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q148
P530
Q15617994 Q15617994
USER
And also tell me about People's Republic of China?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q148
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ontology:Q15617994 . ?q property:P530 resource:Q148 } } . FILTER ( ?s < ?x ) }
People's Republic of China
action count
action less
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_reverse
entity People's Republic of China
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 ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation resource:People's_Republic_of_China } } . FILTER ( ?s < ?x ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
158
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 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 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(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q148
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P530 ?d . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ontology:Q15617994 . ?q property:P530 resource:Q148 } } . FILTER ( ?s < ?x ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom 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 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
158
action count
action less
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_reverse
entity People's Republic of China
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 ( ?d ) AS ?e ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?x ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation resource:People's_Republic_of_China } } . FILTER ( ?s < ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q96
P361
Q2221906
USER
Which geographic location is Mexico a part of ?
(Q96,P361,c(Q2221906))
action filter_type
action find
entity Q96
relation P361
type Q2221906
['Q96', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q96 property:P361 ?m . ?m rdf:type ontology:Q2221906 }
Mexico
action filter_type
action find
entity Mexico
relation part of
type geographic location
['Mexico', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:Mexico property:part_of ?m . ?m rdf:type ontology:geographic_location }
[]
geographic location
Q12585
SYSTEM
Latin America
Q12585
(Q96,P361,c(Q2221906))
action filter_type
action find
entity Q96
relation P361
type Q2221906
Which geographic location is Mexico a part of
['Q96', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q96 property:P361 ?m . ?m rdf:type ontology:Q2221906 }
Latin America
Which geographic location is Mexico a part of
Latin America
action filter_type
action find
entity Mexico
relation part of
type geographic location
['Mexico', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:Mexico property:part_of ?m . ?m rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1390344
Q2221906
USER
And also tell me about Sähre?
(Q1390344,P361,c(Q2221906))
action filter_type
action find
entity Q1390344
relation P361
type Q2221906
['Q1390344', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { resource:Q1390344 property:P361 ?b . ?b rdf:type ontology:Q2221906 }
Sähre
action filter_type
action find
entity Sähre
relation part of
type geographic location
['Sähre', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { resource:Sähre property:part_of ?b . ?b rdf:type ontology:geographic_location }
[]
geographic location
Q896446
SYSTEM
Upland
Q896446
(Q1390344,P361,c(Q2221906))
action filter_type
action find
entity Q1390344
relation P361
type Q2221906
[ANSWER]
['Q1390344', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?b WHERE { resource:Q1390344 property:P361 ?b . ?b rdf:type ontology:Q2221906 }
Upland
Upland
action filter_type
action find
entity Sähre
relation part of
type geographic location
['Sähre', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?b WHERE { resource:Sähre property:part_of ?b . ?b rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q896446 Q1795377 Q3259951
P17
Q1048835
USER
Is that geographic location situated in Barra da Estiva and Lot 65, Prince Edward Island ?
(Q896446,P17,Q1795377) (Q896446,P17,Q3259951)
action is_in
entity Q896446
action intersection
action find_reverse
entity Q1795377
relation P17
action find_reverse
entity Q3259951
relation P17
['Q896446', 'P17', 'Q1795377'] ['Q896446', 'P17', 'Q3259951']
ASK WHERE { resource:Q896446 property:P17 resource:Q1795377 . resource:Q896446 property:P17 resource:Q3259951 }
Upland Barra da Estiva Lot 65, Prince Edward Island
action is_in
entity Upland
action intersection
action find_reverse
entity Barra da Estiva
relation country
action find_reverse
entity Lot 65, Prince Edward Island
relation country
['Upland', 'country', 'Barra da Estiva'] ['Upland', 'country', 'Lot 65, Prince Edward Island']
ASK WHERE { resource:Upland property:country resource:Barra_da_Estiva . resource:Upland property:country resource:Lot_65,_Prince_Edward_Island }
[]
political territorial entity
SYSTEM
NO
(Q896446,P17,Q1795377) (Q896446,P17,Q3259951)
action is_in
entity Q896446
action intersection
action find_reverse
entity Q1795377
relation P17
action find_reverse
entity Q3259951
relation P17
[ANSWER]
['Q896446', 'P17', 'Q1795377'] ['Q896446', 'P17', 'Q3259951']
ASK WHERE { resource:Q896446 property:P17 resource:Q1795377 . resource:Q896446 property:P17 resource:Q3259951 }
No
action is_in
entity Upland
action intersection
action find_reverse
entity Barra da Estiva
relation country
action find_reverse
entity Lot 65, Prince Edward Island
relation country
['Upland', 'country', 'Barra da Estiva'] ['Upland', 'country', 'Lot 65, Prince Edward Island']
ASK WHERE { resource:Upland property:country resource:Barra_da_Estiva . resource:Upland property:country resource:Lot_65,_Prince_Edward_Island }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4776425 Q3665646
P106
Q12737077
USER
Is basketball player the profession of Antonio Ayala ?
(Q4776425,P106,Q3665646)
action is_in
entity Q3665646
action find
entity Q4776425
relation P106
['Q4776425', 'P106', 'Q3665646']
ASK WHERE { resource:Q4776425 property:P106 resource:Q3665646 }
Antonio Ayala basketball player
action is_in
entity basketball player
action find
entity Antonio Ayala
relation occupation
['Antonio Ayala', 'occupation', 'basketball player']
ASK WHERE { resource:Antonio_Ayala property:occupation resource:basketball_player }
[]
occupation
SYSTEM
YES
(Q4776425,P106,Q3665646)
action is_in
entity Q3665646
action find
entity Q4776425
relation P106
[ANSWER]
['Q4776425', 'P106', 'Q3665646']
ASK WHERE { resource:Q4776425 property:P106 resource:Q3665646 }
Yes
action is_in
entity basketball player
action find
entity Antonio Ayala
relation occupation
['Antonio Ayala', 'occupation', 'basketball player']
ASK WHERE { resource:Antonio_Ayala property:occupation resource:basketball_player }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q12585 Q5020361 Q828
P30
Q2221906
USER
Is Latin America a part of California Correctional Center and Americas ?
(Q12585,P30,Q5020361) (Q12585,P30,Q828)
action is_in
entity Q12585
action intersection
action find_reverse
entity Q5020361
relation P30
action find_reverse
entity Q828
relation P30
['Q12585', 'P30', 'Q5020361'] ['Q12585', 'P30', 'Q828']
ASK WHERE { resource:Q12585 property:P30 resource:Q5020361 . resource:Q12585 property:P30 resource:Q828 }
Latin America California Correctional Center Americas
action is_in
entity Latin America
action intersection
action find_reverse
entity California Correctional Center
relation continent
action find_reverse
entity Americas
relation continent
['Latin America', 'continent', 'California Correctional Center'] ['Latin America', 'continent', 'Americas']
ASK WHERE { resource:Latin_America property:continent resource:California_Correctional_Center . resource:Latin_America property:continent resource:Americas }
[]
geographic location
SYSTEM
NO and YES respectively
(Q12585,P30,Q5020361) (Q12585,P30,Q828)
action is_in
entity Q12585
action intersection
action find_reverse
entity Q5020361
relation P30
action find_reverse
entity Q828
relation P30
[ANSWER]
['Q12585', 'P30', 'Q5020361'] ['Q12585', 'P30', 'Q828']
ASK WHERE { resource:Q12585 property:P30 resource:Q5020361 . resource:Q12585 property:P30 resource:Q828 }
NO and YES respectively
action is_in
entity Latin America
action intersection
action find_reverse
entity California Correctional Center
relation continent
action find_reverse
entity Americas
relation continent
['Latin America', 'continent', 'California Correctional Center'] ['Latin America', 'continent', 'Americas']
ASK WHERE { resource:Latin_America property:continent resource:California_Correctional_Center . resource:Latin_America property:continent resource:Americas }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4776425 Q3665646 Q1021224
P106
Q12737077
USER
Does Antonio Ayala have career as basketball player and Mayor of the free imperial city Aachen ?
(Q4776425,P106,Q3665646) (Q4776425,P106,Q1021224)
action is_in
entity Q4776425
action intersection
action find_reverse
entity Q3665646
relation P106
action find_reverse
entity Q1021224
relation P106
['Q4776425', 'P106', 'Q3665646'] ['Q4776425', 'P106', 'Q1021224']
ASK WHERE { resource:Q4776425 property:P106 resource:Q3665646 . resource:Q4776425 property:P106 resource:Q1021224 }
Antonio Ayala basketball player Mayor of the free imperial city Aachen
action is_in
entity Antonio Ayala
action intersection
action find_reverse
entity basketball player
relation occupation
action find_reverse
entity Mayor of the free imperial city Aachen
relation occupation
['Antonio Ayala', 'occupation', 'basketball player'] ['Antonio Ayala', 'occupation', 'Mayor of the free imperial city Aachen']
ASK WHERE { resource:Antonio_Ayala property:occupation resource:basketball_player . resource:Antonio_Ayala property:occupation resource:Mayor_of_the_free_imperial_city_Aachen }
[]
occupation
SYSTEM
YES and NO respectively
(Q4776425,P106,Q3665646) (Q4776425,P106,Q1021224)
action is_in
entity Q4776425
action intersection
action find_reverse
entity Q3665646
relation P106
action find_reverse
entity Q1021224
relation P106
[ANSWER]
['Q4776425', 'P106', 'Q3665646'] ['Q4776425', 'P106', 'Q1021224']
ASK WHERE { resource:Q4776425 property:P106 resource:Q3665646 . resource:Q4776425 property:P106 resource:Q1021224 }
YES and NO respectively
action is_in
entity Antonio Ayala
action intersection
action find_reverse
entity basketball player
relation occupation
action find_reverse
entity Mayor of the free imperial city Aachen
relation occupation
['Antonio Ayala', 'occupation', 'basketball player'] ['Antonio Ayala', 'occupation', 'Mayor of the free imperial city Aachen']
ASK WHERE { resource:Antonio_Ayala property:occupation resource:basketball_player . resource:Antonio_Ayala property:occupation resource:Mayor_of_the_free_imperial_city_Aachen }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q502895 Q79529
USER
How many administrative territories are the etymology of around 1 people and chemical substances ?
(c(Q502895)|c(Q79529),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q502895
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q79529
value 1
[[{'concept': 'Q502895'}, {'concept': 'Q79529'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?o ) WHERE { { ?d rdf:type ontology:Q79529 . ?x rdf:type ontology:Q15617994 . ?d property:P138 ?x } UNION { ?d property:P138 ?x . ?x rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q502895 } } GROUP BY ?x } }
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type chemical substance
value 1
[[{'concept': 'common name'}, {'concept': 'chemical substance'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?o ) WHERE { { ?d rdf:type ontology:chemical_substance . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:named_after ?x } UNION { ?d property:named_after ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:common_name } } GROUP BY ?x } }
[]
designation for an administrative territorial entity common name chemical substance
SYSTEM
8
Q82670 Q298 Q36 Q3139 Q674852 Q40131 Q142 Q971
(c(Q502895)|c(Q79529),P138,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q502895
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q79529
value 1
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q79529'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?o ) WHERE { { ?d rdf:type ontology:Q79529 . ?x rdf:type ontology:Q15617994 . ?d property:P138 ?x } UNION { ?d property:P138 ?x . ?x rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q502895 } } GROUP BY ?x } }
Fiesole Chile Poland Alpes-Maritimes Dätgen Chiavenna France Republic of the Congo
8
action count
action approx
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type common name
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type chemical substance
value 1
[[{'concept': 'common name'}, {'concept': 'chemical substance'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?o ) WHERE { { ?d rdf:type ontology:chemical_substance . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:named_after ?x } UNION { ?d property:named_after ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:common_name } } GROUP BY ?x } }
[]