Simple Question (Direct)
Simple Question
Q1084248
P27
Q1048835
USER
Which political territory does Christof Biebricher belong to ?
(Q1084248,P27,c(Q1048835))
action filter_type
action find
entity Q1084248
relation P27
type Q1048835
['Q1084248', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q1084248 property:P27 ?s }
Christof Biebricher
action filter_type
action find
entity Christof Biebricher
relation country of citizenship
type political territorial entity
['Christof Biebricher', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:Christof_Biebricher property:country_of_citizenship ?s }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1084248,P27,c(Q1048835))
action filter_type
action find
entity Q1084248
relation P27
type Q1048835
Christof Biebricher belongs to [ANSWER]
['Q1084248', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q1084248 property:P27 ?s }
Germany
Christof Biebricher belongs to Germany
Germany
action filter_type
action find
entity Christof Biebricher
relation country of citizenship
type political territorial entity
['Christof Biebricher', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:Christof_Biebricher property:country_of_citizenship ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P463
Q56061
USER
Which administrative territory was that political territory a member of ?
(Q183,P463,c(Q56061))
action filter_type
action find
entity Q183
relation P463
type Q56061
['Q183', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q183 property:P463 ?q . ?q rdf:type ontology:Q56061 }
Germany
action filter_type
action find
entity Germany
relation member of
type administrative territorial entity
['Germany', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Germany property:member_of ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q183,P463,c(Q56061))
action filter_type
action find
entity Q183
relation P463
type Q56061
[ANSWER] was that political territory a member of
['Q183', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q183 property:P463 ?q . ?q rdf:type ontology:Q56061 }
European Union
European Union was that political territory a member of
European Union
action filter_type
action find
entity Germany
relation member of
type administrative territorial entity
['Germany', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Germany property:member_of ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3055369
Q56061
USER
And also tell me about member state of the African Union?
(Q3055369,P463,c(Q56061))
action filter_type
action find
entity Q3055369
relation P463
type Q56061
['Q3055369', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3055369 property:P463 ?r . ?r rdf:type ontology:Q56061 }
member state of the African Union
action filter_type
action find
entity member state of the African Union
relation member of
type administrative territorial entity
['member state of the African Union', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:member_state_of_the_African_Union property:member_of ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7159
SYSTEM
African Union
Q7159
(Q3055369,P463,c(Q56061))
action filter_type
action find
entity Q3055369
relation P463
type Q56061
[ANSWER]
['Q3055369', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q3055369 property:P463 ?r . ?r rdf:type ontology:Q56061 }
African Union
African Union
action filter_type
action find
entity member state of the African Union
relation member of
type administrative territorial entity
['member state of the African Union', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:member_state_of_the_African_Union property:member_of ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q56061 Q107425
USER
How many administrative territories are greater number of landscapes a part of than that administrative territory ?
(c(Q107425),P361,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q56061
type Q107425
action count
action filter_type
action find
entity Q7159
relation P361
type Q56061
[{'concept': 'Q107425'}, 'P361', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:P361 ?f . ?f rdf:type ontology:Q56061 . ?v rdf:type ontology:Q107425 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:Q7159 property:P361 ?h . ?h rdf:type ontology:Q56061 } } . FILTER ( ?a > ?i ) }
action count
action greater
action find_reverse_tuple_counts
relation part of
type administrative territorial entity
type landscape
action count
action filter_type
action find
entity African Union
relation part of
type administrative territorial entity
[{'concept': 'landscape'}, 'part of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:part_of ?f . ?f rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:landscape } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:African_Union property:part_of ?h . ?h rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?a > ?i ) }
[]
administrative territorial entity landscape
SYSTEM
1
Q25231
(c(Q107425),P361,c(Q56061))
action count
action greater
action find_reverse_tuple_counts
relation P361
type Q56061
type Q107425
action count
action filter_type
action find
entity Q7159
relation P361
type Q56061
[ANSWER]
[{'concept': 'Q107425'}, 'P361', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:P361 ?f . ?f rdf:type ontology:Q56061 . ?v rdf:type ontology:Q107425 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:Q7159 property:P361 ?h . ?h rdf:type ontology:Q56061 } } . FILTER ( ?a > ?i ) }
Svalbard
1
action count
action greater
action find_reverse_tuple_counts
relation part of
type administrative territorial entity
type landscape
action count
action filter_type
action find
entity African Union
relation part of
type administrative territorial entity
[{'concept': 'landscape'}, 'part of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?k ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?a ) WHERE { ?v property:part_of ?f . ?f rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:landscape } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { resource:African_Union property:part_of ?h . ?h rdf:type ontology:administrative_territorial_entity } } . FILTER ( ?a > ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7159
P530
Q15617994
USER
Which administrative territory has ambassadorial relations with African Union ?
(c(Q15617994),P530,Q7159)
action filter_type
action find
entity Q7159
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q7159']
SELECT DISTINCT ?c WHERE { resource:Q7159 property:P530 ?c . ?c rdf:type ontology:Q15617994 }
African Union
action filter_type
action find
entity African Union
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'African Union']
SELECT DISTINCT ?c WHERE { resource:African_Union property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(c(Q15617994),P530,Q7159)
action filter_type
action find
entity Q7159
relation P530
type Q15617994
And [ANSWER] has ambassadorial relations with African Union
[{'concept': 'Q15617994'}, 'P530', 'Q7159']
SELECT DISTINCT ?c WHERE { resource:Q7159 property:P530 ?c . ?c rdf:type ontology:Q15617994 }
Brazil
And Brazil has ambassadorial relations with African Union
Brazil
action filter_type
action find
entity African Union
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'African Union']
SELECT DISTINCT ?c WHERE { resource:African_Union property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7159
P17
Q22687
USER
Which bank is present in that administrative territory ?
(c(Q22687),P17,Q155)
action filter_type
action find_reverse
entity Q7159
relation P17
type Q22687
[{'concept': 'Q22687'}, 'P17', 'Q155']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q22687 . ?z property:P17 resource:Q7159 }
African Union
action filter_type
action find_reverse
entity African Union
relation country
type bank
[{'concept': 'bank'}, 'country', 'Brazil']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:bank . ?z property:country resource:African_Union }
[]
bank
Q386906
SYSTEM
African Central Bank
Q386906
(c(Q22687),P17,Q155)
action filter_type
action find_reverse
entity Q7159
relation P17
type Q22687
[ANSWER] is present in that administrative territory
[{'concept': 'Q22687'}, 'P17', 'Q155']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q22687 . ?z property:P17 resource:Q7159 }
African Central Bank
African Central Bank is present in that administrative territory
African Central Bank
action filter_type
action find_reverse
entity African Union
relation country
type bank
[{'concept': 'bank'}, 'country', 'Brazil']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:bank . ?z property:country resource:African_Union }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q347
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with approximately the same number of administrative territories as Liechtenstein ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q347
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Q347 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?t ) WHERE { ?g property:P530 ?k . ?g rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?g } }
Liechtenstein
action count
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 Liechtenstein
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 ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Liechtenstein property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?t ) WHERE { ?g property:diplomatic_relation ?k . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
151
Q702 Q804 Q800 Q419 Q668 Q414 Q142 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 Q929 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 count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q347
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Q347 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?t ) WHERE { ?g property:P530 ?k . ?g rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?g } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina France 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 Central African Republic 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
151
action count
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 Liechtenstein
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 ( COUNT ( ?g ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { resource:Liechtenstein property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t = ?n ) . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?t ) WHERE { ?g property:diplomatic_relation ?k . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q36
P530
Q15617994 Q15617994
USER
And also tell me about Poland?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q36
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?r ) WHERE { ?w property:P530 ?y . ?w rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q36 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?r = ?q ) }
Poland
action count
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 Poland
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 ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?r ) WHERE { ?w property:diplomatic_relation ?y . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Poland property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r = ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
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 count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q36
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?r ) WHERE { ?w property:P530 ?y . ?w rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q36 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?r = ?q ) }
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
148
action count
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 Poland
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 ( COUNT ( ?w ) AS ?p ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?r ) WHERE { ?w property:diplomatic_relation ?y . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Poland property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r = ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P937
Q502895
USER
Who works at Brazil ?
(c(Q502895),P937,Q155)
action filter_type
action find_reverse
entity Q155
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q155']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q155 . ?l rdf:type ontology:Q502895 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Brazil']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Brazil . ?l rdf:type ontology:common_name }
[]
common name
Q21705837
SYSTEM
Eliana Machado Meugé
Q21705837
(c(Q502895),P937,Q155)
action filter_type
action find_reverse
entity Q155
relation P937
type Q502895
[ANSWER] works at Brazil
[{'concept': 'Q502895'}, 'P937', 'Q155']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q155 . ?l rdf:type ontology:Q502895 }
Eliana Machado Meugé
Eliana Machado Meugé works at Brazil
Eliana Machado Meugé
action filter_type
action find_reverse
entity Brazil
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Brazil']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Brazil . ?l rdf:type ontology:common_name }
[]