Simple Question (Direct)
Simple Question
Q15969360
P21
Q290
USER
Which sex does Charles Marie Philibert de Saget possess ?
(Q15969360,P21,c(Q290))
action filter_type
action find
entity Q15969360
relation P21
type Q290
['Q15969360', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q15969360 property:P21 ?e . ?e rdf:type ontology:Q290 }
Charles Marie Philibert de Saget
action filter_type
action find
entity Charles Marie Philibert de Saget
relation gender
type sex
['Charles Marie Philibert de Saget', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Charles_Marie_Philibert_de_Saget property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15969360,P21,c(Q290))
action filter_type
action find
entity Q15969360
relation P21
type Q290
Charles Marie Philibert de Saget possesses un [ANSWER]
['Q15969360', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q15969360 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
Charles Marie Philibert de Saget possesses un male
male
action filter_type
action find
entity Charles Marie Philibert de Saget
relation gender
type sex
['Charles Marie Philibert de Saget', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Charles_Marie_Philibert_de_Saget property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15969360
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q15969360
relation P20
type Q56061
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q15969360 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Charles Marie Philibert de Saget
action filter_type
action find
entity Charles Marie Philibert de Saget
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Charles_Marie_Philibert_de_Saget property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7880
SYSTEM
Toulouse
Q7880
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q15969360
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q15969360 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Toulouse
Toulouse is the place of death of that person
Toulouse
action filter_type
action find
entity Charles Marie Philibert de Saget
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Charles_Marie_Philibert_de_Saget property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7880
P1376
Q20667921
USER
Which french administrative divisions have that administrative territory as their capital ?
(Q7880,P1376,c(Q20667921))
action filter_type
action find
entity Q7880
relation P1376
type Q20667921
['Q7880', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q7880 property:P1376 ?t . ?t rdf:type ontology:Q20667921 }
Toulouse
action filter_type
action find
entity Toulouse
relation capital of
type type of french administrative division
['Toulouse', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Toulouse property:capital_of ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1727645 Q1727642 Q1231504
SYSTEM
canton of Toulouse-6, canton of Toulouse-4, canton of Toulouse-7
Q1727645 Q1727642 Q1231504 Q1722054 Q949528 Q1426453 Q593866 Q1727643 Q1408407 Q369217 Q1727635 Q1727652 Q1727633 Q1727634 Q1727630
(Q7880,P1376,c(Q20667921))
action filter_type
action find
entity Q7880
relation P1376
type Q20667921
[ANSWERS] have that administrative territory as their capital
['Q7880', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q7880 property:P1376 ?t . ?t rdf:type ontology:Q20667921 }
canton of Toulouse-6 canton of Toulouse-4 canton of Toulouse-7 canton of Toulouse-11 canton of Toulouse-12 canton of Toulouse-3 canton of Toulouse-10 canton of Toulouse-5 canton of Toulouse-8 canton of Toulouse-15 canton of Toulouse-2 canton of Toulouse-9 canton of Toulouse-13 canton of Toulouse-14 canton of Toulouse-1
Canton of Toulouse-6, canton of Toulouse-4 and canton of Toulouse-7 have that administrative territory as their capital
canton of Toulouse-6 canton of Toulouse-4 canton of Toulouse-7
action filter_type
action find
entity Toulouse
relation capital of
type type of french administrative division
['Toulouse', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Toulouse property:capital_of ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7880
P69
Q502895
USER
Who studied at Toulouse ?
(c(Q502895),P69,Q7880)
action filter_type
action find_reverse
entity Q7880
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q7880']
SELECT DISTINCT ?l WHERE { ?l property:P69 resource:Q7880 . ?l rdf:type ontology:Q502895 }
Toulouse
action filter_type
action find_reverse
entity Toulouse
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Toulouse']
SELECT DISTINCT ?l WHERE { ?l property:educated_at resource:Toulouse . ?l rdf:type ontology:common_name }
[]
common name
Q3384231 Q16535287
SYSTEM
Pierre Burlats-Brun, Camille Rogier
Q3384231 Q16535287
(c(Q502895),P69,Q7880)
action filter_type
action find_reverse
entity Q7880
relation P69
type Q502895
[ANSWERS] studied at Toulouse
[{'concept': 'Q502895'}, 'P69', 'Q7880']
SELECT DISTINCT ?l WHERE { ?l property:P69 resource:Q7880 . ?l rdf:type ontology:Q502895 }
Pierre Burlats-Brun Camille Rogier
Pierre Burlats-Brun and Camille Rogier studied at Toulouse
Pierre Burlats-Brun Camille Rogier
action filter_type
action find_reverse
entity Toulouse
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'Toulouse']
SELECT DISTINCT ?l WHERE { ?l property:educated_at resource:Toulouse . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3384231 Q16535287
P27
Q15617994
USER
Which administrative territories are the native countriesof Pierre Burlats-Brun and Camille Rogier ?
(Q3384231,P27,c(Q15617994)) (Q16535287,P27,c(Q15617994))
action union
action filter_type
action find
entity Q3384231
relation P27
type Q15617994
action filter_type
action find
entity Q16535287
relation P27
type Q15617994
['Q3384231', 'P27', {'concept': 'Q15617994'}] ['Q16535287', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:Q15617994 . resource:Q3384231 property:P27 ?z } UNION { resource:Q16535287 property:P27 ?z . ?z rdf:type ontology:Q15617994 } }
Pierre Burlats-Brun Camille Rogier
action union
action filter_type
action find
entity Pierre Burlats-Brun
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Camille Rogier
relation country of citizenship
type designation for an administrative territorial entity
['Pierre Burlats-Brun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Camille Rogier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pierre_Burlats-Brun property:country_of_citizenship ?z } UNION { resource:Camille_Rogier property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q142 Q142
SYSTEM
France
Q142 Q142
(Q3384231,P27,c(Q15617994)) (Q16535287,P27,c(Q15617994))
action union
action filter_type
action find
entity Q3384231
relation P27
type Q15617994
action filter_type
action find
entity Q16535287
relation P27
type Q15617994
Are the native countriesof Pierre Burlats-Brun and Camille Rogier in [ANSWER] and [ANSWER]
['Q3384231', 'P27', {'concept': 'Q15617994'}] ['Q16535287', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:Q15617994 . resource:Q3384231 property:P27 ?z } UNION { resource:Q16535287 property:P27 ?z . ?z rdf:type ontology:Q15617994 } }
France France
Are the native countriesof Pierre Burlats-Brun and Camille Rogier in France and France
France France
action union
action filter_type
action find
entity Pierre Burlats-Brun
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Camille Rogier
relation country of citizenship
type designation for an administrative territorial entity
['Pierre Burlats-Brun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Camille Rogier', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pierre_Burlats-Brun property:country_of_citizenship ?z } UNION { resource:Camille_Rogier property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3384231
P512
Q189533
USER
Which academic degree does Pierre Burlats-Brun hold ?
(Q3384231,P512,c(Q189533))
action filter_type
action find
entity Q3384231
relation P512
type Q189533
['Q3384231', 'P512', {'concept': 'Q189533'}]
SELECT DISTINCT ?y WHERE { resource:Q3384231 property:P512 ?y . ?y rdf:type ontology:Q189533 }
Pierre Burlats-Brun
action filter_type
action find
entity Pierre Burlats-Brun
relation academic degree
type academic degree
['Pierre Burlats-Brun', 'academic degree', {'concept': 'academic degree'}]
SELECT DISTINCT ?y WHERE { resource:Pierre_Burlats-Brun property:academic_degree ?y . ?y rdf:type ontology:academic_degree }
[]
academic degree
Q3033559
SYSTEM
Doctor of Arts
Q3033559
(Q3384231,P512,c(Q189533))
action filter_type
action find
entity Q3384231
relation P512
type Q189533
Pierre Burlats-Brun holds a [ANSWER]
['Q3384231', 'P512', {'concept': 'Q189533'}]
SELECT DISTINCT ?y WHERE { resource:Q3384231 property:P512 ?y . ?y rdf:type ontology:Q189533 }
Doctor of Arts
Pierre Burlats-Brun holds a Doctor of Arts
Doctor of Arts
action filter_type
action find
entity Pierre Burlats-Brun
relation academic degree
type academic degree
['Pierre Burlats-Brun', 'academic degree', {'concept': 'academic degree'}]
SELECT DISTINCT ?y WHERE { resource:Pierre_Burlats-Brun property:academic_degree ?y . ?y rdf:type ontology:academic_degree }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1727645
P36
Q56061
USER
Which administrative territory is known as the capital of canton of Toulouse-6 ?
(Q1727645,P36,c(Q56061))
action filter_type
action find
entity Q1727645
relation P36
type Q56061
['Q1727645', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1727645 property:P36 ?m . ?m rdf:type ontology:Q56061 }
canton of Toulouse-6
action filter_type
action find
entity canton of Toulouse-6
relation capital
type administrative territorial entity
['canton of Toulouse-6', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:canton_of_Toulouse-6 property:capital ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7880
SYSTEM
Toulouse
Q7880
(Q1727645,P36,c(Q56061))
action filter_type
action find
entity Q1727645
relation P36
type Q56061
[ANSWER] is known as the capital of canton of [ANSWER]-6
['Q1727645', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q1727645 property:P36 ?m . ?m rdf:type ontology:Q56061 }
Toulouse
Toulouse is known as the capital of canton of Toulouse-6
Toulouse
action filter_type
action find
entity canton of Toulouse-6
relation capital
type administrative territorial entity
['canton of Toulouse-6', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:canton_of_Toulouse-6 property:capital ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7880
P30
Q2221906
USER
Where is that administrative territory located ?
(Q7880,P30,c(Q2221906))
action filter_type
action find
entity Q7880
relation P30
type Q2221906
['Q7880', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { resource:Q7880 property:P30 ?a . ?a rdf:type ontology:Q2221906 }
Toulouse
action filter_type
action find
entity Toulouse
relation continent
type geographic location
['Toulouse', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { resource:Toulouse property:continent ?a . ?a rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q7880,P30,c(Q2221906))
action filter_type
action find
entity Q7880
relation P30
type Q2221906
That administrative territory is located in [ANSWER]
['Q7880', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { resource:Q7880 property:P30 ?a . ?a rdf:type ontology:Q2221906 }
Europe
That administrative territory is located in Europe
Europe
action filter_type
action find
entity Toulouse
relation continent
type geographic location
['Toulouse', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { resource:Toulouse property:continent ?a . ?a rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q46 Q6584092 Q43105
P610
Q14524493
USER
Does that geographic location have Mount Moonie and Mount Elbrus as its highest point ?
(Q46,P610,Q6584092) (Q46,P610,Q43105)
action is_in
entity Q46
action intersection
action find_reverse
entity Q6584092
relation P610
action find_reverse
entity Q43105
relation P610
['Q46', 'P610', 'Q6584092'] ['Q46', 'P610', 'Q43105']
ASK WHERE { resource:Q46 property:P610 resource:Q43105 . resource:Q46 property:P610 resource:Q6584092 }
Europe Mount Moonie Mount Elbrus
action is_in
entity Europe
action intersection
action find_reverse
entity Mount Moonie
relation highest point
action find_reverse
entity Mount Elbrus
relation highest point
['Europe', 'highest point', 'Mount Moonie'] ['Europe', 'highest point', 'Mount Elbrus']
ASK WHERE { resource:Europe property:highest_point resource:Mount_Elbrus . resource:Europe property:highest_point resource:Mount_Moonie }
[]
terrain
SYSTEM
NO and YES respectively
(Q46,P610,Q6584092) (Q46,P610,Q43105)
action is_in
entity Q46
action intersection
action find_reverse
entity Q6584092
relation P610
action find_reverse
entity Q43105
relation P610
[ANSWER]
['Q46', 'P610', 'Q6584092'] ['Q46', 'P610', 'Q43105']
ASK WHERE { resource:Q46 property:P610 resource:Q43105 . resource:Q46 property:P610 resource:Q6584092 }
NO and YES respectively
action is_in
entity Europe
action intersection
action find_reverse
entity Mount Moonie
relation highest point
action find_reverse
entity Mount Elbrus
relation highest point
['Europe', 'highest point', 'Mount Moonie'] ['Europe', 'highest point', 'Mount Elbrus']
ASK WHERE { resource:Europe property:highest_point resource:Mount_Elbrus . resource:Europe property:highest_point resource:Mount_Moonie }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q5962346 Q15617994
USER
Which administrative territories designates around 2 languages or classification schemes as their official language ?
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
value 2
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?r WHERE { { ?r property:P37 ?c . ?r rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q5962346 } UNION { ?r property:P37 ?c . ?r rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q34770 } } GROUP BY ?r } . FILTER ( ?p = 2 ) }
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?r WHERE { { ?r property:official_language ?c . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:classification_scheme } UNION { ?r property:official_language ?c . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:language } } GROUP BY ?r } . FILTER ( ?p = 2 ) }
[]
language classification scheme designation for an administrative territorial entity
Q29 Q750
SYSTEM
Spain, Bolivia
Q29 Q750
(c(Q15617994),P37,c(Q34770)|c(Q5962346))
action approx
action union
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action find_tuple_counts
relation P37
type Q15617994
type Q5962346
value 2
[ANSWERS] designate around 2 languages or classification schemes as their official language
[{'concept': 'Q15617994'}, 'P37', [{'concept': 'Q34770'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?r WHERE { { ?r property:P37 ?c . ?r rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q5962346 } UNION { ?r property:P37 ?c . ?r rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q34770 } } GROUP BY ?r } . FILTER ( ?p = 2 ) }
Spain Bolivia
Spain and Bolivia designate around 2 languages or classification schemes as their official language
Spain Bolivia
action approx
action union
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type classification scheme
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'official language', [{'concept': 'language'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) ?r WHERE { { ?r property:official_language ?c . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:classification_scheme } UNION { ?r property:official_language ?c . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:language } } GROUP BY ?r } . FILTER ( ?p = 2 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q424
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with around the same number of administrative territories as Cambodia ?
(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 Q424
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:P530 ?u . ?f rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q424 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?i = ?c ) }
Cambodia
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 Cambodia
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 ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:diplomatic_relation ?u . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Cambodia property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i = ?c ) }
[]
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 Q424
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with around the same number of administrative territories as Cambodia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:P530 ?u . ?f rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Q424 property:P530 ?q . ?q rdf:type ontology:Q15617994 } } . FILTER ( ?i = ?c ) }
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 and Poland have diplomatic relationships with around the same number of administrative territories as Cambodia
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 Cambodia
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 ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?f ) AS ?i ) WHERE { ?f property:diplomatic_relation ?u . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { resource:Cambodia property:diplomatic_relation ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i = ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q414
P530
Q15617994 Q15617994
USER
And also tell me about Argentina?
(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 Q414
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Q414 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?n ) }
Argentina
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 Argentina
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 ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Argentina property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?n ) }
[]
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 Q414
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Q414 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?n ) }
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 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 Argentina
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 ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?n ) WHERE { resource:Argentina property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?n ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q230 Q55 Q36
P6
Q502895
USER
Which people are the head of government of Georgia, Netherlands and Poland ?
(Q230,P6,c(Q502895)) (Q55,P6,c(Q502895)) (Q36,P6,c(Q502895))
action union
action filter_type
action find
entity Q230
relation P6
type Q502895
action filter_type
action find
entity Q55
relation P6
type Q502895
action filter_type
action find
entity Q36
relation P6
type Q502895
['Q230', 'P6', {'concept': 'Q502895'}] ['Q55', 'P6', {'concept': 'Q502895'}] ['Q36', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q502895 . resource:Q230 property:P6 ?i } UNION { resource:Q55 property:P6 ?i . ?i rdf:type ontology:Q502895 } }
Georgia Netherlands Poland
action union
action filter_type
action find
entity Georgia
relation head of government
type common name
action filter_type
action find
entity Netherlands
relation head of government
type common name
action filter_type
action find
entity Poland
relation head of government
type common name
['Georgia', 'head of government', {'concept': 'common name'}] ['Netherlands', 'head of government', {'concept': 'common name'}] ['Poland', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:common_name . resource:Georgia property:head_of_government ?i } UNION { resource:Netherlands property:head_of_government ?i . ?i rdf:type ontology:common_name } }
[]
common name
Q159840 Q345481 Q380970
SYSTEM
Ruud Lubbers, Piet de Jong, Jelle Zijlstra
Q57794 Q6066533 Q15277881 Q693053 Q686476 Q159840 Q133386 Q57792 Q345481 Q471204 Q983186 Q380970 Q951705 Q781813 Q736026 Q221411 Q634025 Q719701 Q735519 Q318320 Q318334 Q12769 Q246216 Q946 Q4877021 Q55917
(Q230,P6,c(Q502895)) (Q55,P6,c(Q502895)) (Q36,P6,c(Q502895))
action union
action filter_type
action find
entity Q230
relation P6
type Q502895
action filter_type
action find
entity Q55
relation P6
type Q502895
action filter_type
action find
entity Q36
relation P6
type Q502895
[ANSWERS] are the head of government of Georgia, Netherlands and Poland
['Q230', 'P6', {'concept': 'Q502895'}] ['Q55', 'P6', {'concept': 'Q502895'}] ['Q36', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q502895 . resource:Q230 property:P6 ?i } UNION { resource:Q55 property:P6 ?i . ?i rdf:type ontology:Q502895 } }
Bidzina Ivanishvili Irakli Gharibashvili Giorgi Kvirikashvili Dirk Jan de Geer Hendrikus Colijn Ruud Lubbers Jan Peter Balkenende Mark Rutte Piet de Jong Barend Biesheuvel Charles Ruijs de Beerenbrouck Jelle Zijlstra Pieter Sjoerds Gerbrandy Jan de Quay Jo Cals Wim Kok Wim Schermerhorn Victor Marijnen Louis Beel Joop den Uyl Dries van Agt Willem Drees Ewa Kopacz Donald Tusk Beata Szydło Jarosław Kaczyński
Ruud Lubbers, Piet de Jong and Jelle Zijlstra are the head of government of Georgia, Netherlands and Poland
Ruud Lubbers Piet de Jong Jelle Zijlstra
action union
action filter_type
action find
entity Georgia
relation head of government
type common name
action filter_type
action find
entity Netherlands
relation head of government
type common name
action filter_type
action find
entity Poland
relation head of government
type common name
['Georgia', 'head of government', {'concept': 'common name'}] ['Netherlands', 'head of government', {'concept': 'common name'}] ['Poland', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:common_name . resource:Georgia property:head_of_government ?i } UNION { resource:Netherlands property:head_of_government ?i . ?i rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q159840
P991
Q2533468
USER
Where were that person elected successfully from ?
(c(Q2533468),P991,Q159840)
action filter_type
action find_reverse
entity Q159840
relation P991
type Q2533468
[{'concept': 'Q2533468'}, 'P991', 'Q159840']
SELECT DISTINCT ?f WHERE { ?f property:P991 resource:Q159840 . ?f rdf:type ontology:Q2533468 }
Ruud Lubbers
action filter_type
action find_reverse
entity Ruud Lubbers
relation successful candidate
type elections in the Netherlands
[{'concept': 'elections in the Netherlands'}, 'successful candidate', 'Ruud Lubbers']
SELECT DISTINCT ?f WHERE { ?f property:successful_candidate resource:Ruud_Lubbers . ?f rdf:type ontology:elections_in_the_Netherlands }
[]
elections in the Netherlands
Clarification for simple ques.
Q380970
SYSTEM
Did you mean Jelle Zijlstra ?
Q159840 Q345481 Q380970
(c(Q2533468),P991,Q159840) (c(Q2533468),P991,Q345481) (c(Q2533468),P991,Q380970)
[ANSWER]
[{'concept': 'Q2533468'}, 'P991', 'Q159840'] [{'concept': 'Q2533468'}, 'P991', 'Q345481'] [{'concept': 'Q2533468'}, 'P991', 'Q380970']
SELECT DISTINCT ?f WHERE { ?f property:P991 resource:Q159840 . ?f rdf:type ontology:Q2533468 }
Ruud Lubbers Piet de Jong Jelle Zijlstra
Did you mean Jelle Zijlstra ?
Jelle Zijlstra
[{'concept': 'elections in the Netherlands'}, 'successful candidate', 'Ruud Lubbers'] [{'concept': 'elections in the Netherlands'}, 'successful candidate', 'Piet de Jong'] [{'concept': 'elections in the Netherlands'}, 'successful candidate', 'Jelle Zijlstra']
SELECT DISTINCT ?f WHERE { ?f property:successful_candidate resource:Ruud_Lubbers . ?f rdf:type ontology:elections_in_the_Netherlands }
[]
Simple Question (Coreferenced)
USER
No, I meant Ruud Lubbers. Could you tell me the answer for that?
(c(Q2533468),P991,Q159840)
Q159840
[{'concept': 'Q2533468'}, 'P991', 'Q159840']
[{'concept': 'elections in the Netherlands'}, 'successful candidate', 'Ruud Lubbers']
[]
Q2477649 Q2597635 Q2607395
SYSTEM
Dutch general election, 1989, Dutch general election, 1982, Dutch general election, 1986
Q2477649 Q2597635 Q2607395
(c(Q2533468),P991,Q159840)
action filter_type
action find_reverse
entity Q159840
relation P991
type Q2533468
[ANSWERS]
[{'concept': 'Q2533468'}, 'P991', 'Q159840']
SELECT DISTINCT ?f WHERE { ?f property:P991 resource:Q159840 . ?f rdf:type ontology:Q2533468 }
Dutch general election, 1989 Dutch general election, 1982 Dutch general election, 1986
Successfully that person were elected from the Dutch general election, 1989, Dutch general election, 1982 and Dutch general election, 1986
Dutch general election, 1989 Dutch general election, 1982 Dutch general election, 1986
action filter_type
action find_reverse
entity Ruud Lubbers
relation successful candidate
type elections in the Netherlands
[{'concept': 'elections in the Netherlands'}, 'successful candidate', 'Ruud Lubbers']
SELECT DISTINCT ?f WHERE { ?f property:successful_candidate resource:Ruud_Lubbers . ?f rdf:type ontology:elections_in_the_Netherlands }
[]