Simple Question (Direct)
Simple Question
Q4115528
P21
Q290
USER
Which sex does Ahmed ibn Muhammad ibn Khalifa have ?
(Q4115528,P21,c(Q290))
action filter_type
action find
entity Q4115528
relation P21
type Q290
['Q4115528', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q4115528 property:P21 ?c }
Ahmed ibn Muhammad ibn Khalifa
action filter_type
action find
entity Ahmed ibn Muhammad ibn Khalifa
relation gender
type sex
['Ahmed ibn Muhammad ibn Khalifa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Ahmed_ibn_Muhammad_ibn_Khalifa property:gender ?c }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4115528,P21,c(Q290))
action filter_type
action find
entity Q4115528
relation P21
type Q290
Ahmed ibn Muhammad ibn Khalifa has a [ANSWER]
['Q4115528', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q4115528 property:P21 ?c }
male
Ahmed ibn Muhammad ibn Khalifa has a male
male
action filter_type
action find
entity Ahmed ibn Muhammad ibn Khalifa
relation gender
type sex
['Ahmed ibn Muhammad ibn Khalifa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Ahmed_ibn_Muhammad_ibn_Khalifa property:gender ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4115528
P22
Q502895
USER
Who have that one as a father ?
(c(Q502895),P22,Q6581097)
action filter_type
action find_reverse
entity Q4115528
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q6581097']
SELECT DISTINCT ?s WHERE { ?s property:P22 resource:Q4115528 . ?s rdf:type ontology:Q502895 }
Ahmed ibn Muhammad ibn Khalifa
action filter_type
action find_reverse
entity Ahmed ibn Muhammad ibn Khalifa
relation father
type common name
[{'concept': 'common name'}, 'father', 'male']
SELECT DISTINCT ?s WHERE { ?s property:father resource:Ahmed_ibn_Muhammad_ibn_Khalifa . ?s rdf:type ontology:common_name }
[]
common name
Q6406526 Q6409465
SYSTEM
Abdullah ibn Ahmad al Khalifa, Salman ibn Ahmad al Khalifa
Q6406526 Q6409465
(c(Q502895),P22,Q6581097)
action filter_type
action find_reverse
entity Q4115528
relation P22
type Q502895
[ANSWERS] have that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q6581097']
SELECT DISTINCT ?s WHERE { ?s property:P22 resource:Q4115528 . ?s rdf:type ontology:Q502895 }
Abdullah ibn Ahmad al Khalifa Salman ibn Ahmad al Khalifa
Abdullah ibn Ahmad al Khalifa and Salman ibn Ahmad al Khalifa have that one as a father
Abdullah ibn Ahmad al Khalifa Salman ibn Ahmad al Khalifa
action filter_type
action find_reverse
entity Ahmed ibn Muhammad ibn Khalifa
relation father
type common name
[{'concept': 'common name'}, 'father', 'male']
SELECT DISTINCT ?s WHERE { ?s property:father resource:Ahmed_ibn_Muhammad_ibn_Khalifa . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q6406526 Q6409465
P7
Q502895
USER
Who have those ones as their sibling ?
(Q6406526,P7,c(Q502895)) (Q6409465,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
['Q6406526', 'P7', {'concept': 'Q502895'}] ['Q6409465', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?l property:P7 ?r . VALUES ( ?l ) { ( resource:Q6406526 ) ( resource:Q6409465 ) } }
Abdullah ibn Ahmad al Khalifa Salman ibn Ahmad al Khalifa
action filter_type
action find
entity prev_answer
relation brother
type common name
['Abdullah ibn Ahmad al Khalifa', 'brother', {'concept': 'common name'}] ['Salman ibn Ahmad al Khalifa', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?l property:brother ?r . VALUES ( ?l ) { ( resource:Abdullah_ibn_Ahmad_al_Khalifa ) ( resource:Salman_ibn_Ahmad_al_Khalifa ) } }
[]
common name
Q6409465 Q6406526
SYSTEM
Salman ibn Ahmad al Khalifa, Abdullah ibn Ahmad al Khalifa
Q6409465 Q6406526
(Q6406526,P7,c(Q502895)) (Q6409465,P7,c(Q502895))
action filter_type
action find
entity prev_answer
relation P7
type Q502895
[ANSWERS] have those ones as their sibling
['Q6406526', 'P7', {'concept': 'Q502895'}] ['Q6409465', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . ?l property:P7 ?r . VALUES ( ?l ) { ( resource:Q6406526 ) ( resource:Q6409465 ) } }
Salman ibn Ahmad al Khalifa Abdullah ibn Ahmad al Khalifa
Salman ibn Ahmad al Khalifa and Abdullah ibn Ahmad al Khalifa have those ones as their sibling
Salman ibn Ahmad al Khalifa Abdullah ibn Ahmad al Khalifa
action filter_type
action find
entity prev_answer
relation brother
type common name
['Abdullah ibn Ahmad al Khalifa', 'brother', {'concept': 'common name'}] ['Salman ibn Ahmad al Khalifa', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . ?l property:brother ?r . VALUES ( ?l ) { ( resource:Abdullah_ibn_Ahmad_al_Khalifa ) ( resource:Salman_ibn_Ahmad_al_Khalifa ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q6409465 Q6406526
P19
Q15617994
USER
Which administrative territories were those people born at ?
(Q6409465,P19,c(Q15617994)) (Q6406526,P19,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P19
type Q15617994
['Q6409465', 'P19', {'concept': 'Q15617994'}] ['Q6406526', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . VALUES ( ?p ) { ( resource:Q6409465 ) ( resource:Q6406526 ) } . ?p property:P19 ?e }
Salman ibn Ahmad al Khalifa Abdullah ibn Ahmad al Khalifa
action filter_type
action find
entity prev_answer
relation place of birth
type designation for an administrative territorial entity
['Salman ibn Ahmad al Khalifa', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ['Abdullah ibn Ahmad al Khalifa', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?p ) { ( resource:Salman_ibn_Ahmad_al_Khalifa ) ( resource:Abdullah_ibn_Ahmad_al_Khalifa ) } . ?p property:place_of_birth ?e }
[]
designation for an administrative territorial entity
Q398 Q398
SYSTEM
Bahrain
Q398 Q398
(Q6409465,P19,c(Q15617994)) (Q6406526,P19,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P19
type Q15617994
Those people were born in [ANSWER] and [ANSWER]
['Q6409465', 'P19', {'concept': 'Q15617994'}] ['Q6406526', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . VALUES ( ?p ) { ( resource:Q6409465 ) ( resource:Q6406526 ) } . ?p property:P19 ?e }
Bahrain Bahrain
Those people were born in Bahrain and Bahrain
Bahrain Bahrain
action filter_type
action find
entity prev_answer
relation place of birth
type designation for an administrative territorial entity
['Salman ibn Ahmad al Khalifa', 'place of birth', {'concept': 'designation for an administrative territorial entity'}] ['Abdullah ibn Ahmad al Khalifa', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?p ) { ( resource:Salman_ibn_Ahmad_al_Khalifa ) ( resource:Abdullah_ibn_Ahmad_al_Khalifa ) } . ?p property:place_of_birth ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6409465
P53
Q13417114
USER
Which noble family did Salman ibn Ahmad al Khalifa belong to ?
(Q6409465,P53,c(Q13417114))
action filter_type
action find
entity Q6409465
relation P53
type Q13417114
['Q6409465', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?w WHERE { resource:Q6409465 property:P53 ?w . ?w rdf:type ontology:Q13417114 }
Salman ibn Ahmad al Khalifa
action filter_type
action find
entity Salman ibn Ahmad al Khalifa
relation noble family
type noble family
['Salman ibn Ahmad al Khalifa', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?w WHERE { resource:Salman_ibn_Ahmad_al_Khalifa property:noble_family ?w . ?w rdf:type ontology:noble_family }
[]
noble family
Q1158126
SYSTEM
House of Khalifa
Q1158126
(Q6409465,P53,c(Q13417114))
action filter_type
action find
entity Q6409465
relation P53
type Q13417114
Salman ibn Ahmad al Khalifa belonged to the [ANSWER]
['Q6409465', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?w WHERE { resource:Q6409465 property:P53 ?w . ?w rdf:type ontology:Q13417114 }
House of Khalifa
Salman ibn Ahmad al Khalifa belonged to the House of Khalifa
House of Khalifa
action filter_type
action find
entity Salman ibn Ahmad al Khalifa
relation noble family
type noble family
['Salman ibn Ahmad al Khalifa', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?w WHERE { resource:Salman_ibn_Ahmad_al_Khalifa property:noble_family ?w . ?w rdf:type ontology:noble_family }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6409465
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q1158126)
action filter_type
action find_reverse
entity Q6409465
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1158126']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P40 resource:Q6409465 }
Salman ibn Ahmad al Khalifa
action filter_type
action find_reverse
entity Salman ibn Ahmad al Khalifa
relation child
type common name
[{'concept': 'common name'}, 'child', 'House of Khalifa']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:child resource:Salman_ibn_Ahmad_al_Khalifa }
[]
common name
Q4115528
SYSTEM
Ahmed ibn Muhammad ibn Khalifa
Q4115528
(c(Q502895),P40,Q1158126)
action filter_type
action find_reverse
entity Q6409465
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q1158126']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P40 resource:Q6409465 }
Ahmed ibn Muhammad ibn Khalifa
Ahmed ibn Muhammad ibn Khalifa has that one as a child
Ahmed ibn Muhammad ibn Khalifa
action filter_type
action find_reverse
entity Salman ibn Ahmad al Khalifa
relation child
type common name
[{'concept': 'common name'}, 'child', 'House of Khalifa']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:child resource:Salman_ibn_Ahmad_al_Khalifa }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6409465
P22
Q502895
USER
How many people have Salman ibn Ahmad al Khalifa as dad ?
(c(Q502895),P22,Q6409465)
action count
action filter_type
action find_reverse
entity Q6409465
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q6409465']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:P22 resource:Q6409465 . ?j rdf:type ontology:Q502895 }
Salman ibn Ahmad al Khalifa
action count
action filter_type
action find_reverse
entity Salman ibn Ahmad al Khalifa
relation father
type common name
[{'concept': 'common name'}, 'father', 'Salman ibn Ahmad al Khalifa']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:father resource:Salman_ibn_Ahmad_al_Khalifa . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q12210774
(c(Q502895),P22,Q6409465)
action count
action filter_type
action find_reverse
entity Q6409465
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q6409465']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:P22 resource:Q6409465 . ?j rdf:type ontology:Q502895 }
Khalifa ibn Salman al Khalifa
1
action count
action filter_type
action find_reverse
entity Salman ibn Ahmad al Khalifa
relation father
type common name
[{'concept': 'common name'}, 'father', 'Salman ibn Ahmad al Khalifa']
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:father resource:Salman_ibn_Ahmad_al_Khalifa . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
Which television programs did approximately 9 people do the dubbing for ?
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 9
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?k = 9 ) . { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?k ) WHERE { ?m property:P725 ?a . ?m rdf:type ontology:Q15416 . ?a rdf:type ontology:Q502895 } GROUP BY ?m } }
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 9
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?k = 9 ) . { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?k ) WHERE { ?m property:voice_actor ?a . ?m rdf:type ontology:television_program . ?a rdf:type ontology:common_name } GROUP BY ?m } }
[]
common name television program
Q15863567 Q15863577 Q2042834
SYSTEM
K-On!, K-On!!, The Proud Family Movie
Q2042834 Q15863567 Q951078 Q165515 Q10358973 Q18577675 Q1002254 Q428130 Q17183708 Q18575654 Q15863577
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 9
[ANSWERS] approximately 9 people did the dubbing for
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?k = 9 ) . { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?k ) WHERE { ?m property:P725 ?a . ?m rdf:type ontology:Q15416 . ?a rdf:type ontology:Q502895 } GROUP BY ?m } }
The Proud Family Movie K-On! Hellsing 101 Dalmatians: The Series Reynard the Fox Darker than Black Wacky Races Sonic X The 7D Trigun K-On!!
K-On!, K-On!! and The Proud Family Movie approximately 9 people did the dubbing for
K-On! K-On!! The Proud Family Movie
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 9
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?k = 9 ) . { SELECT DISTINCT ?m ( COUNT ( ?a ) AS ?k ) WHERE { ?m property:voice_actor ?a . ?m rdf:type ontology:television_program . ?a rdf:type ontology:common_name } GROUP BY ?m } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q15416 Q386724
USER
How many works were described in atmost 1 television program ?
(c(Q386724),P1445,c(Q15416))
action count
action atmost
action find_tuple_counts
relation P1445
type Q386724
type Q15416
value 1
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?s ) WHERE { ?f property:P1445 ?z . ?f rdf:type ontology:Q386724 . ?z rdf:type ontology:Q15416 } GROUP BY ?f } . FILTER ( ?s <= 1 ) }
action count
action atmost
action find_tuple_counts
relation fictional universe described in
type work
type television program
value 1
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?s ) WHERE { ?f property:fictional_universe_described_in ?z . ?f rdf:type ontology:work . ?z rdf:type ontology:television_program } GROUP BY ?f } . FILTER ( ?s <= 1 ) }
[]
television program work
SYSTEM
3
Q15731902 Q11927 Q384426
(c(Q386724),P1445,c(Q15416))
action count
action atmost
action find_tuple_counts
relation P1445
type Q386724
type Q15416
value 1
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?s ) WHERE { ?f property:P1445 ?z . ?f rdf:type ontology:Q386724 . ?z rdf:type ontology:Q15416 } GROUP BY ?f } . FILTER ( ?s <= 1 ) }
Aladdin media franchise Stargate Pirates of the Caribbean
3
action count
action atmost
action find_tuple_counts
relation fictional universe described in
type work
type television program
value 1
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?s ) WHERE { ?f property:fictional_universe_described_in ?z . ?f rdf:type ontology:work . ?z rdf:type ontology:television_program } GROUP BY ?f } . FILTER ( ?s <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4115528
P97
Q4164871
USER
What title was held by Ahmed ibn Muhammad ibn Khalifa ?
(Q4115528,P97,c(Q4164871))
action filter_type
action find
entity Q4115528
relation P97
type Q4164871
['Q4115528', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?t WHERE { resource:Q4115528 property:P97 ?t . ?t rdf:type ontology:Q4164871 }
Ahmed ibn Muhammad ibn Khalifa
action filter_type
action find
entity Ahmed ibn Muhammad ibn Khalifa
relation noble title
type position
['Ahmed ibn Muhammad ibn Khalifa', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?t WHERE { resource:Ahmed_ibn_Muhammad_ibn_Khalifa property:noble_title ?t . ?t rdf:type ontology:position }
[]
position
Q4740650
SYSTEM
hakim
Q4740650
(Q4115528,P97,c(Q4164871))
action filter_type
action find
entity Q4115528
relation P97
type Q4164871
[ANSWER] was held by Ahmed ibn Muhammad ibn Khalifa
['Q4115528', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?t WHERE { resource:Q4115528 property:P97 ?t . ?t rdf:type ontology:Q4164871 }
hakim
Hakim was held by Ahmed ibn Muhammad ibn Khalifa
hakim
action filter_type
action find
entity Ahmed ibn Muhammad ibn Khalifa
relation noble title
type position
['Ahmed ibn Muhammad ibn Khalifa', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?t WHERE { resource:Ahmed_ibn_Muhammad_ibn_Khalifa property:noble_title ?t . ?t rdf:type ontology:position }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23044252
Q4164871
USER
And also tell me about Moritz von Fries?
(Q23044252,P97,c(Q4164871))
action filter_type
action find
entity Q23044252
relation P97
type Q4164871
['Q23044252', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?x WHERE { resource:Q23044252 property:P97 ?x . ?x rdf:type ontology:Q4164871 }
Moritz von Fries
action filter_type
action find
entity Moritz von Fries
relation noble title
type position
['Moritz von Fries', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?x WHERE { resource:Moritz_von_Fries property:noble_title ?x . ?x rdf:type ontology:position }
[]
position
Q28989
SYSTEM
graf
Q28989
(Q23044252,P97,c(Q4164871))
action filter_type
action find
entity Q23044252
relation P97
type Q4164871
[ANSWER]
['Q23044252', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?x WHERE { resource:Q23044252 property:P97 ?x . ?x rdf:type ontology:Q4164871 }
graf
graf
action filter_type
action find
entity Moritz von Fries
relation noble title
type position
['Moritz von Fries', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?x WHERE { resource:Moritz_von_Fries property:noble_title ?x . ?x rdf:type ontology:position }
[]