Simple Question (Direct)
Simple Question
Q587662
P106
Q12737077
USER
What does Pape Omar Faye do for a living ?
(Q587662,P106,c(Q12737077))
action filter_type
action find
entity Q587662
relation P106
type Q12737077
['Q587662', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q587662 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Pape Omar Faye
action filter_type
action find
entity Pape Omar Faye
relation occupation
type occupation
['Pape Omar Faye', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Pape_Omar_Faye property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q587662,P106,c(Q12737077))
action filter_type
action find
entity Q587662
relation P106
type Q12737077
Pape Omar Faye does an [ANSWER] for a living
['Q587662', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q587662 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
Pape Omar Faye does an association football player for a living
association football player
action filter_type
action find
entity Pape Omar Faye
relation occupation
type occupation
['Pape Omar Faye', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Pape_Omar_Faye property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q587662
P641
Q349
USER
What did that person participate in ?
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q587662
relation P641
type Q349
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q587662 property:P641 ?g . ?g rdf:type ontology:Q349 }
Pape Omar Faye
action filter_type
action find
entity Pape Omar Faye
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Pape_Omar_Faye property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P641,c(Q349))
action filter_type
action find
entity Q587662
relation P641
type Q349
That person participated in [ANSWER]
['Q937857', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q587662 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Pape Omar Faye
relation sport
type sport
['association football player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Pape_Omar_Faye property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q587662
P21
Q290
USER
What is the sex of that person ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q587662
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q587662 property:P21 ?t . ?t rdf:type ontology:Q290 }
Pape Omar Faye
action filter_type
action find
entity Pape Omar Faye
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Pape_Omar_Faye property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q587662
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q587662 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Pape Omar Faye
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Pape_Omar_Faye property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q587662
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q587662
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q587662 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Pape Omar Faye
action filter_type
action find
entity Pape Omar Faye
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Pape_Omar_Faye property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q280243
SYSTEM
Louga
Q280243
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q587662
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q587662 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Louga
That person was born in Louga
Louga
action filter_type
action find
entity Pape Omar Faye
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Pape_Omar_Faye property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q280243
P6
Q502895
USER
Which person is that administrative territory the head of goverment of ?
(Q280243,P6,c(Q502895))
action filter_type
action find
entity Q280243
relation P6
type Q502895
['Q280243', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q280243 property:P6 ?y . ?y rdf:type ontology:Q502895 }
Louga
action filter_type
action find
entity Louga
relation head of government
type common name
['Louga', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Louga property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]
common name
Q2843389
SYSTEM
Aminata Mbengue Ndiaye
Q2843389
(Q280243,P6,c(Q502895))
action filter_type
action find
entity Q280243
relation P6
type Q502895
[ANSWER] is that administrative territory the head of goverment of
['Q280243', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q280243 property:P6 ?y . ?y rdf:type ontology:Q502895 }
Aminata Mbengue Ndiaye
Aminata Mbengue Ndiaye is that administrative territory the head of goverment of
Aminata Mbengue Ndiaye
action filter_type
action find
entity Louga
relation head of government
type common name
['Louga', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Louga property:head_of_government ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q499570
Q502895
USER
And also tell me about Re?
(Q499570,P6,c(Q502895))
action filter_type
action find
entity Q499570
relation P6
type Q502895
['Q499570', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q499570 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Re
action filter_type
action find
entity Re
relation head of government
type common name
['Re', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Re property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
common name
Q12006235
SYSTEM
Thorvald Hillestad
Q12006235
(Q499570,P6,c(Q502895))
action filter_type
action find
entity Q499570
relation P6
type Q502895
[ANSWER]
['Q499570', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q499570 property:P6 ?d . ?d rdf:type ontology:Q502895 }
Thorvald Hillestad
Thorvald Hillestad
action filter_type
action find
entity Re
relation head of government
type common name
['Re', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Re property:head_of_government ?d . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are that person an inhabitant of ?
(Q12006235,P27,c(Q15617994))
action count
action filter_type
action find
entity Q12006235
relation P27
type Q15617994
['Q12006235', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Q12006235 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Thorvald Hillestad
relation country of citizenship
type designation for an administrative territorial entity
['Thorvald Hillestad', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Thorvald_Hillestad property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q20
(Q12006235,P27,c(Q15617994))
action count
action filter_type
action find
entity Q12006235
relation P27
type Q15617994
[ANSWER]
['Q12006235', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Q12006235 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Norway
1
action count
action filter_type
action find
entity Thorvald Hillestad
relation country of citizenship
type designation for an administrative territorial entity
['Thorvald Hillestad', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Thorvald_Hillestad property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5574906 Q587662
P27
Q15617994
USER
Which administrative territories are Pape Omar Faye or Manuel Beingolea a civilian of ?
OR((Q587662,P27,c(Q15617994)), (Q5574906,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q587662
relation P27
action find
entity Q5574906
relation P27
type Q15617994
{'OR': [['Q587662', 'P27', {'concept': 'Q15617994'}], ['Q5574906', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?u ) { ( resource:Q587662 ) ( resource:Q5574906 ) } . ?u property:P27 ?r } . ?r rdf:type ontology:Q15617994 }
Manuel Beingolea Pape Omar Faye
action filter_type
action union
action find
entity Pape Omar Faye
relation country of citizenship
action find
entity Manuel Beingolea
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Pape Omar Faye', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Manuel Beingolea', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?u ) { ( resource:Pape_Omar_Faye ) ( resource:Manuel_Beingolea ) } . ?u property:country_of_citizenship ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q419 Q1041
SYSTEM
Peru, Senegal
Q419 Q1041
OR((Q587662,P27,c(Q15617994)), (Q5574906,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q587662
relation P27
action find
entity Q5574906
relation P27
type Q15617994
[ANSWERS] are Pape Omar Faye or Manuel Beingolea a civilian of
{'OR': [['Q587662', 'P27', {'concept': 'Q15617994'}], ['Q5574906', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?u ) { ( resource:Q587662 ) ( resource:Q5574906 ) } . ?u property:P27 ?r } . ?r rdf:type ontology:Q15617994 }
Peru Senegal
Peru and Senegal are Pape Omar Faye or Manuel Beingolea a civilian of
Peru Senegal
action filter_type
action union
action find
entity Pape Omar Faye
relation country of citizenship
action find
entity Manuel Beingolea
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Pape Omar Faye', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Manuel Beingolea', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { VALUES ( ?u ) { ( resource:Pape_Omar_Faye ) ( resource:Manuel_Beingolea ) } . ?u property:country_of_citizenship ?r } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q917
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with around the same number of administrative territories as Bhutan ?
(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 Q917
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?c ) WHERE { ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?d property:P530 ?o } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q917 property:P530 ?n } } . FILTER ( ?c = ?y ) }
Bhutan
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 Bhutan
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 ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?c ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?o } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bhutan property:diplomatic_relation ?n } } . FILTER ( ?c = ?y ) }
[]
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 Q917
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with around the same number of administrative territories as Bhutan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?c ) WHERE { ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 . ?d property:P530 ?o } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q917 property:P530 ?n } } . FILTER ( ?c = ?y ) }
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 Bhutan
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 Bhutan
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 ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?c ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?o } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bhutan property:diplomatic_relation ?n } } . FILTER ( ?c = ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q398
P530
Q15617994 Q15617994
USER
And how about Bahrain?
(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 Q398
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?t ) WHERE { ?a property:P530 ?k . ?a rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Q398 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?w ) }
Bahrain
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 Bahrain
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?t ) WHERE { ?a property:diplomatic_relation ?k . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Bahrain property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?w ) }
[]
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 Q398
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?t ) WHERE { ?a property:P530 ?k . ?a rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Q398 property:P530 ?m . ?m rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?w ) }
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 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 Bahrain
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 ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?t ) WHERE { ?a property:diplomatic_relation ?k . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Bahrain property:diplomatic_relation ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?w ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1647102
P530
Q1048835
USER
Do Ribatejada have ambassadorial relations with those administrative territories ?
(Q1647102,P530,Q55) (Q1647102,P530,Q36) (Q1647102,P530,Q148)
action is_in
entity prev_answer
action find
entity Q1647102
relation P530
['Q1647102', 'P530', 'Q55'] ['Q1647102', 'P530', 'Q36'] ['Q1647102', 'P530', 'Q148']
ASK WHERE { resource:Q1647102 property:P530 ?b . VALUES ( ?b ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Ribatejada
action is_in
entity prev_answer
action find
entity Ribatejada
relation diplomatic relation
['Ribatejada', 'diplomatic relation', 'Netherlands'] ['Ribatejada', 'diplomatic relation', 'Poland'] ['Ribatejada', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Ribatejada property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
NO
(Q1647102,P530,Q55) (Q1647102,P530,Q36) (Q1647102,P530,Q148)
action is_in
entity prev_answer
action find
entity Q1647102
relation P530
[ANSWER]
['Q1647102', 'P530', 'Q55'] ['Q1647102', 'P530', 'Q36'] ['Q1647102', 'P530', 'Q148']
ASK WHERE { resource:Q1647102 property:P530 ?b . VALUES ( ?b ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Ribatejada
relation diplomatic relation
['Ribatejada', 'diplomatic relation', 'Netherlands'] ['Ribatejada', 'diplomatic relation', 'Poland'] ['Ribatejada', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Ribatejada property:diplomatic_relation ?b . VALUES ( ?b ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q36 Q184 Q660761
P47
Q15617994
USER
Is Poland bordered by Belarus and Hohenau an der March ?
(Q36,P47,Q184) (Q36,P47,Q660761)
action is_in
entity Q36
action intersection
action find_reverse
entity Q184
relation P47
action find_reverse
entity Q660761
relation P47
['Q36', 'P47', 'Q184'] ['Q36', 'P47', 'Q660761']
ASK WHERE { resource:Q36 property:P47 resource:Q660761 . resource:Q36 property:P47 resource:Q184 }
Poland Belarus Hohenau an der March
action is_in
entity Poland
action intersection
action find_reverse
entity Belarus
relation shares border with
action find_reverse
entity Hohenau an der March
relation shares border with
['Poland', 'shares border with', 'Belarus'] ['Poland', 'shares border with', 'Hohenau an der March']
ASK WHERE { resource:Poland property:shares_border_with resource:Hohenau_an_der_March . resource:Poland property:shares_border_with resource:Belarus }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q36,P47,Q184) (Q36,P47,Q660761)
action is_in
entity Q36
action intersection
action find_reverse
entity Q184
relation P47
action find_reverse
entity Q660761
relation P47
[ANSWER]
['Q36', 'P47', 'Q184'] ['Q36', 'P47', 'Q660761']
ASK WHERE { resource:Q36 property:P47 resource:Q660761 . resource:Q36 property:P47 resource:Q184 }
YES and NO respectively
action is_in
entity Poland
action intersection
action find_reverse
entity Belarus
relation shares border with
action find_reverse
entity Hohenau an der March
relation shares border with
['Poland', 'shares border with', 'Belarus'] ['Poland', 'shares border with', 'Hohenau an der March']
ASK WHERE { resource:Poland property:shares_border_with resource:Hohenau_an_der_March . resource:Poland property:shares_border_with resource:Belarus }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with atleast 36 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 36
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?o ) WHERE { ?w rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 . ?w property:P530 ?x } GROUP BY ?w } . FILTER ( ?o >= 36 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 36
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?o ) WHERE { ?w rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?x } GROUP BY ?w } . FILTER ( ?o >= 36 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q16
SYSTEM
Germany, Australia, Canada
Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 36
[ANSWERS] have diplomatic relations with atleast 36 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?o ) WHERE { ?w rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 . ?w property:P530 ?x } GROUP BY ?w } . FILTER ( ?o >= 36 ) }
Germany Australia Canada
Germany, Australia and Canada have diplomatic relations with atleast 36 administrative territories
Germany Australia Canada
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 36
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?x ) AS ?o ) WHERE { ?w rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w property:diplomatic_relation ?x } GROUP BY ?w } . FILTER ( ?o >= 36 ) }
[]