Simple Question (Direct)
Simple Question
Q107423
P184
Q502895
USER
Who was the doctoral advisor of Ben Roy Mottelson ?
(Q107423,P184,c(Q502895))
action filter_type
action find
entity Q107423
relation P184
type Q502895
['Q107423', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q107423 property:P184 ?f . ?f rdf:type ontology:Q502895 }
Ben Roy Mottelson
action filter_type
action find
entity Ben Roy Mottelson
relation doctoral advisor
type common name
['Ben Roy Mottelson', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Ben_Roy_Mottelson property:doctoral_advisor ?f . ?f rdf:type ontology:common_name }
[]
common name
Q186465
SYSTEM
Julian Schwinger
Q186465
(Q107423,P184,c(Q502895))
action filter_type
action find
entity Q107423
relation P184
type Q502895
The doctoral advisor of Ben Roy Mottelson was the [ANSWER]
['Q107423', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q107423 property:P184 ?f . ?f rdf:type ontology:Q502895 }
Julian Schwinger
The doctoral advisor of Ben Roy Mottelson was the Julian Schwinger
Julian Schwinger
action filter_type
action find
entity Ben Roy Mottelson
relation doctoral advisor
type common name
['Ben Roy Mottelson', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Ben_Roy_Mottelson property:doctoral_advisor ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q186465
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q186465,P20,c(Q56061))
action filter_type
action find
entity Q186465
relation P20
type Q56061
['Q186465', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q186465 property:P20 ?p }
Julian Schwinger
action filter_type
action find
entity Julian Schwinger
relation place of death
type administrative territorial entity
['Julian Schwinger', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Julian_Schwinger property:place_of_death ?p }
[]
administrative territorial entity
Q65
SYSTEM
Los Angeles
Q65
(Q186465,P20,c(Q56061))
action filter_type
action find
entity Q186465
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q186465', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q186465 property:P20 ?p }
Los Angeles
Los Angeles is the place of death of that person
Los Angeles
action filter_type
action find
entity Julian Schwinger
relation place of death
type administrative territorial entity
['Julian Schwinger', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Julian_Schwinger property:place_of_death ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q65
P47
Q56061
USER
How many administrative territories are adjacent to Los Angeles ?
(Q65,P47,c(Q56061))
action count
action filter_type
action find
entity Q65
relation P47
type Q56061
['Q65', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Q65 property:P47 ?f . ?f rdf:type ontology:Q56061 }
Los Angeles
action count
action filter_type
action find
entity Los Angeles
relation shares border with
type administrative territorial entity
['Los Angeles', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Los_Angeles property:shares_border_with ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
18
Q127856 Q485716 Q487119 Q493378 Q39561 Q489197 Q846406 Q846409 Q846421 Q494690 Q852581 Q752681 Q984162 Q47164 Q983859 Q487315 Q913346 Q621549
(Q65,P47,c(Q56061))
action count
action filter_type
action find
entity Q65
relation P47
type Q56061
[ANSWER]
['Q65', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Q65 property:P47 ?f . ?f rdf:type ontology:Q56061 }
Beverly Hills Glendale Compton Culver City Burbank Torrance San Fernando Gardena West Hollywood Carson South Pasadena Alhambra Lomita Santa Monica El Segundo Monterey Hidden Hills Inglewood
18
action count
action filter_type
action find
entity Los Angeles
relation shares border with
type administrative territorial entity
['Los Angeles', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { resource:Los_Angeles property:shares_border_with ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q9970
Q56061
USER
And how about Velsen?
(Q9970,P47,c(Q56061))
action count
action filter_type
action find
entity Q9970
relation P47
type Q56061
['Q9970', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q9970 property:P47 ?z . ?z rdf:type ontology:Q56061 }
Velsen
action count
action filter_type
action find
entity Velsen
relation shares border with
type administrative territorial entity
['Velsen', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Velsen property:shares_border_with ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
(Q9970,P47,c(Q56061))
action count
action filter_type
action find
entity Q9970
relation P47
type Q56061
[ANSWER]
['Q9970', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Q9970 property:P47 ?z . ?z rdf:type ontology:Q56061 }
2
action count
action filter_type
action find
entity Velsen
relation shares border with
type administrative territorial entity
['Velsen', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { resource:Velsen property:shares_border_with ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q65
P1001
Q12737077
USER
Which occupations preside the jurisdiction over Los Angeles ?
(c(Q12737077),P1001,Q65)
action filter_type
action find_reverse
entity Q65
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q65']
SELECT DISTINCT ?n WHERE { ?n property:P1001 resource:Q65 . ?n rdf:type ontology:Q12737077 }
Los Angeles
action filter_type
action find_reverse
entity Los Angeles
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Los Angeles']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction resource:Los_Angeles . ?n rdf:type ontology:occupation }
[]
occupation
Q16147110 Q1465319
SYSTEM
Los Angeles City Controller, Mayor of Los Angeles
Q16147110 Q1465319
(c(Q12737077),P1001,Q65)
action filter_type
action find_reverse
entity Q65
relation P1001
type Q12737077
[ANSWERS] preside the jurisdiction over Los Angeles
[{'concept': 'Q12737077'}, 'P1001', 'Q65']
SELECT DISTINCT ?n WHERE { ?n property:P1001 resource:Q65 . ?n rdf:type ontology:Q12737077 }
Los Angeles City Controller Mayor of Los Angeles
Los Angeles City Controller and Mayor of Los Angeles preside the jurisdiction over Los Angeles
Los Angeles City Controller Mayor of Los Angeles
action filter_type
action find_reverse
entity Los Angeles
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Los Angeles']
SELECT DISTINCT ?n WHERE { ?n property:applies_to_jurisdiction resource:Los_Angeles . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16147110 Q1465319
P39
Q502895
USER
Which people held the position of Los Angeles City Controller and Mayor of Los Angeles ?
(c(Q502895),P39,Q16147110) (c(Q502895),P39,Q1465319)
action union
action filter_type
action find_reverse
entity Q16147110
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1465319
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q16147110'] [{'concept': 'Q502895'}, 'P39', 'Q1465319']
SELECT DISTINCT ?v WHERE { { ?v property:P39 resource:Q1465319 . ?v rdf:type ontology:Q502895 } UNION { ?v property:P39 resource:Q16147110 . ?v rdf:type ontology:Q502895 } }
Los Angeles City Controller Mayor of Los Angeles
action union
action filter_type
action find_reverse
entity Los Angeles City Controller
relation position held
type common name
action filter_type
action find_reverse
entity Mayor of Los Angeles
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Los Angeles City Controller'] [{'concept': 'common name'}, 'position held', 'Mayor of Los Angeles']
SELECT DISTINCT ?v WHERE { { ?v property:position_held resource:Mayor_of_Los_Angeles . ?v rdf:type ontology:common_name } UNION { ?v property:position_held resource:Los_Angeles_City_Controller . ?v rdf:type ontology:common_name } }
[]
common name
Q552548 Q5458769 Q1133864
SYSTEM
Sam Yorty, Fletcher Bowron, Tom Bradley
Q706358 Q1752310 Q9287884 Q5497707 Q5487817 Q5077177 Q552548 Q5538727 Q1133864 Q5458769 Q4888476 Q706358 Q5386557 Q8010682 Q5212470 Q721263
(c(Q502895),P39,Q16147110) (c(Q502895),P39,Q1465319)
action union
action filter_type
action find_reverse
entity Q16147110
relation P39
type Q502895
action filter_type
action find_reverse
entity Q1465319
relation P39
type Q502895
[ANSWERS] held the position of Los Angeles City Controller and Mayor of Los Angeles
[{'concept': 'Q502895'}, 'P39', 'Q16147110'] [{'concept': 'Q502895'}, 'P39', 'Q1465319']
SELECT DISTINCT ?v WHERE { { ?v property:P39 resource:Q1465319 . ?v rdf:type ontology:Q502895 } UNION { ?v property:P39 resource:Q16147110 . ?v rdf:type ontology:Q502895 } }
James Hahn Norris Poulson Henry T. Hazard Frederick Eaton Frank L. Shaw Charles E. Sebastian Sam Yorty George E. Cryer Tom Bradley Fletcher Bowron Benjamin Davis Wilson James Hahn Eric Garcetti William H. Workman Damien Marchesseault Richard Riordan
Sam Yorty, Fletcher Bowron and Tom Bradley held the position of Los Angeles City Controller and Mayor of Los Angeles
Sam Yorty Fletcher Bowron Tom Bradley
action union
action filter_type
action find_reverse
entity Los Angeles City Controller
relation position held
type common name
action filter_type
action find_reverse
entity Mayor of Los Angeles
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Los Angeles City Controller'] [{'concept': 'common name'}, 'position held', 'Mayor of Los Angeles']
SELECT DISTINCT ?v WHERE { { ?v property:position_held resource:Mayor_of_Los_Angeles . ?v rdf:type ontology:common_name } UNION { ?v property:position_held resource:Los_Angeles_City_Controller . ?v rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1133864
P138
Q151885
USER
Which concept is the eponym of Tom Bradley ?
(c(Q151885),P138,Q1133864)
action filter_type
action find_reverse
entity Q1133864
relation P138
type Q151885
[{'concept': 'Q151885'}, 'P138', 'Q1133864']
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q1133864 . ?d rdf:type ontology:Q151885 }
Tom Bradley
action filter_type
action find_reverse
entity Tom Bradley
relation named after
type concept
[{'concept': 'concept'}, 'named after', 'Tom Bradley']
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Tom_Bradley . ?d rdf:type ontology:concept }
[]
concept
Q367704
SYSTEM
Bradley effect
Q367704
(c(Q151885),P138,Q1133864)
action filter_type
action find_reverse
entity Q1133864
relation P138
type Q151885
[ANSWER] is the eponym of Tom Bradley
[{'concept': 'Q151885'}, 'P138', 'Q1133864']
SELECT DISTINCT ?d WHERE { ?d property:P138 resource:Q1133864 . ?d rdf:type ontology:Q151885 }
Bradley effect
Bradley effect is the eponym of Tom Bradley
Bradley effect
action filter_type
action find_reverse
entity Tom Bradley
relation named after
type concept
[{'concept': 'concept'}, 'named after', 'Tom Bradley']
SELECT DISTINCT ?d WHERE { ?d property:named_after resource:Tom_Bradley . ?d rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q159497
P138
Q151885 Q2088357
USER
How many musical ensembles are named after less number of concepts than Destruction ?
(c(Q2088357),P138,c(Q151885))
action count
action less
action find_tuple_counts
relation P138
type Q2088357
type Q151885
action count
action filter_type
action find
entity Q159497
relation P138
type Q151885
[{'concept': 'Q2088357'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?n ) WHERE { ?c property:P138 ?b . ?c rdf:type ontology:Q2088357 . ?b rdf:type ontology:Q151885 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Q159497 property:P138 ?a . ?a rdf:type ontology:Q151885 } } . FILTER ( ?n < ?v ) }
Destruction
action count
action less
action find_tuple_counts
relation named after
type musical ensemble
type concept
action count
action filter_type
action find
entity Destruction
relation named after
type concept
[{'concept': 'musical ensemble'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?n ) WHERE { ?c property:named_after ?b . ?c rdf:type ontology:musical_ensemble . ?b rdf:type ontology:concept } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Destruction property:named_after ?a . ?a rdf:type ontology:concept } } . FILTER ( ?n < ?v ) }
[]
concept musical ensemble
SYSTEM
216
Q678410 Q1122398 Q2387270 Q163157 Q2731747 Q691568 Q220967 Q5300251 Q10348952 Q966066 Q263632 Q25177 Q4906822 Q180582 Q706774 Q2122494 Q259254 Q1525702 Q1539872 Q16517193 Q5630197 Q492653 Q10423486 Q1655278 Q5299699 Q1865918 Q909810 Q26922434 Q2598316 Q4955875 Q262431 Q7430486 Q555302 Q13569874 Q524495 Q1427200 Q11664954 Q2034568 Q16955334 Q6651100 Q318322 Q2033456 Q19363304 Q586933 Q23809295 Q5297788 Q1221349 Q11815622 Q5646562 Q462380 Q3091865 Q2013381 Q18233 Q298880 Q2635412 Q26986626 Q272517 Q2117346 Q981180 Q1260713 Q2637905 Q2226430 Q502291 Q10570429 Q1344492 Q43267 Q190155 Q667389 Q220896 Q277352 Q11962417 Q1180197 Q6952373 Q58381 Q158462 Q272260 Q15229239 Q1140218 Q1476516 Q1500069 Q1781779 Q148335 Q5547858 Q311645 Q15013153 Q4927454 Q746682 Q2114368 Q1395987 Q13409443 Q3398184 Q2300681 Q17132085 Q6361816 Q1888619 Q1527861 Q930112 Q1459195 Q4736129 Q6698220 Q2577167 Q645930 Q258686 Q761119 Q165846 Q1145957 Q1541393 Q300618 Q539631 Q1653864 Q7375802 Q1543686 Q5927119 Q4665151 Q2062478 Q204328 Q220938 Q1151619 Q4050372 Q15808027 Q1617530 Q1130436 Q15181127 Q1814408 Q7752593 Q1431109 Q152761 Q750593 Q4921886 Q1756181 Q1411892 Q173180 Q798071 Q1298697 Q5467325 Q27832330 Q2524568 Q4940449 Q2372008 Q1754475 Q1538766 Q2894949 Q112656 Q7655551 Q1759857 Q1132434 Q693583 Q11950509 Q2834623 Q1419287 Q4387812 Q1337257 Q704262 Q1345357 Q16414 Q191352 Q214061 Q15052778 Q1727232 Q1018071 Q384603 Q16651212 Q608208 Q1168381 Q16764038 Q7692398 Q732326 Q2748745 Q4656316 Q1373482 Q7256860 Q2421531 Q5326517 Q178792 Q864433 Q1103318 Q1713832 Q18015668 Q13533344 Q468872 Q11682533 Q12352361 Q1034596 Q1926913 Q6698178 Q758381 Q1127431 Q869922 Q1669590 Q1557827 Q6841397 Q862223 Q17280844 Q1370393 Q134541 Q19833921 Q479019 Q1420833 Q420880 Q1157349 Q1127341 Q664175 Q740605 Q485893 Q284483 Q192308 Q2914477 Q3399302 Q643272 Q390300 Q1156513 Q221449 Q221281 Q1888034 Q1009687 Q1584103
(c(Q2088357),P138,c(Q151885))
action count
action less
action find_tuple_counts
relation P138
type Q2088357
type Q151885
action count
action filter_type
action find
entity Q159497
relation P138
type Q151885
[ANSWER]
[{'concept': 'Q2088357'}, 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?n ) WHERE { ?c property:P138 ?b . ?c rdf:type ontology:Q2088357 . ?b rdf:type ontology:Q151885 } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Q159497 property:P138 ?a . ?a rdf:type ontology:Q151885 } } . FILTER ( ?n < ?v ) }
Marillion Naglfar Pierre Moerlen's Gong 1. Mai 87 Surferosa Belle and Sebastian Gandalf Doug Anthony All Stars Peter Nalitch & Friends Maldita Nerea Platero y Tú Rammstein Einar Stray Orchestra Bauhaus City of Birmingham Symphony Orchestra Quazar Bon Jovi Hot Water Music Son of Sam Anna and the Barbies HLAH Casa Loma Orchestra Avathar I Walk the Line Double Dagger Little by Little Leningrad Geoffrey Mitchell Choir Balmorhea Brainerd The Hallé Scarlett O'Hara Auletta Ismo Alanko Säätiö Týr Mungo Jerry Zunou Keisatsu Sergio & The Ladies The Pizza Underground Little My Die Krupps Yö Rammelhof Kotiteollisuus Teresa Carreño Youth Orchestra Dorian Gray Duncan Dhu Percival Han-Tang Yuefu Queensrÿche Robert Santiago et son orchestre typique Ocean Drive ABBA Austrian-Hungarian Haydn Orchestra Of Mice & Men Ansambel Franca Miheliča Kasabian The Amboy Dukes The Number Twelve Looks Like You Dru Hill Albert Fish Katra Catherine Wheel Lucy Street Thee Michelle Gun Elephant The Jackson 5 Van Halen The Pretenders Cirith Gorgor U.D.O. Brutal Kuk De Nederlandse Bachvereniging Nasa Duran Duran Lynyrd Skynyrd Behemoth Jennie Tebler's Out of Oblivion Criss Luscious Jackson Thompson Twins The Gutter Twins Zatopek Georgia Wonder DeLillos Gram Per Person Blonde on Blonde Mingus Big Band Prudence Fantômas Coral Aita Donostia Pork Pie Veruca Salt The John Renbourn Group Kane Hodder Azaghal Giuffria The Decemberists Leatherface Altamont Lucy Brown All Angels Welle: Erdball Ladysmith Black Mambazo Tiamat Operation Ivy Relient K Graf Orlock A Wilhelm Scream Evergreen Terrace Kroke RubberBand The Divine Comedy Mini Kiss Abdoujaparov Nacht und Nebel Kansas Cirith Ungol Superfly Sun Kil Moon Emils Hieronymus Bosch Franz Liszt Chamber Orchestra Ausekarane Witchfinder General The Mudbloods The Marcels Gorgoroth Paradise Lost Black Square Lasgo Miranda! Franz Ferdinand Bach Collegium Japan Alexisonfire Forbidden City Chamber Orchestra Heavy D & the Boyz Viktoriapark Bombadil Swan Lake Allele Tito & Tarantula Bellini Bach-Collegium Stuttgart Sweet Thing Prozac+ The Searchers As I Lay Dying Necronomicon Queen Sofía Chamber Orchestra First Blood The Stalin FSK Schiller Slapshot Death Cab for Cutie Portishead 22-Pistepirkko The Smith Street Band Kill Devil Hill Butterfield Blues Band Bonded by Blood Ziyue Antony and the Johnsons The Devil Wears Prada Lucy spillt um Späicher mam Däiwel Technique Pantagruel National Arts Centre Orchestra A Day in the Life The Shining The Prodigy This Year’s Model Earlimart Delain Haloo Helsinki! Sam Gopal Marquee Moon Wedlock Arktika The Fool Netherlands Bach Collegium Martin & la talpoj Capercaillie Manfred Mann's Earth Band Lucy Angel Au Revoir Simone Green River Son Goku Nina Sky Gwen Stacy Middle Finger Salute Hüsker Dü Anna Crusis Women's Choir Pretty Boy Floyd The Black Eyed Peas 187 Strassenbande Isengard New Riders of the Purple Sage They Might Be Giants Dagoba Ladánybene 27 Sinner Blumentopf Marilyn Manson Johnny Flynn & The Sussex Wit Kaiser Chiefs Bill Haley & His Comets Portico Pascale Picard Band Agalloch Porno Graffitti Shagrat Morgoth The Delgados Bunnyranch Hanzel und Gretyl
216
action count
action less
action find_tuple_counts
relation named after
type musical ensemble
type concept
action count
action filter_type
action find
entity Destruction
relation named after
type concept
[{'concept': 'musical ensemble'}, 'named after', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?n ) WHERE { ?c property:named_after ?b . ?c rdf:type ontology:musical_ensemble . ?b rdf:type ontology:concept } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Destruction property:named_after ?a . ?a rdf:type ontology:concept } } . FILTER ( ?n < ?v ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q5458769
P106
Q12737077 Q28640
USER
How many occupations and professions have Fletcher Bowron as his/her as a career ?
(Q5458769,P106,c(Q12737077)) (Q5458769,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q5458769
relation P106
type Q12737077
action filter_type
action find
entity Q5458769
relation P106
type Q28640
['Q5458769', 'P106', {'concept': 'Q12737077'}] ['Q5458769', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:Q12737077 ) ( ontology:Q28640 ) } }
Fletcher Bowron
action count
action union
action filter_type
action find
entity Fletcher Bowron
relation occupation
type occupation
action filter_type
action find
entity Fletcher Bowron
relation occupation
type profession
['Fletcher Bowron', 'occupation', {'concept': 'occupation'}] ['Fletcher Bowron', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:occupation ) ( ontology:profession ) } }
[]
occupation profession
SYSTEM
2 occupations and 1 professions
Q16533 Q82955 Q40348
(Q5458769,P106,c(Q12737077)) (Q5458769,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q5458769
relation P106
type Q12737077
action filter_type
action find
entity Q5458769
relation P106
type Q28640
[ANSWER]
['Q5458769', 'P106', {'concept': 'Q12737077'}] ['Q5458769', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:Q12737077 ) ( ontology:Q28640 ) } }
judge politician lawyer
2 occupations and 1 professions
action count
action union
action filter_type
action find
entity Fletcher Bowron
relation occupation
type occupation
action filter_type
action find
entity Fletcher Bowron
relation occupation
type profession
['Fletcher Bowron', 'occupation', {'concept': 'occupation'}] ['Fletcher Bowron', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) WHERE { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:occupation ) ( ontology:profession ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5458769
P607
Q198
USER
What battle was that person a part of ?
action filter_type
action find
entity Q5458769
relation P607
type Q198
SELECT DISTINCT ?r WHERE { resource:Q5458769 property:P607 ?r . ?r rdf:type ontology:Q198 }
Fletcher Bowron
action filter_type
action find
entity Fletcher Bowron
relation conflict
type war
SELECT DISTINCT ?r WHERE { resource:Fletcher_Bowron property:conflict ?r . ?r rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
action filter_type
action find
entity Q5458769
relation P607
type Q198
What battle was that person a part of
SELECT DISTINCT ?r WHERE { resource:Q5458769 property:P607 ?r . ?r rdf:type ontology:Q198 }
World War I
What battle was that person a part of
World War I
action filter_type
action find
entity Fletcher Bowron
relation conflict
type war
SELECT DISTINCT ?r WHERE { resource:Fletcher_Bowron property:conflict ?r . ?r rdf:type ontology:war }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q361 Q5388059
P607
Q502895
USER
Did that war fight in Erich Koellner ?
(Q5388059,P607,Q361)
action is_in
entity Q361
action find
entity Q5388059
relation P607
['Q5388059', 'P607', 'Q361']
ASK WHERE { resource:Q5388059 property:P607 resource:Q361 }
World War I Erich Koellner
action is_in
entity World War I
action find
entity Erich Koellner
relation conflict
['Erich Koellner', 'conflict', 'World War I']
ASK WHERE { resource:Erich_Koellner property:conflict resource:World_War_I }
[]
common name
SYSTEM
YES
(Q5388059,P607,Q361)
action is_in
entity Q361
action find
entity Q5388059
relation P607
[ANSWER]
['Q5388059', 'P607', 'Q361']
ASK WHERE { resource:Q5388059 property:P607 resource:Q361 }
Yes
action is_in
entity World War I
action find
entity Erich Koellner
relation conflict
['Erich Koellner', 'conflict', 'World War I']
ASK WHERE { resource:Erich_Koellner property:conflict resource:World_War_I }
[]