Simple Question (Direct)
Simple Question
Q3041661
P1066
Q502895
USER
Who were the teachers of Duska Sifnios ?
(Q3041661,P1066,c(Q502895))
action filter_type
action find
entity Q3041661
relation P1066
type Q502895
['Q3041661', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3041661 property:P1066 ?t . ?t rdf:type ontology:Q502895 }
Duska Sifnios
action filter_type
action find
entity Duska Sifnios
relation student of
type common name
['Duska Sifnios', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Duska_Sifnios property:student_of ?t . ?t rdf:type ontology:common_name }
[]
common name
Q2568132 Q3557351
SYSTEM
Leonid Lavrovsky, Victor Gsovsky
Q2568132 Q3557351
(Q3041661,P1066,c(Q502895))
action filter_type
action find
entity Q3041661
relation P1066
type Q502895
The teachers of Duska Sifnios were [ANSWERS]
['Q3041661', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q3041661 property:P1066 ?t . ?t rdf:type ontology:Q502895 }
Leonid Lavrovsky Victor Gsovsky
The teachers of Duska Sifnios were Leonid Lavrovsky and Victor Gsovsky
Leonid Lavrovsky Victor Gsovsky
action filter_type
action find
entity Duska Sifnios
relation student of
type common name
['Duska Sifnios', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Duska_Sifnios property:student_of ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2568132 Q3557351
P21
Q290
USER
Which sexes do those people belong to ?
(Q2568132,P21,c(Q290)) (Q3557351,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q2568132', 'P21', {'concept': 'Q290'}] ['Q3557351', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?s property:P21 ?t . ?t rdf:type ontology:Q290 . VALUES ( ?s ) { ( resource:Q2568132 ) ( resource:Q3557351 ) } }
Leonid Lavrovsky Victor Gsovsky
action filter_type
action find
entity prev_answer
relation gender
type sex
['Leonid Lavrovsky', 'gender', {'concept': 'sex'}] ['Victor Gsovsky', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?s property:gender ?t . ?t rdf:type ontology:sex . VALUES ( ?s ) { ( resource:Leonid_Lavrovsky ) ( resource:Victor_Gsovsky ) } }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q2568132,P21,c(Q290)) (Q3557351,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER] and [ANSWER]
['Q2568132', 'P21', {'concept': 'Q290'}] ['Q3557351', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { ?s property:P21 ?t . ?t rdf:type ontology:Q290 . VALUES ( ?s ) { ( resource:Q2568132 ) ( resource:Q3557351 ) } }
male male
Those people belong to male and male
male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Leonid Lavrovsky', 'gender', {'concept': 'sex'}] ['Victor Gsovsky', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { ?s property:gender ?t . ?t rdf:type ontology:sex . VALUES ( ?s ) { ( resource:Leonid_Lavrovsky ) ( resource:Victor_Gsovsky ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2568132
P22
Q502895
USER
Which person has Leonid Lavrovsky as a parent ?
(c(Q502895),P22,Q2568132)
action filter_type
action find_reverse
entity Q2568132
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q2568132']
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q2568132 . ?q rdf:type ontology:Q502895 }
Leonid Lavrovsky
action filter_type
action find_reverse
entity Leonid Lavrovsky
relation father
type common name
[{'concept': 'common name'}, 'father', 'Leonid Lavrovsky']
SELECT DISTINCT ?q WHERE { ?q property:father resource:Leonid_Lavrovsky . ?q rdf:type ontology:common_name }
[]
common name
Q4252288
SYSTEM
Mikhail Lavronsky
Q4252288
(c(Q502895),P22,Q2568132)
action filter_type
action find_reverse
entity Q2568132
relation P22
type Q502895
[ANSWER] has Leonid Lavrovsky as a parent
[{'concept': 'Q502895'}, 'P22', 'Q2568132']
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q2568132 . ?q rdf:type ontology:Q502895 }
Mikhail Lavronsky
Mikhail Lavronsky has Leonid Lavrovsky as a parent
Mikhail Lavronsky
action filter_type
action find_reverse
entity Leonid Lavrovsky
relation father
type common name
[{'concept': 'common name'}, 'father', 'Leonid Lavrovsky']
SELECT DISTINCT ?q WHERE { ?q property:father resource:Leonid_Lavrovsky . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4252288
P40
Q502895
USER
Who has that one as an offspring ?
(c(Q502895),P40,Q4252288)
action filter_type
action find_reverse
entity Q4252288
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q4252288']
SELECT DISTINCT ?h WHERE { ?h property:P40 resource:Q4252288 . ?h rdf:type ontology:Q502895 }
Mikhail Lavronsky
action filter_type
action find_reverse
entity Mikhail Lavronsky
relation child
type common name
[{'concept': 'common name'}, 'child', 'Mikhail Lavronsky']
SELECT DISTINCT ?h WHERE { ?h property:child resource:Mikhail_Lavronsky . ?h rdf:type ontology:common_name }
[]
common name
Q2568132
SYSTEM
Leonid Lavrovsky
Q2568132
(c(Q502895),P40,Q4252288)
action filter_type
action find_reverse
entity Q4252288
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q4252288']
SELECT DISTINCT ?h WHERE { ?h property:P40 resource:Q4252288 . ?h rdf:type ontology:Q502895 }
Leonid Lavrovsky
Leonid Lavrovsky has that one as an offspring
Leonid Lavrovsky
action filter_type
action find_reverse
entity Mikhail Lavronsky
relation child
type common name
[{'concept': 'common name'}, 'child', 'Mikhail Lavronsky']
SELECT DISTINCT ?h WHERE { ?h property:child resource:Mikhail_Lavronsky . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2568132
P119
Q43229
USER
Which organization is the place of burial of that person ?
(Q2568132,P119,c(Q43229))
action filter_type
action find
entity Q2568132
relation P119
type Q43229
['Q2568132', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q2568132 property:P119 ?i . ?i rdf:type ontology:Q43229 }
Leonid Lavrovsky
action filter_type
action find
entity Leonid Lavrovsky
relation place of burial
type organization
['Leonid Lavrovsky', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:Leonid_Lavrovsky property:place_of_burial ?i . ?i rdf:type ontology:organization }
[]
organization
Q208175
SYSTEM
Novodevichy Cemetery
Q208175
(Q2568132,P119,c(Q43229))
action filter_type
action find
entity Q2568132
relation P119
type Q43229
[ANSWER] is the place of burial of that person
['Q2568132', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?i WHERE { resource:Q2568132 property:P119 ?i . ?i rdf:type ontology:Q43229 }
Novodevichy Cemetery
Novodevichy Cemetery is the place of burial of that person
Novodevichy Cemetery
action filter_type
action find
entity Leonid Lavrovsky
relation place of burial
type organization
['Leonid Lavrovsky', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?i WHERE { resource:Leonid_Lavrovsky property:place_of_burial ?i . ?i rdf:type ontology:organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q987741
Q43229
USER
And what about Edward Brophy?
(Q987741,P119,c(Q43229))
action filter_type
action find
entity Q987741
relation P119
type Q43229
['Q987741', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { resource:Q987741 property:P119 ?g . ?g rdf:type ontology:Q43229 }
Edward Brophy
action filter_type
action find
entity Edward Brophy
relation place of burial
type organization
['Edward Brophy', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { resource:Edward_Brophy property:place_of_burial ?g . ?g rdf:type ontology:organization }
[]
organization
Q3935937
SYSTEM
Woodlawn Memorial Cemetery
Q3935937
(Q987741,P119,c(Q43229))
action filter_type
action find
entity Q987741
relation P119
type Q43229
[ANSWER]
['Q987741', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?g WHERE { resource:Q987741 property:P119 ?g . ?g rdf:type ontology:Q43229 }
Woodlawn Memorial Cemetery
Woodlawn Memorial Cemetery
action filter_type
action find
entity Edward Brophy
relation place of burial
type organization
['Edward Brophy', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?g WHERE { resource:Edward_Brophy property:place_of_burial ?g . ?g rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3935937
P137
Q56061
USER
Which administrative territory operates that organization ?
(Q3935937,P137,c(Q56061))
action filter_type
action find
entity Q3935937
relation P137
type Q56061
['Q3935937', 'P137', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q3935937 property:P137 ?e . ?e rdf:type ontology:Q56061 }
Woodlawn Memorial Cemetery
action filter_type
action find
entity Woodlawn Memorial Cemetery
relation operator
type administrative territorial entity
['Woodlawn Memorial Cemetery', 'operator', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Woodlawn_Memorial_Cemetery property:operator ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q47164
SYSTEM
Santa Monica
Q47164
(Q3935937,P137,c(Q56061))
action filter_type
action find
entity Q3935937
relation P137
type Q56061
The [ANSWER] operates that organization
['Q3935937', 'P137', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q3935937 property:P137 ?e . ?e rdf:type ontology:Q56061 }
Santa Monica
The Santa Monica operates that organization
Santa Monica
action filter_type
action find
entity Woodlawn Memorial Cemetery
relation operator
type administrative territorial entity
['Woodlawn Memorial Cemetery', 'operator', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Woodlawn_Memorial_Cemetery property:operator ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q156519 Q987741
P840 P19
Q56061
USER
Which administrative territories were Edward Brophy born in and are Around the World in 80 Days set in ?
AND((Q987741,P19,c(Q56061)), (Q156519,P840,c(Q56061)))
action filter_type
action intersection
action find
entity Q987741
relation P19
action find
entity Q156519
relation P840
type Q56061
{'AND': [['Q987741', 'P19', {'concept': 'Q56061'}], ['Q156519', 'P840', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q156519 property:P840 ?d . resource:Q987741 property:P19 ?d }
Around the World in 80 Days Edward Brophy
action filter_type
action intersection
action find
entity Edward Brophy
relation place of birth
action find
entity Around the World in 80 Days
relation narrative location
type administrative territorial entity
{'AND': [['Edward Brophy', 'place of birth', {'concept': 'administrative territorial entity'}], ['Around the World in 80 Days', 'narrative location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Around_the_World_in_80_Days property:narrative_location ?d . resource:Edward_Brophy property:place_of_birth ?d }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
AND((Q987741,P19,c(Q56061)), (Q156519,P840,c(Q56061)))
action filter_type
action intersection
action find
entity Q987741
relation P19
action find
entity Q156519
relation P840
type Q56061
Edward Brophy were born in [ANSWER] and are Around the World in 80 Days
{'AND': [['Q987741', 'P19', {'concept': 'Q56061'}], ['Q156519', 'P840', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q156519 property:P840 ?d . resource:Q987741 property:P19 ?d }
New York City
Edward Brophy were born in New York City and are Around the World in 80 Days
New York City
action filter_type
action intersection
action find
entity Edward Brophy
relation place of birth
action find
entity Around the World in 80 Days
relation narrative location
type administrative territorial entity
{'AND': [['Edward Brophy', 'place of birth', {'concept': 'administrative territorial entity'}], ['Around the World in 80 Days', 'narrative location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Around_the_World_in_80_Days property:narrative_location ?d . resource:Edward_Brophy property:place_of_birth ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q156519
P344
Q502895
USER
Which person serves as the director of photography for that work of art ?
(Q60,P344,c(Q502895))
action filter_type
action find
entity Q156519
relation P344
type Q502895
['Q60', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q156519 property:P344 ?s }
Around the World in 80 Days
action filter_type
action find
entity Around the World in 80 Days
relation director of photography
type common name
['New York City', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Around_the_World_in_80_Days property:director_of_photography ?s }
[]
common name
Q718742
SYSTEM
Phil Méheux
Q718742
(Q60,P344,c(Q502895))
action filter_type
action find
entity Q156519
relation P344
type Q502895
[ANSWER] serves as the director of photography for that work of art
['Q60', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q156519 property:P344 ?s }
Phil Méheux
Phil Méheux serves as the director of photography for that work of art
Phil Méheux
action filter_type
action find
entity Around the World in 80 Days
relation director of photography
type common name
['New York City', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:Around_the_World_in_80_Days property:director_of_photography ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q718742
P161
Q838948
USER
Which work of art does that person star in ?
(c(Q838948),P161,Q718742)
action filter_type
action find_reverse
entity Q718742
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q718742']
SELECT DISTINCT ?n WHERE { ?n property:P161 resource:Q718742 . ?n rdf:type ontology:Q838948 }
Phil Méheux
action filter_type
action find_reverse
entity Phil Méheux
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Phil Méheux']
SELECT DISTINCT ?n WHERE { ?n property:cast_member resource:Phil_Méheux . ?n rdf:type ontology:work_of_art }
[]
work of art
Q156519
SYSTEM
Around the World in 80 Days
Q156519
(c(Q838948),P161,Q718742)
action filter_type
action find_reverse
entity Q718742
relation P161
type Q838948
That person stars in [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q718742']
SELECT DISTINCT ?n WHERE { ?n property:P161 resource:Q718742 . ?n rdf:type ontology:Q838948 }
Around the World in 80 Days
That person stars in Around the World in 80 Days
Around the World in 80 Days
action filter_type
action find_reverse
entity Phil Méheux
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Phil Méheux']
SELECT DISTINCT ?n WHERE { ?n property:cast_member resource:Phil_Méheux . ?n rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q156519 Q3503818
P1441
Q502895
USER
Is Juan Manuel Varea featured in that work of art ?
(Q3503818,P1441,Q156519)
action is_in
entity Q3503818
action find
entity Q156519
relation P1441
['Q3503818', 'P1441', 'Q156519']
ASK WHERE { resource:Q156519 property:P1441 resource:Q3503818 }
Around the World in 80 Days Juan Manuel Varea
action is_in
entity Juan Manuel Varea
action find
entity Around the World in 80 Days
relation present in work
['Juan Manuel Varea', 'present in work', 'Around the World in 80 Days']
ASK WHERE { resource:Around_the_World_in_80_Days property:present_in_work resource:Juan_Manuel_Varea }
[]
common name
SYSTEM
NO
(Q3503818,P1441,Q156519)
action is_in
entity Q3503818
action find
entity Q156519
relation P1441
[ANSWER]
['Q3503818', 'P1441', 'Q156519']
ASK WHERE { resource:Q156519 property:P1441 resource:Q3503818 }
No
action is_in
entity Juan Manuel Varea
action find
entity Around the World in 80 Days
relation present in work
['Juan Manuel Varea', 'present in work', 'Around the World in 80 Days']
ASK WHERE { resource:Around_the_World_in_80_Days property:present_in_work resource:Juan_Manuel_Varea }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q205523
P1441
Q15416 Q234460 Q502895
USER
Which people are present in more number of television programs or texts than Zipporah ?
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q205523
relation P1441
type Q15416
type Q234460
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) ?d WHERE { { ?d rdf:type ontology:Q502895 . ?h rdf:type ontology:Q15416 . ?d property:P1441 ?h } UNION { ?d property:P1441 ?h . ?d rdf:type ontology:Q502895 . ?h rdf:type ontology:Q234460 } } GROUP BY ?d } . FILTER ( ?b > ?e ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Q205523 property:P1441 ?s . { { ?s rdf:type ontology:Q234460 } UNION { ?s rdf:type ontology:Q15416 } } } } }
Zipporah
action greater
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Zipporah
relation present in work
type television program
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) ?d WHERE { { ?d rdf:type ontology:common_name . ?h rdf:type ontology:television_program . ?d property:present_in_work ?h } UNION { ?d property:present_in_work ?h . ?d rdf:type ontology:common_name . ?h rdf:type ontology:text } } GROUP BY ?d } . FILTER ( ?b > ?e ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Zipporah property:present_in_work ?s . { { ?s rdf:type ontology:text } UNION { ?s rdf:type ontology:television_program } } } } }
[]
television program text common name
Q41370 Q9181 Q9077
SYSTEM
David, Abraham, Moses
Q1353836 Q9077 Q41370 Q81422 Q32295 Q9181
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q205523
relation P1441
type Q15416
type Q234460
[ANSWERS] are present in more number of television programs or texts than Zipporah
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) ?d WHERE { { ?d rdf:type ontology:Q502895 . ?h rdf:type ontology:Q15416 . ?d property:P1441 ?h } UNION { ?d property:P1441 ?h . ?d rdf:type ontology:Q502895 . ?h rdf:type ontology:Q234460 } } GROUP BY ?d } . FILTER ( ?b > ?e ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Q205523 property:P1441 ?s . { { ?s rdf:type ontology:Q234460 } UNION { ?s rdf:type ontology:Q15416 } } } } }
Hrothgar Moses David Noah Michael J. Massimino Abraham
David, Abraham and Moses are present in more number of television programs or texts than Zipporah
David Abraham Moses
action greater
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Zipporah
relation present in work
type television program
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) ?d WHERE { { ?d rdf:type ontology:common_name . ?h rdf:type ontology:television_program . ?d property:present_in_work ?h } UNION { ?d property:present_in_work ?h . ?d rdf:type ontology:common_name . ?h rdf:type ontology:text } } GROUP BY ?d } . FILTER ( ?b > ?e ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { resource:Zipporah property:present_in_work ?s . { { ?s rdf:type ontology:text } UNION { ?s rdf:type ontology:television_program } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q256076
P1441
Q15416 Q234460 Q502895
USER
And what about Cunedagius?
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q256076
relation P1441
type Q15416
type Q234460
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q256076 property:P1441 ?t . { { ?t rdf:type ontology:Q234460 } UNION { ?t rdf:type ontology:Q15416 } } } } . FILTER ( ?p > ?w ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?s . VALUES ( ?s ) { ( ontology:Q234460 ) ( ontology:Q15416 ) } } GROUP BY ?n } }
Cunedagius
action greater
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Cunedagius
relation present in work
type television program
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Cunedagius property:present_in_work ?t . { { ?t rdf:type ontology:text } UNION { ?t rdf:type ontology:television_program } } } } . FILTER ( ?p > ?w ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?s . VALUES ( ?s ) { ( ontology:text ) ( ontology:television_program ) } } GROUP BY ?n } }
[]
television program text common name
Q41370 Q9181 Q37085
SYSTEM
David, Abraham, Solomon
Q41863 Q1143157 Q1341397 Q194064 Q466687 Q321469 Q18699270 Q319116 Q18699272 Q12591 Q213633 Q221514 Q30914 Q937827 Q4057937 Q214648 Q18699312 Q211663 Q176125 Q8423 Q1938388 Q2040793 Q125102 Q954820 Q244912 Q313216 Q313214 Q645796 Q361636 Q205523 Q1281177 Q1353836 Q807236 Q2256348 Q1686571 Q1675214 Q188794 Q844433 Q28730 Q200902 Q3798672 Q126689 Q9077 Q145746 Q463934 Q721295 Q1403627 Q1133523 Q1133337 Q41370 Q200637 Q3259530 Q81422 Q3187975 Q2116944 Q3783913 Q946939 Q888890 Q1771358 Q272277 Q460763 Q205372 Q717814 Q830183 Q6577515 Q63070 Q7493584 Q1300996 Q851686 Q1333225 Q40662 Q206238 Q400294 Q922184 Q156328 Q3785031 Q1768161 Q6323112 Q171724 Q550255 Q889694 Q8027483 Q816397 Q2038223 Q264699 Q313415 Q360378 Q363660 Q665541 Q1516550 Q840401 Q37085 Q109920 Q536019 Q213850 Q74891 Q45090 Q336832 Q1941782 Q1542853 Q184273 Q107626 Q205365 Q32295 Q477527 Q18699310 Q62788 Q313421 Q313423 Q362021 Q262766 Q9181 Q225198 Q313228 Q536485 Q273517 Q3752551 Q671872 Q16845969 Q192785 Q308320 Q1030008 Q319049 Q18699300 Q18699268 Q229702 Q574641 Q2590260 Q599907 Q282220 Q313237
(c(Q502895),P1441,c(Q15416)|c(Q234460))
action greater
action union
action find_tuple_counts
relation P1441
type Q502895
type Q15416
action find_tuple_counts
relation P1441
type Q502895
type Q234460
action count
action filter_multi_types
action find
entity Q256076
relation P1441
type Q15416
type Q234460
[ANSWERS]
[{'concept': 'Q502895'}, 'P1441', [{'concept': 'Q15416'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q256076 property:P1441 ?t . { { ?t rdf:type ontology:Q234460 } UNION { ?t rdf:type ontology:Q15416 } } } } . FILTER ( ?p > ?w ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?s . VALUES ( ?s ) { ( ontology:Q234460 ) ( ontology:Q15416 ) } } GROUP BY ?n } }
Halga Jair Michal Ezekiel Damaris Abishag Achim Nathan Eliud Nebuchadnezzar II Deborah Manoah Ahaz Delilah Adoniram Samson Jacob Rehoboam Gideon Cyrus the Great Miriam Reu Necho II Yael Hezekiah Uzziah Ahaziah of Judah Ibzan Amnon Zipporah Beowulf Hrothgar Barak Shealtiel Jehu Ithamar Isaiah Kenan Saul Shem Ingeld Jehoshaphat Moses Joseph Athaliah Jezebel Hrethel Jephthah Abner David Japheth Loretta Jones Noah Judith Wealhþeow Heardred Phut Nahor Salomon Bathsheba Benjamin Absalom Hadadezer Eve Samuel Mary Magdalene Sheleph Ehud Mephibosheth Elon John the Baptist Elisha Ahitophel Caleb Manasseh of Judah Heoroweard Islamic views on Abraham Nahor Daniel J. William Fulbright Hygelac Wise woman of Abel Ben-Hadad I Amminadab Wil Wheaton Asa of Judah Adonijah Elimelek Hosea Shamgar Laban Solomon Jotham of Judah Ecgþeow Amos Jonathan Jesse Jehoahaz of Judah Nadabe Alphaeus Zedekiah Seth Cain Michael J. Massimino Amram Matthan Jethro Abel Amon of Judah Eli Junia Abraham Belshazzar Josiah Othniel Abijah of Judah Freawaru Isaac Hygd Goliath Abdon Tamar Jeconiah Eleazar Zadok Ham Balaam Ahijah the Shilonite Baruch ben Neriah Judah Amaziah of Judah
David Abraham Solomon
action greater
action union
action find_tuple_counts
relation present in work
type common name
type television program
action find_tuple_counts
relation present in work
type common name
type text
action count
action filter_multi_types
action find
entity Cunedagius
relation present in work
type television program
type text
[{'concept': 'common name'}, 'present in work', [{'concept': 'television program'}, {'concept': 'text'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Cunedagius property:present_in_work ?t . { { ?t rdf:type ontology:text } UNION { ?t rdf:type ontology:television_program } } } } . FILTER ( ?p > ?w ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?s . VALUES ( ?s ) { ( ontology:text ) ( ontology:television_program ) } } GROUP BY ?n } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q41370 Q9181 Q37085
P22
Q502895
USER
Which people have those ones as father ?
(c(Q502895),P22,Q41370) (c(Q502895),P22,Q9181) (c(Q502895),P22,Q37085)
action filter_type
action find_reverse
entity prev_answer
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q41370'] [{'concept': 'Q502895'}, 'P22', 'Q9181'] [{'concept': 'Q502895'}, 'P22', 'Q37085']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P22 ?g . VALUES ( ?g ) { ( resource:Q41863 ) ( resource:Q1143157 ) ( resource:Q1341397 ) } }
David Abraham Solomon
action filter_type
action find_reverse
entity prev_answer
relation father
type common name
[{'concept': 'common name'}, 'father', 'David'] [{'concept': 'common name'}, 'father', 'Abraham'] [{'concept': 'common name'}, 'father', 'Solomon']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:father ?g . VALUES ( ?g ) { ( resource:Halga ) ( resource:Jair ) ( resource:Michal ) } }
[]
common name
Q37085 Q211663 Q671872
SYSTEM
Solomon, Rehoboam, Isaac
Q360378 Q2418113 Q2917173 Q3437128 Q361636 Q205372 Q37085 Q671872 Q211663 Q365687
(c(Q502895),P22,Q41370) (c(Q502895),P22,Q9181) (c(Q502895),P22,Q37085)
action filter_type
action find_reverse
entity prev_answer
relation P22
type Q502895
[ANSWERS] have those ones as father
[{'concept': 'Q502895'}, 'P22', 'Q41370'] [{'concept': 'Q502895'}, 'P22', 'Q9181'] [{'concept': 'Q502895'}, 'P22', 'Q37085']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P22 ?g . VALUES ( ?g ) { ( resource:Q41863 ) ( resource:Q1143157 ) ( resource:Q1341397 ) } }
Adonijah Chileab Tamar Nathan Amnon Absalom Solomon Isaac Rehoboam Menelik I
Solomon, Rehoboam and Isaac have those ones as father
Solomon Rehoboam Isaac
action filter_type
action find_reverse
entity prev_answer
relation father
type common name
[{'concept': 'common name'}, 'father', 'David'] [{'concept': 'common name'}, 'father', 'Abraham'] [{'concept': 'common name'}, 'father', 'Solomon']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:father ?g . VALUES ( ?g ) { ( resource:Halga ) ( resource:Jair ) ( resource:Michal ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q671872
P674
Q234460
USER
Which text has the character that person ?
(c(Q234460),P674,Q671872)
action filter_type
action find_reverse
entity Q671872
relation P674
type Q234460
[{'concept': 'Q234460'}, 'P674', 'Q671872']
SELECT DISTINCT ?m WHERE { ?m property:P674 resource:Q671872 . ?m rdf:type ontology:Q234460 }
Isaac
action filter_type
action find_reverse
entity Isaac
relation characters
type text
[{'concept': 'text'}, 'characters', 'Isaac']
SELECT DISTINCT ?m WHERE { ?m property:characters resource:Isaac . ?m rdf:type ontology:text }
[]
text
Clarification for simple ques.
Q671872
SYSTEM
Did you mean Isaac ?
Q37085 Q211663 Q671872
(c(Q234460),P674,Q37085) (c(Q234460),P674,Q211663) (c(Q234460),P674,Q671872)
[ANSWER]
[{'concept': 'Q234460'}, 'P674', 'Q37085'] [{'concept': 'Q234460'}, 'P674', 'Q211663'] [{'concept': 'Q234460'}, 'P674', 'Q671872']
SELECT DISTINCT ?m WHERE { ?m property:P674 resource:Q671872 . ?m rdf:type ontology:Q234460 }
Solomon Rehoboam Isaac
Did you mean Isaac ?
Isaac
[{'concept': 'text'}, 'characters', 'Solomon'] [{'concept': 'text'}, 'characters', 'Rehoboam'] [{'concept': 'text'}, 'characters', 'Isaac']
SELECT DISTINCT ?m WHERE { ?m property:characters resource:Isaac . ?m rdf:type ontology:text }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q234460),P674,Q671872)
[{'concept': 'Q234460'}, 'P674', 'Q671872']
[{'concept': 'text'}, 'characters', 'Isaac']
[]
Q9184
SYSTEM
Genesis
Q9184
(c(Q234460),P674,Q671872)
action filter_type
action find_reverse
entity Q671872
relation P674
type Q234460
[ANSWER] has the character that person
[{'concept': 'Q234460'}, 'P674', 'Q671872']
SELECT DISTINCT ?m WHERE { ?m property:P674 resource:Q671872 . ?m rdf:type ontology:Q234460 }
Genesis
Genesis has the character that person
Genesis
action filter_type
action find_reverse
entity Isaac
relation characters
type text
[{'concept': 'text'}, 'characters', 'Isaac']
SELECT DISTINCT ?m WHERE { ?m property:characters resource:Isaac . ?m rdf:type ontology:text }
[]