Simple Question (Direct)
Simple Question
Q3435081
P26
Q502895
USER
Which person is married to Robert Fatou ?
(Q3435081,P26,c(Q502895))
action filter_type
action find
entity Q3435081
relation P26
type Q502895
['Q3435081', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3435081 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Robert Fatou
action filter_type
action find
entity Robert Fatou
relation spouse
type common name
['Robert Fatou', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Robert_Fatou property:spouse ?a . ?a rdf:type ontology:common_name }
[]
common name
Q20202210
SYSTEM
Maïté de Guiroye
Q20202210
(Q3435081,P26,c(Q502895))
action filter_type
action find
entity Q3435081
relation P26
type Q502895
[ANSWER] is married to Robert Fatou
['Q3435081', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3435081 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Maïté de Guiroye
Maïté de Guiroye is married to Robert Fatou
Maïté de Guiroye
action filter_type
action find
entity Robert Fatou
relation spouse
type common name
['Robert Fatou', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Robert_Fatou property:spouse ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3435081
P22
Q502895
USER
Who is the offspring of Robert Fatou ?
(c(Q502895),P22,Q3435081)
action filter_type
action find_reverse
entity Q3435081
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q3435081']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P22 resource:Q3435081 }
Robert Fatou
action filter_type
action find_reverse
entity Robert Fatou
relation father
type common name
[{'concept': 'common name'}, 'father', 'Robert Fatou']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:father resource:Robert_Fatou }
[]
common name
Q20202217
SYSTEM
Bertrand Fatou
Q20202217
(c(Q502895),P22,Q3435081)
action filter_type
action find_reverse
entity Q3435081
relation P22
type Q502895
The offspring of Robert Fatou is the [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q3435081']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P22 resource:Q3435081 }
Bertrand Fatou
The offspring of Robert Fatou is the Bertrand Fatou
Bertrand Fatou
action filter_type
action find_reverse
entity Robert Fatou
relation father
type common name
[{'concept': 'common name'}, 'father', 'Robert Fatou']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:father resource:Robert_Fatou }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20202217
P21
Q290
USER
Which sex does that person possess ?
(Q20202217,P21,c(Q290))
action filter_type
action find
entity Q20202217
relation P21
type Q290
['Q20202217', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q20202217 property:P21 ?g . ?g rdf:type ontology:Q290 }
Bertrand Fatou
action filter_type
action find
entity Bertrand Fatou
relation gender
type sex
['Bertrand Fatou', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Bertrand_Fatou property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20202217,P21,c(Q290))
action filter_type
action find
entity Q20202217
relation P21
type Q290
That person possesses a [ANSWER]
['Q20202217', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q20202217 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Bertrand Fatou
relation gender
type sex
['Bertrand Fatou', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Bertrand_Fatou property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20202217
P25
Q502895
USER
Who was the mother of Bertrand Fatou ?
(Q20202217,P25,c(Q502895))
action filter_type
action find
entity Q20202217
relation P25
type Q502895
['Q20202217', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q20202217 property:P25 ?y . ?y rdf:type ontology:Q502895 }
Bertrand Fatou
action filter_type
action find
entity Bertrand Fatou
relation mother
type common name
['Bertrand Fatou', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Bertrand_Fatou property:mother ?y . ?y rdf:type ontology:common_name }
[]
common name
Q20202210
SYSTEM
Maïté de Guiroye
Q20202210
(Q20202217,P25,c(Q502895))
action filter_type
action find
entity Q20202217
relation P25
type Q502895
The mother of Bertrand Fatou was called [ANSWER]
['Q20202217', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q20202217 property:P25 ?y . ?y rdf:type ontology:Q502895 }
Maïté de Guiroye
The mother of Bertrand Fatou was called Maïté de Guiroye
Maïté de Guiroye
action filter_type
action find
entity Bertrand Fatou
relation mother
type common name
['Bertrand Fatou', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Bertrand_Fatou property:mother ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q25310
Q502895
USER
And what about Robert F. Kennedy?
(Q25310,P25,c(Q502895))
action filter_type
action find
entity Q25310
relation P25
type Q502895
['Q25310', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q25310 property:P25 ?l . ?l rdf:type ontology:Q502895 }
Robert F. Kennedy
action filter_type
action find
entity Robert F. Kennedy
relation mother
type common name
['Robert F. Kennedy', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Robert_F._Kennedy property:mother ?l . ?l rdf:type ontology:common_name }
[]
common name
Q236540
SYSTEM
Rose Kennedy
Q236540
(Q25310,P25,c(Q502895))
action filter_type
action find
entity Q25310
relation P25
type Q502895
[ANSWER]
['Q25310', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q25310 property:P25 ?l . ?l rdf:type ontology:Q502895 }
Rose Kennedy
Rose Kennedy
action filter_type
action find
entity Robert F. Kennedy
relation mother
type common name
['Robert F. Kennedy', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Robert_F._Kennedy property:mother ?l . ?l rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q236540 Q134549
P40
Q502895
USER
Is Ted Kennedy a successor of that one ?
(Q236540,P40,Q134549)
action is_in
entity Q134549
action find
entity Q236540
relation P40
['Q236540', 'P40', 'Q134549']
ASK WHERE { resource:Q236540 property:P40 resource:Q134549 }
Rose Kennedy Ted Kennedy
action is_in
entity Ted Kennedy
action find
entity Rose Kennedy
relation child
['Rose Kennedy', 'child', 'Ted Kennedy']
ASK WHERE { resource:Rose_Kennedy property:child resource:Ted_Kennedy }
[]
common name
SYSTEM
YES
(Q236540,P40,Q134549)
action is_in
entity Q134549
action find
entity Q236540
relation P40
[ANSWER]
['Q236540', 'P40', 'Q134549']
ASK WHERE { resource:Q236540 property:P40 resource:Q134549 }
Yes
action is_in
entity Ted Kennedy
action find
entity Rose Kennedy
relation child
['Rose Kennedy', 'child', 'Ted Kennedy']
ASK WHERE { resource:Rose_Kennedy property:child resource:Ted_Kennedy }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q20202210 Q142 Q635151
P27
Q15617994
USER
Is Maïté de Guiroye a native of France and Christinenthal ?
(Q20202210,P27,Q142) (Q20202210,P27,Q635151)
action is_in
entity Q20202210
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q635151
relation P27
['Q20202210', 'P27', 'Q142'] ['Q20202210', 'P27', 'Q635151']
ASK WHERE { resource:Q20202210 property:P27 resource:Q142 . resource:Q20202210 property:P27 resource:Q635151 }
Maïté de Guiroye France Christinenthal
action is_in
entity Maïté de Guiroye
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Christinenthal
relation country of citizenship
['Maïté de Guiroye', 'country of citizenship', 'France'] ['Maïté de Guiroye', 'country of citizenship', 'Christinenthal']
ASK WHERE { resource:Maïté_de_Guiroye property:country_of_citizenship resource:France . resource:Maïté_de_Guiroye property:country_of_citizenship resource:Christinenthal }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q20202210,P27,Q142) (Q20202210,P27,Q635151)
action is_in
entity Q20202210
action intersection
action find_reverse
entity Q142
relation P27
action find_reverse
entity Q635151
relation P27
[ANSWER]
['Q20202210', 'P27', 'Q142'] ['Q20202210', 'P27', 'Q635151']
ASK WHERE { resource:Q20202210 property:P27 resource:Q142 . resource:Q20202210 property:P27 resource:Q635151 }
YES and NO respectively
action is_in
entity Maïté de Guiroye
action intersection
action find_reverse
entity France
relation country of citizenship
action find_reverse
entity Christinenthal
relation country of citizenship
['Maïté de Guiroye', 'country of citizenship', 'France'] ['Maïté de Guiroye', 'country of citizenship', 'Christinenthal']
ASK WHERE { resource:Maïté_de_Guiroye property:country_of_citizenship resource:France . resource:Maïté_de_Guiroye property:country_of_citizenship resource:Christinenthal }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20202210
P119
Q20667921
USER
Where is the place of burial for that person located ?
action filter_type
action find
entity Q20202210
relation P119
type Q20667921
SELECT DISTINCT ?w WHERE { resource:Q20202210 property:P119 ?w . ?w rdf:type ontology:Q20667921 }
Maïté de Guiroye
action filter_type
action find
entity Maïté de Guiroye
relation place of burial
type type of french administrative division
SELECT DISTINCT ?w WHERE { resource:Maïté_de_Guiroye property:place_of_burial ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q131600
SYSTEM
Dinard
Q131600
action filter_type
action find
entity Q20202210
relation P119
type Q20667921
[ANSWER] is the place of burial for that person located
SELECT DISTINCT ?w WHERE { resource:Q20202210 property:P119 ?w . ?w rdf:type ontology:Q20667921 }
Dinard
Dinard is the place of burial for that person located
Dinard
action filter_type
action find
entity Maïté de Guiroye
relation place of burial
type type of french administrative division
SELECT DISTINCT ?w WHERE { resource:Maïté_de_Guiroye property:place_of_burial ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q1048835 Q20667921
USER
How many political territories have atleast 1 french administrative division have their center of administration ?
(c(Q20667921),P1376,c(Q1048835))
action count
action atleast
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
value 1
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:P1376 ?e . ?t rdf:type ontology:Q20667921 . ?e rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?v >= 1 ) }
action count
action atleast
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
value 1
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:capital_of ?e . ?t rdf:type ontology:type_of_french_administrative_division . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?v >= 1 ) }
[]
political territorial entity type of french administrative division
SYSTEM
6
Q1122980 Q2485101 Q34617 Q642314 Q1232887 Q778266
(c(Q20667921),P1376,c(Q1048835))
action count
action atleast
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q20667921
value 1
[ANSWER]
[{'concept': 'Q20667921'}, 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:P1376 ?e . ?t rdf:type ontology:Q20667921 . ?e rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?v >= 1 ) }
Comtat Venaissin County of Chiny Saint Pierre and Miquelon County of Burgundy County of Savoy County of Artois
6
action count
action atleast
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type type of french administrative division
value 1
[{'concept': 'type of french administrative division'}, 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?v ) WHERE { ?t property:capital_of ?e . ?t rdf:type ontology:type_of_french_administrative_division . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?v >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131600
P36
Q20667921
USER
Which french administrative division contains Dinard as its capital ?
(c(Q20667921),P36,Q131600)
action filter_type
action find_reverse
entity Q131600
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q131600']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q131600 . ?b rdf:type ontology:Q20667921 }
Dinard
action filter_type
action find_reverse
entity Dinard
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Dinard']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Dinard . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1725157
SYSTEM
canton of Dinard
Q1725157
(c(Q20667921),P36,Q131600)
action filter_type
action find_reverse
entity Q131600
relation P36
type Q20667921
The [ANSWER] contains Dinard as its capital
[{'concept': 'Q20667921'}, 'P36', 'Q131600']
SELECT DISTINCT ?b WHERE { ?b property:P36 resource:Q131600 . ?b rdf:type ontology:Q20667921 }
canton of Dinard
The canton of Dinard contains Dinard as its capital
canton of Dinard
action filter_type
action find_reverse
entity Dinard
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Dinard']
SELECT DISTINCT ?b WHERE { ?b property:capital resource:Dinard . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1725157
P17
Q15617994
USER
Which administrative territory is that french administrative division present in ?
(Q1725157,P17,c(Q15617994))
action filter_type
action find
entity Q1725157
relation P17
type Q15617994
['Q1725157', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q1725157 property:P17 ?l }
canton of Dinard
action filter_type
action find
entity canton of Dinard
relation country
type designation for an administrative territorial entity
['canton of Dinard', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:canton_of_Dinard property:country ?l }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1725157,P17,c(Q15617994))
action filter_type
action find
entity Q1725157
relation P17
type Q15617994
That french administrative division is in [ANSWER]
['Q1725157', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q1725157 property:P17 ?l }
France
That french administrative division is in France
France
action filter_type
action find
entity canton of Dinard
relation country
type designation for an administrative territorial entity
['canton of Dinard', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:canton_of_Dinard property:country ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q913295
Q15617994
USER
And also tell me about Fortezza da Basso?
(Q913295,P17,c(Q15617994))
action filter_type
action find
entity Q913295
relation P17
type Q15617994
['Q913295', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q913295 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Fortezza da Basso
action filter_type
action find
entity Fortezza da Basso
relation country
type designation for an administrative territorial entity
['Fortezza da Basso', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Fortezza_da_Basso property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q913295,P17,c(Q15617994))
action filter_type
action find
entity Q913295
relation P17
type Q15617994
[ANSWER]
['Q913295', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q913295 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Italy
Italy
action filter_type
action find
entity Fortezza da Basso
relation country
type designation for an administrative territorial entity
['Fortezza da Basso', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Fortezza_da_Basso property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q963
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with less number of administrative territories than Botswana ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q963
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?s property:P530 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { ?d rdf:type ontology:Q15617994 . ?d property:P530 resource:Q963 } } . FILTER ( ?j < ?h ) }
Botswana
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Botswana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation resource:Botswana } } . FILTER ( ?j < ?h ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
64
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q963
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 . ?s property:P530 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { ?d rdf:type ontology:Q15617994 . ?d property:P530 resource:Q963 } } . FILTER ( ?j < ?h ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
64
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Botswana
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s property:diplomatic_relation ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation resource:Botswana } } . FILTER ( ?j < ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q131600
P47
Q20667921
USER
Who share the border with Dinard ?
(Q131600,P47,c(Q20667921))
action filter_type
action find
entity Q131600
relation P47
type Q20667921
['Q131600', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q20667921 . resource:Q131600 property:P47 ?b }
Dinard
action filter_type
action find
entity Dinard
relation shares border with
type type of french administrative division
['Dinard', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_french_administrative_division . resource:Dinard property:shares_border_with ?b }
[]
type of french administrative division
Q598335 Q1011112 Q227529
SYSTEM
Pleurtuit, Saint-Lunaire, La Richardais
Q598335 Q1011112 Q227529
(Q131600,P47,c(Q20667921))
action filter_type
action find
entity Q131600
relation P47
type Q20667921
[ANSWERS] share the border with Dinard
['Q131600', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q20667921 . resource:Q131600 property:P47 ?b }
Pleurtuit Saint-Lunaire La Richardais
Pleurtuit, Saint-Lunaire and La Richardais share the border with Dinard
Pleurtuit Saint-Lunaire La Richardais
action filter_type
action find
entity Dinard
relation shares border with
type type of french administrative division
['Dinard', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_french_administrative_division . resource:Dinard property:shares_border_with ?b }
[]