Simple Question (Direct)
Simple Question
Q6253929
P20
Q56061
USER
Where did John R. McKinney die ?
(Q6253929,P20,c(Q56061))
action filter_type
action find
entity Q6253929
relation P20
type Q56061
['Q6253929', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q6253929 property:P20 ?z . ?z rdf:type ontology:Q56061 }
John R. McKinney
action filter_type
action find
entity John R. McKinney
relation place of death
type administrative territorial entity
['John R. McKinney', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:John_R._McKinney property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q953354
SYSTEM
Sylvania, Georgia
Q953354
(Q6253929,P20,c(Q56061))
action filter_type
action find
entity Q6253929
relation P20
type Q56061
John R. McKinney died in [ANSWER]
['Q6253929', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q6253929 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Sylvania, Georgia
John R. McKinney died in Sylvania, Georgia
Sylvania, Georgia
action filter_type
action find
entity John R. McKinney
relation place of death
type administrative territorial entity
['John R. McKinney', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:John_R._McKinney property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q953354
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
(Q953354,P17,c(Q15617994))
action filter_type
action find
entity Q953354
relation P17
type Q15617994
['Q953354', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q953354 property:P17 ?v }
Sylvania, Georgia
action filter_type
action find
entity Sylvania, Georgia
relation country
type designation for an administrative territorial entity
['Sylvania, Georgia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sylvania,_Georgia property:country ?v }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q953354,P17,c(Q15617994))
action filter_type
action find
entity Q953354
relation P17
type Q15617994
That administrative territory is the [ANSWER]
['Q953354', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q953354 property:P17 ?v }
United States of America
That administrative territory is the United States of America
United States of America
action filter_type
action find
entity Sylvania, Georgia
relation country
type designation for an administrative territorial entity
['Sylvania, Georgia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sylvania,_Georgia property:country ?v }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6919572
Q15617994
USER
And how about Mount Baker National Recreation Area?
(Q6919572,P17,c(Q15617994))
action filter_type
action find
entity Q6919572
relation P17
type Q15617994
['Q6919572', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q6919572 property:P17 ?j }
Mount Baker National Recreation Area
action filter_type
action find
entity Mount Baker National Recreation Area
relation country
type designation for an administrative territorial entity
['Mount Baker National Recreation Area', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mount_Baker_National_Recreation_Area property:country ?j }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6919572,P17,c(Q15617994))
action filter_type
action find
entity Q6919572
relation P17
type Q15617994
[ANSWER]
['Q6919572', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q6919572 property:P17 ?j }
United States of America
United States of America
action filter_type
action find
entity Mount Baker National Recreation Area
relation country
type designation for an administrative territorial entity
['Mount Baker National Recreation Area', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mount_Baker_National_Recreation_Area property:country ?j }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6253929
P241
Q781132
USER
How many military branches are John R. McKinney associated with ?
(Q6253929,P241,c(Q781132))
action count
action filter_type
action find
entity Q6253929
relation P241
type Q781132
['Q6253929', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m rdf:type ontology:Q781132 . resource:Q6253929 property:P241 ?m }
John R. McKinney
action count
action filter_type
action find
entity John R. McKinney
relation military branch
type military branch
['John R. McKinney', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m rdf:type ontology:military_branch . resource:John_R._McKinney property:military_branch ?m }
[]
military branch
SYSTEM
1
Q9212
(Q6253929,P241,c(Q781132))
action count
action filter_type
action find
entity Q6253929
relation P241
type Q781132
[ANSWER]
['Q6253929', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m rdf:type ontology:Q781132 . resource:Q6253929 property:P241 ?m }
United States Army
1
action count
action filter_type
action find
entity John R. McKinney
relation military branch
type military branch
['John R. McKinney', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m rdf:type ontology:military_branch . resource:John_R._McKinney property:military_branch ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q7965726
P241
Q781132
USER
And what about Walter Noble?
(Q7965726,P241,c(Q781132))
action count
action filter_type
action find
entity Q7965726
relation P241
type Q781132
['Q7965726', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Q7965726 property:P241 ?q . ?q rdf:type ontology:Q781132 }
Walter Noble
action count
action filter_type
action find
entity Walter Noble
relation military branch
type military branch
['Walter Noble', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Walter_Noble property:military_branch ?q . ?q rdf:type ontology:military_branch }
[]
military branch
SYSTEM
1
Q222595
(Q7965726,P241,c(Q781132))
action count
action filter_type
action find
entity Q7965726
relation P241
type Q781132
[ANSWER]
['Q7965726', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Q7965726 property:P241 ?q . ?q rdf:type ontology:Q781132 }
British Army
1
action count
action filter_type
action find
entity Walter Noble
relation military branch
type military branch
['Walter Noble', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Walter_Noble property:military_branch ?q . ?q rdf:type ontology:military_branch }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2892206
Q781132
USER
And what about David Petrie?
(Q2892206,P241,c(Q781132))
action count
action filter_type
action find
entity Q2892206
relation P241
type Q781132
['Q2892206', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q2892206 property:P241 ?e . ?e rdf:type ontology:Q781132 }
David Petrie
action count
action filter_type
action find
entity David Petrie
relation military branch
type military branch
['David Petrie', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:David_Petrie property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
military branch
SYSTEM
1
(Q2892206,P241,c(Q781132))
action count
action filter_type
action find
entity Q2892206
relation P241
type Q781132
[ANSWER]
['Q2892206', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q2892206 property:P241 ?e . ?e rdf:type ontology:Q781132 }
1
action count
action filter_type
action find
entity David Petrie
relation military branch
type military branch
['David Petrie', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:David_Petrie property:military_branch ?e . ?e rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2892206
P166
Q2003221
USER
Which chivalric order was received by that person ?
action filter_type
action find
entity Q2892206
relation P166
type Q2003221
SELECT DISTINCT ?k WHERE { resource:Q2892206 property:P166 ?k . ?k rdf:type ontology:Q2003221 }
David Petrie
action filter_type
action find
entity David Petrie
relation award received
type chivalric order
SELECT DISTINCT ?k WHERE { resource:David_Petrie property:award_received ?k . ?k rdf:type ontology:chivalric_order }
[]
chivalric order
Q12177470
SYSTEM
Knight Commander of the Order of the Bath
Q12177470
action filter_type
action find
entity Q2892206
relation P166
type Q2003221
The [ANSWER] was received by that person
SELECT DISTINCT ?k WHERE { resource:Q2892206 property:P166 ?k . ?k rdf:type ontology:Q2003221 }
Knight Commander of the Order of the Bath
The Knight Commander of the Order of the Bath was received by that person
Knight Commander of the Order of the Bath
action filter_type
action find
entity David Petrie
relation award received
type chivalric order
SELECT DISTINCT ?k WHERE { resource:David_Petrie property:award_received ?k . ?k rdf:type ontology:chivalric_order }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12790937 Q6253929
P607
Q198
USER
Which wars did John R. McKinney or Hermanus Nicolaas Wilhelm Botha take part in ?
OR((Q6253929,P607,c(Q198)), (Q12790937,P607,c(Q198)))
action filter_type
action union
action find
entity Q6253929
relation P607
action find
entity Q12790937
relation P607
type Q198
{'OR': [['Q6253929', 'P607', {'concept': 'Q198'}], ['Q12790937', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q198 . { { resource:Q6253929 property:P607 ?f } UNION { resource:Q12790937 property:P607 ?f } } }
Hermanus Nicolaas Wilhelm Botha John R. McKinney
action filter_type
action union
action find
entity John R. McKinney
relation conflict
action find
entity Hermanus Nicolaas Wilhelm Botha
relation conflict
type war
{'OR': [['John R. McKinney', 'conflict', {'concept': 'war'}], ['Hermanus Nicolaas Wilhelm Botha', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:war . { { resource:John_R._McKinney property:conflict ?f } UNION { resource:Hermanus_Nicolaas_Wilhelm_Botha property:conflict ?f } } }
[]
war
Q362
SYSTEM
World War II
Q362
OR((Q6253929,P607,c(Q198)), (Q12790937,P607,c(Q198)))
action filter_type
action union
action find
entity Q6253929
relation P607
action find
entity Q12790937
relation P607
type Q198
John R. McKinney or Hermanus Nicolaas Wilhelm Botha took in part in [ANSWER]
{'OR': [['Q6253929', 'P607', {'concept': 'Q198'}], ['Q12790937', 'P607', {'concept': 'Q198'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q198 . { { resource:Q6253929 property:P607 ?f } UNION { resource:Q12790937 property:P607 ?f } } }
World War II
John R. McKinney or Hermanus Nicolaas Wilhelm Botha took in part in World War II
World War II
action filter_type
action union
action find
entity John R. McKinney
relation conflict
action find
entity Hermanus Nicolaas Wilhelm Botha
relation conflict
type war
{'OR': [['John R. McKinney', 'conflict', {'concept': 'war'}], ['Hermanus Nicolaas Wilhelm Botha', 'conflict', {'concept': 'war'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:war . { { resource:John_R._McKinney property:conflict ?f } UNION { resource:Hermanus_Nicolaas_Wilhelm_Botha property:conflict ?f } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P710
Q15617994 Q1048835
USER
How many administrative territories or political territories participated in that war ?
(Q362,P710,c(Q15617994)) (Q362,P710,c(Q1048835)) (Q362,P710,c(Q15617994)) (Q362,P710,c(Q1048835))
action count
action union
action filter_type
action find
entity Q362
relation P710
type Q15617994
action filter_type
action find
entity Q362
relation P710
type Q1048835
['Q362', 'P710', {'concept': 'Q15617994'}] ['Q362', 'P710', {'concept': 'Q1048835'}] ['Q362', 'P710', {'concept': 'Q15617994'}] ['Q362', 'P710', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { resource:Q362 property:P710 ?c . ?c rdf:type ontology:Q15617994 } UNION { resource:Q362 property:P710 ?c . ?c rdf:type ontology:Q1048835 } }
action count
action union
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
action filter_type
action find
entity World War II
relation participant
type political territorial entity
['World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['World War II', 'participant', {'concept': 'political territorial entity'}] ['World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['World War II', 'participant', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { resource:World_War_II property:participant ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:World_War_II property:participant ?c . ?c rdf:type ontology:political_territorial_entity } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
6
Q142 Q145 Q183 Q17 Q30 Q38
(Q362,P710,c(Q15617994)) (Q362,P710,c(Q1048835)) (Q362,P710,c(Q15617994)) (Q362,P710,c(Q1048835))
action count
action union
action filter_type
action find
entity Q362
relation P710
type Q15617994
action filter_type
action find
entity Q362
relation P710
type Q1048835
[ANSWER]
['Q362', 'P710', {'concept': 'Q15617994'}] ['Q362', 'P710', {'concept': 'Q1048835'}] ['Q362', 'P710', {'concept': 'Q15617994'}] ['Q362', 'P710', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { resource:Q362 property:P710 ?c . ?c rdf:type ontology:Q15617994 } UNION { resource:Q362 property:P710 ?c . ?c rdf:type ontology:Q1048835 } }
France United Kingdom Germany Japan United States of America Italy
6
action count
action union
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
action filter_type
action find
entity World War II
relation participant
type political territorial entity
['World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['World War II', 'participant', {'concept': 'political territorial entity'}] ['World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}] ['World War II', 'participant', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { resource:World_War_II property:participant ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:World_War_II property:participant ?c . ?c rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q362
P921
Q15416
USER
What are World War II a main subject of ?
(c(Q15416),P921,Q362)
action filter_type
action find_reverse
entity Q362
relation P921
type Q15416
[{'concept': 'Q15416'}, 'P921', 'Q362']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q362 . ?f rdf:type ontology:Q15416 }
World War II
action filter_type
action find_reverse
entity World War II
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'World War II']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:World_War_II . ?f rdf:type ontology:television_program }
[]
television program
Q974961 Q62730 Q208048
SYSTEM
Les Uns et les Autres, Das Boot, Band of Brothers
Q7745582 Q7699920 Q248392 Q16848797 Q16829249 Q7732628 Q948828 Q5916007 Q1262491 Q6945154 Q8036432 Q1749617 Q2575263 Q5352532 Q1171448 Q497589 Q751472 Q5178253 Q973843 Q7903650 Q2539578 Q1562383 Q6483899 Q7044879 Q529353 Q701759 Q3857891 Q4834823 Q62730 Q323380 Q7712749 Q7557460 Q481238 Q4228985 Q4409438 Q6466612 Q3874591 Q886442 Q6749362 Q2901896 Q661911 Q5965650 Q6902590 Q7760109 Q2608517 Q3506706 Q93663 Q7144772 Q5905234 Q281955 Q7758154 Q3363984 Q5472906 Q829523 Q2342818 Q7823973 Q245929 Q1879693 Q1563396 Q667986 Q5216020 Q5557319 Q694979 Q1216561 Q5201719 Q699717 Q2909583 Q990 Q565293 Q3987161 Q3689907 Q7581747 Q7721095 Q3793701 Q3927611 Q3927612 Q1521349 Q6872458 Q567391 Q2360808 Q7721799 Q24520 Q2497871 Q4004277 Q970042 Q6946210 Q961 Q6880223 Q7719771 Q7111685 Q338642 Q17020802 Q4660547 Q859964 Q1195379 Q1247850 Q832471 Q7857634 Q6907993 Q686165 Q1281134 Q4930197 Q3855957 Q3682077 Q208048 Q15054017 Q823148 Q8027540 Q7735058 Q2377188 Q2056783 Q1247495 Q1170501 Q6010504 Q472018 Q7762836 Q706367 Q5195636 Q462031 Q7203418 Q598499 Q7977068 Q1257284 Q4822723 Q727583 Q7730103 Q5597803 Q7968675 Q974961 Q7745681 Q4940623 Q2414774 Q932217 Q466765
(c(Q15416),P921,Q362)
action filter_type
action find_reverse
entity Q362
relation P921
type Q15416
World War are [ANSWERS]
[{'concept': 'Q15416'}, 'P921', 'Q362']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q362 . ?f rdf:type ontology:Q15416 }
The Last Bastion Tenko Nuremberg Island at War Changi The Evacuees Tales of the Gold Monkey Housewife, 49 Potpisani My Chief and My Regiment World War II In HD Colour Perlasca, un Eroe Italiano The Diary of Anne Frank El ángel de Budapest The Last U-Boat The Dirty Dozen: The Next Mission S.S. Doomtrooper Court Martial Secret Army Generation War Wake Me When the War Is Over Otpisani Land Girls No Regrets The Bunker Escape from Sobibor Once an Eagle BBC History of World War II Das Boot Archiv des Todes The Affair Sole Survivor The Sinking of the Laconia The Ring Sahara Laatste Zeven Maanden van Anne Frank Enemy at the Door Blood and Honor: Youth Under Hitler Manhunt God on Trial The Great Escape II: The Untold Story I'll Be Home for Christmas Monsignor Renard The Relief of Belsen Summer of My German Soldier Sword of Honour Karol: A Man Who Became Pope Pathfinders Horror in the East Baa Baa Black Sheep The Price of Peace A Family at War Fortunes of War The Plot to Kill Hitler Carter's Army Too Young the Hero War and Remembrance Colditz Salaš u Malom Ritu Colditz Danger UXB Ghostboat Zero Degree Turn Die Stunde der Offiziere Czas honoru Operation Petticoat Bomb Girls Czterej pancerni i pies Anne Frank: The Whole Story The Gallant Men Convoy Spyforce The Camomile Lawn Il Cuore nel Pozzo The Dirty Dozen: The Deadly Mission The Dirty Dozen: The Fatal Mission The Devil's Arithmetic Miracle at Midnight Dresden Ike: Countdown to D-Day The Cazalets The Courageous Heart of Irena Sendler A Love to Hide The Machine Gunners Speer und Er My Opposition: The Diaries of Friedrich Kellner Stakes Larger Than Life Mister Roberts The Boys of Buchenwald Out of the Ashes Garrison's Gorillas Spycatcher A War Diary Piece of Cake The Man Who Captured Eichmann Combat! The Wannsee Conference Twelve O'Clock High Moonstrike Uprising Forbidden Bluebell Mi Ricordo Anna Frank Jericho Band of Brothers Joe Maddison's War The Attic: The Hiding of Anne Frank Wish Me Luck The Fourth Arm Foyle's War The Rat Patrol Wonder Woman The Diary of Anne Frank In Pursuit of Peace Seventeen Moments of Spring The Search for Kennedy's PT 109 Conspiracy Curtin Stauffenberg Playing for Time The Pacific We'll Meet Again The Execution of Private Slovik Auschwitz: The Nazis and the 'Final Solution' Skokie The Diary of Anne Frank Grave of the Fireflies War of the Century Les Uns et les Autres The Last Days of Patton Bomber Harris In Transit The Sullivans Anne Frank Remembered
World War are Les Uns et les Autres, Das Boot and Band of Brothers
Les Uns et les Autres Das Boot Band of Brothers
action filter_type
action find_reverse
entity World War II
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'World War II']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:World_War_II . ?f rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q362
P101
Q502895
USER
Which people have his/her area as World War II ?
(c(Q502895),P101,Q362)
action filter_type
action find_reverse
entity Q362
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q362']
SELECT DISTINCT ?c WHERE { ?c property:P101 resource:Q362 . ?c rdf:type ontology:Q502895 }
World War II
action filter_type
action find_reverse
entity World War II
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'World War II']
SELECT DISTINCT ?c WHERE { ?c property:field_of_work resource:World_War_II . ?c rdf:type ontology:common_name }
[]
common name
Q20806869 Q3942511 Q18061250
SYSTEM
Henri de Wailly, Ruggero Gabbai, Hans de Vries
Q20806869 Q3942511 Q18061250
(c(Q502895),P101,Q362)
action filter_type
action find_reverse
entity Q362
relation P101
type Q502895
[ANSWERS] have his/her area as World War II
[{'concept': 'Q502895'}, 'P101', 'Q362']
SELECT DISTINCT ?c WHERE { ?c property:P101 resource:Q362 . ?c rdf:type ontology:Q502895 }
Henri de Wailly Ruggero Gabbai Hans de Vries
Henri de Wailly, Ruggero Gabbai and Hans de Vries have his/her area as World War II
Henri de Wailly Ruggero Gabbai Hans de Vries
action filter_type
action find_reverse
entity World War II
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'World War II']
SELECT DISTINCT ?c WHERE { ?c property:field_of_work resource:World_War_II . ?c rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q959650
Q502895
USER
And what about Casa di Goethe?
(Q959650,P101,c(Q502895))
action filter_type
action find
entity Q959650
relation P101
type Q502895
['Q959650', 'P101', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q959650 property:P101 ?f . ?f rdf:type ontology:Q502895 }
Casa di Goethe
action filter_type
action find
entity Casa di Goethe
relation field of work
type common name
['Casa di Goethe', 'field of work', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Casa_di_Goethe property:field_of_work ?f . ?f rdf:type ontology:common_name }
[]
common name
Q5879
SYSTEM
Johann Wolfgang von Goethe
Q5879
(Q959650,P101,c(Q502895))
action filter_type
action find
entity Q959650
relation P101
type Q502895
[ANSWER]
['Q959650', 'P101', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q959650 property:P101 ?f . ?f rdf:type ontology:Q502895 }
Johann Wolfgang von Goethe
Johann Wolfgang von Goethe
action filter_type
action find
entity Casa di Goethe
relation field of work
type common name
['Casa di Goethe', 'field of work', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Casa_di_Goethe property:field_of_work ?f . ?f rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6581097 Q953354
P19 P21
Q502895
USER
Which people have birthplace at Sylvania, Georgia and do not have gender of male ?
AND((c(Q502895),P19,Q953354), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q953354
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q953354'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P19 resource:Q953354 . FILTER NOT EXISTS { ?x property:P21 resource:Q6581097 } }
male Sylvania, Georgia
action filter_type
action difference
action find_reverse
entity Sylvania, Georgia
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Sylvania, Georgia'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:place_of_birth resource:Sylvania,_Georgia . FILTER NOT EXISTS { ?x property:gender resource:male } }
[]
common name
Q25095585
SYSTEM
Penny Thompson
Q25095585
AND((c(Q502895),P19,Q953354), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q953354
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
And [ANSWER] have birthplace at Sylvania, Georgia and do not have gender of male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q953354'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P19 resource:Q953354 . FILTER NOT EXISTS { ?x property:P21 resource:Q6581097 } }
Penny Thompson
And Penny Thompson have birthplace at Sylvania, Georgia and do not have gender of male
Penny Thompson
action filter_type
action difference
action find_reverse
entity Sylvania, Georgia
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Sylvania, Georgia'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:place_of_birth resource:Sylvania,_Georgia . FILTER NOT EXISTS { ?x property:gender resource:male } }
[]