Simple Question (Direct)
Simple Question
Q22341349
P734
Q82799
USER
Who has the surname Tina Allen ?
(Q22341349,P734,c(Q82799))
action filter_type
action find
entity Q22341349
relation P734
type Q82799
['Q22341349', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q22341349 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Tina Allen
action filter_type
action find
entity Tina Allen
relation family name
type name
['Tina Allen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Tina_Allen property:family_name ?u . ?u rdf:type ontology:name }
[]
name
Q1158612
SYSTEM
Powell
Q1158612
(Q22341349,P734,c(Q82799))
action filter_type
action find
entity Q22341349
relation P734
type Q82799
The [ANSWER] has the surname Tina Allen
['Q22341349', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?u WHERE { resource:Q22341349 property:P734 ?u . ?u rdf:type ontology:Q82799 }
Powell
The Powell has the surname Tina Allen
Powell
action filter_type
action find
entity Tina Allen
relation family name
type name
['Tina Allen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?u WHERE { resource:Tina_Allen property:family_name ?u . ?u rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22341349
P22
Q502895
USER
Who was the dad of Tina Allen ?
(Q22341349,P22,c(Q502895))
action filter_type
action find
entity Q22341349
relation P22
type Q502895
['Q22341349', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q22341349 property:P22 ?a }
Tina Allen
action filter_type
action find
entity Tina Allen
relation father
type common name
['Tina Allen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Tina_Allen property:father ?a }
[]
common name
Q212165
SYSTEM
Specs Powell
Q212165
(Q22341349,P22,c(Q502895))
action filter_type
action find
entity Q22341349
relation P22
type Q502895
The dad of Tina Allen was the [ANSWER]
['Q22341349', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q22341349 property:P22 ?a }
Specs Powell
The dad of Tina Allen was the Specs Powell
Specs Powell
action filter_type
action find
entity Tina Allen
relation father
type common name
['Tina Allen', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Tina_Allen property:father ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22341349
P1066
Q502895
USER
Which person was the professor of Tina Allen ?
(Q22341349,P1066,c(Q502895))
action filter_type
action find
entity Q22341349
relation P1066
type Q502895
['Q22341349', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q22341349 property:P1066 ?l }
Tina Allen
action filter_type
action find
entity Tina Allen
relation student of
type common name
['Tina Allen', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Tina_Allen property:student_of ?l }
[]
common name
Q385941
SYSTEM
William Zorach
Q385941
(Q22341349,P1066,c(Q502895))
action filter_type
action find
entity Q22341349
relation P1066
type Q502895
[ANSWER] was the professor of Tina Allen
['Q22341349', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q22341349 property:P1066 ?l }
William Zorach
William Zorach was the professor of Tina Allen
William Zorach
action filter_type
action find
entity Tina Allen
relation student of
type common name
['Tina Allen', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Tina_Allen property:student_of ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q385941
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q385941,P20,c(Q56061))
action filter_type
action find
entity Q385941
relation P20
type Q56061
['Q385941', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q385941 property:P20 ?n . ?n rdf:type ontology:Q56061 }
William Zorach
action filter_type
action find
entity William Zorach
relation place of death
type administrative territorial entity
['William Zorach', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:William_Zorach property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q810784
SYSTEM
Bath
Q810784
(Q385941,P20,c(Q56061))
action filter_type
action find
entity Q385941
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q385941', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q385941 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Bath
Bath is the place of death of that person
Bath
action filter_type
action find
entity William Zorach
relation place of death
type administrative territorial entity
['William Zorach', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:William_Zorach property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q810784
P17
Q15617994
USER
Which administrative territory does that administrative territory belong to ?
(Q810784,P17,c(Q15617994))
action filter_type
action find
entity Q810784
relation P17
type Q15617994
['Q810784', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q810784 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Bath
action filter_type
action find
entity Bath
relation country
type designation for an administrative territorial entity
['Bath', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Bath property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q810784,P17,c(Q15617994))
action filter_type
action find
entity Q810784
relation P17
type Q15617994
That administrative territory belongs to [ANSWER]
['Q810784', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q810784 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
That administrative territory belongs to United States of America
United States of America
action filter_type
action find
entity Bath
relation country
type designation for an administrative territorial entity
['Bath', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Bath property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1158612
P407
Q34770
USER
What is the language of Powell ?
(Q1158612,P407,c(Q34770))
action filter_type
action find
entity Q1158612
relation P407
type Q34770
['Q1158612', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q1158612 property:P407 ?p . ?p rdf:type ontology:Q34770 }
Powell
action filter_type
action find
entity Powell
relation language of work or name
type language
['Powell', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Powell property:language_of_work_or_name ?p . ?p rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1158612,P407,c(Q34770))
action filter_type
action find
entity Q1158612
relation P407
type Q34770
The language of Powell is the [ANSWER]
['Q1158612', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q1158612 property:P407 ?p . ?p rdf:type ontology:Q34770 }
English
The language of Powell is the English
English
action filter_type
action find
entity Powell
relation language of work or name
type language
['Powell', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Powell property:language_of_work_or_name ?p . ?p rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7732858
Q34770
USER
And also tell me about The Explosive Side of Sarah Vaughan?
(Q7732858,P407,c(Q34770))
action filter_type
action find
entity Q7732858
relation P407
type Q34770
['Q7732858', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q7732858 property:P407 ?l . ?l rdf:type ontology:Q34770 }
The Explosive Side of Sarah Vaughan
action filter_type
action find
entity The Explosive Side of Sarah Vaughan
relation language of work or name
type language
['The Explosive Side of Sarah Vaughan', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:The_Explosive_Side_of_Sarah_Vaughan property:language_of_work_or_name ?l . ?l rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7732858,P407,c(Q34770))
action filter_type
action find
entity Q7732858
relation P407
type Q34770
[ANSWER]
['Q7732858', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q7732858 property:P407 ?l . ?l rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity The Explosive Side of Sarah Vaughan
relation language of work or name
type language
['The Explosive Side of Sarah Vaughan', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:The_Explosive_Side_of_Sarah_Vaughan property:language_of_work_or_name ?l . ?l rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
Which languages have writing system as more number of writing systems than that language ?
(c(Q34770),P282,c(Q8192))
action greater
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1860
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?d ) WHERE { ?o property:P282 ?z . ?z rdf:type ontology:Q8192 . ?o rdf:type ontology:Q34770 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t rdf:type ontology:Q34770 . resource:Q1860 property:P282 ?t } } . FILTER ( ?d > ?n ) }
action greater
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity English
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?d ) WHERE { ?o property:writing_system ?z . ?z rdf:type ontology:writing_system . ?o rdf:type ontology:language } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t rdf:type ontology:language . resource:English property:writing_system ?t } } . FILTER ( ?d > ?n ) }
[]
writing system language
Q182695 Q1669994
SYSTEM
Late Old Japanese, Minoan language
Q182695 Q1669994
(c(Q34770),P282,c(Q8192))
action greater
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1860
relation P282
type Q34770
[ANSWERS] have writing system as more number of writing systems than that language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?d ) WHERE { ?o property:P282 ?z . ?z rdf:type ontology:Q8192 . ?o rdf:type ontology:Q34770 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t rdf:type ontology:Q34770 . resource:Q1860 property:P282 ?t } } . FILTER ( ?d > ?n ) }
Late Old Japanese Minoan language
Late Old Japanese and Minoan language have writing system as more number of writing systems than that language
Late Old Japanese Minoan language
action greater
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity English
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?d ) WHERE { ?o property:writing_system ?z . ?z rdf:type ontology:writing_system . ?o rdf:type ontology:language } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t rdf:type ontology:language . resource:English property:writing_system ?t } } . FILTER ( ?d > ?n ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P35
Q502895 Q15617994 Q1048835
USER
Which people are the heads of state of max number of administrative territories and political territories ?
(c(Q15617994)|c(Q1048835),P35,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?g ) { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:P35 ?c . ?v rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q502895 } UNION { ?v property:P35 ?c . ?c rdf:type ontology:Q502895 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?c } . FILTER ( ?a = ?g ) }
action argmax
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?g ) { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:head_of_state ?c . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:common_name } UNION { ?v property:head_of_state ?c . ?c rdf:type ontology:common_name . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?c } . FILTER ( ?a = ?g ) }
[]
common name designation for an administrative territorial entity political territorial entity
Q9682
SYSTEM
Elizabeth II
Q9682
(c(Q15617994)|c(Q1048835),P35,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q15617994
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
[ANSWER] is the heads of state of max number of administrative territories and political territories
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?g ) { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:P35 ?c . ?v rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q502895 } UNION { ?v property:P35 ?c . ?c rdf:type ontology:Q502895 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?c } . FILTER ( ?a = ?g ) }
Elizabeth II
Elizabeth II is the heads of state of max number of administrative territories and political territories
Elizabeth II
action argmax
action union
action find_reverse_tuple_counts
relation head of state
type common name
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?x ) AS ?g ) { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?x ) WHERE { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } GROUP BY ?o } } . { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:head_of_state ?c . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:common_name } UNION { ?v property:head_of_state ?c . ?c rdf:type ontology:common_name . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?c } . FILTER ( ?a = ?g ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q9682 Q1586140
P26
Q502895
USER
Is Harriet Creighton the spouse of that one ?
(Q9682,P26,Q1586140)
action is_in
entity Q1586140
action find
entity Q9682
relation P26
['Q9682', 'P26', 'Q1586140']
ASK WHERE { resource:Q9682 property:P26 resource:Q1586140 }
Elizabeth II Harriet Creighton
action is_in
entity Harriet Creighton
action find
entity Elizabeth II
relation spouse
['Elizabeth II', 'spouse', 'Harriet Creighton']
ASK WHERE { resource:Elizabeth_II property:spouse resource:Harriet_Creighton }
[]
common name
SYSTEM
NO
(Q9682,P26,Q1586140)
action is_in
entity Q1586140
action find
entity Q9682
relation P26
[ANSWER]
['Q9682', 'P26', 'Q1586140']
ASK WHERE { resource:Q9682 property:P26 resource:Q1586140 }
No
action is_in
entity Harriet Creighton
action find
entity Elizabeth II
relation spouse
['Elizabeth II', 'spouse', 'Harriet Creighton']
ASK WHERE { resource:Elizabeth_II property:spouse resource:Harriet_Creighton }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q212165 Q7861832
P27
Q15617994
USER
Does Specs Powell belong to Tytherington, Wiltshire ?
(Q212165,P27,Q7861832)
action is_in
entity Q7861832
action find
entity Q212165
relation P27
['Q212165', 'P27', 'Q7861832']
ASK WHERE { resource:Q212165 property:P27 resource:Q7861832 }
Specs Powell Tytherington, Wiltshire
action is_in
entity Tytherington, Wiltshire
action find
entity Specs Powell
relation country of citizenship
['Specs Powell', 'country of citizenship', 'Tytherington, Wiltshire']
ASK WHERE { resource:Specs_Powell property:country_of_citizenship resource:Tytherington,_Wiltshire }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q212165,P27,Q7861832)
action is_in
entity Q7861832
action find
entity Q212165
relation P27
[ANSWER]
['Q212165', 'P27', 'Q7861832']
ASK WHERE { resource:Q212165 property:P27 resource:Q7861832 }
No
action is_in
entity Tytherington, Wiltshire
action find
entity Specs Powell
relation country of citizenship
['Specs Powell', 'country of citizenship', 'Tytherington, Wiltshire']
ASK WHERE { resource:Specs_Powell property:country_of_citizenship resource:Tytherington,_Wiltshire }
[]