Simple Question (Direct)
Simple Question
Q4901653
P57
Q502895
USER
Who was the director of Bheja Fry ?
(Q4901653,P57,c(Q502895))
action filter_type
action find
entity Q4901653
relation P57
type Q502895
['Q4901653', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4901653 property:P57 ?h . ?h rdf:type ontology:Q502895 }
Bheja Fry
action filter_type
action find
entity Bheja Fry
relation director
type common name
['Bheja Fry', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Bheja_Fry property:director ?h . ?h rdf:type ontology:common_name }
[]
common name
Q7399012
SYSTEM
Sagar Ballary
Q7399012
(Q4901653,P57,c(Q502895))
action filter_type
action find
entity Q4901653
relation P57
type Q502895
The director of Bheja Fry was Lord [ANSWER]
['Q4901653', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q4901653 property:P57 ?h . ?h rdf:type ontology:Q502895 }
Sagar Ballary
The director of Bheja Fry was Lord Sagar Ballary
Sagar Ballary
action filter_type
action find
entity Bheja Fry
relation director
type common name
['Bheja Fry', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Bheja_Fry property:director ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4901653
P495
Q15617994
USER
What is the country of origin of that work of art ?
(Q7399012,P495,c(Q15617994))
action filter_type
action find
entity Q4901653
relation P495
type Q15617994
['Q7399012', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4901653 property:P495 ?a . ?a rdf:type ontology:Q15617994 }
Bheja Fry
action filter_type
action find
entity Bheja Fry
relation country of origin
type designation for an administrative territorial entity
['Sagar Ballary', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Bheja_Fry property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q7399012,P495,c(Q15617994))
action filter_type
action find
entity Q4901653
relation P495
type Q15617994
The country of origin of that work of art is from [ANSWER]
['Q7399012', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4901653 property:P495 ?a . ?a rdf:type ontology:Q15617994 }
India
The country of origin of that work of art is from India
India
action filter_type
action find
entity Bheja Fry
relation country of origin
type designation for an administrative territorial entity
['Sagar Ballary', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Bheja_Fry property:country_of_origin ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q668 Q3337564
P495
Q838948
USER
Did Neal 'n' Nikki originate in that administrative territory ?
(Q3337564,P495,Q668)
action is_in
entity Q668
action find
entity Q3337564
relation P495
['Q3337564', 'P495', 'Q668']
ASK WHERE { resource:Q3337564 property:P495 resource:Q668 }
India Neal 'n' Nikki
action is_in
entity India
action find
entity Neal 'n' Nikki
relation country of origin
["Neal 'n' Nikki", 'country of origin', 'India']
ASK WHERE { resource:Neal_'n'_Nikki property:country_of_origin resource:India }
[]
work of art
SYSTEM
YES
(Q3337564,P495,Q668)
action is_in
entity Q668
action find
entity Q3337564
relation P495
[ANSWER]
['Q3337564', 'P495', 'Q668']
ASK WHERE { resource:Q3337564 property:P495 resource:Q668 }
Yes
action is_in
entity India
action find
entity Neal 'n' Nikki
relation country of origin
["Neal 'n' Nikki", 'country of origin', 'India']
ASK WHERE { resource:Neal_'n'_Nikki property:country_of_origin resource:India }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q227
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with around the same number of administrative territories as Azerbaijan ?
(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 Q227
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?y ) WHERE { ?w property:P530 ?p . ?w rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q227 property:P530 ?h } } . FILTER ( ?y = ?f ) }
Azerbaijan
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 Azerbaijan
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 ( ?p ) AS ?y ) WHERE { ?w property:diplomatic_relation ?p . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Azerbaijan property:diplomatic_relation ?h } } . FILTER ( ?y = ?f ) }
[]
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 Q17 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 Q227
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with around the same number of administrative territories as Azerbaijan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?y ) WHERE { ?w property:P530 ?p . ?w rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:Q15617994 . resource:Q227 property:P530 ?h } } . FILTER ( ?y = ?f ) }
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 Japan 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 ambassadorial relations with around the same number of administrative territories as Azerbaijan
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 Azerbaijan
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 ( ?p ) AS ?y ) WHERE { ?w property:diplomatic_relation ?p . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Azerbaijan property:diplomatic_relation ?h } } . FILTER ( ?y = ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q695
P530
Q15617994 Q15617994
USER
And also tell me about Palau?
(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 Q695
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q695 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?o ) . { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?x property:P530 ?s } GROUP BY ?x } }
Palau
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 Palau
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 ?x WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Palau property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?o ) . { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?s } GROUP BY ?x } }
[]
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 Q695
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q695 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?j = ?o ) . { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 . ?x property:P530 ?s } GROUP BY ?x } }
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 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 Palau
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 ?x WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Palau property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?j = ?o ) . { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation ?s } GROUP BY ?x } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q55 Q36 Q148
P17
Q15617994
USER
Which administrative territories are those ones situated in ?
(Q55,P17,c(Q15617994)) (Q36,P17,c(Q15617994)) (Q148,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q55', 'P17', {'concept': 'Q15617994'}] ['Q36', 'P17', {'concept': 'Q15617994'}] ['Q148', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . ?j property:P17 ?e . VALUES ( ?j ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Netherlands Poland People's Republic of China
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Netherlands', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Poland', 'country', {'concept': 'designation for an administrative territorial entity'}] ["People's Republic of China", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:country ?e . VALUES ( ?j ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q29999 Q55 Q36 Q148
(Q55,P17,c(Q15617994)) (Q36,P17,c(Q15617994)) (Q148,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those ones are situated in [ANSWERS]
['Q55', 'P17', {'concept': 'Q15617994'}] ['Q36', 'P17', {'concept': 'Q15617994'}] ['Q148', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . ?j property:P17 ?e . VALUES ( ?j ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Kingdom of the Netherlands Netherlands Poland People's Republic of China
Those ones are situated in Netherlands, Poland and People's Republic of China
Netherlands Poland People's Republic of China
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Netherlands', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Poland', 'country', {'concept': 'designation for an administrative territorial entity'}] ["People's Republic of China", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:country ?e . VALUES ( ?j ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P85
Q7725634
USER
Which is the national anthem of Poland ?
(Q36,P85,c(Q7725634))
action filter_type
action find
entity Q36
relation P85
type Q7725634
['Q36', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?o WHERE { resource:Q36 property:P85 ?o . ?o rdf:type ontology:Q7725634 }
Poland
action filter_type
action find
entity Poland
relation anthem
type literary work
['Poland', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?o WHERE { resource:Poland property:anthem ?o . ?o rdf:type ontology:literary_work }
[]
literary work
Q482988
SYSTEM
Mazurek Dąbrowskiego
Q482988
(Q36,P85,c(Q7725634))
action filter_type
action find
entity Q36
relation P85
type Q7725634
The national anthem of Poland is the [ANSWER]
['Q36', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?o WHERE { resource:Q36 property:P85 ?o . ?o rdf:type ontology:Q7725634 }
Mazurek Dąbrowskiego
The national anthem of Poland is the Mazurek Dąbrowskiego
Mazurek Dąbrowskiego
action filter_type
action find
entity Poland
relation anthem
type literary work
['Poland', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?o WHERE { resource:Poland property:anthem ?o . ?o rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36
P376
Q16889133
USER
Where is that administrative territory located ?
(Q482988,P376,c(Q16889133))
action filter_type
action find
entity Q36
relation P376
type Q16889133
['Q482988', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?m WHERE { resource:Q36 property:P376 ?m . ?m rdf:type ontology:Q16889133 }
Poland
action filter_type
action find
entity Poland
relation located on astronomical body
type class
['Mazurek Dąbrowskiego', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?m WHERE { resource:Poland property:located_on_astronomical_body ?m . ?m rdf:type ontology:class }
[]
class
Q2
SYSTEM
Earth
Q2
(Q482988,P376,c(Q16889133))
action filter_type
action find
entity Q36
relation P376
type Q16889133
That administrative territory is located on [ANSWER]
['Q482988', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?m WHERE { resource:Q36 property:P376 ?m . ?m rdf:type ontology:Q16889133 }
Earth
That administrative territory is located on Earth
Earth
action filter_type
action find
entity Poland
relation located on astronomical body
type class
['Mazurek Dąbrowskiego', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?m WHERE { resource:Poland property:located_on_astronomical_body ?m . ?m rdf:type ontology:class }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P1532
Q502895
USER
Who play for Poland ?
(c(Q502895),P1532,Q36)
action filter_type
action find_reverse
entity Q36
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q36']
SELECT DISTINCT ?d WHERE { ?d property:P1532 resource:Q36 . ?d rdf:type ontology:Q502895 }
Poland
action filter_type
action find_reverse
entity Poland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Poland']
SELECT DISTINCT ?d WHERE { ?d property:country_for_sport resource:Poland . ?d rdf:type ontology:common_name }
[]
common name
Q4124 Q10390291 Q1755
SYSTEM
Franciszek Smuda, Maciej Mysiak, Tomasz Majewski
Q10275557 Q1027689 Q25990543 Q24431132 Q24091 Q14468851 Q9201040 Q9367155 Q1755 Q4124 Q10390291 Q19911752 Q6399 Q11766029 Q24840
(c(Q502895),P1532,Q36)
action filter_type
action find_reverse
entity Q36
relation P1532
type Q502895
[ANSWERS] play for Poland
[{'concept': 'Q502895'}, 'P1532', 'Q36']
SELECT DISTINCT ?d WHERE { ?d property:P1532 resource:Q36 . ?d rdf:type ontology:Q502895 }
Kamil Skaskiewicz Marek Galiński Klaudia Maruszewska Emilia Ankiewicz Eugeniusz Lewacki Grzegorz Zimniewicz Damian Czykier Urszula Bhebhe Tomasz Majewski Franciszek Smuda Maciej Mysiak Antonio chłapowski Anita Włodarczyk Magdalena Gorzkowska Jagna Marczułajtis
Franciszek Smuda, Maciej Mysiak and Tomasz Majewski play for Poland
Franciszek Smuda Maciej Mysiak Tomasz Majewski
action filter_type
action find_reverse
entity Poland
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Poland']
SELECT DISTINCT ?d WHERE { ?d property:country_for_sport resource:Poland . ?d rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4124
P641
Q349
USER
Which sport was that person a part of ?
(Q4124,P641,c(Q349))
action filter_type
action find
entity Q4124
relation P641
type Q349
['Q4124', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q4124 property:P641 ?c . ?c rdf:type ontology:Q349 }
Franciszek Smuda
action filter_type
action find
entity Franciszek Smuda
relation sport
type sport
['Franciszek Smuda', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Franciszek_Smuda property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q1755
SYSTEM
Did you mean Tomasz Majewski ?
Q4124 Q10390291 Q1755
(Q4124,P641,c(Q349)) (Q10390291,P641,c(Q349)) (Q1755,P641,c(Q349))
[ANSWER]
['Q4124', 'P641', {'concept': 'Q349'}] ['Q10390291', 'P641', {'concept': 'Q349'}] ['Q1755', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q4124 property:P641 ?c . ?c rdf:type ontology:Q349 }
Franciszek Smuda Maciej Mysiak Tomasz Majewski
Did you mean Tomasz Majewski ?
Tomasz Majewski
['Franciszek Smuda', 'sport', {'concept': 'sport'}] ['Maciej Mysiak', 'sport', {'concept': 'sport'}] ['Tomasz Majewski', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Franciszek_Smuda property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Franciszek Smuda. Could you tell me the answer for that?
(Q4124,P641,c(Q349))
Q4124
['Q4124', 'P641', {'concept': 'Q349'}]
['Franciszek Smuda', 'sport', {'concept': 'sport'}]
[]
Q2736
SYSTEM
association football
Q2736
(Q4124,P641,c(Q349))
action filter_type
action find
entity Q4124
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q4124', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q4124 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Franciszek Smuda
relation sport
type sport
['Franciszek Smuda', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Franciszek_Smuda property:sport ?c . ?c rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q233
P17
Q15617994 Q43229 Q13220204
USER
Which administrative territories are approximately the same number of organizations or administrative country subdivisions located in as Malta ?
(c(Q43229)|c(Q13220204),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q43229
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q233
relation P17
type Q43229
type Q13220204
[[{'concept': 'Q43229'}, {'concept': 'Q13220204'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?l WHERE { VALUES ( ?t ) { ( ontology:Q43229 ) ( ontology:Q13220204 ) } . ?y rdf:type ?t } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P17 resource:Q233 . { VALUES ( ?k ) { ( ontology:Q43229 ) ( ontology:Q13220204 ) } . ?v rdf:type ?k } } } . FILTER ( ?c = ?w ) }
Malta
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type organization
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Malta
relation country
type organization
type second-level administrative country subdivision
[[{'concept': 'organization'}, {'concept': 'second-level administrative country subdivision'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?l WHERE { VALUES ( ?t ) { ( ontology:organization ) ( ontology:second-level_administrative_country_subdivision ) } . ?y rdf:type ?t } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:country resource:Malta . { VALUES ( ?k ) { ( ontology:organization ) ( ontology:second-level_administrative_country_subdivision ) } . ?v rdf:type ?k } } } . FILTER ( ?c = ?w ) }
[]
designation for an administrative territorial entity organization second-level administrative country subdivision
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q668 Q684030 Q2172530 Q414 Q55 Q12536 Q262 Q148 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q252 Q399 Q1462 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q219 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q155019 Q38 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q47261 Q96 Q229 Q347 Q1050 Q977 Q17 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q37 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q29 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q426025 Q953
(c(Q43229)|c(Q13220204),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q43229
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q233
relation P17
type Q43229
type Q13220204
[ANSWERS] are approximately the same number of organizations or administrative country subdivisions located in as Malta
[[{'concept': 'Q43229'}, {'concept': 'Q13220204'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?l WHERE { VALUES ( ?t ) { ( ontology:Q43229 ) ( ontology:Q13220204 ) } . ?y rdf:type ?t } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P17 resource:Q233 . { VALUES ( ?k ) { ( ontology:Q43229 ) ( ontology:Q13220204 ) } . ?v rdf:type ?k } } } . FILTER ( ?c = ?w ) }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora India Principality of Serbia Electorate of Württemberg Argentina Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Indonesia Armenia Sardinia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Vietnam Eritrea Bulgaria Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Finland Brunei Belgium Tanzania Poland Sweden Philippines Duchy of Lorraine Italy North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Mexico Cyprus Liechtenstein Swaziland Djibouti Japan Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia Spain East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Duchy of Savoy Zambia
Italy, Brazil and Georgia are approximately the same number of organizations or administrative country subdivisions located in as Malta
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type organization
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Malta
relation country
type organization
type second-level administrative country subdivision
[[{'concept': 'organization'}, {'concept': 'second-level administrative country subdivision'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?l WHERE { VALUES ( ?t ) { ( ontology:organization ) ( ontology:second-level_administrative_country_subdivision ) } . ?y rdf:type ?t } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:country resource:Malta . { VALUES ( ?k ) { ( ontology:organization ) ( ontology:second-level_administrative_country_subdivision ) } . ?v rdf:type ?k } } } . FILTER ( ?c = ?w ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q38
P35
Q502895
USER
Who are the chiefs of state of that administrative territory ?
(Q38,P35,c(Q502895))
action filter_type
action find
entity Q38
relation P35
type Q502895
['Q38', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q38 property:P35 ?y . ?y rdf:type ontology:Q502895 }
Italy
action filter_type
action find
entity Italy
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Italy property:head_of_state ?y . ?y rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q155
SYSTEM
Did you mean Brazil ?
Q38 Q155 Q230
(Q38,P35,c(Q502895)) (Q155,P35,c(Q502895)) (Q230,P35,c(Q502895))
[ANSWER]
['Q38', 'P35', {'concept': 'Q502895'}] ['Q155', 'P35', {'concept': 'Q502895'}] ['Q230', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q38 property:P35 ?y . ?y rdf:type ontology:Q502895 }
Italy Brazil Georgia
Did you mean Brazil ?
Brazil
['Italy', 'head of state', {'concept': 'common name'}] ['Brazil', 'head of state', {'concept': 'common name'}] ['Georgia', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Italy property:head_of_state ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Italy. Could you tell me the answer for that?
(Q38,P35,c(Q502895))
Q38
['Q38', 'P35', {'concept': 'Q502895'}]
['Italy', 'head of state', {'concept': 'common name'}]
[]
Q3956186 Q1224 Q1242
SYSTEM
Sergio Mattarella, Carlo Azeglio Ciampi, Luigi Einaudi
Q1224 Q1245 Q3956186 Q1241 Q1240 Q1242 Q1238 Q153832 Q1228 Q1230 Q1233 Q1235 Q1220
(Q38,P35,c(Q502895))
action filter_type
action find
entity Q38
relation P35
type Q502895
The chiefs of state of that administrative territory are [ANSWERS]
['Q38', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q38 property:P35 ?y . ?y rdf:type ontology:Q502895 }
Carlo Azeglio Ciampi Enrico De Nicola Sergio Mattarella Giovanni Gronchi Antonio Segni Luigi Einaudi Giuseppe Saragat Alcide De Gasperi Oscar Luigi Scalfaro Francesco Cossiga Sandro Pertini Giovanni Leone Giorgio Napolitano
The chiefs of state of that administrative territory are Sergio Mattarella, Carlo Azeglio Ciampi and Luigi Einaudi
Sergio Mattarella Carlo Azeglio Ciampi Luigi Einaudi
action filter_type
action find
entity Italy
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Italy property:head_of_state ?y . ?y rdf:type ontology:common_name }
[]