Simple Question (Direct)
Simple Question
Q3034952
P166
Q618779
USER
Which award was received by Dominique Autié ?
(Q3034952,P166,c(Q618779))
action filter_type
action find
entity Q3034952
relation P166
type Q618779
['Q3034952', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q3034952 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Dominique Autié
action filter_type
action find
entity Dominique Autié
relation award received
type award
['Dominique Autié', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Dominique_Autié property:award_received ?z . ?z rdf:type ontology:award }
[]
award
Q3404419
SYSTEM
Broquette-Gonin prize
Q3404419
(Q3034952,P166,c(Q618779))
action filter_type
action find
entity Q3034952
relation P166
type Q618779
[ANSWER] was received by Dominique Autié
['Q3034952', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q3034952 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Broquette-Gonin prize
Broquette-Gonin prize was received by Dominique Autié
Broquette-Gonin prize
action filter_type
action find
entity Dominique Autié
relation award received
type award
['Dominique Autié', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Dominique_Autié property:award_received ?z . ?z rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3034952
P20
Q56061
USER
Where did the demise of Dominique Autié occur ?
(Q3034952,P20,c(Q56061))
action filter_type
action find
entity Q3034952
relation P20
type Q56061
['Q3034952', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3034952 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Dominique Autié
action filter_type
action find
entity Dominique Autié
relation place of death
type administrative territorial entity
['Dominique Autié', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Dominique_Autié property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7880
SYSTEM
Toulouse
Q7880
(Q3034952,P20,c(Q56061))
action filter_type
action find
entity Q3034952
relation P20
type Q56061
The demise of Dominique Autié occurred in [ANSWER]
['Q3034952', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q3034952 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Toulouse
The demise of Dominique Autié occurred in Toulouse
Toulouse
action filter_type
action find
entity Dominique Autié
relation place of death
type administrative territorial entity
['Dominique Autié', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Dominique_Autié property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3034952
P21
Q290
USER
Which sex does that person have ?
(Q7880,P21,c(Q290))
action filter_type
action find
entity Q3034952
relation P21
type Q290
['Q7880', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3034952 property:P21 ?u . ?u rdf:type ontology:Q290 }
Dominique Autié
action filter_type
action find
entity Dominique Autié
relation gender
type sex
['Toulouse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Dominique_Autié property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7880,P21,c(Q290))
action filter_type
action find
entity Q3034952
relation P21
type Q290
That person has a [ANSWER]
['Q7880', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q3034952 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Dominique Autié
relation gender
type sex
['Toulouse', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Dominique_Autié property:gender ?u . ?u rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q1442493
P21
Q502895
USER
Is Francky Sembolo a that sex ?
(Q1442493,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1442493
relation P21
['Q1442493', 'P21', 'Q6581097']
ASK WHERE { resource:Q1442493 property:P21 resource:Q6581097 }
male Francky Sembolo
action is_in
entity male
action find
entity Francky Sembolo
relation gender
['Francky Sembolo', 'gender', 'male']
ASK WHERE { resource:Francky_Sembolo property:gender resource:male }
[]
common name
SYSTEM
YES
(Q1442493,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q1442493
relation P21
[ANSWER]
['Q1442493', 'P21', 'Q6581097']
ASK WHERE { resource:Q1442493 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Francky Sembolo
relation gender
['Francky Sembolo', 'gender', 'male']
ASK WHERE { resource:Francky_Sembolo property:gender resource:male }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7880
P47
Q20667921
USER
Which french administrative divisions share border with Toulouse ?
(Q7880,P47,c(Q20667921))
action filter_type
action find
entity Q7880
relation P47
type Q20667921
['Q7880', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q7880 property:P47 ?d . ?d rdf:type ontology:Q20667921 }
Toulouse
action filter_type
action find
entity Toulouse
relation shares border with
type type of french administrative division
['Toulouse', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Toulouse property:shares_border_with ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1371171 Q271068 Q204937
SYSTEM
Portet-sur-Garonne, Blagnac, Fenouillet
Q1345048 Q328022 Q1371171 Q524043 Q1344983 Q271068 Q1467149 Q204937 Q844996 Q1047171 Q1428306 Q1418996 Q318071 Q632107 Q1440905 Q1429082
(Q7880,P47,c(Q20667921))
action filter_type
action find
entity Q7880
relation P47
type Q20667921
[ANSWERS] share border with Toulouse
['Q7880', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q7880 property:P47 ?d . ?d rdf:type ontology:Q20667921 }
Quint-Fonsegrives Tournefeuille Portet-sur-Garonne Launaguet Aucamville Blagnac Labège Fenouillet Vieille-Toulouse Balma Pechbusque L'Union Colomiers Cugnaux Ramonville-Saint-Agne Saint-Orens-de-Gameville
Portet-sur-Garonne, Blagnac and Fenouillet share border with Toulouse
Portet-sur-Garonne Blagnac Fenouillet
action filter_type
action find
entity Toulouse
relation shares border with
type type of french administrative division
['Toulouse', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Toulouse property:shares_border_with ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q853324
P47
Q56061
USER
Are Castledawson bordered by those french administrative divisions ?
(Q853324,P47,Q1371171) (Q853324,P47,Q271068) (Q853324,P47,Q204937)
action is_in
entity prev_answer
action find
entity Q853324
relation P47
['Q853324', 'P47', 'Q1371171'] ['Q853324', 'P47', 'Q271068'] ['Q853324', 'P47', 'Q204937']
ASK WHERE { VALUES ( ?r ) { ( resource:Q1345048 ) ( resource:Q328022 ) ( resource:Q1371171 ) } . resource:Q853324 property:P47 ?r }
Castledawson
action is_in
entity prev_answer
action find
entity Castledawson
relation shares border with
['Castledawson', 'shares border with', 'Portet-sur-Garonne'] ['Castledawson', 'shares border with', 'Blagnac'] ['Castledawson', 'shares border with', 'Fenouillet']
ASK WHERE { VALUES ( ?r ) { ( resource:Quint-Fonsegrives ) ( resource:Tournefeuille ) ( resource:Portet-sur-Garonne ) } . resource:Castledawson property:shares_border_with ?r }
[]
administrative territorial entity
SYSTEM
NO
(Q853324,P47,Q1371171) (Q853324,P47,Q271068) (Q853324,P47,Q204937)
action is_in
entity prev_answer
action find
entity Q853324
relation P47
[ANSWER]
['Q853324', 'P47', 'Q1371171'] ['Q853324', 'P47', 'Q271068'] ['Q853324', 'P47', 'Q204937']
ASK WHERE { VALUES ( ?r ) { ( resource:Q1345048 ) ( resource:Q328022 ) ( resource:Q1371171 ) } . resource:Q853324 property:P47 ?r }
No
action is_in
entity prev_answer
action find
entity Castledawson
relation shares border with
['Castledawson', 'shares border with', 'Portet-sur-Garonne'] ['Castledawson', 'shares border with', 'Blagnac'] ['Castledawson', 'shares border with', 'Fenouillet']
ASK WHERE { VALUES ( ?r ) { ( resource:Quint-Fonsegrives ) ( resource:Tournefeuille ) ( resource:Portet-sur-Garonne ) } . resource:Castledawson property:shares_border_with ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7880
P17
Q15617994
USER
Which administrative territory does Toulouse belong to ?
(Q7880,P17,c(Q15617994))
action filter_type
action find
entity Q7880
relation P17
type Q15617994
['Q7880', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q7880 property:P17 ?r }
Toulouse
action filter_type
action find
entity Toulouse
relation country
type designation for an administrative territorial entity
['Toulouse', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Toulouse property:country ?r }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q7880,P17,c(Q15617994))
action filter_type
action find
entity Q7880
relation P17
type Q15617994
Toulouse belongs to [ANSWER]
['Q7880', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . resource:Q7880 property:P17 ?r }
France
Toulouse belongs to France
France
action filter_type
action find
entity Toulouse
relation country
type designation for an administrative territorial entity
['Toulouse', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Toulouse property:country ?r }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q2235103 Q183
P47
Q1048835
USER
Does France share border with San Jerónimo District, Cusco and Germany ?
(Q142,P47,Q2235103) (Q142,P47,Q183)
action is_in
entity Q142
action intersection
action find_reverse
entity Q2235103
relation P47
action find_reverse
entity Q183
relation P47
['Q142', 'P47', 'Q2235103'] ['Q142', 'P47', 'Q183']
ASK WHERE { resource:Q142 property:P47 resource:Q183 . resource:Q142 property:P47 resource:Q2235103 }
France San Jerónimo District, Cusco Germany
action is_in
entity France
action intersection
action find_reverse
entity San Jerónimo District, Cusco
relation shares border with
action find_reverse
entity Germany
relation shares border with
['France', 'shares border with', 'San Jerónimo District, Cusco'] ['France', 'shares border with', 'Germany']
ASK WHERE { resource:France property:shares_border_with resource:Germany . resource:France property:shares_border_with resource:San_Jerónimo_District,_Cusco }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q142,P47,Q2235103) (Q142,P47,Q183)
action is_in
entity Q142
action intersection
action find_reverse
entity Q2235103
relation P47
action find_reverse
entity Q183
relation P47
[ANSWER]
['Q142', 'P47', 'Q2235103'] ['Q142', 'P47', 'Q183']
ASK WHERE { resource:Q142 property:P47 resource:Q183 . resource:Q142 property:P47 resource:Q2235103 }
NO and YES respectively
action is_in
entity France
action intersection
action find_reverse
entity San Jerónimo District, Cusco
relation shares border with
action find_reverse
entity Germany
relation shares border with
['France', 'shares border with', 'San Jerónimo District, Cusco'] ['France', 'shares border with', 'Germany']
ASK WHERE { resource:France property:shares_border_with resource:Germany . resource:France property:shares_border_with resource:San_Jerónimo_District,_Cusco }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q32
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with lesser number of administrative territories than Luxembourg ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q32
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?r ) WHERE { ?w property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Q32 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?r < ?k ) }
Luxembourg
action less
action find_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 Luxembourg
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?r ) WHERE { ?w property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Luxembourg property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r < ?k ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q96
SYSTEM
Netherlands, Poland, Mexico
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q712 Q717 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q924 Q36 Q34 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q32
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with lesser number of administrative territories than Luxembourg
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?r ) WHERE { ?w property:P530 ?m . ?m rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Q32 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?r < ?k ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Fiji Venezuela Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Tanzania Poland Sweden Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and Mexico have diplomatic relations with lesser number of administrative territories than Luxembourg
Netherlands Poland Mexico
action less
action find_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 Luxembourg
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 ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?r ) WHERE { ?w property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Luxembourg property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q717
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with less number of administrative territories than Venezuela ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q717
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?p ) WHERE { ?d property:P530 ?s . ?d rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Q717 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?p < ?f ) }
Venezuela
action count
action less
action find_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 Venezuela
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?p ) WHERE { ?d property:diplomatic_relation ?s . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Venezuela property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p < ?f ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
95
Q702 Q804 Q800 Q55 Q262 Q783 Q265 Q712 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q983 Q851 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q224 Q221 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q878 Q774 Q817 Q810 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q717
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?p ) WHERE { ?d property:P530 ?s . ?d rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Q717 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?p < ?f ) }
Federated States of Micronesia Panama Costa Rica Netherlands Algeria Honduras Uzbekistan Fiji Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Equatorial Guinea Saudi Arabia Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Croatia Republic of Macedonia Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga New Caledonia Thailand
95
action count
action less
action find_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 Venezuela
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?p ) WHERE { ?d property:diplomatic_relation ?s . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { resource:Venezuela property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p < ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1029
P530
Q15617994 Q15617994
USER
And how about Mozambique?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1029
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?u ) WHERE { ?a property:P530 ?r . ?a rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q1029 property:P530 ?n } } . FILTER ( ?u < ?m ) }
Mozambique
action count
action less
action find_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 Mozambique
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 ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?u ) WHERE { ?a property:diplomatic_relation ?r . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mozambique property:diplomatic_relation ?n } } . FILTER ( ?u < ?m ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
52
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1029
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?u ) WHERE { ?a property:P530 ?r . ?a rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q1029 property:P530 ?n } } . FILTER ( ?u < ?m ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
52
action count
action less
action find_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 Mozambique
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 ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?r ) AS ?u ) WHERE { ?a property:diplomatic_relation ?r . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mozambique property:diplomatic_relation ?n } } . FILTER ( ?u < ?m ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P159
Q874405
USER
Which social group has headquarters located at Poland ?
(c(Q874405),P159,Q36)
action filter_type
action find_reverse
entity Q36
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q36']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q874405 . ?b property:P159 resource:Q36 }
Poland
action filter_type
action find_reverse
entity Poland
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Poland']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:social_group . ?b property:headquarters_location resource:Poland }
[]
social group
Q2419580
SYSTEM
Alliance Française in Poland
Q2419580
(c(Q874405),P159,Q36)
action filter_type
action find_reverse
entity Q36
relation P159
type Q874405
[ANSWER] has headquarters located at Poland
[{'concept': 'Q874405'}, 'P159', 'Q36']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q874405 . ?b property:P159 resource:Q36 }
Alliance Française in Poland
Alliance Française in Poland has headquarters located at Poland
Alliance Française in Poland
action filter_type
action find_reverse
entity Poland
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Poland']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:social_group . ?b property:headquarters_location resource:Poland }
[]