Simple Question (Direct)
Simple Question
Q4097447
P22
Q502895
USER
Which person was the father of James Bruce ?
(Q4097447,P22,c(Q502895))
action filter_type
action find
entity Q4097447
relation P22
type Q502895
['Q4097447', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q4097447 property:P22 ?q . ?q rdf:type ontology:Q502895 }
James Bruce
action filter_type
action find
entity James Bruce
relation father
type common name
['James Bruce', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:James_Bruce property:father ?q . ?q rdf:type ontology:common_name }
[]
common name
Q15064716
SYSTEM
Alexander Bruce
Q15064716
(Q4097447,P22,c(Q502895))
action filter_type
action find
entity Q4097447
relation P22
type Q502895
The [ANSWER] was the father of James Bruce
['Q4097447', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q4097447 property:P22 ?q . ?q rdf:type ontology:Q502895 }
Alexander Bruce
The Alexander Bruce was the father of James Bruce
Alexander Bruce
action filter_type
action find
entity James Bruce
relation father
type common name
['James Bruce', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:James_Bruce property:father ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4097447
P166
Q618779
USER
Which awards were received by James Bruce ?
(Q4097447,P166,c(Q618779))
action filter_type
action find
entity Q4097447
relation P166
type Q618779
['Q4097447', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q618779 . resource:Q4097447 property:P166 ?a }
James Bruce
action filter_type
action find
entity James Bruce
relation award received
type award
['James Bruce', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:award . resource:James_Bruce property:award_received ?a }
[]
award
Q1147717 Q27096841
SYSTEM
Order of St. Anna, Order of St. Vladimir, 1st class
Q1147717 Q27096841
(Q4097447,P166,c(Q618779))
action filter_type
action find
entity Q4097447
relation P166
type Q618779
[ANSWERS]
['Q4097447', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q618779 . resource:Q4097447 property:P166 ?a }
Order of St. Anna Order of St. Vladimir, 1st class
Order of St. Anna and Order of St. Vladimir, 1st class were received by James Bruce
Order of St. Anna Order of St. Vladimir, 1st class
action filter_type
action find
entity James Bruce
relation award received
type award
['James Bruce', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:award . resource:James_Bruce property:award_received ?a }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q91471
Q618779
USER
And also tell me about Herbert Giersch?
(Q91471,P166,c(Q618779))
action filter_type
action find
entity Q91471
relation P166
type Q618779
['Q91471', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q91471 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Herbert Giersch
action filter_type
action find
entity Herbert Giersch
relation award received
type award
['Herbert Giersch', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Herbert_Giersch property:award_received ?c . ?c rdf:type ontology:award }
[]
award
Q10905171 Q156478
SYSTEM
Grand Cross of the Order of Merit of the Federal Republic of Germany, Pour le Mérite
Q10905171 Q156478
(Q91471,P166,c(Q618779))
action filter_type
action find
entity Q91471
relation P166
type Q618779
[ANSWERS]
['Q91471', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q91471 property:P166 ?c . ?c rdf:type ontology:Q618779 }
Grand Cross of the Order of Merit of the Federal Republic of Germany Pour le Mérite
Grand Cross of the Order of Merit of the Federal Republic of Germany Pour le Mérite
action filter_type
action find
entity Herbert Giersch
relation award received
type award
['Herbert Giersch', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Herbert_Giersch property:award_received ?c . ?c rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1147717
P138
Q502895
USER
Which person is the etymology of Order of St. Anna ?
(Q1147717,P138,c(Q502895))
action filter_type
action find
entity Q1147717
relation P138
type Q502895
['Q1147717', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1147717 property:P138 ?i . ?i rdf:type ontology:Q502895 }
Order of St. Anna
action filter_type
action find
entity Order of St. Anna
relation named after
type common name
['Order of St. Anna', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Order_of_St._Anna property:named_after ?i . ?i rdf:type ontology:common_name }
[]
common name
Q164294
SYSTEM
Saint Anna
Q164294
(Q1147717,P138,c(Q502895))
action filter_type
action find
entity Q1147717
relation P138
type Q502895
[ANSWER] is the etymology of Order of St. Anna
['Q1147717', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q1147717 property:P138 ?i . ?i rdf:type ontology:Q502895 }
Saint Anna
Saint Anna is the etymology of Order of St. Anna
Saint Anna
action filter_type
action find
entity Order of St. Anna
relation named after
type common name
['Order of St. Anna', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Order_of_St._Anna property:named_after ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1147717
P17
Q15617994
USER
Which administrative territory is that award situated in ?
(Q164294,P17,c(Q15617994))
action filter_type
action find
entity Q1147717
relation P17
type Q15617994
['Q164294', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q1147717 property:P17 ?m }
Order of St. Anna
action filter_type
action find
entity Order of St. Anna
relation country
type designation for an administrative territorial entity
['Saint Anna', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Order_of_St._Anna property:country ?m }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q164294,P17,c(Q15617994))
action filter_type
action find
entity Q1147717
relation P17
type Q15617994
That award is situated in [ANSWER]
['Q164294', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q1147717 property:P17 ?m }
Russia
That award is situated in Russia
Russia
action filter_type
action find
entity Order of St. Anna
relation country
type designation for an administrative territorial entity
['Saint Anna', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Order_of_St._Anna property:country ?m }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q854
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with around the same number of administrative territories as Sri Lanka ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q854
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?a ) WHERE { ?s property:P530 ?u . ?s rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?a = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q854 property:P530 ?e } } }
Sri Lanka
action approx
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 Sri Lanka
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?a ) WHERE { ?s property:diplomatic_relation ?u . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?a = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sri_Lanka property:diplomatic_relation ?e } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 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 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 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 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 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q854
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with around the same number of administrative territories as Sri Lanka
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?a ) WHERE { ?s property:P530 ?u . ?s rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?s } . FILTER ( ?a = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:Q15617994 . resource:Q854 property:P530 ?e } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia 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 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 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China have diplomatic relations with around the same number of administrative territories as Sri Lanka
Netherlands Poland People's Republic of China
action approx
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 Sri Lanka
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?a ) WHERE { ?s property:diplomatic_relation ?u . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?a = ?k ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sri_Lanka property:diplomatic_relation ?e } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q645485
P530
Q15617994
USER
Do Malé Ludince have ambassadorial relations with those ones ?
(Q645485,P530,Q55) (Q645485,P530,Q36) (Q645485,P530,Q148)
action is_in
entity prev_answer
action find
entity Q645485
relation P530
['Q645485', 'P530', 'Q55'] ['Q645485', 'P530', 'Q36'] ['Q645485', 'P530', 'Q148']
ASK WHERE { resource:Q645485 property:P530 ?x . VALUES ( ?x ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Malé Ludince
action is_in
entity prev_answer
action find
entity Malé Ludince
relation diplomatic relation
['Malé Ludince', 'diplomatic relation', 'Netherlands'] ['Malé Ludince', 'diplomatic relation', 'Poland'] ['Malé Ludince', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Malé_Ludince property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q645485,P530,Q55) (Q645485,P530,Q36) (Q645485,P530,Q148)
action is_in
entity prev_answer
action find
entity Q645485
relation P530
[ANSWER]
['Q645485', 'P530', 'Q55'] ['Q645485', 'P530', 'Q36'] ['Q645485', 'P530', 'Q148']
ASK WHERE { resource:Q645485 property:P530 ?x . VALUES ( ?x ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Malé Ludince
relation diplomatic relation
['Malé Ludince', 'diplomatic relation', 'Netherlands'] ['Malé Ludince', 'diplomatic relation', 'Poland'] ['Malé Ludince', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Malé_Ludince property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]