Simple Question (Direct)
Simple Question
Q3371937
P19
Q56061
USER
Which administrative territory is the birthplace of Paul Orsatti ?
(Q3371937,P19,c(Q56061))
action filter_type
action find
entity Q3371937
relation P19
type Q56061
['Q3371937', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3371937 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Paul Orsatti
action filter_type
action find
entity Paul Orsatti
relation place of birth
type administrative territorial entity
['Paul Orsatti', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Paul_Orsatti property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q40104
SYSTEM
Ajaccio
Q40104
(Q3371937,P19,c(Q56061))
action filter_type
action find
entity Q3371937
relation P19
type Q56061
[ANSWER] is the birthplace of Paul Orsatti
['Q3371937', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q3371937 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Ajaccio
Ajaccio is the birthplace of Paul Orsatti
Ajaccio
action filter_type
action find
entity Paul Orsatti
relation place of birth
type administrative territorial entity
['Paul Orsatti', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Paul_Orsatti property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40104
P36
Q15617994
USER
Which administrative territories consists of that administrative territory as their capital ?
(c(Q15617994),P36,Q40104)
action filter_type
action find_reverse
entity Q40104
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q40104']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . ?c property:P36 resource:Q40104 }
Ajaccio
action filter_type
action find_reverse
entity Ajaccio
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Ajaccio']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:capital resource:Ajaccio }
[]
designation for an administrative territorial entity
Q2310748 Q3336 Q27495866
SYSTEM
Liamone, Corse-du-Sud, Corse
Q2310748 Q3336 Q27495866
(c(Q15617994),P36,Q40104)
action filter_type
action find_reverse
entity Q40104
relation P36
type Q15617994
[ANSWERS] consist of that administrative territory as their capital
[{'concept': 'Q15617994'}, 'P36', 'Q40104']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . ?c property:P36 resource:Q40104 }
Liamone Corse-du-Sud Corse
Liamone, Corse-du-Sud and Corse consist of that administrative territory as their capital
Liamone Corse-du-Sud Corse
action filter_type
action find_reverse
entity Ajaccio
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Ajaccio']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:capital resource:Ajaccio }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40104
P47
Q20667921
USER
Which french administrative divisions are adjacent to Ajaccio ?
(Q40104,P47,c(Q20667921))
action filter_type
action find
entity Q40104
relation P47
type Q20667921
['Q40104', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { resource:Q40104 property:P47 ?u . ?u rdf:type ontology:Q20667921 }
Ajaccio
action filter_type
action find
entity Ajaccio
relation shares border with
type type of french administrative division
['Ajaccio', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { resource:Ajaccio property:shares_border_with ?u . ?u rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q933515 Q1087803 Q1060249
SYSTEM
Sarrola-Carcopino, Bastelicaccia, Grosseto-Prugna
Q1087803 Q933515 Q382023 Q1060249 Q1087700 Q748203
(Q40104,P47,c(Q20667921))
action filter_type
action find
entity Q40104
relation P47
type Q20667921
[ANSWERS] are adjacent to Ajaccio
['Q40104', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?u WHERE { resource:Q40104 property:P47 ?u . ?u rdf:type ontology:Q20667921 }
Bastelicaccia Sarrola-Carcopino Afa Grosseto-Prugna Alata Villanova
Sarrola-Carcopino, Bastelicaccia and Grosseto-Prugna are adjacent to Ajaccio
Sarrola-Carcopino Bastelicaccia Grosseto-Prugna
action filter_type
action find
entity Ajaccio
relation shares border with
type type of french administrative division
['Ajaccio', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?u WHERE { resource:Ajaccio property:shares_border_with ?u . ?u rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q204167
Q20667921
USER
And how about Andert-et-Condon?
(Q204167,P47,c(Q20667921))
action filter_type
action find
entity Q204167
relation P47
type Q20667921
['Q204167', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q204167 property:P47 ?b . ?b rdf:type ontology:Q20667921 }
Andert-et-Condon
action filter_type
action find
entity Andert-et-Condon
relation shares border with
type type of french administrative division
['Andert-et-Condon', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Andert-et-Condon property:shares_border_with ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q188496 Q21619395 Q515730
SYSTEM
Belley, Arboys-en-Bugey, Saint-Germain-les-Paroisses
Q21619395 Q739588 Q739814 Q515730 Q204156 Q212643 Q188496
(Q204167,P47,c(Q20667921))
action filter_type
action find
entity Q204167
relation P47
type Q20667921
[ANSWERS]
['Q204167', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q204167 property:P47 ?b . ?b rdf:type ontology:Q20667921 }
Arboys-en-Bugey Pugieu Contrevoz Saint-Germain-les-Paroisses Arbignieu Chazey-Bons Belley
Belley Arboys-en-Bugey Saint-Germain-les-Paroisses
action filter_type
action find
entity Andert-et-Condon
relation shares border with
type type of french administrative division
['Andert-et-Condon', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Andert-et-Condon property:shares_border_with ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q884
P530
Q15617994 Q1048835 Q15617994
USER
Which administrative territories have diplomatic relations with around the same number of political territories and administrative territories as South Korea ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q884
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } UNION { ?z property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P530 resource:Q884 . { { ?c rdf:type ontology:Q1048835 } UNION { ?c rdf:type ontology:Q15617994 } } } } . FILTER ( ?f = ?x ) }
South Korea
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find_reverse
entity South Korea
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } UNION { ?z property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:diplomatic_relation resource:South_Korea . { { ?c rdf:type ontology:political_territorial_entity } UNION { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?f = ?x ) }
[]
designation for an administrative territorial entity political 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(Q1048835)|c(Q15617994),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q884
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relations with around the same number of political territories and administrative territories as South Korea
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } UNION { ?z property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P530 resource:Q884 . { { ?c rdf:type ontology:Q1048835 } UNION { ?c rdf:type ontology:Q15617994 } } } } . FILTER ( ?f = ?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
Georgia, Netherlands and Poland have diplomatic relations with around the same number of political territories and administrative territories as South Korea
Georgia Netherlands Poland
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find_reverse
entity South Korea
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?f ) WHERE { { ?z property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } UNION { ?z property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:diplomatic_relation resource:South_Korea . { { ?c rdf:type ontology:political_territorial_entity } UNION { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?f = ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q29999
P530
Q15617994 Q1048835 Q15617994
USER
And how about Kingdom of the Netherlands?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q29999
relation P530
type Q1048835
type Q15617994
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?t ) WHERE { { ?e rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 . ?e property:P530 ?x } UNION { ?e property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P530 resource:Q29999 . { { ?s rdf:type ontology:Q1048835 } UNION { ?s rdf:type ontology:Q15617994 } } } } . FILTER ( ?t = ?v ) }
Kingdom of the Netherlands
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find_reverse
entity Kingdom of the Netherlands
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?t ) WHERE { { ?e rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?x } UNION { ?e property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:diplomatic_relation resource:Kingdom_of_the_Netherlands . { { ?s rdf:type ontology:political_territorial_entity } UNION { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?t = ?v ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 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
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find_reverse
entity Q29999
relation P530
type Q1048835
type Q15617994
[ANSWERS]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?t ) WHERE { { ?e rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 . ?e property:P530 ?x } UNION { ?e property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P530 resource:Q29999 . { { ?s rdf:type ontology:Q1048835 } UNION { ?s rdf:type ontology:Q15617994 } } } } . FILTER ( ?t = ?v ) }
Federated States of Micronesia Panama Costa Rica Peru 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
Georgia Netherlands Poland
action approx
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find_reverse
entity Kingdom of the Netherlands
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?t ) WHERE { { ?e rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?x } UNION { ?e property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:diplomatic_relation resource:Kingdom_of_the_Netherlands . { { ?s rdf:type ontology:political_territorial_entity } UNION { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?t = ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q188496
P47
Q20667921
USER
How many french administrative divisions are bordered by Belley ?
(Q188496,P47,c(Q20667921))
action count
action filter_type
action find
entity Q188496
relation P47
type Q20667921
['Q188496', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Q188496 property:P47 ?g . ?g rdf:type ontology:Q20667921 }
Belley
action count
action filter_type
action find
entity Belley
relation shares border with
type type of french administrative division
['Belley', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Belley property:shares_border_with ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
9
Q21936595 Q211128 Q21619395 Q204167 Q741868 Q204156 Q540343 Q212643 Q744275
(Q188496,P47,c(Q20667921))
action count
action filter_type
action find
entity Q188496
relation P47
type Q20667921
[ANSWER]
['Q188496', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Q188496 property:P47 ?g . ?g rdf:type ontology:Q20667921 }
Parves-et-Nattages Brens Arboys-en-Bugey Andert-et-Condon Parves Arbignieu Magnieu Chazey-Bons Virignin
9
action count
action filter_type
action find
entity Belley
relation shares border with
type type of french administrative division
['Belley', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { resource:Belley property:shares_border_with ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q973786
P47
Q20667921
USER
And how about Rouellé?
(Q973786,P47,c(Q20667921))
action count
action filter_type
action find
entity Q973786
relation P47
type Q20667921
['Q973786', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q973786 property:P47 ?i . ?i rdf:type ontology:Q20667921 }
Rouellé
action count
action filter_type
action find
entity Rouellé
relation shares border with
type type of french administrative division
['Rouellé', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Rouellé property:shares_border_with ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
4
Q1347375 Q1409172 Q782779 Q1095070
(Q973786,P47,c(Q20667921))
action count
action filter_type
action find
entity Q973786
relation P47
type Q20667921
[ANSWER]
['Q973786', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q973786 property:P47 ?i . ?i rdf:type ontology:Q20667921 }
Lonlay-l'Abbaye Saint-Roch-sur-Égrenne Saint-Georges-de-Rouelley La Haute-Chapelle
4
action count
action filter_type
action find
entity Rouellé
relation shares border with
type type of french administrative division
['Rouellé', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Rouellé property:shares_border_with ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1155704
Q20667921
USER
And how about La Postolle?
(Q1155704,P47,c(Q20667921))
action count
action filter_type
action find
entity Q1155704
relation P47
type Q20667921
['Q1155704', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:Q1155704 property:P47 ?h . ?h rdf:type ontology:Q20667921 }
La Postolle
action count
action filter_type
action find
entity La Postolle
relation shares border with
type type of french administrative division
['La Postolle', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:La_Postolle property:shares_border_with ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
5
(Q1155704,P47,c(Q20667921))
action count
action filter_type
action find
entity Q1155704
relation P47
type Q20667921
[ANSWER]
['Q1155704', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:Q1155704 property:P47 ?h . ?h rdf:type ontology:Q20667921 }
5
action count
action filter_type
action find
entity La Postolle
relation shares border with
type type of french administrative division
['La Postolle', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { resource:La_Postolle property:shares_border_with ?h . ?h rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1155704
P119
Q502895
USER
Which person has La Postolle as resting place ?
(c(Q502895),P119,Q1155704)
action filter_type
action find_reverse
entity Q1155704
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q1155704']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P119 resource:Q1155704 }
La Postolle
action filter_type
action find_reverse
entity La Postolle
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'La Postolle']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_burial resource:La_Postolle }
[]
common name
Q3123683
SYSTEM
Géraldine Gassler
Q3123683
(c(Q502895),P119,Q1155704)
action filter_type
action find_reverse
entity Q1155704
relation P119
type Q502895
[ANSWER] has La Postolle as resting place
[{'concept': 'Q502895'}, 'P119', 'Q1155704']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P119 resource:Q1155704 }
Géraldine Gassler
Géraldine Gassler has La Postolle as resting place
Géraldine Gassler
action filter_type
action find_reverse
entity La Postolle
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'La Postolle']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:place_of_burial resource:La_Postolle }
[]