Simple Question (Direct)
Simple Question
Q610443
P19
Q1048835
USER
Which political territory is the place of birth of Rafael Ábalos ?
(Q610443,P19,c(Q1048835))
action filter_type
action find
entity Q610443
relation P19
type Q1048835
['Q610443', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q610443 property:P19 ?d . ?d rdf:type ontology:Q1048835 }
Rafael Ábalos
action filter_type
action find
entity Rafael Ábalos
relation place of birth
type political territorial entity
['Rafael Ábalos', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Rafael_Ábalos property:place_of_birth ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q920126
SYSTEM
Archidona
Q920126
(Q610443,P19,c(Q1048835))
action filter_type
action find
entity Q610443
relation P19
type Q1048835
[ANSWER] is the place of birth of Rafael Ábalos
['Q610443', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q610443 property:P19 ?d . ?d rdf:type ontology:Q1048835 }
Archidona
Archidona is the place of birth of Rafael Ábalos
Archidona
action filter_type
action find
entity Rafael Ábalos
relation place of birth
type political territorial entity
['Rafael Ábalos', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Rafael_Ábalos property:place_of_birth ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q920126
P1001
Q12737077
USER
Which occupation has jurisdiction over that political territory ?
(c(Q12737077),P1001,Q920126)
action filter_type
action find_reverse
entity Q920126
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q920126']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . ?d property:P1001 resource:Q920126 }
Archidona
action filter_type
action find_reverse
entity Archidona
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Archidona']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . ?d property:applies_to_jurisdiction resource:Archidona }
[]
occupation
Q26701006
SYSTEM
mayor of Archidona
Q26701006
(c(Q12737077),P1001,Q920126)
action filter_type
action find_reverse
entity Q920126
relation P1001
type Q12737077
[ANSWER] has jurisdiction over that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q920126']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . ?d property:P1001 resource:Q920126 }
mayor of Archidona
Mayor of Archidona has jurisdiction over that political territory
mayor of Archidona
action filter_type
action find_reverse
entity Archidona
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Archidona']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . ?d property:applies_to_jurisdiction resource:Archidona }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26701006
P17
Q15617994
USER
Which administrative territory is that occupation situated in ?
(Q26701006,P17,c(Q15617994))
action filter_type
action find
entity Q26701006
relation P17
type Q15617994
['Q26701006', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q26701006 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
mayor of Archidona
action filter_type
action find
entity mayor of Archidona
relation country
type designation for an administrative territorial entity
['mayor of Archidona', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:mayor_of_Archidona property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q26701006,P17,c(Q15617994))
action filter_type
action find
entity Q26701006
relation P17
type Q15617994
That occupation is situated in [ANSWER]
['Q26701006', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q26701006 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Spain
That occupation is situated in Spain
Spain
action filter_type
action find
entity mayor of Archidona
relation country
type designation for an administrative territorial entity
['mayor of Archidona', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:mayor_of_Archidona property:country ?e . ?e 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
Q29 Q38 Q2348146
P530
Q15617994
USER
Does that administrative territory have ambassadorial relations with Italy and Joypurhat District ?
(Q29,P530,Q38) (Q29,P530,Q2348146)
action is_in
entity Q29
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q2348146
relation P530
['Q29', 'P530', 'Q38'] ['Q29', 'P530', 'Q2348146']
ASK WHERE { resource:Q29 property:P530 resource:Q38 . resource:Q29 property:P530 resource:Q2348146 }
Spain Italy Joypurhat District
action is_in
entity Spain
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Joypurhat District
relation diplomatic relation
['Spain', 'diplomatic relation', 'Italy'] ['Spain', 'diplomatic relation', 'Joypurhat District']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Italy . resource:Spain property:diplomatic_relation resource:Joypurhat_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q29,P530,Q38) (Q29,P530,Q2348146)
action is_in
entity Q29
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q2348146
relation P530
[ANSWER]
['Q29', 'P530', 'Q38'] ['Q29', 'P530', 'Q2348146']
ASK WHERE { resource:Q29 property:P530 resource:Q38 . resource:Q29 property:P530 resource:Q2348146 }
YES and NO respectively
action is_in
entity Spain
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Joypurhat District
relation diplomatic relation
['Spain', 'diplomatic relation', 'Italy'] ['Spain', 'diplomatic relation', 'Joypurhat District']
ASK WHERE { resource:Spain property:diplomatic_relation resource:Italy . resource:Spain property:diplomatic_relation resource:Joypurhat_District }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q920126 Q4763886 Q2123341
P47
Q56061
USER
Does Archidona share border with Angourie and Sheldon ?
(Q920126,P47,Q4763886) (Q920126,P47,Q2123341)
action is_in
entity Q920126
action intersection
action find_reverse
entity Q4763886
relation P47
action find_reverse
entity Q2123341
relation P47
['Q920126', 'P47', 'Q4763886'] ['Q920126', 'P47', 'Q2123341']
ASK WHERE { resource:Q920126 property:P47 resource:Q4763886 . resource:Q920126 property:P47 resource:Q2123341 }
Archidona Angourie Sheldon
action is_in
entity Archidona
action intersection
action find_reverse
entity Angourie
relation shares border with
action find_reverse
entity Sheldon
relation shares border with
['Archidona', 'shares border with', 'Angourie'] ['Archidona', 'shares border with', 'Sheldon']
ASK WHERE { resource:Archidona property:shares_border_with resource:Angourie . resource:Archidona property:shares_border_with resource:Sheldon }
[]
administrative territorial entity
SYSTEM
NO
(Q920126,P47,Q4763886) (Q920126,P47,Q2123341)
action is_in
entity Q920126
action intersection
action find_reverse
entity Q4763886
relation P47
action find_reverse
entity Q2123341
relation P47
[ANSWER]
['Q920126', 'P47', 'Q4763886'] ['Q920126', 'P47', 'Q2123341']
ASK WHERE { resource:Q920126 property:P47 resource:Q4763886 . resource:Q920126 property:P47 resource:Q2123341 }
No
action is_in
entity Archidona
action intersection
action find_reverse
entity Angourie
relation shares border with
action find_reverse
entity Sheldon
relation shares border with
['Archidona', 'shares border with', 'Angourie'] ['Archidona', 'shares border with', 'Sheldon']
ASK WHERE { resource:Archidona property:shares_border_with resource:Angourie . resource:Archidona property:shares_border_with resource:Sheldon }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q29 Q11531394
P6
Q502895
USER
Does Katsuo Matsumura have Spain as its head of government ?
(Q29,P6,Q11531394)
action is_in
entity Q11531394
action find
entity Q29
relation P6
['Q29', 'P6', 'Q11531394']
ASK WHERE { resource:Q29 property:P6 resource:Q11531394 }
Spain Katsuo Matsumura
action is_in
entity Katsuo Matsumura
action find
entity Spain
relation head of government
['Spain', 'head of government', 'Katsuo Matsumura']
ASK WHERE { resource:Spain property:head_of_government resource:Katsuo_Matsumura }
[]
common name
SYSTEM
NO
(Q29,P6,Q11531394)
action is_in
entity Q11531394
action find
entity Q29
relation P6
[ANSWER]
['Q29', 'P6', 'Q11531394']
ASK WHERE { resource:Q29 property:P6 resource:Q11531394 }
No
action is_in
entity Katsuo Matsumura
action find
entity Spain
relation head of government
['Spain', 'head of government', 'Katsuo Matsumura']
ASK WHERE { resource:Spain property:head_of_government resource:Katsuo_Matsumura }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q26701006 Q920126
P1001
Q1048835
USER
Does Archidona come under the jurisdiction of mayor of Archidona ?
(Q26701006,P1001,Q920126)
action is_in
entity Q920126
action find
entity Q26701006
relation P1001
['Q26701006', 'P1001', 'Q920126']
ASK WHERE { resource:Q26701006 property:P1001 resource:Q920126 }
mayor of Archidona Archidona
action is_in
entity Archidona
action find
entity mayor of Archidona
relation applies to jurisdiction
['mayor of Archidona', 'applies to jurisdiction', 'Archidona']
ASK WHERE { resource:mayor_of_Archidona property:applies_to_jurisdiction resource:Archidona }
[]
political territorial entity
SYSTEM
YES
(Q26701006,P1001,Q920126)
action is_in
entity Q920126
action find
entity Q26701006
relation P1001
[ANSWER]
['Q26701006', 'P1001', 'Q920126']
ASK WHERE { resource:Q26701006 property:P1001 resource:Q920126 }
Yes
action is_in
entity Archidona
action find
entity mayor of Archidona
relation applies to jurisdiction
['mayor of Archidona', 'applies to jurisdiction', 'Archidona']
ASK WHERE { resource:mayor_of_Archidona property:applies_to_jurisdiction resource:Archidona }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q37
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with around the same number of administrative territories as Lithuania ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q37
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q37 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?x = ?a ) }
Lithuania
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 Lithuania
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Lithuania property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x = ?a ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
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 approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q37
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with around the same number of administrative territories as Lithuania
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:P530 ?q . ?q rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q37 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?x = ?a ) }
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
Georgia, Netherlands and Poland hold diplomatic relationship with around the same number of administrative territories as Lithuania
Georgia Netherlands Poland
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 Lithuania
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?w ) AS ?x ) WHERE { ?w property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Lithuania property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?x = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q948
P530
Q15617994 Q15617994
USER
And how about Tunisia?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q948
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?w ) WHERE { ?l property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { resource:Q948 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?h ) }
Tunisia
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 Tunisia
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 ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?w ) WHERE { ?l property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { resource:Tunisia property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?h ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
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 approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q948
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?w ) WHERE { ?l property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { resource:Q948 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?h ) }
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
Georgia Netherlands Poland
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 Tunisia
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 ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?w ) WHERE { ?l property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { resource:Tunisia property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?h ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q29
P710
Q15275719 Q1190554
USER
How many recurring events and events have Spain as their participant ?
(c(Q15275719),P710,Q29) (c(Q1190554),P710,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P710
type Q15275719
action filter_type
action find_reverse
entity Q29
relation P710
type Q1190554
[{'concept': 'Q15275719'}, 'P710', 'Q29'] [{'concept': 'Q1190554'}, 'P710', 'Q29']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15275719 ) ( ontology:Q1190554 ) } }
Spain
action count
action union
action filter_type
action find_reverse
entity Spain
relation participant
type recurring event
action filter_type
action find_reverse
entity Spain
relation participant
type event
[{'concept': 'recurring event'}, 'participant', 'Spain'] [{'concept': 'event'}, 'participant', 'Spain']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:recurring_event ) ( ontology:event ) } }
[]
recurring event event
SYSTEM
1 recurring events and 4 events
Q4677256 Q2889928 Q161325 Q1392 Q207815
(c(Q15275719),P710,Q29) (c(Q1190554),P710,Q29)
action count
action union
action filter_type
action find_reverse
entity Q29
relation P710
type Q15275719
action filter_type
action find_reverse
entity Q29
relation P710
type Q1190554
[ANSWER]
[{'concept': 'Q15275719'}, 'P710', 'Q29'] [{'concept': 'Q1190554'}, 'P710', 'Q29']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:Q15275719 ) ( ontology:Q1190554 ) } }
Action of 14 June 1742 Battle of San Marcial Battle of Ramillies Battle of Nieuwpoort Eurovision Song Contest 1996
1 recurring events and 4 events
action count
action union
action filter_type
action find_reverse
entity Spain
relation participant
type recurring event
action filter_type
action find_reverse
entity Spain
relation participant
type event
[{'concept': 'recurring event'}, 'participant', 'Spain'] [{'concept': 'event'}, 'participant', 'Spain']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y rdf:type ?l . VALUES ( ?l ) { ( ontology:recurring_event ) ( ontology:event ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q681999 Q230
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relations with Georgia and are San Francisco de Macorís situated in ?
AND((Q230,P530,c(Q15617994)), (Q681999,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q230
relation P530
action find
entity Q681999
relation P17
type Q15617994
{'AND': [['Q230', 'P530', {'concept': 'Q15617994'}], ['Q681999', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q681999 property:P17 ?b . resource:Q230 property:P530 ?b }
San Francisco de Macorís Georgia
action filter_type
action intersection
action find
entity Georgia
relation diplomatic relation
action find
entity San Francisco de Macorís
relation country
type designation for an administrative territorial entity
{'AND': [['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['San Francisco de Macorís', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:San_Francisco_de_Macorís property:country ?b . resource:Georgia property:diplomatic_relation ?b }
[]
designation for an administrative territorial entity
Q786
SYSTEM
Dominican Republic
Q786
AND((Q230,P530,c(Q15617994)), (Q681999,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q230
relation P530
action find
entity Q681999
relation P17
type Q15617994
[ANSWER] have diplomatic relations with Georgia and are San Francisco de Macorís situated in
{'AND': [['Q230', 'P530', {'concept': 'Q15617994'}], ['Q681999', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15617994 . resource:Q681999 property:P17 ?b . resource:Q230 property:P530 ?b }
Dominican Republic
Dominican Republic have diplomatic relations with Georgia and are San Francisco de Macorís situated in
Dominican Republic
action filter_type
action intersection
action find
entity Georgia
relation diplomatic relation
action find
entity San Francisco de Macorís
relation country
type designation for an administrative territorial entity
{'AND': [['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['San Francisco de Macorís', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:San_Francisco_de_Macorís property:country ?b . resource:Georgia property:diplomatic_relation ?b }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q786 Q183
P530
Q1048835
USER
Does Germany have diplomatic relations with that administrative territory ?
(Q786,P530,Q183)
action is_in
entity Q183
action find
entity Q786
relation P530
['Q786', 'P530', 'Q183']
ASK WHERE { resource:Q786 property:P530 resource:Q183 }
Dominican Republic Germany
action is_in
entity Germany
action find
entity Dominican Republic
relation diplomatic relation
['Dominican Republic', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Dominican_Republic property:diplomatic_relation resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q786,P530,Q183)
action is_in
entity Q183
action find
entity Q786
relation P530
[ANSWER]
['Q786', 'P530', 'Q183']
ASK WHERE { resource:Q786 property:P530 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Dominican Republic
relation diplomatic relation
['Dominican Republic', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Dominican_Republic property:diplomatic_relation resource:Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q786
P35
Q502895
USER
Who are elected as the head of state of that administrative territory ?
action filter_type
action find
entity Q786
relation P35
type Q502895
SELECT DISTINCT ?w WHERE { resource:Q786 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Dominican Republic
action filter_type
action find
entity Dominican Republic
relation head of state
type common name
SELECT DISTINCT ?w WHERE { resource:Dominican_Republic property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]
common name
Q147989 Q5972763 Q880065
SYSTEM
Joaquín Balaguer, Jacobo Majluta Azar, Héctor García Godoy
Q653611 Q57429 Q880065 Q5972763 Q602428 Q151944 Q147989 Q562002
action filter_type
action find
entity Q786
relation P35
type Q502895
[ANSWERS] are elected as the head of state of that administrative territory
SELECT DISTINCT ?w WHERE { resource:Q786 property:P35 ?w . ?w rdf:type ontology:Q502895 }
Hipólito Mejía Danilo Medina Héctor García Godoy Jacobo Majluta Azar Antonio Guzmán Fernández Leonel Fernández el ladron Joaquín Balaguer Salvador Jorge Blanco
Joaquín Balaguer, Jacobo Majluta Azar and Héctor García Godoy are elected as the head of state of that administrative territory
Joaquín Balaguer Jacobo Majluta Azar Héctor García Godoy
action filter_type
action find
entity Dominican Republic
relation head of state
type common name
SELECT DISTINCT ?w WHERE { resource:Dominican_Republic property:head_of_state ?w . ?w rdf:type ontology:common_name }
[]