Simple Question (Direct)
Simple Question
Q1058618
P21
Q290
USER
Which sex does Chad Whitehead possess ?
(Q1058618,P21,c(Q290))
action filter_type
action find
entity Q1058618
relation P21
type Q290
['Q1058618', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1058618 property:P21 ?d . ?d rdf:type ontology:Q290 }
Chad Whitehead
action filter_type
action find
entity Chad Whitehead
relation gender
type sex
['Chad Whitehead', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Chad_Whitehead property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1058618,P21,c(Q290))
action filter_type
action find
entity Q1058618
relation P21
type Q290
Chad Whitehead possesses un [ANSWER]
['Q1058618', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q1058618 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
Chad Whitehead possesses un male
male
action filter_type
action find
entity Chad Whitehead
relation gender
type sex
['Chad Whitehead', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Chad_Whitehead property:gender ?d . ?d rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q232090 Q1058618
P27
Q1048835
USER
Which political territories are the countries of citizenship of Chad Whitehead or Vipsania Agrippina ?
OR((Q1058618,P27,c(Q1048835)), (Q232090,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1058618
relation P27
action find
entity Q232090
relation P27
type Q1048835
{'OR': [['Q1058618', 'P27', {'concept': 'Q1048835'}], ['Q232090', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . { { resource:Q1058618 property:P27 ?u } UNION { resource:Q232090 property:P27 ?u } } }
Vipsania Agrippina Chad Whitehead
action filter_type
action union
action find
entity Chad Whitehead
relation country of citizenship
action find
entity Vipsania Agrippina
relation country of citizenship
type political territorial entity
{'OR': [['Chad Whitehead', 'country of citizenship', {'concept': 'political territorial entity'}], ['Vipsania Agrippina', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . { { resource:Chad_Whitehead property:country_of_citizenship ?u } UNION { resource:Vipsania_Agrippina property:country_of_citizenship ?u } } }
[]
political territorial entity
Q1747689 Q408
SYSTEM
Ancient Rome, Australia
Q1747689 Q408
OR((Q1058618,P27,c(Q1048835)), (Q232090,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1058618
relation P27
action find
entity Q232090
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Chad Whitehead or Vipsania Agrippina
{'OR': [['Q1058618', 'P27', {'concept': 'Q1048835'}], ['Q232090', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . { { resource:Q1058618 property:P27 ?u } UNION { resource:Q232090 property:P27 ?u } } }
Ancient Rome Australia
Ancient Rome and Australia are the countries of citizenship of Chad Whitehead or Vipsania Agrippina
Ancient Rome Australia
action filter_type
action union
action find
entity Chad Whitehead
relation country of citizenship
action find
entity Vipsania Agrippina
relation country of citizenship
type political territorial entity
{'OR': [['Chad Whitehead', 'country of citizenship', {'concept': 'political territorial entity'}], ['Vipsania Agrippina', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . { { resource:Chad_Whitehead property:country_of_citizenship ?u } UNION { resource:Vipsania_Agrippina property:country_of_citizenship ?u } } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1747689 Q408
P20
Q502895
USER
Which people have Ancient Rome and Australia as place of death ?
(c(Q502895),P20,Q1747689) (c(Q502895),P20,Q408)
action union
action filter_type
action find_reverse
entity Q1747689
relation P20
type Q502895
action filter_type
action find_reverse
entity Q408
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q1747689'] [{'concept': 'Q502895'}, 'P20', 'Q408']
SELECT DISTINCT ?j WHERE { VALUES ( ?s ) { ( resource:Q1747689 ) ( resource:Q408 ) } . ?j property:P20 ?s }
Ancient Rome Australia
action union
action filter_type
action find_reverse
entity Ancient Rome
relation place of death
type common name
action filter_type
action find_reverse
entity Australia
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Ancient Rome'] [{'concept': 'common name'}, 'place of death', 'Australia']
SELECT DISTINCT ?j WHERE { VALUES ( ?s ) { ( resource:Ancient_Rome ) ( resource:Australia ) } . ?j property:place_of_death ?s }
[]
common name
Q4933465 Q7182237 Q1668674
SYSTEM
Bob Mountford, Phil O'Connor, John Prentice
Q526000 Q1115667 Q6213025 Q8039943 Q3161115 Q2579524 Q1844217 Q9351971 Q6243125 Q327500 Q5537113 Q6373025 Q15838261 Q22230792 Q3767224 Q265725 Q20712377 Q3661240 Q19642170 Q5918989 Q3176552 Q23653061 Q4798150 Q1557896 Q8012377 Q2296098 Q1699188 Q4231090 Q9145583 Q20751827 Q6232798 Q4308689 Q338095 Q449535 Q541929 Q4933465 Q4772817 Q446259 Q5078890 Q3857096 Q7181946 Q16582076 Q6391105 Q8019348 Q8013723 Q872005 Q27460596 Q1605923 Q8014270 Q5488012 Q813522 Q129419 Q7562852 Q1668674 Q19556851 Q5621312 Q5126049 Q7790684 Q1343919 Q17581740 Q326396 Q3525624 Q5481540 Q375158 Q5365904 Q72462 Q353769 Q7182237 Q6384033 Q1585867 Q57763
(c(Q502895),P20,Q1747689) (c(Q502895),P20,Q408)
action union
action filter_type
action find_reverse
entity Q1747689
relation P20
type Q502895
action filter_type
action find_reverse
entity Q408
relation P20
type Q502895
[ANSWERS] have Ancient Rome and Australia as place of death
[{'concept': 'Q502895'}, 'P20', 'Q1747689'] [{'concept': 'Q502895'}, 'P20', 'Q408']
SELECT DISTINCT ?j WHERE { VALUES ( ?s ) { ( resource:Q1747689 ) ( resource:Q408 ) } . ?j property:P20 ?s }
Ptolemy of Mauretania Saint Telemachus Joe Wilson Wylie Watson James Graham Goodenough William John Miles Harry Merkel Szloma Herszenhorn John King Joseph Furphy George Bornemissza Karol Castillo Richard Schrötter Rita Schneider Giovanni Ferrero Nuno Oliveira Donald M. Phillips Peter Boyle Eileen Good Howard Arkley Jeff McLean Thomas Picken Arthur Bywater Gwoya Jungarai William Hodgkinson Snowy Evans John Augustine Collins Ivan Nikitich Kononov Aleksander Klotz Susannah Jane Rankin John Faulkner Anton Muttukumaru Carl Emil Pettersson Emily Remler Louisa Lawson Bob Mountford Anthony JJ Lucas Irma Heijting-Schuhmacher Charles Hegyalji Mieczysław Warmus Phil Gunter Nevio Scalamera Kenny Jenkins William Thomas Smith William Jones Mihály Cserhalmi Margaret Thorp Henri Mallard William Lambert Dobson Frank Loughran Bebejan Jackey Jackey Sophia Blackmore John Prentice Eva Buhrich Gustave Ramaciotti Clara Southern Thomas Hill Dixon William Ford Aleksandr Goldstein Robert John Tillyard Thomas Vasse Francis Joseph Bayldon James Dunlop Ellis Irving Igor Konstantinovich Zakharov Adela Pankhurst Phil O'Connor Keith Barton Lewis Hubert Lasseter Ludwig Leichhardt
Bob Mountford, Phil O'Connor and John Prentice have Ancient Rome and Australia as place of death
Bob Mountford Phil O'Connor John Prentice
action union
action filter_type
action find_reverse
entity Ancient Rome
relation place of death
type common name
action filter_type
action find_reverse
entity Australia
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Ancient Rome'] [{'concept': 'common name'}, 'place of death', 'Australia']
SELECT DISTINCT ?j WHERE { VALUES ( ?s ) { ( resource:Ancient_Rome ) ( resource:Australia ) } . ?j property:place_of_death ?s }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4933465
P509
Q2057971
USER
What was the cause of death of that person ?
(Q4933465,P509,c(Q2057971))
action filter_type
action find
entity Q4933465
relation P509
type Q2057971
['Q4933465', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?b WHERE { resource:Q4933465 property:P509 ?b . ?b rdf:type ontology:Q2057971 }
Bob Mountford
action filter_type
action find
entity Bob Mountford
relation cause of death
type health problem
['Bob Mountford', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?b WHERE { resource:Bob_Mountford property:cause_of_death ?b . ?b rdf:type ontology:health_problem }
[]
health problem
Clarification for simple ques.
Q1668674
SYSTEM
Did you mean John Prentice ?
Q4933465 Q7182237 Q1668674
(Q4933465,P509,c(Q2057971)) (Q7182237,P509,c(Q2057971)) (Q1668674,P509,c(Q2057971))
[ANSWER]
['Q4933465', 'P509', {'concept': 'Q2057971'}] ['Q7182237', 'P509', {'concept': 'Q2057971'}] ['Q1668674', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?b WHERE { resource:Q4933465 property:P509 ?b . ?b rdf:type ontology:Q2057971 }
Bob Mountford Phil O'Connor John Prentice
Did you mean John Prentice ?
John Prentice
['Bob Mountford', 'cause of death', {'concept': 'health problem'}] ["Phil O'Connor", 'cause of death', {'concept': 'health problem'}] ['John Prentice', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?b WHERE { resource:Bob_Mountford property:cause_of_death ?b . ?b rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
USER
No, I meant Bob Mountford. Could you tell me the answer for that?
(Q4933465,P509,c(Q2057971))
Q4933465
['Q4933465', 'P509', {'concept': 'Q2057971'}]
['Bob Mountford', 'cause of death', {'concept': 'health problem'}]
[]
Q188874
SYSTEM
colorectal cancer
Q188874
(Q4933465,P509,c(Q2057971))
action filter_type
action find
entity Q4933465
relation P509
type Q2057971
The cause of death of that person was of [ANSWER]
['Q4933465', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?b WHERE { resource:Q4933465 property:P509 ?b . ?b rdf:type ontology:Q2057971 }
colorectal cancer
The cause of death of that person was of colorectal cancer
colorectal cancer
action filter_type
action find
entity Bob Mountford
relation cause of death
type health problem
['Bob Mountford', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?b WHERE { resource:Bob_Mountford property:cause_of_death ?b . ?b rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4933465
P1196
Q1931388
USER
What manner did Bob Mountford die ?
(Q4933465,P1196,c(Q1931388))
action filter_type
action find
entity Q4933465
relation P1196
type Q1931388
['Q4933465', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?j WHERE { resource:Q4933465 property:P1196 ?j . ?j rdf:type ontology:Q1931388 }
Bob Mountford
action filter_type
action find
entity Bob Mountford
relation manner of death
type cause of death
['Bob Mountford', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?j WHERE { resource:Bob_Mountford property:manner_of_death ?j . ?j rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q4933465,P1196,c(Q1931388))
action filter_type
action find
entity Q4933465
relation P1196
type Q1931388
Bob Mountford died of [ANSWER]
['Q4933465', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?j WHERE { resource:Q4933465 property:P1196 ?j . ?j rdf:type ontology:Q1931388 }
natural causes
Bob Mountford died of natural causes
natural causes
action filter_type
action find
entity Bob Mountford
relation manner of death
type cause of death
['Bob Mountford', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?j WHERE { resource:Bob_Mountford property:manner_of_death ?j . ?j rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4933465
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q3739104,P106,c(Q12737077))
action filter_type
action find
entity Q4933465
relation P106
type Q12737077
['Q3739104', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q4933465 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Bob Mountford
action filter_type
action find
entity Bob Mountford
relation occupation
type occupation
['natural causes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Bob_Mountford property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q3739104,P106,c(Q12737077))
action filter_type
action find
entity Q4933465
relation P106
type Q12737077
Player [ANSWERS] have that person as his/her 's career
['Q3739104', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q4933465 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
association football manager association football player
Player association football manager and association football player have that person as his/her 's career
association football manager association football player
action filter_type
action find
entity Bob Mountford
relation occupation
type occupation
['natural causes', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Bob_Mountford property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4666421
P106
Q502895
USER
Do Abe Mitchell have career as those occupations ?
(Q4666421,P106,Q628099) (Q4666421,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q4666421
relation P106
['Q4666421', 'P106', 'Q628099'] ['Q4666421', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?e ) { ( resource:Q628099 ) ( resource:Q937857 ) } . resource:Q4666421 property:P106 ?e }
Abe Mitchell
action is_in
entity prev_answer
action find
entity Abe Mitchell
relation occupation
['Abe Mitchell', 'occupation', 'association football manager'] ['Abe Mitchell', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?e ) { ( resource:association_football_manager ) ( resource:association_football_player ) } . resource:Abe_Mitchell property:occupation ?e }
[]
common name
SYSTEM
NO
(Q4666421,P106,Q628099) (Q4666421,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q4666421
relation P106
[ANSWER]
['Q4666421', 'P106', 'Q628099'] ['Q4666421', 'P106', 'Q937857']
ASK WHERE { VALUES ( ?e ) { ( resource:Q628099 ) ( resource:Q937857 ) } . resource:Q4666421 property:P106 ?e }
No
action is_in
entity prev_answer
action find
entity Abe Mitchell
relation occupation
['Abe Mitchell', 'occupation', 'association football manager'] ['Abe Mitchell', 'occupation', 'association football player']
ASK WHERE { VALUES ( ?e ) { ( resource:association_football_manager ) ( resource:association_football_player ) } . resource:Abe_Mitchell property:occupation ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4933465
P641
Q349
USER
Which sport was Bob Mountford a part of ?
(Q4933465,P641,c(Q349))
action filter_type
action find
entity Q4933465
relation P641
type Q349
['Q4933465', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q4933465 property:P641 ?o . ?o rdf:type ontology:Q349 }
Bob Mountford
action filter_type
action find
entity Bob Mountford
relation sport
type sport
['Bob Mountford', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Bob_Mountford property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4933465,P641,c(Q349))
action filter_type
action find
entity Q4933465
relation P641
type Q349
Which sport was Bob Mountford a part of
['Q4933465', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q4933465 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Which sport was Bob Mountford a part of
association football
action filter_type
action find
entity Bob Mountford
relation sport
type sport
['Bob Mountford', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Bob_Mountford property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4576639
Q349
USER
And how about 1975 Indiana Hoosiers football team?
(Q4576639,P641,c(Q349))
action filter_type
action find
entity Q4576639
relation P641
type Q349
['Q4576639', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4576639 property:P641 ?u . ?u rdf:type ontology:Q349 }
1975 Indiana Hoosiers football team
action filter_type
action find
entity 1975 Indiana Hoosiers football team
relation sport
type sport
['1975 Indiana Hoosiers football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:1975_Indiana_Hoosiers_football_team property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q4576639,P641,c(Q349))
action filter_type
action find
entity Q4576639
relation P641
type Q349
[ANSWER]
['Q4576639', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4576639 property:P641 ?u . ?u rdf:type ontology:Q349 }
American football
American football
action filter_type
action find
entity 1975 Indiana Hoosiers football team
relation sport
type sport
['1975 Indiana Hoosiers football team', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:1975_Indiana_Hoosiers_football_team property:sport ?u . ?u rdf:type ontology:sport }
[]