Simple Question (Direct)
Simple Question
Q921705
P19
Q56061
USER
Where was Alexandre de Serpa Pinto born ?
(Q921705,P19,c(Q56061))
action filter_type
action find
entity Q921705
relation P19
type Q56061
['Q921705', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q921705 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Alexandre de Serpa Pinto
action filter_type
action find
entity Alexandre de Serpa Pinto
relation place of birth
type administrative territorial entity
['Alexandre de Serpa Pinto', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Alexandre_de_Serpa_Pinto property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q861464
SYSTEM
Cinfães Municipality
Q861464
(Q921705,P19,c(Q56061))
action filter_type
action find
entity Q921705
relation P19
type Q56061
Alexandre de Serpa Pinto was born in [ANSWER]
['Q921705', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q921705 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Cinfães Municipality
Alexandre de Serpa Pinto was born in Cinfães Municipality
Cinfães Municipality
action filter_type
action find
entity Alexandre de Serpa Pinto
relation place of birth
type administrative territorial entity
['Alexandre de Serpa Pinto', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Alexandre_de_Serpa_Pinto property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q921705
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Alexandre de Serpa Pinto ?
(Q921705,P27,c(Q15617994))
action filter_type
action find
entity Q921705
relation P27
type Q15617994
['Q921705', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q921705 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Alexandre de Serpa Pinto
action filter_type
action find
entity Alexandre de Serpa Pinto
relation country of citizenship
type designation for an administrative territorial entity
['Alexandre de Serpa Pinto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Alexandre_de_Serpa_Pinto property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45
SYSTEM
Portugal
Q45
(Q921705,P27,c(Q15617994))
action filter_type
action find
entity Q921705
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Alexandre de Serpa Pinto
['Q921705', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q921705 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Portugal
Portugal is the country of citizenship of Alexandre de Serpa Pinto
Portugal
action filter_type
action find
entity Alexandre de Serpa Pinto
relation country of citizenship
type designation for an administrative territorial entity
['Alexandre de Serpa Pinto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Alexandre_de_Serpa_Pinto property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q45 Q25336878
P27
Q502895
USER
Is Antônio Pereira de Sousa Calheiros a citizen of that administrative territory ?
(Q25336878,P27,Q45)
action is_in
entity Q45
action find
entity Q25336878
relation P27
['Q25336878', 'P27', 'Q45']
ASK WHERE { resource:Q25336878 property:P27 resource:Q45 }
Portugal Antônio Pereira de Sousa Calheiros
action is_in
entity Portugal
action find
entity Antônio Pereira de Sousa Calheiros
relation country of citizenship
['Antônio Pereira de Sousa Calheiros', 'country of citizenship', 'Portugal']
ASK WHERE { resource:Antônio_Pereira_de_Sousa_Calheiros property:country_of_citizenship resource:Portugal }
[]
common name
SYSTEM
YES
(Q25336878,P27,Q45)
action is_in
entity Q45
action find
entity Q25336878
relation P27
[ANSWER]
['Q25336878', 'P27', 'Q45']
ASK WHERE { resource:Q25336878 property:P27 resource:Q45 }
Yes
action is_in
entity Portugal
action find
entity Antônio Pereira de Sousa Calheiros
relation country of citizenship
['Antônio Pereira de Sousa Calheiros', 'country of citizenship', 'Portugal']
ASK WHERE { resource:Antônio_Pereira_de_Sousa_Calheiros property:country_of_citizenship resource:Portugal }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q921705 Q597
P20
Q56061
USER
Is Lisbon the place of death of Alexandre de Serpa Pinto ?
(Q921705,P20,Q597)
action is_in
entity Q597
action find
entity Q921705
relation P20
['Q921705', 'P20', 'Q597']
ASK WHERE { resource:Q921705 property:P20 resource:Q597 }
Alexandre de Serpa Pinto Lisbon
action is_in
entity Lisbon
action find
entity Alexandre de Serpa Pinto
relation place of death
['Alexandre de Serpa Pinto', 'place of death', 'Lisbon']
ASK WHERE { resource:Alexandre_de_Serpa_Pinto property:place_of_death resource:Lisbon }
[]
administrative territorial entity
SYSTEM
YES
(Q921705,P20,Q597)
action is_in
entity Q597
action find
entity Q921705
relation P20
[ANSWER]
['Q921705', 'P20', 'Q597']
ASK WHERE { resource:Q921705 property:P20 resource:Q597 }
Yes
action is_in
entity Lisbon
action find
entity Alexandre de Serpa Pinto
relation place of death
['Alexandre de Serpa Pinto', 'place of death', 'Lisbon']
ASK WHERE { resource:Alexandre_de_Serpa_Pinto property:place_of_death resource:Lisbon }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q45 Q1772722
P530
Q1048835
USER
Does Tanque d'Arca hold diplomatic relationship with Portugal ?
(Q45,P530,Q1772722)
action is_in
entity Q1772722
action find
entity Q45
relation P530
['Q45', 'P530', 'Q1772722']
ASK WHERE { resource:Q45 property:P530 resource:Q1772722 }
Portugal Tanque d'Arca
action is_in
entity Tanque d'Arca
action find
entity Portugal
relation diplomatic relation
['Portugal', 'diplomatic relation', "Tanque d'Arca"]
ASK WHERE { resource:Portugal property:diplomatic_relation resource:Tanque_d'Arca }
[]
political territorial entity
SYSTEM
NO
(Q45,P530,Q1772722)
action is_in
entity Q1772722
action find
entity Q45
relation P530
[ANSWER]
['Q45', 'P530', 'Q1772722']
ASK WHERE { resource:Q45 property:P530 resource:Q1772722 }
No
action is_in
entity Tanque d'Arca
action find
entity Portugal
relation diplomatic relation
['Portugal', 'diplomatic relation', "Tanque d'Arca"]
ASK WHERE { resource:Portugal property:diplomatic_relation resource:Tanque_d'Arca }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q861464 Q45
P17
Q15617994
USER
Is Cinfães Municipality present in Portugal ?
(Q861464,P17,Q45)
action is_in
entity Q45
action find
entity Q861464
relation P17
['Q861464', 'P17', 'Q45']
ASK WHERE { resource:Q861464 property:P17 resource:Q45 }
Cinfães Municipality Portugal
action is_in
entity Portugal
action find
entity Cinfães Municipality
relation country
['Cinfães Municipality', 'country', 'Portugal']
ASK WHERE { resource:Cinfães_Municipality property:country resource:Portugal }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q861464,P17,Q45)
action is_in
entity Q45
action find
entity Q861464
relation P17
[ANSWER]
['Q861464', 'P17', 'Q45']
ASK WHERE { resource:Q861464 property:P17 resource:Q45 }
Yes
action is_in
entity Portugal
action find
entity Cinfães Municipality
relation country
['Cinfães Municipality', 'country', 'Portugal']
ASK WHERE { resource:Cinfães_Municipality property:country resource:Portugal }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q921705 Q5092110
P20
Q56061
USER
Did the demise of Alexandre de Serpa Pinto occur Cheroh ?
(Q921705,P20,Q5092110)
action is_in
entity Q5092110
action find
entity Q921705
relation P20
['Q921705', 'P20', 'Q5092110']
ASK WHERE { resource:Q921705 property:P20 resource:Q5092110 }
Alexandre de Serpa Pinto Cheroh
action is_in
entity Cheroh
action find
entity Alexandre de Serpa Pinto
relation place of death
['Alexandre de Serpa Pinto', 'place of death', 'Cheroh']
ASK WHERE { resource:Alexandre_de_Serpa_Pinto property:place_of_death resource:Cheroh }
[]
administrative territorial entity
SYSTEM
NO
(Q921705,P20,Q5092110)
action is_in
entity Q5092110
action find
entity Q921705
relation P20
[ANSWER]
['Q921705', 'P20', 'Q5092110']
ASK WHERE { resource:Q921705 property:P20 resource:Q5092110 }
No
action is_in
entity Cheroh
action find
entity Alexandre de Serpa Pinto
relation place of death
['Alexandre de Serpa Pinto', 'place of death', 'Cheroh']
ASK WHERE { resource:Alexandre_de_Serpa_Pinto property:place_of_death resource:Cheroh }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q45 Q1428
P463
Q43229
USER
How many organizations were Portugal and Georgia a member of ?
(Q45,P463,c(Q43229)) (Q1428,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q45
relation P463
type Q43229
action filter_type
action find
entity Q1428
relation P463
type Q43229
['Q45', 'P463', {'concept': 'Q43229'}] ['Q1428', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Q45 property:P463 ?f . ?f rdf:type ontology:Q43229 . resource:Q1428 property:P463 ?f . ?f rdf:type ontology:Q43229 }
Portugal Georgia
action count
action intersection
action filter_type
action find
entity Portugal
relation member of
type organization
action filter_type
action find
entity Georgia
relation member of
type organization
['Portugal', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Portugal property:member_of ?f . ?f rdf:type ontology:organization . resource:Georgia property:member_of ?f . ?f rdf:type ontology:organization }
[]
organization
SYSTEM
4
Q191384 Q899770 Q656801 Q827525
(Q45,P463,c(Q43229)) (Q1428,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q45
relation P463
type Q43229
action filter_type
action find
entity Q1428
relation P463
type Q43229
[ANSWER]
['Q45', 'P463', {'concept': 'Q43229'}] ['Q1428', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Q45 property:P463 ?f . ?f rdf:type ontology:Q43229 . resource:Q1428 property:P463 ?f . ?f rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation International Development Association
4
action count
action intersection
action filter_type
action find
entity Portugal
relation member of
type organization
action filter_type
action find
entity Georgia
relation member of
type organization
['Portugal', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { resource:Portugal property:member_of ?f . ?f rdf:type ontology:organization . resource:Georgia property:member_of ?f . ?f rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q1267889 Q337567 Q15617994
USER
How many administrative territories are located in the neighbourhood of around 1 waterways or still waterss ?
(c(Q15617994),P206,c(Q1267889)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q337567
value 1
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?w WHERE { { ?w property:P206 ?l . ?l rdf:type ontology:Q1267889 . ?w rdf:type ontology:Q15617994 } UNION { ?w property:P206 ?l . ?l rdf:type ontology:Q337567 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?w } . FILTER ( ?n = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?w WHERE { { ?w property:located_next_to_body_of_water ?l . ?l rdf:type ontology:waterway . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:located_next_to_body_of_water ?l . ?l rdf:type ontology:still_waters . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?w } . FILTER ( ?n = 1 ) }
[]
waterway still waters designation for an administrative territorial entity
SYSTEM
16
Q104577 Q47585 Q6237 Q664950 Q216422 Q244095 Q7566251 Q34 Q104192 Q681329 Q690219 Q2043234 Q42265 Q20267 Q194136 Q47612
(c(Q15617994),P206,c(Q1267889)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
action find_tuple_counts
relation P206
type Q15617994
type Q337567
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?w WHERE { { ?w property:P206 ?l . ?l rdf:type ontology:Q1267889 . ?w rdf:type ontology:Q15617994 } UNION { ?w property:P206 ?l . ?l rdf:type ontology:Q337567 . ?w rdf:type ontology:Q15617994 } } GROUP BY ?w } . FILTER ( ?n = 1 ) }
Desenzano del Garda Garda Lecco Loddin Samsø Bellagio South Bay Sweden Kleinmachnow Dümmer Perlin Almere Buiten Abbadia Lariana Schwarz Riva del Garda Domaso
16
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?w WHERE { { ?w property:located_next_to_body_of_water ?l . ?l rdf:type ontology:waterway . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?w property:located_next_to_body_of_water ?l . ?l rdf:type ontology:still_waters . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?w } . FILTER ( ?n = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q224
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with approximately the same number of administrative territories as Croatia ?
(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 Q224
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?x = ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q224 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?x ) WHERE { ?y property:P530 ?l . ?y rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?y } }
Croatia
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 Croatia
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 { FILTER ( ?x = ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Croatia property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?x ) WHERE { ?y property:diplomatic_relation ?l . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?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 Q224
relation P530
type Q15617994
[ANSWERS] have tactful political relations with approximately the same number of administrative territories as Croatia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?x = ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Q224 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?x ) WHERE { ?y property:P530 ?l . ?y rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?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 tactful political relations with approximately the same number of administrative territories as Croatia
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 Croatia
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 { FILTER ( ?x = ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { resource:Croatia property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?x ) WHERE { ?y property:diplomatic_relation ?l . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1028
P530
Q15617994 Q15617994
USER
And what about Morocco?
(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 Q1028
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?v = ?g ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q1028 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?v ) WHERE { ?j property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?j } }
Morocco
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 Morocco
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 ?j WHERE { FILTER ( ?v = ?g ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Morocco property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?v ) WHERE { ?j property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1028
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?v = ?g ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q1028 property:P530 ?k . ?k rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?v ) WHERE { ?j property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?j } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands Poland People's Republic of China
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Morocco
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 ?j WHERE { FILTER ( ?v = ?g ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Morocco property:diplomatic_relation ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?v ) WHERE { ?j property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P495
Q5200157 Q1001378
USER
How many confectionss and cinematic techniques are Poland a country of origin of ?
(c(Q5200157),P495,Q36) (c(Q1001378),P495,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P495
type Q5200157
action filter_type
action find_reverse
entity Q36
relation P495
type Q1001378
[{'concept': 'Q5200157'}, 'P495', 'Q36'] [{'concept': 'Q1001378'}, 'P495', 'Q36']
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:Q5200157 ) ( ontology:Q1001378 ) } . ?u rdf:type ?t }
Poland
action count
action union
action filter_type
action find_reverse
entity Poland
relation country of origin
type confections
action filter_type
action find_reverse
entity Poland
relation country of origin
type cinematic technique
[{'concept': 'confections'}, 'country of origin', 'Poland'] [{'concept': 'cinematic technique'}, 'country of origin', 'Poland']
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:confections ) ( ontology:cinematic_technique ) } . ?u rdf:type ?t }
[]
confections cinematic technique
SYSTEM
1 confectionss and 1 cinematic techniques
Q5114248 Q3271078
(c(Q5200157),P495,Q36) (c(Q1001378),P495,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P495
type Q5200157
action filter_type
action find_reverse
entity Q36
relation P495
type Q1001378
[ANSWER]
[{'concept': 'Q5200157'}, 'P495', 'Q36'] [{'concept': 'Q1001378'}, 'P495', 'Q36']
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:Q5200157 ) ( ontology:Q1001378 ) } . ?u rdf:type ?t }
Chronopolis Krówki
1 confectionss and 1 cinematic techniques
action count
action union
action filter_type
action find_reverse
entity Poland
relation country of origin
type confections
action filter_type
action find_reverse
entity Poland
relation country of origin
type cinematic technique
[{'concept': 'confections'}, 'country of origin', 'Poland'] [{'concept': 'cinematic technique'}, 'country of origin', 'Poland']
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { VALUES ( ?t ) { ( ontology:confections ) ( ontology:cinematic_technique ) } . ?u rdf:type ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45
P937
Q502895
USER
Who is an person who works at Portugal ?
(c(Q502895),P937,Q45)
action filter_type
action find_reverse
entity Q45
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q45']
SELECT DISTINCT ?r WHERE { ?r property:P937 resource:Q45 . ?r rdf:type ontology:Q502895 }
Portugal
action filter_type
action find_reverse
entity Portugal
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Portugal']
SELECT DISTINCT ?r WHERE { ?r property:work_location resource:Portugal . ?r rdf:type ontology:common_name }
[]
common name
Q310870
SYSTEM
Marcelo Caetano
Q310870
(c(Q502895),P937,Q45)
action filter_type
action find_reverse
entity Q45
relation P937
type Q502895
An person works at Portugal is Prince [ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q45']
SELECT DISTINCT ?r WHERE { ?r property:P937 resource:Q45 . ?r rdf:type ontology:Q502895 }
Marcelo Caetano
An person works at Portugal is Prince Marcelo Caetano
Marcelo Caetano
action filter_type
action find_reverse
entity Portugal
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Portugal']
SELECT DISTINCT ?r WHERE { ?r property:work_location resource:Portugal . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q310870
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q310870,P102,c(Q7210356))
action filter_type
action find
entity Q310870
relation P102
type Q7210356
['Q310870', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q310870 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Marcelo Caetano
action filter_type
action find
entity Marcelo Caetano
relation member of political party
type political organization
['Marcelo Caetano', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Marcelo_Caetano property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q954010
SYSTEM
National Union
Q954010
(Q310870,P102,c(Q7210356))
action filter_type
action find
entity Q310870
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q310870', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q310870 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
National Union
That person is affiliated with National Union
National Union
action filter_type
action find
entity Marcelo Caetano
relation member of political party
type political organization
['Marcelo Caetano', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Marcelo_Caetano property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]