Simple Question (Direct)
Simple Question
Q704881
P69
Q3918
USER
What is the university where Odilo Scherer was educated ?
(Q704881,P69,c(Q3918))
action filter_type
action find
entity Q704881
relation P69
type Q3918
['Q704881', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { resource:Q704881 property:P69 ?c . ?c rdf:type ontology:Q3918 }
Odilo Scherer
action filter_type
action find
entity Odilo Scherer
relation educated at
type university
['Odilo Scherer', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { resource:Odilo_Scherer property:educated_at ?c . ?c rdf:type ontology:university }
[]
university
Q467025
SYSTEM
Pontifical Gregorian University
Q467025
(Q704881,P69,c(Q3918))
action filter_type
action find
entity Q704881
relation P69
type Q3918
The university Odilo Scherer was educated is the [ANSWER]
['Q704881', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?c WHERE { resource:Q704881 property:P69 ?c . ?c rdf:type ontology:Q3918 }
Pontifical Gregorian University
The university Odilo Scherer was educated is the Pontifical Gregorian University
Pontifical Gregorian University
action filter_type
action find
entity Odilo Scherer
relation educated at
type university
['Odilo Scherer', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?c WHERE { resource:Odilo_Scherer property:educated_at ?c . ?c rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q704881
P19
Q1048835
USER
Which political territory is the birthplace of that person ?
(Q467025,P19,c(Q1048835))
action filter_type
action find
entity Q704881
relation P19
type Q1048835
['Q467025', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q704881 property:P19 ?d . ?d rdf:type ontology:Q1048835 }
Odilo Scherer
action filter_type
action find
entity Odilo Scherer
relation place of birth
type political territorial entity
['Pontifical Gregorian University', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Odilo_Scherer property:place_of_birth ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1786013
SYSTEM
Cerro Largo, Rio Grande do Sul
Q1786013
(Q467025,P19,c(Q1048835))
action filter_type
action find
entity Q704881
relation P19
type Q1048835
[ANSWER] is the birthplace of that person
['Q467025', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q704881 property:P19 ?d . ?d rdf:type ontology:Q1048835 }
Cerro Largo, Rio Grande do Sul
Cerro Largo, Rio Grande do Sul is the birthplace of that person
Cerro Largo, Rio Grande do Sul
action filter_type
action find
entity Odilo Scherer
relation place of birth
type political territorial entity
['Pontifical Gregorian University', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Odilo_Scherer property:place_of_birth ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q948
P530
Q1048835 Q15617994
USER
Which administrative territories have diplomatic associations with around the same number of political territories as Tunisia ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q948
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?u ) WHERE { ?y property:P530 ?o . ?o rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q948 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?g ) }
Tunisia
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Tunisia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?u ) WHERE { ?y property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Tunisia property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?g ) }
[]
political territorial entity designation for an administrative territorial entity
Q55 Q148 Q184
SYSTEM
Netherlands, People's Republic of China, Belarus
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q265 Q37 Q712 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q948
relation P530
type Q15617994
[ANSWERS] have diplomatic associations with around the same number of political territories as Tunisia
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?u ) WHERE { ?y property:P530 ?o . ?o rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q948 property:P530 ?b . ?b rdf:type ontology:Q15617994 } } . FILTER ( ?u = ?g ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, People's Republic of China and Belarus have diplomatic associations with around the same number of political territories as Tunisia
Netherlands People's Republic of China Belarus
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Tunisia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?u ) WHERE { ?y property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Tunisia property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u = ?g ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q290096
P530
Q1048835
USER
Do Turychky have diplomatic relations with those administrative territories ?
(Q290096,P530,Q55) (Q290096,P530,Q148) (Q290096,P530,Q184)
action is_in
entity prev_answer
action find
entity Q290096
relation P530
['Q290096', 'P530', 'Q55'] ['Q290096', 'P530', 'Q148'] ['Q290096', 'P530', 'Q184']
ASK WHERE { resource:Q290096 property:P530 ?o . VALUES ( ?o ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Turychky
action is_in
entity prev_answer
action find
entity Turychky
relation diplomatic relation
['Turychky', 'diplomatic relation', 'Netherlands'] ['Turychky', 'diplomatic relation', "People's Republic of China"] ['Turychky', 'diplomatic relation', 'Belarus']
ASK WHERE { resource:Turychky property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
NO
(Q290096,P530,Q55) (Q290096,P530,Q148) (Q290096,P530,Q184)
action is_in
entity prev_answer
action find
entity Q290096
relation P530
[ANSWER]
['Q290096', 'P530', 'Q55'] ['Q290096', 'P530', 'Q148'] ['Q290096', 'P530', 'Q184']
ASK WHERE { resource:Q290096 property:P530 ?o . VALUES ( ?o ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Turychky
relation diplomatic relation
['Turychky', 'diplomatic relation', 'Netherlands'] ['Turychky', 'diplomatic relation', "People's Republic of China"] ['Turychky', 'diplomatic relation', 'Belarus']
ASK WHERE { resource:Turychky property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q55 Q1765020
P530
Q1048835
USER
Does Frei Rogério have diplomatic relations with Netherlands ?
(Q55,P530,Q1765020)
action is_in
entity Q1765020
action find
entity Q55
relation P530
['Q55', 'P530', 'Q1765020']
ASK WHERE { resource:Q55 property:P530 resource:Q1765020 }
Netherlands Frei Rogério
action is_in
entity Frei Rogério
action find
entity Netherlands
relation diplomatic relation
['Netherlands', 'diplomatic relation', 'Frei Rogério']
ASK WHERE { resource:Netherlands property:diplomatic_relation resource:Frei_Rogério }
[]
political territorial entity
SYSTEM
NO
(Q55,P530,Q1765020)
action is_in
entity Q1765020
action find
entity Q55
relation P530
[ANSWER]
['Q55', 'P530', 'Q1765020']
ASK WHERE { resource:Q55 property:P530 resource:Q1765020 }
No
action is_in
entity Frei Rogério
action find
entity Netherlands
relation diplomatic relation
['Netherlands', 'diplomatic relation', 'Frei Rogério']
ASK WHERE { resource:Netherlands property:diplomatic_relation resource:Frei_Rogério }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q55 Q237
P17
Q223557
USER
How many physical objects are situated in Netherlands or Vatican City ?
(c(Q223557),P17,Q55) (c(Q223557),P17,Q237)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P17
type Q223557
action filter_type
action find_reverse
entity Q237
relation P17
type Q223557
[{'concept': 'Q223557'}, 'P17', 'Q55'] [{'concept': 'Q223557'}, 'P17', 'Q237']
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { VALUES ( ?e ) { ( resource:Q55 ) ( resource:Q237 ) } . ?j property:P17 ?e }
Netherlands Vatican City
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation country
type physical object
action filter_type
action find_reverse
entity Vatican City
relation country
type physical object
[{'concept': 'physical object'}, 'country', 'Netherlands'] [{'concept': 'physical object'}, 'country', 'Vatican City']
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { VALUES ( ?e ) { ( resource:Netherlands ) ( resource:Vatican_City ) } . ?j property:country ?e }
[]
physical object
SYSTEM
7
Q1924296 Q7988579 Q7132424 Q2356605 Q2051320 Q3060633 Q1986157
(c(Q223557),P17,Q55) (c(Q223557),P17,Q237)
action count
action union
action filter_type
action find_reverse
entity Q55
relation P17
type Q223557
action filter_type
action find_reverse
entity Q237
relation P17
type Q223557
[ANSWER]
[{'concept': 'Q223557'}, 'P17', 'Q55'] [{'concept': 'Q223557'}, 'P17', 'Q237']
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { VALUES ( ?e ) { ( resource:Q55 ) ( resource:Q237 ) } . ?j property:P17 ?e }
Rotterdam-Zuid Westerpark Papal Apartments Honswijk Rotterdam-Oost Eurogeul Rotterdam Rechter Maasoever
7
action count
action union
action filter_type
action find_reverse
entity Netherlands
relation country
type physical object
action filter_type
action find_reverse
entity Vatican City
relation country
type physical object
[{'concept': 'physical object'}, 'country', 'Netherlands'] [{'concept': 'physical object'}, 'country', 'Vatican City']
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { VALUES ( ?e ) { ( resource:Netherlands ) ( resource:Vatican_City ) } . ?j property:country ?e }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4580800 Q704881
P27
Q15617994
USER
Which administrative territories are Odilo Scherer or Aksel Zachariassen an inhabitant of ?
OR((Q704881,P27,c(Q15617994)), (Q4580800,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q704881
relation P27
action find
entity Q4580800
relation P27
type Q15617994
{'OR': [['Q704881', 'P27', {'concept': 'Q15617994'}], ['Q4580800', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q704881 property:P27 ?p } UNION { resource:Q4580800 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Aksel Zachariassen Odilo Scherer
action filter_type
action union
action find
entity Odilo Scherer
relation country of citizenship
action find
entity Aksel Zachariassen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Odilo Scherer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aksel Zachariassen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Odilo_Scherer property:country_of_citizenship ?p } UNION { resource:Aksel_Zachariassen property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q20
SYSTEM
Brazil, Norway
Q155 Q20
OR((Q704881,P27,c(Q15617994)), (Q4580800,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q704881
relation P27
action find
entity Q4580800
relation P27
type Q15617994
[ANSWERS] are Odilo Scherer or Aksel Zachariassen an inhabitant of
{'OR': [['Q704881', 'P27', {'concept': 'Q15617994'}], ['Q4580800', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q704881 property:P27 ?p } UNION { resource:Q4580800 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Brazil Norway
Brazil and Norway are Odilo Scherer or Aksel Zachariassen an inhabitant of
Brazil Norway
action filter_type
action union
action find
entity Odilo Scherer
relation country of citizenship
action find
entity Aksel Zachariassen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Odilo Scherer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aksel Zachariassen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Odilo_Scherer property:country_of_citizenship ?p } UNION { resource:Aksel_Zachariassen property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q155 Q20
P30
Q2221906
USER
Which geographic locations are Brazil and Norway located in ?
(Q155,P30,c(Q2221906)) (Q20,P30,c(Q2221906))
action union
action filter_type
action find
entity Q155
relation P30
type Q2221906
action filter_type
action find
entity Q20
relation P30
type Q2221906
['Q155', 'P30', {'concept': 'Q2221906'}] ['Q20', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { { resource:Q155 property:P30 ?o . ?o rdf:type ontology:Q2221906 } UNION { resource:Q20 property:P30 ?o . ?o rdf:type ontology:Q2221906 } }
Brazil Norway
action union
action filter_type
action find
entity Brazil
relation continent
type geographic location
action filter_type
action find
entity Norway
relation continent
type geographic location
['Brazil', 'continent', {'concept': 'geographic location'}] ['Norway', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { { resource:Brazil property:continent ?o . ?o rdf:type ontology:geographic_location } UNION { resource:Norway property:continent ?o . ?o rdf:type ontology:geographic_location } }
[]
geographic location
Q18 Q46
SYSTEM
South America, Europe
Q18 Q46
(Q155,P30,c(Q2221906)) (Q20,P30,c(Q2221906))
action union
action filter_type
action find
entity Q155
relation P30
type Q2221906
action filter_type
action find
entity Q20
relation P30
type Q2221906
Brazil and Norway are located in [ANSWERS]
['Q155', 'P30', {'concept': 'Q2221906'}] ['Q20', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { { resource:Q155 property:P30 ?o . ?o rdf:type ontology:Q2221906 } UNION { resource:Q20 property:P30 ?o . ?o rdf:type ontology:Q2221906 } }
South America Europe
Brazil and Norway are located in South America and Europe
South America Europe
action union
action filter_type
action find
entity Brazil
relation continent
type geographic location
action filter_type
action find
entity Norway
relation continent
type geographic location
['Brazil', 'continent', {'concept': 'geographic location'}] ['Norway', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { { resource:Brazil property:continent ?o . ?o rdf:type ontology:geographic_location } UNION { resource:Norway property:continent ?o . ?o rdf:type ontology:geographic_location } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18
P921
Q2342494
USER
Which collectable was primarily based on that geographic location ?
(c(Q2342494),P921,Q18)
action filter_type
action find_reverse
entity Q18
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q18']
SELECT DISTINCT ?u WHERE { ?u property:P921 resource:Q18 . ?u rdf:type ontology:Q2342494 }
South America
action filter_type
action find_reverse
entity South America
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'South America']
SELECT DISTINCT ?u WHERE { ?u property:main_subject resource:South_America . ?u rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q46
SYSTEM
Did you mean Europe ?
Q18 Q46
(c(Q2342494),P921,Q18) (c(Q2342494),P921,Q46)
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q18'] [{'concept': 'Q2342494'}, 'P921', 'Q46']
SELECT DISTINCT ?u WHERE { ?u property:P921 resource:Q18 . ?u rdf:type ontology:Q2342494 }
South America Europe
Did you mean Europe ?
Europe
[{'concept': 'collectable'}, 'main subject', 'South America'] [{'concept': 'collectable'}, 'main subject', 'Europe']
SELECT DISTINCT ?u WHERE { ?u property:main_subject resource:South_America . ?u rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
No, I meant South America. Could you tell me the answer for that?
(c(Q2342494),P921,Q18)
Q18
[{'concept': 'Q2342494'}, 'P921', 'Q18']
[{'concept': 'collectable'}, 'main subject', 'South America']
[]
Q20968078
SYSTEM
A Historical and Descriptive Narrative of twenty years' residence in South America
Q20968078
(c(Q2342494),P921,Q18)
action filter_type
action find_reverse
entity Q18
relation P921
type Q2342494
[ANSWER] was primarily based on that geographic location
[{'concept': 'Q2342494'}, 'P921', 'Q18']
SELECT DISTINCT ?u WHERE { ?u property:P921 resource:Q18 . ?u rdf:type ontology:Q2342494 }
A Historical and Descriptive Narrative of twenty years' residence in South America
A Historical and Descriptive Narrative of twenty years' residence in South America was primarily based on that geographic location
A Historical and Descriptive Narrative of twenty years' residence in South America
action filter_type
action find_reverse
entity South America
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'South America']
SELECT DISTINCT ?u WHERE { ?u property:main_subject resource:South_America . ?u rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20968078
P629
Q571
USER
Which book is that collectable an edition or translation of ?
(Q20968078,P629,c(Q571))
action filter_type
action find
entity Q20968078
relation P629
type Q571
['Q20968078', 'P629', {'concept': 'Q571'}]
SELECT DISTINCT ?i WHERE { resource:Q20968078 property:P629 ?i . ?i rdf:type ontology:Q571 }
A Historical and Descriptive Narrative of twenty years' residence in South America
action filter_type
action find
entity A Historical and Descriptive Narrative of twenty years' residence in South America
relation edition or translation of
type book
["A Historical and Descriptive Narrative of twenty years' residence in South America", 'edition or translation of', {'concept': 'book'}]
SELECT DISTINCT ?i WHERE { resource:A_Historical_and_Descriptive_Narrative_of_twenty_years'_residence_in_South_America property:edition_or_translation_of ?i . ?i rdf:type ontology:book }
[]
book
Q20968084
SYSTEM
A Historical and Descriptive Narrative of twenty years' residence in South America
Q20968084
(Q20968078,P629,c(Q571))
action filter_type
action find
entity Q20968078
relation P629
type Q571
That collectable an edition or translation of is [ANSWER]
['Q20968078', 'P629', {'concept': 'Q571'}]
SELECT DISTINCT ?i WHERE { resource:Q20968078 property:P629 ?i . ?i rdf:type ontology:Q571 }
A Historical and Descriptive Narrative of twenty years' residence in South America
That collectable an edition or translation of is A Historical and Descriptive Narrative of twenty years' residence in South America
A Historical and Descriptive Narrative of twenty years' residence in South America
action filter_type
action find
entity A Historical and Descriptive Narrative of twenty years' residence in South America
relation edition or translation of
type book
["A Historical and Descriptive Narrative of twenty years' residence in South America", 'edition or translation of', {'concept': 'book'}]
SELECT DISTINCT ?i WHERE { resource:A_Historical_and_Descriptive_Narrative_of_twenty_years'_residence_in_South_America property:edition_or_translation_of ?i . ?i rdf:type ontology:book }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q155
P530
Q15617994
USER
How many administrative territories have a diplomatic relationship with Brazil ?
(Q155,P530,c(Q15617994))
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
['Q155', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q155 property:P530 ?r . ?r rdf:type ontology:Q15617994 }
Brazil
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Brazil property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
53
Q96 Q419 Q801 Q800 Q843 Q1029 Q822 Q241 Q244 Q668 Q574 Q414 Q983 Q142 Q145 Q148 Q783 Q43 Q17 Q30 Q36 Q77 Q750 Q1016 Q739 Q423 Q717 Q79 Q733 Q1011 Q962 Q736 Q298 Q252 Q399 Q403 Q258 Q212 Q213 Q45 Q159 Q734 Q41 Q790 Q38 Q796 Q794 Q917 Q1033 Q29 Q958 Q1049 Q916
(Q155,P530,c(Q15617994))
action count
action filter_type
action find
entity Q155
relation P530
type Q15617994
[ANSWER]
['Q155', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Q155 property:P530 ?r . ?r rdf:type ontology:Q15617994 }
Mexico Peru Israel Costa Rica Pakistan Mozambique Lebanon Cuba Barbados India East Timor Argentina Equatorial Guinea France United Kingdom People's Republic of China Honduras Turkey Japan United States of America Poland Uruguay Bolivia Libya Colombia North Korea Venezuela Egypt Paraguay Cape Verde Benin Ecuador Chile Indonesia Armenia Serbia South Africa Ukraine Czech Republic Portugal Russia Guyana Greece Haiti Italy Iraq Iran Bhutan Nigeria Spain South Sudan Sudan Angola
53
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?x ) WHERE { resource:Brazil property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q801
Q15617994
USER
And what about Israel?
(Q801,P530,c(Q15617994))
action count
action filter_type
action find
entity Q801
relation P530
type Q15617994
['Q801', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q801 property:P530 ?n }
Israel
action count
action filter_type
action find
entity Israel
relation diplomatic relation
type designation for an administrative territorial entity
['Israel', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Israel property:diplomatic_relation ?n }
[]
designation for an administrative territorial entity
SYSTEM
19
(Q801,P530,c(Q15617994))
action count
action filter_type
action find
entity Q801
relation P530
type Q15617994
[ANSWER]
['Q801', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q801 property:P530 ?n }
19
action count
action filter_type
action find
entity Israel
relation diplomatic relation
type designation for an administrative territorial entity
['Israel', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Israel property:diplomatic_relation ?n }
[]