Simple Question (Direct)
Simple Question
Q90110
P7
Q502895
USER
Who have Johann Friedrich von Waldstein-Wartenberg as their sibling ?
(Q90110,P7,c(Q502895))
action filter_type
action find
entity Q90110
relation P7
type Q502895
['Q90110', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q90110 property:P7 ?u . ?u rdf:type ontology:Q502895 }
Johann Friedrich von Waldstein-Wartenberg
action filter_type
action find
entity Johann Friedrich von Waldstein-Wartenberg
relation brother
type common name
['Johann Friedrich von Waldstein-Wartenberg', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Johann_Friedrich_von_Waldstein-Wartenberg property:brother ?u . ?u rdf:type ontology:common_name }
[]
common name
Q472851 Q78816
SYSTEM
Count Ferdinand Ernst Gabriel von Waldstein, Franz de Paula Adam von Waldstein
Q472851 Q78816
(Q90110,P7,c(Q502895))
action filter_type
action find
entity Q90110
relation P7
type Q502895
Duke [ANSWERS] have Johann Friedrich von Waldstein-Wartenberg as their sibling
['Q90110', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q90110 property:P7 ?u . ?u rdf:type ontology:Q502895 }
Count Ferdinand Ernst Gabriel von Waldstein Franz de Paula Adam von Waldstein
Duke Count Ferdinand Ernst Gabriel von Waldstein and Franz de Paula Adam von Waldstein have Johann Friedrich von Waldstein-Wartenberg as their sibling
Count Ferdinand Ernst Gabriel von Waldstein Franz de Paula Adam von Waldstein
action filter_type
action find
entity Johann Friedrich von Waldstein-Wartenberg
relation brother
type common name
['Johann Friedrich von Waldstein-Wartenberg', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Johann_Friedrich_von_Waldstein-Wartenberg property:brother ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q472851 Q78816
P40
Q502895
USER
Who have those ones as a child ?
(c(Q502895),P40,Q472851) (c(Q502895),P40,Q78816)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q472851'] [{'concept': 'Q502895'}, 'P40', 'Q78816']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . VALUES ( ?p ) { ( resource:Q472851 ) ( resource:Q78816 ) } . ?n property:P40 ?p }
Count Ferdinand Ernst Gabriel von Waldstein Franz de Paula Adam von Waldstein
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Count Ferdinand Ernst Gabriel von Waldstein'] [{'concept': 'common name'}, 'child', 'Franz de Paula Adam von Waldstein']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . VALUES ( ?p ) { ( resource:Count_Ferdinand_Ernst_Gabriel_von_Waldstein ) ( resource:Franz_de_Paula_Adam_von_Waldstein ) } . ?n property:child ?p }
[]
common name
Q1291222
SYSTEM
Emanuel Philibert von Waldstein-Wartenberg
Q1291222
(c(Q502895),P40,Q472851) (c(Q502895),P40,Q78816)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWER] have those ones as a child
[{'concept': 'Q502895'}, 'P40', 'Q472851'] [{'concept': 'Q502895'}, 'P40', 'Q78816']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . VALUES ( ?p ) { ( resource:Q472851 ) ( resource:Q78816 ) } . ?n property:P40 ?p }
Emanuel Philibert von Waldstein-Wartenberg
Emanuel Philibert von Waldstein-Wartenberg have those ones as a child
Emanuel Philibert von Waldstein-Wartenberg
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Count Ferdinand Ernst Gabriel von Waldstein'] [{'concept': 'common name'}, 'child', 'Franz de Paula Adam von Waldstein']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . VALUES ( ?p ) { ( resource:Count_Ferdinand_Ernst_Gabriel_von_Waldstein ) ( resource:Franz_de_Paula_Adam_von_Waldstein ) } . ?n property:child ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1291222
P22
Q502895
USER
Which people have that one as a parent ?
(c(Q502895),P22,Q1291222)
action filter_type
action find_reverse
entity Q1291222
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1291222']
SELECT DISTINCT ?p WHERE { ?p property:P22 resource:Q1291222 . ?p rdf:type ontology:Q502895 }
Emanuel Philibert von Waldstein-Wartenberg
action filter_type
action find_reverse
entity Emanuel Philibert von Waldstein-Wartenberg
relation father
type common name
[{'concept': 'common name'}, 'father', 'Emanuel Philibert von Waldstein-Wartenberg']
SELECT DISTINCT ?p WHERE { ?p property:father resource:Emanuel_Philibert_von_Waldstein-Wartenberg . ?p rdf:type ontology:common_name }
[]
common name
Q472851 Q90110 Q78816
SYSTEM
Count Ferdinand Ernst Gabriel von Waldstein, Johann Friedrich von Waldstein-Wartenberg, Franz de Paula Adam von Waldstein
Q472851 Q90110 Q78816
(c(Q502895),P22,Q1291222)
action filter_type
action find_reverse
entity Q1291222
relation P22
type Q502895
[ANSWERS] have that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q1291222']
SELECT DISTINCT ?p WHERE { ?p property:P22 resource:Q1291222 . ?p rdf:type ontology:Q502895 }
Count Ferdinand Ernst Gabriel von Waldstein Johann Friedrich von Waldstein-Wartenberg Franz de Paula Adam von Waldstein
Count Ferdinand Ernst Gabriel von Waldstein, Johann Friedrich von Waldstein-Wartenberg and Franz de Paula Adam von Waldstein have that one as a parent
Count Ferdinand Ernst Gabriel von Waldstein Johann Friedrich von Waldstein-Wartenberg Franz de Paula Adam von Waldstein
action filter_type
action find_reverse
entity Emanuel Philibert von Waldstein-Wartenberg
relation father
type common name
[{'concept': 'common name'}, 'father', 'Emanuel Philibert von Waldstein-Wartenberg']
SELECT DISTINCT ?p WHERE { ?p property:father resource:Emanuel_Philibert_von_Waldstein-Wartenberg . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q3305213 Q340169
USER
How many people were the sources of inspiration for atmost 1 paintings or medias ?
(c(Q3305213)|c(Q340169),P941,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
value 1
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?h WHERE { { ?x property:P941 ?h . ?x rdf:type ontology:Q3305213 . ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q502895 . ?x rdf:type ontology:Q340169 . ?x property:P941 ?h } } GROUP BY ?h } . FILTER ( ?f <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action find_reverse_tuple_counts
relation inspired by
type common name
type media
value 1
[[{'concept': 'painting'}, {'concept': 'media'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?h WHERE { { ?x property:inspired_by ?h . ?x rdf:type ontology:painting . ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:common_name . ?x rdf:type ontology:media . ?x property:inspired_by ?h } } GROUP BY ?h } . FILTER ( ?f <= 1 ) }
[]
common name painting media
SYSTEM
211
Q207939 Q19738291 Q23380 Q3481979 Q40475 Q366380 Q334001 Q42229 Q5296307 Q19526 Q58801 Q129308 Q42305 Q558333 Q207447 Q560792 Q35548 Q1067550 Q2707376 Q180919 Q105719 Q205002 Q30755 Q37693 Q712955 Q302650 Q666171 Q531161 Q5383 Q8016 Q456270 Q127171 Q649801 Q43715 Q42786 Q5361548 Q312502 Q2864567 Q154545 Q5534471 Q2907490 Q1532260 Q892444 Q164823 Q184226 Q228024 Q182450 Q183221 Q3047248 Q2617543 Q711129 Q81960 Q5592 Q352 Q145746 Q921798 Q7836 Q5594 Q538158 Q3984877 Q3741372 Q1508997 Q116462 Q357786 Q1779 Q310476 Q183458 Q34618 Q151573 Q3560424 Q947525 Q156268 Q56016 Q458779 Q73089 Q182462 Q1353414 Q575668 Q171745 Q100937 Q5669 Q5577 Q395274 Q272068 Q2437296 Q9077 Q443540 Q966425 Q1281170 Q47551 Q357951 Q676001 Q46373 Q5675905 Q267803 Q37079 Q103343 Q284047 Q464056 Q313270 Q48319 Q1288359 Q551643 Q2552694 Q3498875 Q273079 Q299271 Q9061 Q849 Q6577515 Q2975042 Q104109 Q16397 Q79031 Q150679 Q528428 Q177692 Q83359 Q2601617 Q6246943 Q163118 Q2402882 Q129429 Q5599 Q22686 Q5545355 Q2121085 Q212531 Q5294232 Q463653 Q958996 Q483512 Q123075 Q835175 Q229432 Q123071 Q229437 Q44272 Q94002 Q49285 Q27429917 Q1744 Q1523 Q367447 Q5582 Q219640 Q5822 Q28493 Q5589 Q296 Q527735 Q352954 Q2181776 Q27429984 Q34013 Q2836532 Q712497 Q221464 Q263241 Q550426 Q356129 Q3925 Q34851 Q25328 Q26806 Q203219 Q983441 Q2552902 Q41554 Q83338 Q205365 Q624868 Q1953018 Q983352 Q255815 Q3036807 Q3290501 Q189067 Q1086874 Q471023 Q5432 Q2412941 Q297816 Q1896700 Q156622 Q354832 Q3525855 Q159907 Q210447 Q2373032 Q1401 Q3719992 Q199369 Q2110873 Q192222 Q83155 Q2965760 Q193406 Q3385369 Q733965 Q2409128 Q1278282 Q5053466 Q233845 Q3429566 Q513644 Q3047181 Q237813 Q44122 Q576222 Q578878
(c(Q3305213)|c(Q340169),P941,c(Q502895))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q3305213
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
value 1
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?h WHERE { { ?x property:P941 ?h . ?x rdf:type ontology:Q3305213 . ?h rdf:type ontology:Q502895 } UNION { ?h rdf:type ontology:Q502895 . ?x rdf:type ontology:Q340169 . ?x property:P941 ?h } } GROUP BY ?h } . FILTER ( ?f <= 1 ) }
Alexander McQueen Walter O'Brien Jean Auguste Dominique Ingres Sherri Stoner Joan Crawford Allan Kaprow Thomas Cole Mel Gibson Donna Atwood Maya Angelou Conrad Veidt John of England Richard I of England Buddy Hackett Jean-Baptiste-Siméon Chardin Allan Ramsay Paul Cézanne Charmaine Craig Dick Jones Natalie Wood Jean Harlow Joe Grant Auguste Rodin Paul Gauguin Bobby Driscoll Tate Donovan John Marin Elizabeth Kenny David Bowie Winston Churchill Eleanor Audley Jean-Honoré Fragonard Fred Moore Vlad Tepes Audrey Hepburn Elisabeth Scott Fiorello H. La Guardia Art Stevens Léopold Sédar Senghor Geoffrey Bowers Bo Gritz Al Hirschfeld Scott Weinger Girolamo Savonarola Gilles Deleuze John Smith George C. Scott Antoine Watteau Eddie Collins Marge Champion Terry-Thomas Robert Burns Michelangelo Adolf Hitler Joseph Sabu Dastagir René Magritte Antonello da Messina Balthasar Denner Jeffrey Stone Armand d'Athos Georges Manolescu Helen Gahagan Douglas Divine Louis Armstrong Fats Waller Andrea del Verrocchio Gustave Courbet Paul Signac Violet Gordon-Woodhouse Robert Gant Pierre Bourdieu Katharine Hepburn Kathryn Beaumont Gene Kelly Janet Gaynor Robert Gober Lionel Atwill Jeremy Irons Fred Astaire Sandro Botticelli Salvador Dalí Michael J. Fox Heather Angel Eric Larson Moses Ollie Johnston Charles Hubert Millevoye Frances Bavier Titian Mehran Karimi Nasseri Eugène Devéria Edgar Degas Andrés López Muñoz Spring Byington Tom Cruise Jennifer Connelly Christy Turlington Gala Dalí Jerome Kern Hans Holbein Félix González-Torres Jean Goujon Madge Blake Steve Carlson Cab Calloway Bahram V Karl Marx François Villon Samuel Claire Du Brey Mary Pickford Bruce Lee Mike Tyson Anthony van Dyck Douglas Fairbanks Jr Andrea Palladio James Dean Leonard Baskin John Martin Marguerite Yourcenar Helene Stanley Vivien Leigh Peter Paul Rubens Donald Trump George Turberville Walter Catlett Kate Moss Donald DeFreeze Marie-Thérèse Walter Irene Bedard Isadora Duncan Robert Walser Bernard Levin Lucretia Arnold Böcklin Donatella Versace Michel Foucault Barbara Stanwyck Sally Ride Michelle Stacy Madonna Ramesses II Louis Prima Vincent van Gogh Vincent Price Piero della Francesca Ralph Fiennes Henri Matisse Claude Monet Cedric Hardwicke Carel Fabritius Paul Collins John Culhane Georges Seurat Alice Ayres François Girardon Gilbert Gottfried Mary Wickes Jeffrey Katzenberg John Stamos Grace Kelly Elizabeth Taylor Antoni Gaudí Danny DeVito Boris Karloff Thomas Moran Hans Conried Nicolas Poussin Robin Williams Cain Charles Sheeler Pratibha Ray Il Pordenone Tallulah Bankhead Donnie Dunagan Margaret Kerry Alyssa Milano Christopher Newport Jimmy Durante Francisco de Goya The Fox and the Cat Sammy Davis, Jr. Marian Wright Edelman Giorgio de Chirico Pieter Claesz T. Hee David Hockney Mark Hamill Pierre Gringoire Petrarch Edward Maria Wingfield Naomi Campbell Natalie Venetia Belcon Lysippos Jacques-Louis David Christiane Faure Pocahontas Pierre Guillaume Jack Carlson Dušan Popov Eastman Johnson Cathy McGowan Gale Sondergaard Rhoda Williams Ray Ventura Ed Kemmer Maila Nurmi Django Reinhardt Floris van Dyck Chief Powhatan
211
action count
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type painting
action find_reverse_tuple_counts
relation inspired by
type common name
type media
value 1
[[{'concept': 'painting'}, {'concept': 'media'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) ?h WHERE { { ?x property:inspired_by ?h . ?x rdf:type ontology:painting . ?h rdf:type ontology:common_name } UNION { ?h rdf:type ontology:common_name . ?x rdf:type ontology:media . ?x property:inspired_by ?h } } GROUP BY ?h } . FILTER ( ?f <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q472851
P19
Q56061
USER
How many administrative territories were Count Ferdinand Ernst Gabriel von Waldstein born ?
(Q472851,P19,c(Q56061))
action count
action filter_type
action find
entity Q472851
relation P19
type Q56061
['Q472851', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q472851 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Count Ferdinand Ernst Gabriel von Waldstein
action count
action filter_type
action find
entity Count Ferdinand Ernst Gabriel von Waldstein
relation place of birth
type administrative territorial entity
['Count Ferdinand Ernst Gabriel von Waldstein', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Count_Ferdinand_Ernst_Gabriel_von_Waldstein property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1741
(Q472851,P19,c(Q56061))
action count
action filter_type
action find
entity Q472851
relation P19
type Q56061
[ANSWER]
['Q472851', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Q472851 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Vienna
1
action count
action filter_type
action find
entity Count Ferdinand Ernst Gabriel von Waldstein
relation place of birth
type administrative territorial entity
['Count Ferdinand Ernst Gabriel von Waldstein', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { resource:Count_Ferdinand_Ernst_Gabriel_von_Waldstein property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q473422
P20
Q56061
USER
Which administrative territory is the place of death of Jacobus Vaet ?
(Q473422,P20,c(Q56061))
action filter_type
action find
entity Q473422
relation P20
type Q56061
['Q473422', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q473422 property:P20 ?b }
Jacobus Vaet
action filter_type
action find
entity Jacobus Vaet
relation place of death
type administrative territorial entity
['Jacobus Vaet', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Jacobus_Vaet property:place_of_death ?b }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q473422,P20,c(Q56061))
action filter_type
action find
entity Q473422
relation P20
type Q56061
[ANSWER] is the place of death of Jacobus Vaet
['Q473422', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q473422 property:P20 ?b }
Vienna
Vienna is the place of death of Jacobus Vaet
Vienna
action filter_type
action find
entity Jacobus Vaet
relation place of death
type administrative territorial entity
['Jacobus Vaet', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Jacobus_Vaet property:place_of_death ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1693883
Q56061
USER
And how about Johann Georg Krönlein?
(Q1693883,P20,c(Q56061))
action filter_type
action find
entity Q1693883
relation P20
type Q56061
['Q1693883', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1693883 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Johann Georg Krönlein
action filter_type
action find
entity Johann Georg Krönlein
relation place of death
type administrative territorial entity
['Johann Georg Krönlein', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Johann_Georg_Krönlein property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q667463
SYSTEM
Wynberg
Q667463
(Q1693883,P20,c(Q56061))
action filter_type
action find
entity Q1693883
relation P20
type Q56061
[ANSWER]
['Q1693883', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1693883 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Wynberg
Wynberg
action filter_type
action find
entity Johann Georg Krönlein
relation place of death
type administrative territorial entity
['Johann Georg Krönlein', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Johann_Georg_Krönlein property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P19
Q502895
USER
How many people were born at that administrative territory ?
(c(Q502895),P19,Q667463)
action count
action filter_type
action find_reverse
entity Q667463
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q667463']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:P19 resource:Q667463 . ?g rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Wynberg
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Wynberg']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:place_of_birth resource:Wynberg . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
13
Q6230045 Q7307832 Q6310909 Q20639086 Q5488819 Q4805490 Q7192851 Q639787 Q5083344 Q3372168 Q6830561 Q5171530 Q3388016
(c(Q502895),P19,Q667463)
action count
action filter_type
action find_reverse
entity Q667463
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q667463']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:P19 resource:Q667463 . ?g rdf:type ontology:Q502895 }
John Doyle Reg Osborne Jumbo Milton Charles Aken Fairbridge Frank Osborne Ashley Johnson Pieter de Waal Federico Kleger Charles Warburton Meredith Paul Sauer Michael Gelfand Cornell Hess Pieter Louw
13
action count
action filter_type
action find_reverse
entity Wynberg
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Wynberg']
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g property:place_of_birth resource:Wynberg . ?g rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19467847 Q473422
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Jacobus Vaet or do Rietkamp belong to ?
OR((Q473422,P27,c(Q15617994)), (Q19467847,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q473422
relation P27
action find
entity Q19467847
relation P17
type Q15617994
{'OR': [['Q473422', 'P27', {'concept': 'Q15617994'}], ['Q19467847', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q473422 property:P27 ?s } UNION { resource:Q19467847 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Rietkamp Jacobus Vaet
action filter_type
action union
action find
entity Jacobus Vaet
relation country of citizenship
action find
entity Rietkamp
relation country
type designation for an administrative territorial entity
{'OR': [['Jacobus Vaet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rietkamp', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Jacobus_Vaet property:country_of_citizenship ?s } UNION { resource:Rietkamp property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q55
SYSTEM
Belgium, Netherlands
Q31 Q55
OR((Q473422,P27,c(Q15617994)), (Q19467847,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q473422
relation P27
action find
entity Q19467847
relation P17
type Q15617994
[ANSWERS] are the native countriesof Jacobus Vaet or do Rietkamp belong to
{'OR': [['Q473422', 'P27', {'concept': 'Q15617994'}], ['Q19467847', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q473422 property:P27 ?s } UNION { resource:Q19467847 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Belgium Netherlands
Belgium and Netherlands are the native countriesof Jacobus Vaet or do Rietkamp belong to
Belgium Netherlands
action filter_type
action union
action find
entity Jacobus Vaet
relation country of citizenship
action find
entity Rietkamp
relation country
type designation for an administrative territorial entity
{'OR': [['Jacobus Vaet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rietkamp', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Jacobus_Vaet property:country_of_citizenship ?s } UNION { resource:Rietkamp property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with around 9 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 9
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?j ) WHERE { ?h property:P530 ?r . ?h rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?j = 9 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?j ) WHERE { ?h property:diplomatic_relation ?r . ?h rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?j = 9 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 9
[ANSWERS] have diplomatic relations with around 9 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?j ) WHERE { ?h property:P530 ?r . ?h rdf:type ontology:Q1048835 . ?r rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?j = 9 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relations with around 9 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?j ) WHERE { ?h property:diplomatic_relation ?r . ?h rdf:type ontology:political_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?j = 9 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1771416 Q472851
P27
Q1048835
USER
Which political territories are Count Ferdinand Ernst Gabriel von Waldstein or Robyn Moore a civilian of ?
OR((Q472851,P27,c(Q1048835)), (Q1771416,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q472851
relation P27
action find
entity Q1771416
relation P27
type Q1048835
{'OR': [['Q472851', 'P27', {'concept': 'Q1048835'}], ['Q1771416', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q472851 property:P27 ?h } UNION { resource:Q1771416 property:P27 ?h } } . ?h rdf:type ontology:Q1048835 }
Robyn Moore Count Ferdinand Ernst Gabriel von Waldstein
action filter_type
action union
action find
entity Count Ferdinand Ernst Gabriel von Waldstein
relation country of citizenship
action find
entity Robyn Moore
relation country of citizenship
type political territorial entity
{'OR': [['Count Ferdinand Ernst Gabriel von Waldstein', 'country of citizenship', {'concept': 'political territorial entity'}], ['Robyn Moore', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Count_Ferdinand_Ernst_Gabriel_von_Waldstein property:country_of_citizenship ?h } UNION { resource:Robyn_Moore property:country_of_citizenship ?h } } . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q472851,P27,c(Q1048835)), (Q1771416,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q472851
relation P27
action find
entity Q1771416
relation P27
type Q1048835
[ANSWERS] are Count Ferdinand Ernst Gabriel von Waldstein or Robyn Moore a civilian of
{'OR': [['Q472851', 'P27', {'concept': 'Q1048835'}], ['Q1771416', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q472851 property:P27 ?h } UNION { resource:Q1771416 property:P27 ?h } } . ?h rdf:type ontology:Q1048835 }
Australia Germany
Australia and Germany are Count Ferdinand Ernst Gabriel von Waldstein or Robyn Moore a civilian of
Australia Germany
action filter_type
action union
action find
entity Count Ferdinand Ernst Gabriel von Waldstein
relation country of citizenship
action find
entity Robyn Moore
relation country of citizenship
type political territorial entity
{'OR': [['Count Ferdinand Ernst Gabriel von Waldstein', 'country of citizenship', {'concept': 'political territorial entity'}], ['Robyn Moore', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Count_Ferdinand_Ernst_Gabriel_von_Waldstein property:country_of_citizenship ?h } UNION { resource:Robyn_Moore property:country_of_citizenship ?h } } . ?h rdf:type ontology:political_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1427
Q1048835 Q878123 Q2912397
USER
Which political territories do around the same number of racings and single-day races originate from as that political territory ?
(c(Q878123)|c(Q2912397),P1427,c(Q1048835))
[[{'concept': 'Q878123'}, {'concept': 'Q2912397'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?s ) { ( ?z ) ( ?x ) } . ?s property:P1427 ?y } . ?z rdf:type ontology:Q878123 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q2912397 }
[[{'concept': 'racing'}, {'concept': 'single-day race'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?s ) { ( ?z ) ( ?x ) } . ?s property:start_point ?y } . ?z rdf:type ontology:racing . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:single-day_race }
[]
political territorial entity racing single-day race
Comparative|More/Less|Mult. entity type|Clarification
Q408
SYSTEM
Did you mean Australia ?
(c(Q878123)|c(Q2912397),P1427,c(Q1048835))
[ANSWER]
[[{'concept': 'Q878123'}, {'concept': 'Q2912397'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?s ) { ( ?z ) ( ?x ) } . ?s property:P1427 ?y } . ?z rdf:type ontology:Q878123 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q2912397 }
Did you mean Australia ?
Australia
[[{'concept': 'racing'}, {'concept': 'single-day race'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?s ) { ( ?z ) ( ?x ) } . ?s property:start_point ?y } . ?z rdf:type ontology:racing . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:single-day_race }
[]
Comparative Reasoning (All)
USER
No, I meant Germany. Could you tell me the answer for that?
(c(Q878123)|c(Q2912397),P1427,c(Q1048835))
Q183
[[{'concept': 'Q878123'}, {'concept': 'Q2912397'}], 'P1427', {'concept': 'Q1048835'}]
[[{'concept': 'racing'}, {'concept': 'single-day race'}], 'start point', {'concept': 'political territorial entity'}]
[]
Q183 Q12647 Q55480
SYSTEM
Germany, Vielha e Mijaran, Colmenar Viejo
Q572800 Q15907 Q1443867 Q1556707 Q55480 Q593620 Q615841 Q183 Q1552975 Q496424 Q1628353 Q2264671 Q49661 Q1607762 Q641221 Q1647365 Q671341 Q848172 Q847329 Q1766072 Q1605692 Q11492 Q1625868 Q430454 Q1646362 Q1641632 Q371748 Q832991 Q1649616 Q474080 Q634078 Q1186888 Q499184 Q851020 Q846153 Q668016 Q913277 Q12540 Q15640 Q492748 Q601112 Q1617896 Q12686 Q533277 Q743741 Q636467 Q648921 Q818341 Q221749 Q13614 Q12647 Q976528 Q987453 Q693913 Q1605993 Q604810 Q592747
(c(Q878123)|c(Q2912397),P1427,c(Q1048835))
[ANSWERS] around the same number of racings and single-day races originate from as that political territory
[[{'concept': 'Q878123'}, {'concept': 'Q2912397'}], 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1427 ?y } UNION { ?x property:P1427 ?y } } . ?z rdf:type ontology:Q878123 . ?y rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q2912397 }
Alcañiz Rota Los Corrales de Buelna Vila Nova de Cacela Colmenar Viejo Monachil Puebla de Don Fadrique Germany Sabiñánigo Calatayud Sasamón El Palomar Mauren Cenlle Viveiro Urdazubi/Urdax Betanzos Caleruega Comillas Santo Domingo de Silos Palomares del Río Mataró Alcañices Roa, Burgos Villalpando Jódar San Lorenzo de El Escorial Sóller Orio Amorebieta-Etxano Marín, Pontevedra Denbigh Roquetas de Mar Xàbia San Roque Iurreta Mazarrón Calella Sant Joan Despí Estepona Pollença Maceda Rialp Almonaster la Real Felanitx Benicàssim Etxebarria Monforte de Lemos Torrevieja Banyoles Vielha e Mijaran Alhaurín de la Torre San Javier Medina del Campo Cistierna Markina-Xemein Las Rozas de Madrid
Germany, Vielha e Mijaran and Colmenar Viejo around the same number of racings and single-day races originate from as that political territory
Germany Vielha e Mijaran Colmenar Viejo
[[{'concept': 'racing'}, {'concept': 'single-day race'}], 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:start_point ?y } UNION { ?x property:start_point ?y } } . ?z rdf:type ontology:racing . ?y rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:single-day_race }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q183 Q12647 Q55480
P20
Q502895
USER
Which people expired at those political territories ?
(c(Q502895),P20,Q183) (c(Q502895),P20,Q12647) (c(Q502895),P20,Q55480)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q183'] [{'concept': 'Q502895'}, 'P20', 'Q12647'] [{'concept': 'Q502895'}, 'P20', 'Q55480']
SELECT DISTINCT ?u WHERE { VALUES ( ?x ) { ( resource:Q572800 ) ( resource:Q15907 ) ( resource:Q1443867 ) } . ?u property:P20 ?x . ?u rdf:type ontology:Q502895 }
Germany Vielha e Mijaran Colmenar Viejo
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Germany'] [{'concept': 'common name'}, 'place of death', 'Vielha e Mijaran'] [{'concept': 'common name'}, 'place of death', 'Colmenar Viejo']
SELECT DISTINCT ?u WHERE { VALUES ( ?x ) { ( resource:Alcañiz ) ( resource:Rota ) ( resource:Los_Corrales_de_Buelna ) } . ?u property:place_of_death ?x . ?u rdf:type ontology:common_name }
[]
common name
Q156778 Q1373411 Q5076063
SYSTEM
Nero Claudius Drusus, Louis-Joseph de Montmorency-Laval, Charles Calvin Rogers
Q4148022 Q1397264 Q5621239 Q1373411 Q109217 Q5076063 Q434951 Q7377229 Q111967 Q5503719 Q2590123 Q2870937 Q25982544 Q19429807 Q5669978 Q2077408 Q3065908 Q106236 Q63842 Q6262425 Q192706 Q1510611 Q11899067 Q4722753 Q1608811 Q12017332 Q888241 Q1798892 Q107090 Q98934 Q12949807 Q15410611 Q6371991 Q360127 Q5740909 Q4055451 Q6113313 Q6372180 Q489837 Q2261253 Q97768 Q7558545 Q16591253 Q6775938 Q4217666 Q6133187 Q1747310 Q1506834 Q3157736 Q23001580 Q6134392 Q3430638 Q568282 Q98860 Q7965236 Q6775575 Q5543368 Q110396 Q4238358 Q3376378 Q5534341 Q108609 Q467490 Q7965391 Q3056493 Q2080501 Q17252417 Q5752133 Q1712808 Q3200578 Q5541015 Q14711384 Q16063948 Q8002290 Q2303068 Q4815805 Q4218746 Q17471855 Q86069 Q16569625 Q5348033 Q5734765 Q1390828 Q12019463 Q103023 Q2545075 Q16591909 Q6143697 Q16886377 Q7350225 Q91927 Q1222313 Q130623 Q5258350 Q2528825 Q17522390 Q23616153 Q4299035 Q73811 Q2562796 Q5343045 Q20477029 Q7106940 Q711468 Q4723438 Q102368 Q5388092 Q1938351 Q3767051 Q6380893 Q7197042 Q4271993 Q4400180 Q4523816 Q100607 Q629895 Q5649932 Q11717528 Q508473 Q18169932 Q4083957 Q7983518 Q4147609 Q4279850 Q315824 Q263753 Q6372392 Q12049488 Q216755 Q6748535 Q5232066 Q5650526 Q5649557 Q1680961 Q1341822 Q6371413 Q1999281 Q99732 Q4527638 Q99709 Q1457957 Q3193357 Q5535670 Q3401235 Q17522 Q12026769 Q156778 Q1582660 Q3059830 Q2752060 Q4502876 Q102080 Q95440 Q73537 Q214258 Q1974292 Q5710779 Q3440383 Q120947 Q471353 Q3027542 Q352523 Q566508 Q7782021 Q4394916 Q7345045 Q3559626 Q2644828 Q6446580 Q138513 Q2894434 Q21515124 Q765890
(c(Q502895),P20,Q183) (c(Q502895),P20,Q12647) (c(Q502895),P20,Q55480)
action filter_type
action find_reverse
entity prev_answer
relation P20
type Q502895
[ANSWERS] expired at those political territories
[{'concept': 'Q502895'}, 'P20', 'Q183'] [{'concept': 'Q502895'}, 'P20', 'Q12647'] [{'concept': 'Q502895'}, 'P20', 'Q55480']
SELECT DISTINCT ?u WHERE { VALUES ( ?x ) { ( resource:Q572800 ) ( resource:Q15907 ) ( resource:Q1443867 ) } . ?u property:P20 ?x . ?u rdf:type ontology:Q502895 }
Grigory Grauerman Mohammad Yusuf Gustav Sturm Louis-Joseph de Montmorency-Laval Walter Köbel Charles Calvin Rogers Haim Yosef Zadok Rudolf Klemm Wilhelm Abeln Friedrich-Karl "Nasen" Müller Bruno Sutkus August Häfner Paul Joly Karsten Brodersen Harry J. Michael Peter Pagel Karl Ullrich Abraham Sulzbach Aloys Grillmeier John W. Minick William Gilbert Gerd Klier Viliam Pauliny Alfred Greim Herbert Moll František Mrázek Dobiáš Guido del Mestri Norbert Schmitz Hans-Hendrik Neumann Rudolf Kleinpaul Hans Schlitte Louys de Moy Karl Klüsner Jože Pučnik Hermann Poehlmann Alarich Augustin Jack J. Pendleton Karl Rammelt Hans Schwartz Eduard Tratt Horst Seemann Solomon Abera Nuri Karademirli Martin Kühne Paul-Albert Kausch James E. Robinson, Jr. Oskar Janicki George Agbazika Innih Jacqueline H. Osterrath Joanna Wichmann James G. Snitzer Richard Christmann Paul Zielinski Karl Kersten Walter J. Will Martin Groß George Peterson Martin Saltzwedel Lydia Fedorovna Krasnov Pete Haycock Geoff Taylor Ernst Volckheim Kristijonas Donelaitis Walter Körner Erich von Brückner Petre Steinbach Anno Blissenbach Carlos Werner Julius Ludorf Kurt Fett George J. Peters Turney W. Leonard Frederick Kawerau Wilhelm Schilling Sophus Williams Attila Csipler Helmut Quitzrau Habib Edip Törehan Edmund Kiss Fritz Lüdecke Eginhard Weißmann Herbert Kaiser Robert Stämpfli Helmuth Raithel Karl Blessinger Walter Klinger Liviu Măruia James Stokes Charles S. von Stade Robert T. Henry Friedrich Elchlepp Dieter Koulmann Alexander Petrowitsch Apsit Dennis Donnini Wilhelm Küpper Alfred Samlowski Joseph Mallmann Armen Movsisyan Günter Thorhauer Werner Unterdörfel Edward G. Wilkin İlhan Bardakçı Oskar Romm Sa'dun Hammadi Alfred Siegling August von Bibra Erich Rehm Miro Rys Giovanni Corvi Dan Held Piotra Sych Auguste Ludwig Karl Konrad August Ruppel Kurt Schilling Wilhelm Keilhaus Pol Demeuter Hans Dortenmann Jan Gałuszka Maurice Sachs Marcel Girault Alexander Berg Werner Wolf Walter Greite Mammad Mammadov Felix Woyrsch Herbert Lütkebohmert Karl Zierhofer Robert Franze Ottmar von Behr Manfred Schönfelder David Crowder Waybur Hans Neumann Hans-Georg von der Marwitz James Paul Wesley Kōrli Stalte Karl-Heinrich Welzel Gennadi Matveyev Ursula Reit Michael Schulz-Dornburg Gerhard Prokop Friedrich Karl Rhein Georg Christl Dimitrios Kalapothakis Hertha Marks Ayrton Josef Weißkopf Nero Claudius Drusus Hans Stock Eugène Droulers Princess Elisabeth Maria of Bavaria Rolf Höhne Carl Anton Schäfer Herbert Gundelach Kurt Plötner Egon Pollak Alexander Cockburn Helwig Luz Rolf von Lilienhoff-Zwowitzky Theodor Wolff Vahan Hovhannisyan Dietrich Beelitz Leo Keresselidze Rudolf Batz Theodore Runyon Wilfrid Richter Robert H. Dietz Anna Litvinova Alfred Csallner Kurt Albrecht Gilbert Fuchs Pepita Caubet Delseny Julián Sánchez Prieto José Cubero Sánchez
Nero Claudius Drusus, Louis-Joseph de Montmorency-Laval and Charles Calvin Rogers expired at those political territories
Nero Claudius Drusus Louis-Joseph de Montmorency-Laval Charles Calvin Rogers
action filter_type
action find_reverse
entity prev_answer
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Germany'] [{'concept': 'common name'}, 'place of death', 'Vielha e Mijaran'] [{'concept': 'common name'}, 'place of death', 'Colmenar Viejo']
SELECT DISTINCT ?u WHERE { VALUES ( ?x ) { ( resource:Alcañiz ) ( resource:Rota ) ( resource:Los_Corrales_de_Buelna ) } . ?u property:place_of_death ?x . ?u rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5076063
P241
Q781132
USER
Which military branch is that person associated with ?
(Q5076063,P241,c(Q781132))
action filter_type
action find
entity Q5076063
relation P241
type Q781132
['Q5076063', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q781132 . resource:Q5076063 property:P241 ?m }
Charles Calvin Rogers
action filter_type
action find
entity Charles Calvin Rogers
relation military branch
type military branch
['Charles Calvin Rogers', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:military_branch . resource:Charles_Calvin_Rogers property:military_branch ?m }
[]
military branch
Clarification for simple ques.
Q156778
SYSTEM
Did you mean Nero Claudius Drusus ?
Q156778 Q1373411 Q5076063
(Q156778,P241,c(Q781132)) (Q1373411,P241,c(Q781132)) (Q5076063,P241,c(Q781132))
[ANSWER]
['Q156778', 'P241', {'concept': 'Q781132'}] ['Q1373411', 'P241', {'concept': 'Q781132'}] ['Q5076063', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q781132 . resource:Q5076063 property:P241 ?m }
Nero Claudius Drusus Louis-Joseph de Montmorency-Laval Charles Calvin Rogers
Did you mean Nero Claudius Drusus ?
Nero Claudius Drusus
['Nero Claudius Drusus', 'military branch', {'concept': 'military branch'}] ['Louis-Joseph de Montmorency-Laval', 'military branch', {'concept': 'military branch'}] ['Charles Calvin Rogers', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:military_branch . resource:Charles_Calvin_Rogers property:military_branch ?m }
[]
Simple Question (Coreferenced)
USER
No, I meant Charles Calvin Rogers. Could you tell me the answer for that?
(Q5076063,P241,c(Q781132))
Q5076063
['Q5076063', 'P241', {'concept': 'Q781132'}]
['Charles Calvin Rogers', 'military branch', {'concept': 'military branch'}]
[]
Q9212
SYSTEM
United States Army
Q9212
(Q5076063,P241,c(Q781132))
action filter_type
action find
entity Q5076063
relation P241
type Q781132
That person is associated with [ANSWER]
['Q5076063', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q781132 . resource:Q5076063 property:P241 ?m }
United States Army
That person is associated with United States Army
United States Army
action filter_type
action find
entity Charles Calvin Rogers
relation military branch
type military branch
['Charles Calvin Rogers', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:military_branch . resource:Charles_Calvin_Rogers property:military_branch ?m }
[]