Simple Question (Direct)
Simple Question
Q558139
P53
Q8436
USER
What is the family that Wacław Seweryn Rzewuski belongs to ?
(Q558139,P53,c(Q8436))
action filter_type
action find
entity Q558139
relation P53
type Q8436
['Q558139', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?a WHERE { resource:Q558139 property:P53 ?a . ?a rdf:type ontology:Q8436 }
Wacław Seweryn Rzewuski
action filter_type
action find
entity Wacław Seweryn Rzewuski
relation noble family
type family
['Wacław Seweryn Rzewuski', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?a WHERE { resource:Wacław_Seweryn_Rzewuski property:noble_family ?a . ?a rdf:type ontology:family }
[]
family
Q360489
SYSTEM
Rzewuski family
Q360489
(Q558139,P53,c(Q8436))
action filter_type
action find
entity Q558139
relation P53
type Q8436
The family that Wacław Seweryn Rzewuski belongs to is the [ANSWER]
['Q558139', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?a WHERE { resource:Q558139 property:P53 ?a . ?a rdf:type ontology:Q8436 }
Rzewuski family
The family that Wacław Seweryn Rzewuski belongs to is the Rzewuski family
Rzewuski family
action filter_type
action find
entity Wacław Seweryn Rzewuski
relation noble family
type family
['Wacław Seweryn Rzewuski', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?a WHERE { resource:Wacław_Seweryn_Rzewuski property:noble_family ?a . ?a rdf:type ontology:family }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q558139
P40
Q502895
USER
Who have that one as an offspring ?
(c(Q502895),P40,Q360489)
action filter_type
action find_reverse
entity Q558139
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q360489']
SELECT DISTINCT ?a WHERE { ?a property:P40 resource:Q558139 . ?a rdf:type ontology:Q502895 }
Wacław Seweryn Rzewuski
action filter_type
action find_reverse
entity Wacław Seweryn Rzewuski
relation child
type common name
[{'concept': 'common name'}, 'child', 'Rzewuski family']
SELECT DISTINCT ?a WHERE { ?a property:child resource:Wacław_Seweryn_Rzewuski . ?a rdf:type ontology:common_name }
[]
common name
Q11742831 Q550652
SYSTEM
Konstancja Małgorzata Lubomirska, Seweryn Rzewuski
Q11742831 Q550652
(c(Q502895),P40,Q360489)
action filter_type
action find_reverse
entity Q558139
relation P40
type Q502895
[ANSWERS] have that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q360489']
SELECT DISTINCT ?a WHERE { ?a property:P40 resource:Q558139 . ?a rdf:type ontology:Q502895 }
Konstancja Małgorzata Lubomirska Seweryn Rzewuski
Konstancja Małgorzata Lubomirska and Seweryn Rzewuski have that one as an offspring
Konstancja Małgorzata Lubomirska Seweryn Rzewuski
action filter_type
action find_reverse
entity Wacław Seweryn Rzewuski
relation child
type common name
[{'concept': 'common name'}, 'child', 'Rzewuski family']
SELECT DISTINCT ?a WHERE { ?a property:child resource:Wacław_Seweryn_Rzewuski . ?a rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11742831
P25
Q502895
USER
Who was the mother of that one ?
(Q11742831,P25,c(Q502895))
action filter_type
action find
entity Q11742831
relation P25
type Q502895
['Q11742831', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q11742831 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Konstancja Małgorzata Lubomirska
action filter_type
action find
entity Konstancja Małgorzata Lubomirska
relation mother
type common name
['Konstancja Małgorzata Lubomirska', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Konstancja_Małgorzata_Lubomirska property:mother ?c . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q11742831
SYSTEM
Did you mean Konstancja Małgorzata Lubomirska ?
Q11742831 Q550652
(Q11742831,P25,c(Q502895)) (Q550652,P25,c(Q502895))
[ANSWER]
['Q11742831', 'P25', {'concept': 'Q502895'}] ['Q550652', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q11742831 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Konstancja Małgorzata Lubomirska Seweryn Rzewuski
Did you mean Konstancja Małgorzata Lubomirska ?
Konstancja Małgorzata Lubomirska
['Konstancja Małgorzata Lubomirska', 'mother', {'concept': 'common name'}] ['Seweryn Rzewuski', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Konstancja_Małgorzata_Lubomirska property:mother ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q11742831,P25,c(Q502895))
['Q11742831', 'P25', {'concept': 'Q502895'}]
['Konstancja Małgorzata Lubomirska', 'mother', {'concept': 'common name'}]
[]
Q3672163
SYSTEM
Elżbieta Czartoryska
Q3672163
(Q11742831,P25,c(Q502895))
action filter_type
action find
entity Q11742831
relation P25
type Q502895
The mother of that one was Princess [ANSWER]
['Q11742831', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q11742831 property:P25 ?c . ?c rdf:type ontology:Q502895 }
Elżbieta Czartoryska
The mother of that one was Princess Elżbieta Czartoryska
Elżbieta Czartoryska
action filter_type
action find
entity Konstancja Małgorzata Lubomirska
relation mother
type common name
['Konstancja Małgorzata Lubomirska', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Konstancja_Małgorzata_Lubomirska property:mother ?c . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5864243 Q558139
P27 P17
Q15617994
USER
Which administrative territories are Wacław Seweryn Rzewuski a civilian of or are Saidabad, Golpayegan present in ?
OR((Q558139,P27,c(Q15617994)), (Q5864243,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q558139
relation P27
action find
entity Q5864243
relation P17
type Q15617994
{'OR': [['Q558139', 'P27', {'concept': 'Q15617994'}], ['Q5864243', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q558139 property:P27 ?b } UNION { resource:Q5864243 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Saidabad, Golpayegan Wacław Seweryn Rzewuski
action filter_type
action union
action find
entity Wacław Seweryn Rzewuski
relation country of citizenship
action find
entity Saidabad, Golpayegan
relation country
type designation for an administrative territorial entity
{'OR': [['Wacław Seweryn Rzewuski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Saidabad, Golpayegan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Wacław_Seweryn_Rzewuski property:country_of_citizenship ?b } UNION { resource:Saidabad,_Golpayegan property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q794
SYSTEM
Poland, Iran
Q36 Q794
OR((Q558139,P27,c(Q15617994)), (Q5864243,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q558139
relation P27
action find
entity Q5864243
relation P17
type Q15617994
[ANSWERS] are Wacław Seweryn Rzewuski a civilian of or are Saidabad, Golpayegan present in
{'OR': [['Q558139', 'P27', {'concept': 'Q15617994'}], ['Q5864243', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q558139 property:P27 ?b } UNION { resource:Q5864243 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Poland Iran
Poland and Iran are Wacław Seweryn Rzewuski a civilian of or are Saidabad, Golpayegan present in
Poland Iran
action filter_type
action union
action find
entity Wacław Seweryn Rzewuski
relation country of citizenship
action find
entity Saidabad, Golpayegan
relation country
type designation for an administrative territorial entity
{'OR': [['Wacław Seweryn Rzewuski', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Saidabad, Golpayegan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Wacław_Seweryn_Rzewuski property:country_of_citizenship ?b } UNION { resource:Saidabad,_Golpayegan property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have diplomatic associations with those ones ?
(Q184,P530,Q36) (Q184,P530,Q794)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q36'] ['Q184', 'P530', 'Q794']
ASK WHERE { resource:Q184 property:P530 ?h . VALUES ( ?h ) { ( resource:Q36 ) ( resource:Q794 ) } }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Poland'] ['Belarus', 'diplomatic relation', 'Iran']
ASK WHERE { resource:Belarus property:diplomatic_relation ?h . VALUES ( ?h ) { ( resource:Poland ) ( resource:Iran ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q36) (Q184,P530,Q794)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q36'] ['Q184', 'P530', 'Q794']
ASK WHERE { resource:Q184 property:P530 ?h . VALUES ( ?h ) { ( resource:Q36 ) ( resource:Q794 ) } }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Poland'] ['Belarus', 'diplomatic relation', 'Iran']
ASK WHERE { resource:Belarus property:diplomatic_relation ?h . VALUES ( ?h ) { ( resource:Poland ) ( resource:Iran ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q550652
P40
Q502895
USER
How many people have Seweryn Rzewuski as an offspring ?
(c(Q502895),P40,Q550652)
action count
action filter_type
action find_reverse
entity Q550652
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q550652']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P40 resource:Q550652 . ?u rdf:type ontology:Q502895 }
Seweryn Rzewuski
action count
action filter_type
action find_reverse
entity Seweryn Rzewuski
relation child
type common name
[{'concept': 'common name'}, 'child', 'Seweryn Rzewuski']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:child resource:Seweryn_Rzewuski . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q4767246 Q554324
(c(Q502895),P40,Q550652)
action count
action filter_type
action find_reverse
entity Q550652
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q550652']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:P40 resource:Q550652 . ?u rdf:type ontology:Q502895 }
Anna Lubomirska Wacław Rzewuski
2
action count
action filter_type
action find_reverse
entity Seweryn Rzewuski
relation child
type common name
[{'concept': 'common name'}, 'child', 'Seweryn Rzewuski']
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { ?u property:child resource:Seweryn_Rzewuski . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q12660170
P40
Q502895
USER
And what about Kazimieras Tiškevičius?
(c(Q502895),P40,Q12660170)
action count
action filter_type
action find_reverse
entity Q12660170
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q12660170']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P40 resource:Q12660170 . ?y rdf:type ontology:Q502895 }
Kazimieras Tiškevičius
action count
action filter_type
action find_reverse
entity Kazimieras Tiškevičius
relation child
type common name
[{'concept': 'common name'}, 'child', 'Kazimieras Tiškevičius']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:child resource:Kazimieras_Tiškevičius . ?y rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q15813057
(c(Q502895),P40,Q12660170)
action count
action filter_type
action find_reverse
entity Q12660170
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q12660170']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:P40 resource:Q12660170 . ?y rdf:type ontology:Q502895 }
Jerzy Tyszkiewicz
1
action count
action filter_type
action find_reverse
entity Kazimieras Tiškevičius
relation child
type common name
[{'concept': 'common name'}, 'child', 'Kazimieras Tiškevičius']
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { ?y property:child resource:Kazimieras_Tiškevičius . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q929
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with less number of administrative territories than Central African Republic ?
(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 Q929
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?r ) WHERE { ?u rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?u property:P530 ?d } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q929 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?r < ?n ) }
Central African Republic
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 Central African Republic
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 ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?r ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?d } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Central_African_Republic property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r < ?n ) }
[]
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 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 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 Q929
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with less number of administrative territories than Central African Republic
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?r ) WHERE { ?u rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?u property:P530 ?d } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q929 property:P530 ?j . ?j rdf:type ontology:Q15617994 } } . FILTER ( ?r < ?n ) }
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 Syria 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 less number of administrative territories than Central African Republic
Netherlands Poland People's Republic of China
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 Central African Republic
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 ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?r ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?d } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Central_African_Republic property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q878
P530
Q15617994 Q15617994
USER
And how about United Arab Emirates?
(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 Q878
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Q878 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?a < ?w ) . { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?a ) WHERE { ?r property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } }
United Arab Emirates
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 United Arab Emirates
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 ?r WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:United_Arab_Emirates property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a < ?w ) . { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?a ) WHERE { ?r property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
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 less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q878
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:Q878 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?a < ?w ) . { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?a ) WHERE { ?r property:P530 ?u . ?u rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } }
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
Kingdom of the Netherlands Dominican Republic Tanzania
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 United Arab Emirates
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 ?r WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { resource:United_Arab_Emirates property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a < ?w ) . { SELECT DISTINCT ?r ( COUNT ( ?u ) AS ?a ) WHERE { ?r property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P1433
Q732577
USER
Which publication does Poland contain ?
(c(Q732577),P1433,Q36)
action filter_type
action find_reverse
entity Q36
relation P1433
type Q732577
[{'concept': 'Q732577'}, 'P1433', 'Q36']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q732577 . ?q property:P1433 resource:Q36 }
Poland
action filter_type
action find_reverse
entity Poland
relation published in
type publication
[{'concept': 'publication'}, 'published in', 'Poland']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:publication . ?q property:published_in resource:Poland }
[]
publication
Q11765951
SYSTEM
Magazyn Arigato
Q11765951
(c(Q732577),P1433,Q36)
action filter_type
action find_reverse
entity Q36
relation P1433
type Q732577
Poland contains the [ANSWER]
[{'concept': 'Q732577'}, 'P1433', 'Q36']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q732577 . ?q property:P1433 resource:Q36 }
Magazyn Arigato
Poland contains the Magazyn Arigato
Magazyn Arigato
action filter_type
action find_reverse
entity Poland
relation published in
type publication
[{'concept': 'publication'}, 'published in', 'Poland']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:publication . ?q property:published_in resource:Poland }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36
P417
Q502895
USER
What people are the patron saint of Poland ?
(Q36,P417,c(Q502895))
action filter_type
action find
entity Q36
relation P417
type Q502895
['Q36', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q36 property:P417 ?t . ?t rdf:type ontology:Q502895 }
Poland
action filter_type
action find
entity Poland
relation patron saint
type common name
['Poland', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Poland property:patron_saint ?t . ?t rdf:type ontology:common_name }
[]
common name
Q129674 Q243427 Q203437
SYSTEM
Andrew Bobola, Adalbert of Prague, Stanislaus Kostka
Q243427 Q351635 Q203437 Q129674
(Q36,P417,c(Q502895))
action filter_type
action find
entity Q36
relation P417
type Q502895
The patron saint of Poland are Saint [ANSWERS]
['Q36', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q36 property:P417 ?t . ?t rdf:type ontology:Q502895 }
Adalbert of Prague Stanislaus of Szczepanów Stanislaus Kostka Andrew Bobola
The patron saint of Poland are Saint Andrew Bobola, Adalbert of Prague and Stanislaus Kostka
Andrew Bobola Adalbert of Prague Stanislaus Kostka
action filter_type
action find
entity Poland
relation patron saint
type common name
['Poland', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Poland property:patron_saint ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q129674 Q243427 Q203437
P417
Q15617994
USER
Who have Andrew Bobola, Adalbert of Prague and Stanislaus Kostka as their patron saint ?
(c(Q15617994),P417,Q129674) (c(Q15617994),P417,Q243427) (c(Q15617994),P417,Q203437)
action union
action filter_type
action find_reverse
entity Q129674
relation P417
type Q15617994
action filter_type
action find_reverse
entity Q243427
relation P417
type Q15617994
action filter_type
action find_reverse
entity Q203437
relation P417
type Q15617994
[{'concept': 'Q15617994'}, 'P417', 'Q129674'] [{'concept': 'Q15617994'}, 'P417', 'Q243427'] [{'concept': 'Q15617994'}, 'P417', 'Q203437']
SELECT DISTINCT ?e WHERE { { ?e property:P417 resource:Q129674 . ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q15617994 . ?e property:P417 resource:Q243427 } }
Andrew Bobola Adalbert of Prague Stanislaus Kostka
action union
action filter_type
action find_reverse
entity Andrew Bobola
relation patron saint
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Adalbert of Prague
relation patron saint
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Stanislaus Kostka
relation patron saint
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Andrew Bobola'] [{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Adalbert of Prague'] [{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Stanislaus Kostka']
SELECT DISTINCT ?e WHERE { { ?e property:patron_saint resource:Andrew_Bobola . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:patron_saint resource:Adalbert_of_Prague } }
[]
designation for an administrative territorial entity
Q36 Q36 Q36
SYSTEM
Poland
Q36 Q53124 Q36 Q36
(c(Q15617994),P417,Q129674) (c(Q15617994),P417,Q243427) (c(Q15617994),P417,Q203437)
action union
action filter_type
action find_reverse
entity Q129674
relation P417
type Q15617994
action filter_type
action find_reverse
entity Q243427
relation P417
type Q15617994
action filter_type
action find_reverse
entity Q203437
relation P417
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] have Andrew Bobola, Adalbert of Prague and Stanislaus Kostka as their patron saint
[{'concept': 'Q15617994'}, 'P417', 'Q129674'] [{'concept': 'Q15617994'}, 'P417', 'Q243427'] [{'concept': 'Q15617994'}, 'P417', 'Q203437']
SELECT DISTINCT ?e WHERE { { ?e property:P417 resource:Q129674 . ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q15617994 . ?e property:P417 resource:Q243427 } }
Poland Cormons Poland Poland
Poland, Poland and Poland have Andrew Bobola, Adalbert of Prague and Stanislaus Kostka as their patron saint
Poland Poland Poland
action union
action filter_type
action find_reverse
entity Andrew Bobola
relation patron saint
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Adalbert of Prague
relation patron saint
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Stanislaus Kostka
relation patron saint
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Andrew Bobola'] [{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Adalbert of Prague'] [{'concept': 'designation for an administrative territorial entity'}, 'patron saint', 'Stanislaus Kostka']
SELECT DISTINCT ?e WHERE { { ?e property:patron_saint resource:Andrew_Bobola . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e property:patron_saint resource:Adalbert_of_Prague } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3672163
P25
Q502895
USER
Which female person has a child named Elżbieta Czartoryska ?
(Q3672163,P25,c(Q502895))
action filter_type
action find
entity Q3672163
relation P25
type Q502895
['Q3672163', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q3672163 property:P25 ?g }
Elżbieta Czartoryska
action filter_type
action find
entity Elżbieta Czartoryska
relation mother
type common name
['Elżbieta Czartoryska', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Elżbieta_Czartoryska property:mother ?g }
[]
common name
Q6761676
SYSTEM
Maria Zofia Czartoryska
Q6761676
(Q3672163,P25,c(Q502895))
action filter_type
action find
entity Q3672163
relation P25
type Q502895
[ANSWER] has a child named Elżbieta Czartoryska
['Q3672163', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q3672163 property:P25 ?g }
Maria Zofia Czartoryska
Maria Zofia Czartoryska has a child named Elżbieta Czartoryska
Maria Zofia Czartoryska
action filter_type
action find
entity Elżbieta Czartoryska
relation mother
type common name
['Elżbieta Czartoryska', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Elżbieta_Czartoryska property:mother ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6761676
P19
Q7275
USER
Which state is the birthplace of that person ?
(Q6761676,P19,c(Q7275))
action filter_type
action find
entity Q6761676
relation P19
type Q7275
['Q6761676', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q6761676 property:P19 ?h . ?h rdf:type ontology:Q7275 }
Maria Zofia Czartoryska
action filter_type
action find
entity Maria Zofia Czartoryska
relation place of birth
type state
['Maria Zofia Czartoryska', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Maria_Zofia_Czartoryska property:place_of_birth ?h . ?h rdf:type ontology:state }
[]
state
Q172107
SYSTEM
Polish–Lithuanian Commonwealth
Q172107
(Q6761676,P19,c(Q7275))
action filter_type
action find
entity Q6761676
relation P19
type Q7275
[ANSWER] is the birthplace of that person
['Q6761676', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q6761676 property:P19 ?h . ?h rdf:type ontology:Q7275 }
Polish–Lithuanian Commonwealth
Polish–Lithuanian Commonwealth is the birthplace of that person
Polish–Lithuanian Commonwealth
action filter_type
action find
entity Maria Zofia Czartoryska
relation place of birth
type state
['Maria Zofia Czartoryska', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Maria_Zofia_Czartoryska property:place_of_birth ?h . ?h rdf:type ontology:state }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q172107 Q31487
P17
Q486972
USER
Is Kraków present in that state ?
(Q31487,P17,Q172107)
action is_in
entity Q172107
action find
entity Q31487
relation P17
['Q31487', 'P17', 'Q172107']
ASK WHERE { resource:Q31487 property:P17 resource:Q172107 }
Polish–Lithuanian Commonwealth Kraków
action is_in
entity Polish–Lithuanian Commonwealth
action find
entity Kraków
relation country
['Kraków', 'country', 'Polish–Lithuanian Commonwealth']
ASK WHERE { resource:Kraków property:country resource:Polish–Lithuanian_Commonwealth }
[]
human settlement
SYSTEM
YES
(Q31487,P17,Q172107)
action is_in
entity Q172107
action find
entity Q31487
relation P17
[ANSWER]
['Q31487', 'P17', 'Q172107']
ASK WHERE { resource:Q31487 property:P17 resource:Q172107 }
Yes
action is_in
entity Polish–Lithuanian Commonwealth
action find
entity Kraków
relation country
['Kraków', 'country', 'Polish–Lithuanian Commonwealth']
ASK WHERE { resource:Kraków property:country resource:Polish–Lithuanian_Commonwealth }
[]