Simple Question (Direct)
Simple Question
Q7290536
P241
Q781132
USER
Which military branch did Ramón Núñez-Juárez belong to ?
(Q7290536,P241,c(Q781132))
action filter_type
action find
entity Q7290536
relation P241
type Q781132
['Q7290536', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { resource:Q7290536 property:P241 ?r . ?r rdf:type ontology:Q781132 }
Ramón Núñez-Juárez
action filter_type
action find
entity Ramón Núñez-Juárez
relation military branch
type military branch
['Ramón Núñez-Juárez', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { resource:Ramón_Núñez-Juárez property:military_branch ?r . ?r rdf:type ontology:military_branch }
[]
military branch
Q11218
SYSTEM
United States Marine Corps
Q11218
(Q7290536,P241,c(Q781132))
action filter_type
action find
entity Q7290536
relation P241
type Q781132
Ramón Núñez-Juárez belonged to the [ANSWER]
['Q7290536', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { resource:Q7290536 property:P241 ?r . ?r rdf:type ontology:Q781132 }
United States Marine Corps
Ramón Núñez-Juárez belonged to the United States Marine Corps
United States Marine Corps
action filter_type
action find
entity Ramón Núñez-Juárez
relation military branch
type military branch
['Ramón Núñez-Juárez', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { resource:Ramón_Núñez-Juárez property:military_branch ?r . ?r rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7290536
P166
Q618779
USER
What were awarded to that person ?
(Q11218,P166,c(Q618779))
action filter_type
action find
entity Q7290536
relation P166
type Q618779
['Q11218', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q7290536 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Ramón Núñez-Juárez
action filter_type
action find
entity Ramón Núñez-Juárez
relation award received
type award
['United States Marine Corps', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Ramón_Núñez-Juárez property:award_received ?y . ?y rdf:type ontology:award }
[]
award
Q145752 Q833465
SYSTEM
Purple Heart, Navy Cross
Q145752 Q833465
(Q11218,P166,c(Q618779))
action filter_type
action find
entity Q7290536
relation P166
type Q618779
Who [ANSWERS] were awarded to that person
['Q11218', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?y WHERE { resource:Q7290536 property:P166 ?y . ?y rdf:type ontology:Q618779 }
Purple Heart Navy Cross
Who Purple Heart and Navy Cross were awarded to that person
Purple Heart Navy Cross
action filter_type
action find
entity Ramón Núñez-Juárez
relation award received
type award
['United States Marine Corps', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?y WHERE { resource:Ramón_Núñez-Juárez property:award_received ?y . ?y rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7290536
P607
Q350604
USER
What was was Ramón Núñez-Juárez a part of ?
(Q7290536,P607,c(Q350604))
action filter_type
action find
entity Q7290536
relation P607
type Q350604
['Q7290536', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?i WHERE { resource:Q7290536 property:P607 ?i . ?i rdf:type ontology:Q350604 }
Ramón Núñez-Juárez
action filter_type
action find
entity Ramón Núñez-Juárez
relation conflict
type armed conflict
['Ramón Núñez-Juárez', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?i WHERE { resource:Ramón_Núñez-Juárez property:conflict ?i . ?i rdf:type ontology:armed_conflict }
[]
armed conflict
Q8663
SYSTEM
Korean War
Q8663
(Q7290536,P607,c(Q350604))
action filter_type
action find
entity Q7290536
relation P607
type Q350604
Ramón Núñez-Juárez was a part of the [ANSWER]
['Q7290536', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?i WHERE { resource:Q7290536 property:P607 ?i . ?i rdf:type ontology:Q350604 }
Korean War
Ramón Núñez-Juárez was a part of the Korean War
Korean War
action filter_type
action find
entity Ramón Núñez-Juárez
relation conflict
type armed conflict
['Ramón Núñez-Juárez', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?i WHERE { resource:Ramón_Núñez-Juárez property:conflict ?i . ?i rdf:type ontology:armed_conflict }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6662836 Q7290536
P27
Q15617994
USER
Which administrative territories are Ramón Núñez-Juárez or Lloyd Zaragoza a civilian of ?
OR((Q7290536,P27,c(Q15617994)), (Q6662836,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7290536
relation P27
action find
entity Q6662836
relation P27
type Q15617994
{'OR': [['Q7290536', 'P27', {'concept': 'Q15617994'}], ['Q6662836', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?v ) { ( resource:Q7290536 ) ( resource:Q6662836 ) } . ?v property:P27 ?s } . ?s rdf:type ontology:Q15617994 }
Lloyd Zaragoza Ramón Núñez-Juárez
action filter_type
action union
action find
entity Ramón Núñez-Juárez
relation country of citizenship
action find
entity Lloyd Zaragoza
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ramón Núñez-Juárez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lloyd Zaragoza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?v ) { ( resource:Ramón_Núñez-Juárez ) ( resource:Lloyd_Zaragoza ) } . ?v property:country_of_citizenship ?s } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928 Q30
SYSTEM
Philippines, United States of America
Q928 Q30
OR((Q7290536,P27,c(Q15617994)), (Q6662836,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q7290536
relation P27
action find
entity Q6662836
relation P27
type Q15617994
[ANSWERS] are Ramón Núñez-Juárez or Lloyd Zaragoza a civilian of
{'OR': [['Q7290536', 'P27', {'concept': 'Q15617994'}], ['Q6662836', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?v ) { ( resource:Q7290536 ) ( resource:Q6662836 ) } . ?v property:P27 ?s } . ?s rdf:type ontology:Q15617994 }
Philippines United States of America
Philippines and United States of America are Ramón Núñez-Juárez or Lloyd Zaragoza a civilian of
Philippines United States of America
action filter_type
action union
action find
entity Ramón Núñez-Juárez
relation country of citizenship
action find
entity Lloyd Zaragoza
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Ramón Núñez-Juárez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Lloyd Zaragoza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?v ) { ( resource:Ramón_Núñez-Juárez ) ( resource:Lloyd_Zaragoza ) } . ?v property:country_of_citizenship ?s } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q80644
P180
Q15617994 Q3305213 Q838948
USER
How many administrative territories are expressed in lesser number of paintings or works of art than Köngen ?
(c(Q3305213)|c(Q838948),P180,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q80644
relation P180
type Q3305213
type Q838948
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?n ) WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q3305213 ) ( ontology:Q838948 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P180 resource:Q80644 . { { ?f rdf:type ontology:Q3305213 } UNION { ?f rdf:type ontology:Q838948 } } } } . FILTER ( ?n < ?w ) }
Köngen
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Köngen
relation depicts
type painting
type work of art
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?n ) WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:painting ) ( ontology:work_of_art ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:depicts resource:Köngen . { { ?f rdf:type ontology:painting } UNION { ?f rdf:type ontology:work_of_art } } } } . FILTER ( ?n < ?w ) }
[]
designation for an administrative territorial entity painting work of art
SYSTEM
85
Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q47505 Q148 Q128081 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q298 Q13320 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q1016 Q1011 Q913434 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q80591 Q42288 Q1034158
(c(Q3305213)|c(Q838948),P180,c(Q15617994))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q80644
relation P180
type Q3305213
type Q838948
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?n ) WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:Q3305213 ) ( ontology:Q838948 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:P180 resource:Q80644 . { { ?f rdf:type ontology:Q3305213 } UNION { ?f rdf:type ontology:Q838948 } } } } . FILTER ( ?n < ?w ) }
Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom Dolo People's Republic of China Cori, Lazio Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Savona Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Libya Cape Verde Les Halles Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Atrani Asola Cap Norfeu
85
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Köngen
relation depicts
type painting
type work of art
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?n ) WHERE { ?d rdf:type ?b . VALUES ( ?b ) { ( ontology:painting ) ( ontology:work_of_art ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { ?f property:depicts resource:Köngen . { { ?f rdf:type ontology:painting } UNION { ?f rdf:type ontology:work_of_art } } } } . FILTER ( ?n < ?w ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q928
P276
Q8065
USER
Which natural disaster is located at Philippines ?
(c(Q8065),P276,Q928)
action filter_type
action find_reverse
entity Q928
relation P276
type Q8065
[{'concept': 'Q8065'}, 'P276', 'Q928']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q928 . ?g rdf:type ontology:Q8065 }
Philippines
action filter_type
action find_reverse
entity Philippines
relation location
type natural disaster
[{'concept': 'natural disaster'}, 'location', 'Philippines']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Philippines . ?g rdf:type ontology:natural_disaster }
[]
natural disaster
Q7861308
SYSTEM
Typhoon Roy
Q7861308
(c(Q8065),P276,Q928)
action filter_type
action find_reverse
entity Q928
relation P276
type Q8065
[ANSWER] is located at Philippines
[{'concept': 'Q8065'}, 'P276', 'Q928']
SELECT DISTINCT ?g WHERE { ?g property:P276 resource:Q928 . ?g rdf:type ontology:Q8065 }
Typhoon Roy
Typhoon Roy is located at Philippines
Typhoon Roy
action filter_type
action find_reverse
entity Philippines
relation location
type natural disaster
[{'concept': 'natural disaster'}, 'location', 'Philippines']
SELECT DISTINCT ?g WHERE { ?g property:location resource:Philippines . ?g rdf:type ontology:natural_disaster }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q928
P1376
Q515
USER
Which city is the county seat of Philippines ?
(c(Q515),P1376,Q928)
action filter_type
action find_reverse
entity Q928
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q928']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . ?w property:P1376 resource:Q928 }
Philippines
action filter_type
action find_reverse
entity Philippines
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Philippines']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . ?w property:capital_of resource:Philippines }
[]
city
Q1461
SYSTEM
Manila
Q1461
(c(Q515),P1376,Q928)
action filter_type
action find_reverse
entity Q928
relation P1376
type Q515
Philippines [ANSWER] is the county seat of Philippines
[{'concept': 'Q515'}, 'P1376', 'Q928']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . ?w property:P1376 resource:Q928 }
Manila
Philippines Manila is the county seat of Philippines
Manila
action filter_type
action find_reverse
entity Philippines
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Philippines']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . ?w property:capital_of resource:Philippines }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1461
P190
Q56061
USER
Which administrative territories are partner town of that city ?
(c(Q56061),P190,Q1461)
action filter_type
action find
entity Q1461
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q1461']
SELECT DISTINCT ?y WHERE { resource:Q1461 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Manila
action filter_type
action find
entity Manila
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Manila']
SELECT DISTINCT ?y WHERE { resource:Manila property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q2807 Q956
SYSTEM
Moscow, Madrid, Beijing
Q33959 Q987 Q41621 Q1489 Q3630 Q340 Q2868 Q649 Q8851 Q81398 Q16635 Q2807 Q956 Q1520 Q3130 Q1867 Q26339 Q1861 Q1563 Q51103 Q62
(c(Q56061),P190,Q1461)
action filter_type
action find
entity Q1461
relation P190
type Q56061
[ANSWERS] are partner town of that city
[{'concept': 'Q56061'}, 'P190', 'Q1461']
SELECT DISTINCT ?y WHERE { resource:Q1461 property:P190 ?y . ?y rdf:type ontology:Q56061 }
Nice New Delhi Haifa Mexico City Jakarta Montreal Lima Moscow Málaga Acapulco Guam Madrid Beijing Astana Sydney Taipei Jersey City Bangkok Havana Cali San Francisco
Moscow, Madrid and Beijing are partner town of that city
Moscow Madrid Beijing
action filter_type
action find
entity Manila
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Manila']
SELECT DISTINCT ?y WHERE { resource:Manila property:sister_city ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]