Simple Question (Direct)
Simple Question
Q3446603
P69
Q3918
USER
Where was Rubén Ramírez Lezcano educated ?
(Q3446603,P69,c(Q3918))
action filter_type
action find
entity Q3446603
relation P69
type Q3918
['Q3446603', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?i WHERE { resource:Q3446603 property:P69 ?i . ?i rdf:type ontology:Q3918 }
Rubén Ramírez Lezcano
action filter_type
action find
entity Rubén Ramírez Lezcano
relation educated at
type university
['Rubén Ramírez Lezcano', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?i WHERE { resource:Rubén_Ramírez_Lezcano property:educated_at ?i . ?i rdf:type ontology:university }
[]
university
Q174710
SYSTEM
University of California, Los Angeles
Q174710
(Q3446603,P69,c(Q3918))
action filter_type
action find
entity Q3446603
relation P69
type Q3918
Rubén Ramírez Lezcano was educated [ANSWER]
['Q3446603', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?i WHERE { resource:Q3446603 property:P69 ?i . ?i rdf:type ontology:Q3918 }
University of California, Los Angeles
Rubén Ramírez Lezcano was educated University of California, Los Angeles
University of California, Los Angeles
action filter_type
action find
entity Rubén Ramírez Lezcano
relation educated at
type university
['Rubén Ramírez Lezcano', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?i WHERE { resource:Rubén_Ramírez_Lezcano property:educated_at ?i . ?i rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q174710
P462
Q4373292
USER
What is the color of that university ?
(Q174710,P462,c(Q4373292))
action filter_type
action find
entity Q174710
relation P462
type Q4373292
['Q174710', 'P462', {'concept': 'Q4373292'}]
SELECT DISTINCT ?y WHERE { resource:Q174710 property:P462 ?y . ?y rdf:type ontology:Q4373292 }
University of California, Los Angeles
action filter_type
action find
entity University of California, Los Angeles
relation color
type physical property
['University of California, Los Angeles', 'color', {'concept': 'physical property'}]
SELECT DISTINCT ?y WHERE { resource:University_of_California,_Los_Angeles property:color ?y . ?y rdf:type ontology:physical_property }
[]
physical property
Q208045
SYSTEM
gold
Q208045
(Q174710,P462,c(Q4373292))
action filter_type
action find
entity Q174710
relation P462
type Q4373292
The color of that university is a [ANSWER]
['Q174710', 'P462', {'concept': 'Q4373292'}]
SELECT DISTINCT ?y WHERE { resource:Q174710 property:P462 ?y . ?y rdf:type ontology:Q4373292 }
gold
The color of that university is a gold
gold
action filter_type
action find
entity University of California, Los Angeles
relation color
type physical property
['University of California, Los Angeles', 'color', {'concept': 'physical property'}]
SELECT DISTINCT ?y WHERE { resource:University_of_California,_Los_Angeles property:color ?y . ?y rdf:type ontology:physical_property }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q208045 Q17050262
P186
Q15709879
USER
Is Carved wood vahanas in National Museum constructed that physical property ?
(Q17050262,P186,Q208045)
action is_in
entity Q17050262
action find
entity Q208045
relation P186
['Q17050262', 'P186', 'Q208045']
ASK WHERE { resource:Q208045 property:P186 resource:Q17050262 }
gold Carved wood vahanas in National Museum
action is_in
entity Carved wood vahanas in National Museum
action find
entity gold
relation material used
['Carved wood vahanas in National Museum', 'material used', 'gold']
ASK WHERE { resource:gold property:material_used resource:Carved_wood_vahanas_in_National_Museum }
[]
artwork series
SYSTEM
NO
(Q17050262,P186,Q208045)
action is_in
entity Q17050262
action find
entity Q208045
relation P186
[ANSWER]
['Q17050262', 'P186', 'Q208045']
ASK WHERE { resource:Q208045 property:P186 resource:Q17050262 }
No
action is_in
entity Carved wood vahanas in National Museum
action find
entity gold
relation material used
['Carved wood vahanas in National Museum', 'material used', 'gold']
ASK WHERE { resource:gold property:material_used resource:Carved_wood_vahanas_in_National_Museum }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q174710 Q557041 Q42271
P17
Q15617994
USER
Is University of California, Los Angeles situated in Liebenstein and Villa Cortese ?
(Q174710,P17,Q557041) (Q174710,P17,Q42271)
action is_in
entity Q174710
action intersection
action find_reverse
entity Q557041
relation P17
action find_reverse
entity Q42271
relation P17
['Q174710', 'P17', 'Q557041'] ['Q174710', 'P17', 'Q42271']
ASK WHERE { resource:Q174710 property:P17 resource:Q557041 . resource:Q174710 property:P17 resource:Q42271 }
University of California, Los Angeles Liebenstein Villa Cortese
action is_in
entity University of California, Los Angeles
action intersection
action find_reverse
entity Liebenstein
relation country
action find_reverse
entity Villa Cortese
relation country
['University of California, Los Angeles', 'country', 'Liebenstein'] ['University of California, Los Angeles', 'country', 'Villa Cortese']
ASK WHERE { resource:University_of_California,_Los_Angeles property:country resource:Liebenstein . resource:University_of_California,_Los_Angeles property:country resource:Villa_Cortese }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q174710,P17,Q557041) (Q174710,P17,Q42271)
action is_in
entity Q174710
action intersection
action find_reverse
entity Q557041
relation P17
action find_reverse
entity Q42271
relation P17
[ANSWER]
['Q174710', 'P17', 'Q557041'] ['Q174710', 'P17', 'Q42271']
ASK WHERE { resource:Q174710 property:P17 resource:Q557041 . resource:Q174710 property:P17 resource:Q42271 }
No
action is_in
entity University of California, Los Angeles
action intersection
action find_reverse
entity Liebenstein
relation country
action find_reverse
entity Villa Cortese
relation country
['University of California, Los Angeles', 'country', 'Liebenstein'] ['University of California, Los Angeles', 'country', 'Villa Cortese']
ASK WHERE { resource:University_of_California,_Los_Angeles property:country resource:Liebenstein . resource:University_of_California,_Los_Angeles property:country resource:Villa_Cortese }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3446603
P106
Q12737077
USER
How many occupations are the professions of Rubén Ramírez Lezcano ?
(Q3446603,P106,c(Q12737077))
action count
action filter_type
action find
entity Q3446603
relation P106
type Q12737077
['Q3446603', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q3446603 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Rubén Ramírez Lezcano
action count
action filter_type
action find
entity Rubén Ramírez Lezcano
relation occupation
type occupation
['Rubén Ramírez Lezcano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Rubén_Ramírez_Lezcano property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
SYSTEM
3
Q193391 Q188094 Q82955
(Q3446603,P106,c(Q12737077))
action count
action filter_type
action find
entity Q3446603
relation P106
type Q12737077
[ANSWER]
['Q3446603', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Q3446603 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
diplomat economist politician
3
action count
action filter_type
action find
entity Rubén Ramírez Lezcano
relation occupation
type occupation
['Rubén Ramírez Lezcano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { resource:Rubén_Ramírez_Lezcano property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q6235684
P106
Q12737077
USER
And also tell me about John Goodall?
(Q6235684,P106,c(Q12737077))
action count
action filter_type
action find
entity Q6235684
relation P106
type Q12737077
['Q6235684', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ontology:Q12737077 . resource:Q6235684 property:P106 ?u }
John Goodall
action count
action filter_type
action find
entity John Goodall
relation occupation
type occupation
['John Goodall', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ontology:occupation . resource:John_Goodall property:occupation ?u }
[]
occupation
SYSTEM
1
Q26224000
(Q6235684,P106,c(Q12737077))
action count
action filter_type
action find
entity Q6235684
relation P106
type Q12737077
[ANSWER]
['Q6235684', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ontology:Q12737077 . resource:Q6235684 property:P106 ?u }
castellologist
1
action count
action filter_type
action find
entity John Goodall
relation occupation
type occupation
['John Goodall', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?t ) WHERE { ?u rdf:type ontology:occupation . resource:John_Goodall property:occupation ?u }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q21465232
Q12737077
USER
And what about Grace Paterson?
(Q21465232,P106,c(Q12737077))
action count
action filter_type
action find
entity Q21465232
relation P106
type Q12737077
['Q21465232', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Q21465232 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Grace Paterson
action count
action filter_type
action find
entity Grace Paterson
relation occupation
type occupation
['Grace Paterson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Grace_Paterson property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
(Q21465232,P106,c(Q12737077))
action count
action filter_type
action find
entity Q21465232
relation P106
type Q12737077
[ANSWER]
['Q21465232', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Q21465232 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
1
action count
action filter_type
action find
entity Grace Paterson
relation occupation
type occupation
['Grace Paterson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Grace_Paterson property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7636650 Q3446603
P27
Q15617994
USER
Which administrative territories do Rubén Ramírez Lezcano or Sultan Dziaddin Mukarram Shah belong to ?
OR((Q3446603,P27,c(Q15617994)), (Q7636650,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3446603
relation P27
action find
entity Q7636650
relation P27
type Q15617994
{'OR': [['Q3446603', 'P27', {'concept': 'Q15617994'}], ['Q7636650', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3446603 property:P27 ?y } UNION { resource:Q7636650 property:P27 ?y } } . ?y rdf:type ontology:Q15617994 }
Sultan Dziaddin Mukarram Shah Rubén Ramírez Lezcano
action filter_type
action union
action find
entity Rubén Ramírez Lezcano
relation country of citizenship
action find
entity Sultan Dziaddin Mukarram Shah
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rubén Ramírez Lezcano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sultan Dziaddin Mukarram Shah', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Rubén_Ramírez_Lezcano property:country_of_citizenship ?y } UNION { resource:Sultan_Dziaddin_Mukarram_Shah property:country_of_citizenship ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q833 Q733
SYSTEM
Malaysia, Paraguay
Q833 Q733
OR((Q3446603,P27,c(Q15617994)), (Q7636650,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3446603
relation P27
action find
entity Q7636650
relation P27
type Q15617994
[ANSWERS] Rubén Ramírez Lezcano or Sultan Dziaddin Mukarram Shah belong to
{'OR': [['Q3446603', 'P27', {'concept': 'Q15617994'}], ['Q7636650', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3446603 property:P27 ?y } UNION { resource:Q7636650 property:P27 ?y } } . ?y rdf:type ontology:Q15617994 }
Malaysia Paraguay
Malaysia and Paraguay Rubén Ramírez Lezcano or Sultan Dziaddin Mukarram Shah belong to
Malaysia Paraguay
action filter_type
action union
action find
entity Rubén Ramírez Lezcano
relation country of citizenship
action find
entity Sultan Dziaddin Mukarram Shah
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rubén Ramírez Lezcano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sultan Dziaddin Mukarram Shah', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Rubén_Ramírez_Lezcano property:country_of_citizenship ?y } UNION { resource:Sultan_Dziaddin_Mukarram_Shah property:country_of_citizenship ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q833
P163
Q14660
USER
Which flag is associated with that administrative territory ?
(Q833,P163,c(Q14660))
action filter_type
action find
entity Q833
relation P163
type Q14660
['Q833', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?l WHERE { resource:Q833 property:P163 ?l . ?l rdf:type ontology:Q14660 }
Malaysia
action filter_type
action find
entity Malaysia
relation flag
type flag
['Malaysia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?l WHERE { resource:Malaysia property:flag ?l . ?l rdf:type ontology:flag }
[]
flag
Clarification for simple ques.
Q833
SYSTEM
Did you mean Malaysia ?
Q833 Q733
(Q833,P163,c(Q14660)) (Q733,P163,c(Q14660))
[ANSWER]
['Q833', 'P163', {'concept': 'Q14660'}] ['Q733', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?l WHERE { resource:Q833 property:P163 ?l . ?l rdf:type ontology:Q14660 }
Malaysia Paraguay
Did you mean Malaysia ?
Malaysia
['Malaysia', 'flag', {'concept': 'flag'}] ['Paraguay', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?l WHERE { resource:Malaysia property:flag ?l . ?l rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
USER
Yes
(Q833,P163,c(Q14660))
['Q833', 'P163', {'concept': 'Q14660'}]
['Malaysia', 'flag', {'concept': 'flag'}]
[]
Q168935
SYSTEM
Flag of Malaysia
Q168935
(Q833,P163,c(Q14660))
action filter_type
action find
entity Q833
relation P163
type Q14660
[ANSWER] is associated with that administrative territory
['Q833', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?l WHERE { resource:Q833 property:P163 ?l . ?l rdf:type ontology:Q14660 }
Flag of Malaysia
Flag of Malaysia is associated with that administrative territory
Flag of Malaysia
action filter_type
action find
entity Malaysia
relation flag
type flag
['Malaysia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?l WHERE { resource:Malaysia property:flag ?l . ?l rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16143133
P19
Q56061
USER
Which administrative territory is the place of birth of Alexis Smith ?
(Q16143133,P19,c(Q56061))
action filter_type
action find
entity Q16143133
relation P19
type Q56061
['Q16143133', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q16143133 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Alexis Smith
action filter_type
action find
entity Alexis Smith
relation place of birth
type administrative territorial entity
['Alexis Smith', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Alexis_Smith property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65
SYSTEM
Los Angeles
Q65
(Q16143133,P19,c(Q56061))
action filter_type
action find
entity Q16143133
relation P19
type Q56061
[ANSWER] is the place of birth of Alexis Smith
['Q16143133', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q16143133 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Los Angeles
Los Angeles is the place of birth of Alexis Smith
Los Angeles
action filter_type
action find
entity Alexis Smith
relation place of birth
type administrative territorial entity
['Alexis Smith', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Alexis_Smith property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16143133
P21
Q290
USER
Which sex does that person belong to ?
(Q65,P21,c(Q290))
action filter_type
action find
entity Q16143133
relation P21
type Q290
['Q65', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q16143133 property:P21 ?q . ?q rdf:type ontology:Q290 }
Alexis Smith
action filter_type
action find
entity Alexis Smith
relation gender
type sex
['Los Angeles', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Alexis_Smith property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q65,P21,c(Q290))
action filter_type
action find
entity Q16143133
relation P21
type Q290
That person belongs to [ANSWER]
['Q65', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q16143133 property:P21 ?q . ?q rdf:type ontology:Q290 }
female
That person belongs to female
female
action filter_type
action find
entity Alexis Smith
relation gender
type sex
['Los Angeles', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Alexis_Smith property:gender ?q . ?q rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q833
P915
Q838948 Q15416
USER
How many works of art and television programs were filmed at Malaysia ?
(c(Q838948),P915,Q833) (c(Q15416),P915,Q833)
action count
action union
action filter_type
action find_reverse
entity Q833
relation P915
type Q838948
action filter_type
action find_reverse
entity Q833
relation P915
type Q15416
[{'concept': 'Q838948'}, 'P915', 'Q833'] [{'concept': 'Q15416'}, 'P915', 'Q833']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } }
Malaysia
action count
action union
action filter_type
action find_reverse
entity Malaysia
relation filming location
type work of art
action filter_type
action find_reverse
entity Malaysia
relation filming location
type television program
[{'concept': 'work of art'}, 'filming location', 'Malaysia'] [{'concept': 'television program'}, 'filming location', 'Malaysia']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:television_program ) } }
[]
work of art television program
SYSTEM
1 works of art and 1 television programs
Q7641814 Q4747552
(c(Q838948),P915,Q833) (c(Q15416),P915,Q833)
action count
action union
action filter_type
action find_reverse
entity Q833
relation P915
type Q838948
action filter_type
action find_reverse
entity Q833
relation P915
type Q15416
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q833'] [{'concept': 'Q15416'}, 'P915', 'Q833']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:Q838948 ) ( ontology:Q15416 ) } }
Suomen Robinson Among the Great Apes with Michelle Yeoh
1 works of art and 1 television programs
action count
action union
action filter_type
action find_reverse
entity Malaysia
relation filming location
type work of art
action filter_type
action find_reverse
entity Malaysia
relation filming location
type television program
[{'concept': 'work of art'}, 'filming location', 'Malaysia'] [{'concept': 'television program'}, 'filming location', 'Malaysia']
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { ?v rdf:type ?b . VALUES ( ?b ) { ( ontology:work_of_art ) ( ontology:television_program ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4346047 Q3446603
P27
Q15617994
USER
Which administrative territories are Rubén Ramírez Lezcano or Honda Shigetsugu a civilian of ?
OR((Q3446603,P27,c(Q15617994)), (Q4346047,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3446603
relation P27
action find
entity Q4346047
relation P27
type Q15617994
{'OR': [['Q3446603', 'P27', {'concept': 'Q15617994'}], ['Q4346047', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { ?e property:P27 ?k . VALUES ( ?e ) { ( resource:Q3446603 ) ( resource:Q4346047 ) } } . ?k rdf:type ontology:Q15617994 }
Honda Shigetsugu Rubén Ramírez Lezcano
action filter_type
action union
action find
entity Rubén Ramírez Lezcano
relation country of citizenship
action find
entity Honda Shigetsugu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rubén Ramírez Lezcano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Honda Shigetsugu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { ?e property:country_of_citizenship ?k . VALUES ( ?e ) { ( resource:Rubén_Ramírez_Lezcano ) ( resource:Honda_Shigetsugu ) } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q733 Q17
SYSTEM
Paraguay, Japan
Q733 Q17
OR((Q3446603,P27,c(Q15617994)), (Q4346047,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3446603
relation P27
action find
entity Q4346047
relation P27
type Q15617994
[ANSWERS] are Rubén Ramírez Lezcano or Honda Shigetsugu a civilian of
{'OR': [['Q3446603', 'P27', {'concept': 'Q15617994'}], ['Q4346047', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { ?e property:P27 ?k . VALUES ( ?e ) { ( resource:Q3446603 ) ( resource:Q4346047 ) } } . ?k rdf:type ontology:Q15617994 }
Paraguay Japan
Paraguay and Japan are Rubén Ramírez Lezcano or Honda Shigetsugu a civilian of
Paraguay Japan
action filter_type
action union
action find
entity Rubén Ramírez Lezcano
relation country of citizenship
action find
entity Honda Shigetsugu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Rubén Ramírez Lezcano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Honda Shigetsugu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { ?e property:country_of_citizenship ?k . VALUES ( ?e ) { ( resource:Rubén_Ramírez_Lezcano ) ( resource:Honda_Shigetsugu ) } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic associations with approximately 58 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 58
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?b = 58 ) . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?b ) WHERE { ?c property:P530 ?t . ?c rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?c } }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 58
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?b = 58 ) . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?b ) WHERE { ?c property:diplomatic_relation ?t . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 58
[ANSWER] have diplomatic associations with approximately 58 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?b = 58 ) . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?b ) WHERE { ?c property:P530 ?t . ?c rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?c } }
Brazil
Brazil have diplomatic associations with approximately 58 administrative territories
Brazil
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 58
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?b = 58 ) . { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?b ) WHERE { ?c property:diplomatic_relation ?t . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } }
[]