Simple Question (Direct)
Simple Question
Q3084135
P166
Q618779
USER
Which awards were received by François Bujon de l'Estang ?
(Q3084135,P166,c(Q618779))
action filter_type
action find
entity Q3084135
relation P166
type Q618779
['Q3084135', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q618779 . resource:Q3084135 property:P166 ?l }
François Bujon de l'Estang
action filter_type
action find
entity François Bujon de l'Estang
relation award received
type award
["François Bujon de l'Estang", 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:award . resource:François_Bujon_de_l'Estang property:award_received ?l }
[]
award
Q13422141 Q10855195
SYSTEM
Commander of the National Order of Merit, Officer of the Legion of Honour
Q13422141 Q10855195
(Q3084135,P166,c(Q618779))
action filter_type
action find
entity Q3084135
relation P166
type Q618779
France [ANSWERS] were received by François Bujon de l'Estang
['Q3084135', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q618779 . resource:Q3084135 property:P166 ?l }
Commander of the National Order of Merit Officer of the Legion of Honour
France Commander of the National Order of Merit and Officer of the Legion of Honour were received by François Bujon de l'Estang
Commander of the National Order of Merit Officer of the Legion of Honour
action filter_type
action find
entity François Bujon de l'Estang
relation award received
type award
["François Bujon de l'Estang", 'award received', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:award . resource:François_Bujon_de_l'Estang property:award_received ?l }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13422141
P17
Q15617994
USER
Which administrative territory is that award situated in ?
(Q13422141,P17,c(Q15617994))
action filter_type
action find
entity Q13422141
relation P17
type Q15617994
['Q13422141', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q13422141 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Commander of the National Order of Merit
action filter_type
action find
entity Commander of the National Order of Merit
relation country
type designation for an administrative territorial entity
['Commander of the National Order of Merit', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Commander_of_the_National_Order_of_Merit property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q10855195
SYSTEM
Did you mean Officer of the Legion of Honour ?
Q13422141 Q10855195
(Q13422141,P17,c(Q15617994)) (Q10855195,P17,c(Q15617994))
[ANSWER]
['Q13422141', 'P17', {'concept': 'Q15617994'}] ['Q10855195', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q13422141 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Commander of the National Order of Merit Officer of the Legion of Honour
Did you mean Officer of the Legion of Honour ?
Officer of the Legion of Honour
['Commander of the National Order of Merit', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Officer of the Legion of Honour', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Commander_of_the_National_Order_of_Merit property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Commander of the National Order of Merit. Could you tell me the answer for that?
(Q13422141,P17,c(Q15617994))
Q13422141
['Q13422141', 'P17', {'concept': 'Q15617994'}]
['Commander of the National Order of Merit', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q13422141,P17,c(Q15617994))
action filter_type
action find
entity Q13422141
relation P17
type Q15617994
That award is situated in [ANSWER]
['Q13422141', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q13422141 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
France
That award is situated in France
France
action filter_type
action find
entity Commander of the National Order of Merit
relation country
type designation for an administrative territorial entity
['Commander of the National Order of Merit', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Commander_of_the_National_Order_of_Merit property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q5386979
P27
Q502895
USER
Is Eric Litman a citizen of that administrative territory ?
(Q5386979,P27,Q142)
action is_in
entity Q5386979
action find
entity Q142
relation P27
['Q5386979', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q5386979 }
France Eric Litman
action is_in
entity Eric Litman
action find
entity France
relation country of citizenship
['Eric Litman', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Eric_Litman }
[]
common name
SYSTEM
NO
(Q5386979,P27,Q142)
action is_in
entity Q5386979
action find
entity Q142
relation P27
[ANSWER]
['Q5386979', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q5386979 }
No
action is_in
entity Eric Litman
action find
entity France
relation country of citizenship
['Eric Litman', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Eric_Litman }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q52330 Q10855195
P47 P17
Q15617994
USER
Which administrative territories are Officer of the Legion of Honour a part of or share the border with Salandra ?
OR((Q10855195,P17,c(Q15617994)), (Q52330,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q10855195
relation P17
action find
entity Q52330
relation P47
type Q15617994
{'OR': [['Q10855195', 'P17', {'concept': 'Q15617994'}], ['Q52330', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q10855195 property:P17 ?k } UNION { resource:Q52330 property:P47 ?k } } . ?k rdf:type ontology:Q15617994 }
Salandra Officer of the Legion of Honour
action filter_type
action union
action find
entity Officer of the Legion of Honour
relation country
action find
entity Salandra
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Officer of the Legion of Honour', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Salandra', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Officer_of_the_Legion_of_Honour property:country ?k } UNION { resource:Salandra property:shares_border_with ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q52292 Q52286 Q52288 Q52332
SYSTEM
France, Grassano, Ferrandina, Garaguso, San Mauro Forte
Q142 Q52292 Q52286 Q52288 Q52332
OR((Q10855195,P17,c(Q15617994)), (Q52330,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q10855195
relation P17
action find
entity Q52330
relation P47
type Q15617994
[ANSWERS] are Officer of the Legion of Honour a part of or share the border with Salandra
{'OR': [['Q10855195', 'P17', {'concept': 'Q15617994'}], ['Q52330', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q10855195 property:P17 ?k } UNION { resource:Q52330 property:P47 ?k } } . ?k rdf:type ontology:Q15617994 }
France Grassano Ferrandina Garaguso San Mauro Forte
France, Grassano, Ferrandina, Garaguso and San Mauro Forte are Officer of the Legion of Honour a part of or share the border with Salandra
France Grassano Ferrandina Garaguso San Mauro Forte
action filter_type
action union
action find
entity Officer of the Legion of Honour
relation country
action find
entity Salandra
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Officer of the Legion of Honour', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Salandra', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Officer_of_the_Legion_of_Honour property:country ?k } UNION { resource:Salandra property:shares_border_with ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q15617994 Q3895768
USER
How many administrative territories were the sources of inspiration for less number of fictional locations than that administrative territory ?
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity fictional location
Comparative|Count over More/Less|Single entity type|Clarification
Q142
SYSTEM
Did you mean France ?
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Did you mean France ?
France
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q3895768),P941,c(Q15617994))
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q55416
(c(Q3895768),P941,c(Q15617994))
[ANSWER]
[{'concept': 'Q3895768'}, 'P941', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q3895768 . ?y rdf:type ontology:Q15617994 }
Chioggia
1
[{'concept': 'fictional location'}, 'inspired by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:fictional_location . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q967
P530
Q15617994 Q15617994
USER
How many administrative territories holds diplomatic relationship with around the same number of administrative territories as Burundi ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q967
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q967 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?j ) . { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?g } }
Burundi
action count
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 Burundi
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 ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Burundi property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?j ) . { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
152
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 count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q967
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q967 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?w = ?j ) . { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:P530 ?g . ?g rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?g } }
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
152
action count
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 Burundi
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 ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Burundi property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w = ?j ) . { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?w ) WHERE { ?z property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q238
P530
Q15617994 Q15617994
USER
And also tell me about San Marino?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q238
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q238 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?l ) }
San Marino
action count
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 San Marino
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 ( ?n ) AS ?t ) WHERE { ?n property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:San_Marino property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?l ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
152
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 count
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q238
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P530 ?a . ?a rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q238 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?l ) }
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
152
action count
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 San Marino
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 ( ?n ) AS ?t ) WHERE { ?n property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:San_Marino property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1041
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with less number of administrative territories than Senegal ?
(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 Q1041
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 . ?e property:P530 ?q } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q1041 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?w < ?p ) }
Senegal
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 Senegal
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 ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?q } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Senegal property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w < ?p ) }
[]
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 Q1041
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 . ?e property:P530 ?q } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Q1041 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?w < ?p ) }
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 Senegal
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 ( ?e ) AS ?r ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?w ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:diplomatic_relation ?q } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { resource:Senegal property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?w < ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q711
P530
Q15617994 Q15617994
USER
And also tell me about Mongolia?
(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 Q711
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?r ) WHERE { ?y property:P530 ?f . ?y rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q711 property:P530 ?g } } . FILTER ( ?r < ?w ) }
Mongolia
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 Mongolia
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 ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?r ) WHERE { ?y property:diplomatic_relation ?f . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mongolia property:diplomatic_relation ?g } } . FILTER ( ?r < ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
136
Q702 Q804 Q800 Q419 Q414 Q55 Q262 Q783 Q265 Q37 Q712 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q222 Q221 Q96 Q229 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 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 Q711
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?r ) WHERE { ?y property:P530 ?f . ?y rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q711 property:P530 ?g } } . FILTER ( ?r < ?w ) }
Federated States of Micronesia Panama Costa Rica Peru Argentina Netherlands Algeria Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland 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 Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Albania Republic of Macedonia Mexico Cyprus Bangladesh 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand
136
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 Mongolia
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 ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?r ) WHERE { ?y property:diplomatic_relation ?f . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mongolia property:diplomatic_relation ?g } } . FILTER ( ?r < ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P551
Q502895
USER
Who reside at France ?
(c(Q502895),P551,Q142)
action filter_type
action find_reverse
entity Q142
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q142']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P551 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'France']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:residence resource:France }
[]
common name
Q42831 Q14943164 Q326449
SYSTEM
Ivan Turgenev, Alain Schneider, Abram Petrovich Gannibal
Q6072265 Q17141465 Q34248 Q7925920 Q1287583 Q23726522 Q5612768 Q42831 Q360312 Q2907955 Q1010504 Q2895607 Q16663593 Q18278048 Q20872764 Q20721 Q20203092 Q7348968 Q3131277 Q333563 Q19845625 Q14943164 Q2580510 Q22136999 Q26922710 Q18590538 Q17071396 Q18695634 Q7915490 Q557546 Q245363 Q2405968 Q2254007 Q683660 Q4768865 Q23843063 Q2947608 Q25865472 Q93166 Q102804 Q23888162 Q23888163 Q15429884 Q17486002 Q2646836 Q19629253 Q5671358 Q8006910 Q12888221 Q20730830 Q465681 Q1399562 Q326449 Q2848090 Q16533765 Q2866245 Q3553283 Q3186257 Q16734991 Q5398352 Q2877725 Q3218950 Q3275875 Q3436933 Q729117 Q23866372
(c(Q502895),P551,Q142)
action filter_type
action find_reverse
entity Q142
relation P551
type Q502895
[ANSWERS] reside at France
[{'concept': 'Q502895'}, 'P551', 'Q142']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P551 resource:Q142 }
Pere Puig Subinyà Altantuya Shaaribuu Camila Giorgi Victor Garcia Momčilo Đujić Philippe Burin des Roziers Grégoire Burquier Ivan Turgenev Antoine-Augustin Parmentier Bobby Holcomb Gillian Hills Ben Zimet Marvin Jefferson Gabriel Spat Mark Moogalian Luigi Cherubini Victoria Muntean Robert Pope Henri Hiro Niccolò dell'Abbate Andra Waagmeester Alain Schneider Paul Haviland Nabil Canaan Aline Gohard-Radenkovic Esteban Pérez Pérez Mathias Bourgue Étienne Cornevin Varaz Samuelian Tran Anh Hung Zygmunt Mineyko Gianni Mina Avner W. Less Johann Gaudenz von Salis-Seewis Anne Villiers, Countess of Morton Leonardo D'Antoni Chahla Chafiq-Beski Michaël Magne Milan Kundera Henri Moissan Kim Tran-Nhut Thanh-Van Tran-Nhut Mary Elizabeth Hawker HJ Lim Alice Anderson Jacques Dessalines Carles Reig i Morell William Close Bruno Saura Marc Boudin Sophie, Countess of Ségur Emil Grunzweig Abram Petrovich Gannibal André Larivière Bruno Duthoit As Thiam Vahé Katcha José Cuneo Mark Rappaport Eslanda Goode Robeson Baba de Faucigny-Lucinge Laurence Vidal Adeline Dudlay Roberto Maria Grassi Edmund White Delphine Lehericey
Ivan Turgenev, Alain Schneider and Abram Petrovich Gannibal reside at France
Ivan Turgenev Alain Schneider Abram Petrovich Gannibal
action filter_type
action find_reverse
entity France
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'France']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:residence resource:France }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P85
Q571
USER
Which is the national anthem of France ?
(Q142,P85,c(Q571))
action filter_type
action find
entity Q142
relation P85
type Q571
['Q142', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?p WHERE { resource:Q142 property:P85 ?p . ?p rdf:type ontology:Q571 }
France
action filter_type
action find
entity France
relation anthem
type book
['France', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?p WHERE { resource:France property:anthem ?p . ?p rdf:type ontology:book }
[]
book
Q41180
SYSTEM
La Marseillaise
Q41180
(Q142,P85,c(Q571))
action filter_type
action find
entity Q142
relation P85
type Q571
The national anthem of France is [ANSWER]
['Q142', 'P85', {'concept': 'Q571'}]
SELECT DISTINCT ?p WHERE { resource:Q142 property:P85 ?p . ?p rdf:type ontology:Q571 }
La Marseillaise
The national anthem of France is La Marseillaise
La Marseillaise
action filter_type
action find
entity France
relation anthem
type book
['France', 'anthem', {'concept': 'book'}]
SELECT DISTINCT ?p WHERE { resource:France property:anthem ?p . ?p rdf:type ontology:book }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q41180 Q142 Q4069904
P17
Q15617994
USER
Is La Marseillaise located in France and Arsamaki ?
(Q41180,P17,Q142) (Q41180,P17,Q4069904)
action is_in
entity Q41180
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q4069904
relation P17
['Q41180', 'P17', 'Q142'] ['Q41180', 'P17', 'Q4069904']
ASK WHERE { resource:Q41180 property:P17 resource:Q4069904 . resource:Q41180 property:P17 resource:Q142 }
La Marseillaise France Arsamaki
action is_in
entity La Marseillaise
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Arsamaki
relation country
['La Marseillaise', 'country', 'France'] ['La Marseillaise', 'country', 'Arsamaki']
ASK WHERE { resource:La_Marseillaise property:country resource:Arsamaki . resource:La_Marseillaise property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q41180,P17,Q142) (Q41180,P17,Q4069904)
action is_in
entity Q41180
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q4069904
relation P17
[ANSWER]
['Q41180', 'P17', 'Q142'] ['Q41180', 'P17', 'Q4069904']
ASK WHERE { resource:Q41180 property:P17 resource:Q4069904 . resource:Q41180 property:P17 resource:Q142 }
YES and NO respectively
action is_in
entity La Marseillaise
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Arsamaki
relation country
['La Marseillaise', 'country', 'France'] ['La Marseillaise', 'country', 'Arsamaki']
ASK WHERE { resource:La_Marseillaise property:country resource:Arsamaki . resource:La_Marseillaise property:country resource:France }
[]