Simple Question (Direct)
Simple Question
Q786986
P20
Q56061
USER
Which administrative territory is the place of death of Francesco Borgongini Duca ?
(Q786986,P20,c(Q56061))
action filter_type
action find
entity Q786986
relation P20
type Q56061
['Q786986', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q786986 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Francesco Borgongini Duca
action filter_type
action find
entity Francesco Borgongini Duca
relation place of death
type administrative territorial entity
['Francesco Borgongini Duca', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Francesco_Borgongini_Duca property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q786986,P20,c(Q56061))
action filter_type
action find
entity Q786986
relation P20
type Q56061
[ANSWER] is the place of death of Francesco Borgongini Duca
['Q786986', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q786986 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Rome
Rome is the place of death of Francesco Borgongini Duca
Rome
action filter_type
action find
entity Francesco Borgongini Duca
relation place of death
type administrative territorial entity
['Francesco Borgongini Duca', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Francesco_Borgongini_Duca property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q786986
P140
Q879146
USER
What is the religion associated with that person ?
(Q220,P140,c(Q879146))
action filter_type
action find
entity Q786986
relation P140
type Q879146
['Q220', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?c WHERE { resource:Q786986 property:P140 ?c . ?c rdf:type ontology:Q879146 }
Francesco Borgongini Duca
action filter_type
action find
entity Francesco Borgongini Duca
relation religion
type Christian denomination
['Rome', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?c WHERE { resource:Francesco_Borgongini_Duca property:religion ?c . ?c rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q220,P140,c(Q879146))
action filter_type
action find
entity Q786986
relation P140
type Q879146
The religion associated with that person is a [ANSWER]
['Q220', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?c WHERE { resource:Q786986 property:P140 ?c . ?c rdf:type ontology:Q879146 }
Roman Catholic Church
The religion associated with that person is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Francesco Borgongini Duca
relation religion
type Christian denomination
['Rome', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?c WHERE { resource:Francesco_Borgongini_Duca property:religion ?c . ?c rdf:type ontology:Christian_denomination }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q879146 Q2342494
USER
Which collectables are parts of max number of Christian denominations ?
(c(Q2342494),P361,c(Q879146))
action argmax
action find_tuple_counts
relation P361
type Q2342494
type Q879146
[{'concept': 'Q2342494'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?q ) { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?x ) WHERE { ?u property:P361 ?l . ?u rdf:type ontology:Q2342494 . ?l rdf:type ontology:Q879146 } GROUP BY ?u } } . { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?h ) WHERE { ?o property:P361 ?g . ?o rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q879146 } GROUP BY ?o } . FILTER ( ?h = ?q ) }
action argmax
action find_tuple_counts
relation part of
type collectable
type Christian denomination
[{'concept': 'collectable'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?q ) { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?x ) WHERE { ?u property:part_of ?l . ?u rdf:type ontology:collectable . ?l rdf:type ontology:Christian_denomination } GROUP BY ?u } } . { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?h ) WHERE { ?o property:part_of ?g . ?o rdf:type ontology:collectable . ?g rdf:type ontology:Christian_denomination } GROUP BY ?o } . FILTER ( ?h = ?q ) }
[]
Christian denomination collectable
Q784710
SYSTEM
Book of Common Prayer
Q784710
(c(Q2342494),P361,c(Q879146))
action argmax
action find_tuple_counts
relation P361
type Q2342494
type Q879146
[ANSWER] is parts of max number of Christian denominations
[{'concept': 'Q2342494'}, 'P361', {'concept': 'Q879146'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?q ) { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?x ) WHERE { ?u property:P361 ?l . ?u rdf:type ontology:Q2342494 . ?l rdf:type ontology:Q879146 } GROUP BY ?u } } . { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?h ) WHERE { ?o property:P361 ?g . ?o rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q879146 } GROUP BY ?o } . FILTER ( ?h = ?q ) }
Book of Common Prayer
Book of Common Prayer is parts of max number of Christian denominations
Book of Common Prayer
action argmax
action find_tuple_counts
relation part of
type collectable
type Christian denomination
[{'concept': 'collectable'}, 'part of', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?q ) { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?x ) WHERE { ?u property:part_of ?l . ?u rdf:type ontology:collectable . ?l rdf:type ontology:Christian_denomination } GROUP BY ?u } } . { SELECT DISTINCT ?o ( COUNT ( ?g ) AS ?h ) WHERE { ?o property:part_of ?g . ?o rdf:type ontology:collectable . ?g rdf:type ontology:Christian_denomination } GROUP BY ?o } . FILTER ( ?h = ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7344044
P69
Q163740
USER
Which nonprofit organization is Robert Ellis Smith an alumni of ?
(Q7344044,P69,c(Q163740))
action filter_type
action find
entity Q7344044
relation P69
type Q163740
['Q7344044', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q7344044 property:P69 ?d . ?d rdf:type ontology:Q163740 }
Robert Ellis Smith
action filter_type
action find
entity Robert Ellis Smith
relation educated at
type nonprofit organization
['Robert Ellis Smith', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:Robert_Ellis_Smith property:educated_at ?d . ?d rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q7344044,P69,c(Q163740))
action filter_type
action find
entity Q7344044
relation P69
type Q163740
Of [ANSWER] is Robert Ellis Smith an alumni of
['Q7344044', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?d WHERE { resource:Q7344044 property:P69 ?d . ?d rdf:type ontology:Q163740 }
Harvard University
Of Harvard University is Robert Ellis Smith an alumni of
Harvard University
action filter_type
action find
entity Robert Ellis Smith
relation educated at
type nonprofit organization
['Robert Ellis Smith', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?d WHERE { resource:Robert_Ellis_Smith property:educated_at ?d . ?d rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13371
P123
Q21114848
USER
Which magazine genres were published by that nonprofit organization ?
(c(Q21114848),P123,Q13371)
action filter_type
action find_reverse
entity Q13371
relation P123
type Q21114848
[{'concept': 'Q21114848'}, 'P123', 'Q13371']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q21114848 . ?w property:P123 resource:Q13371 }
Harvard University
action filter_type
action find_reverse
entity Harvard University
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Harvard University']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:magazine_genre . ?w property:publisher resource:Harvard_University }
[]
magazine genre
Q7738955 Q5676271
SYSTEM
The Harvard Review of Philosophy, Harvard Asia Pacific Review
Q7738955 Q5676271
(c(Q21114848),P123,Q13371)
action filter_type
action find_reverse
entity Q13371
relation P123
type Q21114848
[ANSWERS] were published by that nonprofit organization
[{'concept': 'Q21114848'}, 'P123', 'Q13371']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q21114848 . ?w property:P123 resource:Q13371 }
The Harvard Review of Philosophy Harvard Asia Pacific Review
The Harvard Review of Philosophy and Harvard Asia Pacific Review were published by that nonprofit organization
The Harvard Review of Philosophy Harvard Asia Pacific Review
action filter_type
action find_reverse
entity Harvard University
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Harvard University']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:magazine_genre . ?w property:publisher resource:Harvard_University }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7738955
P17
Q15617994
USER
Which administrative territory does The Harvard Review of Philosophy belong to ?
(Q7738955,P17,c(Q15617994))
action filter_type
action find
entity Q7738955
relation P17
type Q15617994
['Q7738955', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7738955 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
The Harvard Review of Philosophy
action filter_type
action find
entity The Harvard Review of Philosophy
relation country
type designation for an administrative territorial entity
['The Harvard Review of Philosophy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:The_Harvard_Review_of_Philosophy property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7738955,P17,c(Q15617994))
action filter_type
action find
entity Q7738955
relation P17
type Q15617994
The Harvard Review of Philosophy belongs to the [ANSWER]
['Q7738955', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q7738955 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
United States of America
The Harvard Review of Philosophy belongs to the United States of America
United States of America
action filter_type
action find
entity The Harvard Review of Philosophy
relation country
type designation for an administrative territorial entity
['The Harvard Review of Philosophy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:The_Harvard_Review_of_Philosophy property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5796858
Q15617994
USER
And what about Sarab Qanbar?
(Q5796858,P17,c(Q15617994))
action filter_type
action find
entity Q5796858
relation P17
type Q15617994
['Q5796858', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q5796858 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Sarab Qanbar
action filter_type
action find
entity Sarab Qanbar
relation country
type designation for an administrative territorial entity
['Sarab Qanbar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Sarab_Qanbar property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q5796858,P17,c(Q15617994))
action filter_type
action find
entity Q5796858
relation P17
type Q15617994
[ANSWER]
['Q5796858', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q5796858 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Iran
Iran
action filter_type
action find
entity Sarab Qanbar
relation country
type designation for an administrative territorial entity
['Sarab Qanbar', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Sarab_Qanbar property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1005
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with approximately the same number of administrative territories as Gambia ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1005
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { resource:Q1005 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?y = ?d ) }
Gambia
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 Gambia
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 ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { resource:Gambia property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y = ?d ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
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 approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1005
relation P530
type Q15617994
[ANSWERS] hold diplomatic relationship with approximately the same number of administrative territories as Gambia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:P530 ?v . ?v rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { resource:Q1005 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?y = ?d ) }
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
Georgia, Netherlands and Poland hold diplomatic relationship with approximately the same number of administrative territories as Gambia
Georgia Netherlands Poland
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 Gambia
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 ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?y ) WHERE { ?j property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) WHERE { resource:Gambia property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?y = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q790
P530
Q15617994 Q15617994
USER
And what about Haiti?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q790
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?k = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q790 property:P530 ?d } } }
Haiti
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 Haiti
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 ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?k = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Haiti property:diplomatic_relation ?d } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
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 approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q790
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?k = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:Q15617994 . resource:Q790 property:P530 ?d } } }
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
Georgia Netherlands Poland
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 Haiti
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 ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?k = ?i ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Haiti property:diplomatic_relation ?d } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have ambassadorial relations with those ones ?
(Q184,P530,Q230) (Q184,P530,Q55) (Q184,P530,Q36)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q230'] ['Q184', 'P530', 'Q55'] ['Q184', 'P530', 'Q36']
ASK WHERE { resource:Q184 property:P530 ?y . VALUES ( ?y ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Georgia'] ['Belarus', 'diplomatic relation', 'Netherlands'] ['Belarus', 'diplomatic relation', 'Poland']
ASK WHERE { resource:Belarus property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q230) (Q184,P530,Q55) (Q184,P530,Q36)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q230'] ['Q184', 'P530', 'Q55'] ['Q184', 'P530', 'Q36']
ASK WHERE { resource:Q184 property:P530 ?y . VALUES ( ?y ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Georgia'] ['Belarus', 'diplomatic relation', 'Netherlands'] ['Belarus', 'diplomatic relation', 'Poland']
ASK WHERE { resource:Belarus property:diplomatic_relation ?y . VALUES ( ?y ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic associations with min number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?q ) { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?m ) WHERE { ?o property:P530 ?h . ?o rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?o } } . { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?k ) WHERE { ?u property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?u } . FILTER ( ?k = ?q ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?q ) { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?m ) WHERE { ?o property:diplomatic_relation ?h . ?o rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } } . { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?k ) WHERE { ?u property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?u } . FILTER ( ?k = ?q ) }
[]
designation for an administrative territorial entity political territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic associations with min number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?q ) { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?m ) WHERE { ?o property:P530 ?h . ?o rdf:type ontology:Q1048835 . ?h rdf:type ontology:Q15617994 } GROUP BY ?o } } . { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?k ) WHERE { ?u property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?u } . FILTER ( ?k = ?q ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
Gabon, Grenada and Papua New Guinea have diplomatic associations with min number of administrative territories
Gabon Grenada Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?q ) { SELECT DISTINCT ?o ( COUNT ( ?h ) AS ?m ) WHERE { ?o property:diplomatic_relation ?h . ?o rdf:type ontology:political_territorial_entity . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } } . { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?k ) WHERE { ?u property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?u } . FILTER ( ?k = ?q ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q23727126 Q230
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Georgia and are Shahidul Islam Khokon a civilian of ?
AND((Q230,P530,c(Q15617994)), (Q23727126,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q230
relation P530
action find
entity Q23727126
relation P27
type Q15617994
{'AND': [['Q230', 'P530', {'concept': 'Q15617994'}], ['Q23727126', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { resource:Q230 property:P530 ?g . resource:Q23727126 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Shahidul Islam Khokon Georgia
action filter_type
action intersection
action find
entity Georgia
relation diplomatic relation
action find
entity Shahidul Islam Khokon
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Shahidul Islam Khokon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Georgia property:diplomatic_relation ?g . resource:Shahidul_Islam_Khokon property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q902
SYSTEM
Bangladesh
Q902
AND((Q230,P530,c(Q15617994)), (Q23727126,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q230
relation P530
action find
entity Q23727126
relation P27
type Q15617994
[ANSWER] have diplomatic relationships with Georgia and are Shahidul Islam Khokon a civilian of
{'AND': [['Q230', 'P530', {'concept': 'Q15617994'}], ['Q23727126', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { resource:Q230 property:P530 ?g . resource:Q23727126 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Bangladesh
Bangladesh have diplomatic relationships with Georgia and are Shahidul Islam Khokon a civilian of
Bangladesh
action filter_type
action intersection
action find
entity Georgia
relation diplomatic relation
action find
entity Shahidul Islam Khokon
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Georgia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Shahidul Islam Khokon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { resource:Georgia property:diplomatic_relation ?g . resource:Shahidul_Islam_Khokon property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q902 Q1684080
P194
Q11204
USER
Does Jatiyo Sangshad represent Bangladesh ?
(Q902,P194,Q1684080)
action is_in
entity Q1684080
action find
entity Q902
relation P194
['Q902', 'P194', 'Q1684080']
ASK WHERE { resource:Q902 property:P194 resource:Q1684080 }
Bangladesh Jatiyo Sangshad
action is_in
entity Jatiyo Sangshad
action find
entity Bangladesh
relation legislative body
['Bangladesh', 'legislative body', 'Jatiyo Sangshad']
ASK WHERE { resource:Bangladesh property:legislative_body resource:Jatiyo_Sangshad }
[]
legislature
SYSTEM
YES
(Q902,P194,Q1684080)
action is_in
entity Q1684080
action find
entity Q902
relation P194
[ANSWER]
['Q902', 'P194', 'Q1684080']
ASK WHERE { resource:Q902 property:P194 resource:Q1684080 }
Yes
action is_in
entity Jatiyo Sangshad
action find
entity Bangladesh
relation legislative body
['Bangladesh', 'legislative body', 'Jatiyo Sangshad']
ASK WHERE { resource:Bangladesh property:legislative_body resource:Jatiyo_Sangshad }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q786986 Q630011
P27
Q15617994
USER
Is Ormont the country of citizenship of Francesco Borgongini Duca ?
(Q786986,P27,Q630011)
action is_in
entity Q630011
action find
entity Q786986
relation P27
['Q786986', 'P27', 'Q630011']
ASK WHERE { resource:Q786986 property:P27 resource:Q630011 }
Francesco Borgongini Duca Ormont
action is_in
entity Ormont
action find
entity Francesco Borgongini Duca
relation country of citizenship
['Francesco Borgongini Duca', 'country of citizenship', 'Ormont']
ASK WHERE { resource:Francesco_Borgongini_Duca property:country_of_citizenship resource:Ormont }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q786986,P27,Q630011)
action is_in
entity Q630011
action find
entity Q786986
relation P27
[ANSWER]
['Q786986', 'P27', 'Q630011']
ASK WHERE { resource:Q786986 property:P27 resource:Q630011 }
No
action is_in
entity Ormont
action find
entity Francesco Borgongini Duca
relation country of citizenship
['Francesco Borgongini Duca', 'country of citizenship', 'Ormont']
ASK WHERE { resource:Francesco_Borgongini_Duca property:country_of_citizenship resource:Ormont }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q784710 Q3486934 Q199894
P50
Q502895
USER
Is Smbat VIII Bagratuni and Thomas Cranmer an author of Book of Common Prayer ?
(Q784710,P50,Q3486934) (Q784710,P50,Q199894)
action is_in
entity Q784710
action intersection
action find_reverse
entity Q3486934
relation P50
action find_reverse
entity Q199894
relation P50
['Q784710', 'P50', 'Q3486934'] ['Q784710', 'P50', 'Q199894']
ASK WHERE { resource:Q784710 property:P50 resource:Q3486934 . resource:Q784710 property:P50 resource:Q199894 }
Book of Common Prayer Smbat VIII Bagratuni Thomas Cranmer
action is_in
entity Book of Common Prayer
action intersection
action find_reverse
entity Smbat VIII Bagratuni
relation author
action find_reverse
entity Thomas Cranmer
relation author
['Book of Common Prayer', 'author', 'Smbat VIII Bagratuni'] ['Book of Common Prayer', 'author', 'Thomas Cranmer']
ASK WHERE { resource:Book_of_Common_Prayer property:author resource:Smbat_VIII_Bagratuni . resource:Book_of_Common_Prayer property:author resource:Thomas_Cranmer }
[]
common name
SYSTEM
NO and YES respectively
(Q784710,P50,Q3486934) (Q784710,P50,Q199894)
action is_in
entity Q784710
action intersection
action find_reverse
entity Q3486934
relation P50
action find_reverse
entity Q199894
relation P50
[ANSWER]
['Q784710', 'P50', 'Q3486934'] ['Q784710', 'P50', 'Q199894']
ASK WHERE { resource:Q784710 property:P50 resource:Q3486934 . resource:Q784710 property:P50 resource:Q199894 }
NO and YES respectively
action is_in
entity Book of Common Prayer
action intersection
action find_reverse
entity Smbat VIII Bagratuni
relation author
action find_reverse
entity Thomas Cranmer
relation author
['Book of Common Prayer', 'author', 'Smbat VIII Bagratuni'] ['Book of Common Prayer', 'author', 'Thomas Cranmer']
ASK WHERE { resource:Book_of_Common_Prayer property:author resource:Smbat_VIII_Bagratuni . resource:Book_of_Common_Prayer property:author resource:Thomas_Cranmer }
[]