Simple Question (Direct)
Simple Question
Q359467
P106
Q12737077
USER
What is the profession of Tarek bin Laden ?
(Q359467,P106,c(Q12737077))
action filter_type
action find
entity Q359467
relation P106
type Q12737077
['Q359467', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q359467 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Tarek bin Laden
action filter_type
action find
entity Tarek bin Laden
relation occupation
type occupation
['Tarek bin Laden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Tarek_bin_Laden property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q43845
SYSTEM
businessperson
Q43845
(Q359467,P106,c(Q12737077))
action filter_type
action find
entity Q359467
relation P106
type Q12737077
The profession of Tarek bin Laden is a [ANSWER]
['Q359467', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q359467 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
businessperson
The profession of Tarek bin Laden is a businessperson
businessperson
action filter_type
action find
entity Tarek bin Laden
relation occupation
type occupation
['Tarek bin Laden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Tarek_bin_Laden property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q359467
P7
Q502895
USER
Which people have Tarek bin Laden as their brother ?
(c(Q502895),P7,Q359467)
action filter_type
action find
entity Q359467
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q359467']
SELECT DISTINCT ?z WHERE { resource:Q359467 property:P7 ?z . ?z rdf:type ontology:Q502895 }
Tarek bin Laden
action filter_type
action find
entity Tarek bin Laden
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Tarek bin Laden']
SELECT DISTINCT ?z WHERE { resource:Tarek_bin_Laden property:brother ?z . ?z rdf:type ontology:common_name }
[]
common name
Q1317 Q1139461 Q8052924
SYSTEM
Osama bin Laden, Salem bin Laden, Yeslam bin Ladin
Q1317 Q1139461 Q428820 Q8052924
(c(Q502895),P7,Q359467)
action filter_type
action find
entity Q359467
relation P7
type Q502895
[ANSWERS] have Tarek bin Laden as their brother
[{'concept': 'Q502895'}, 'P7', 'Q359467']
SELECT DISTINCT ?z WHERE { resource:Q359467 property:P7 ?z . ?z rdf:type ontology:Q502895 }
Osama bin Laden Salem bin Laden Bakr bin Laden Yeslam bin Ladin
Osama bin Laden, Salem bin Laden and Yeslam bin Ladin have Tarek bin Laden as their brother
Osama bin Laden Salem bin Laden Yeslam bin Ladin
action filter_type
action find
entity Tarek bin Laden
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Tarek bin Laden']
SELECT DISTINCT ?z WHERE { resource:Tarek_bin_Laden property:brother ?z . ?z rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1139461
P40
Q502895
USER
Who has that one as a child ?
(c(Q502895),P40,Q1139461)
action filter_type
action find_reverse
entity Q1139461
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1139461']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q1139461 . ?c rdf:type ontology:Q502895 }
Salem bin Laden
action filter_type
action find_reverse
entity Salem bin Laden
relation child
type common name
[{'concept': 'common name'}, 'child', 'Salem bin Laden']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Salem_bin_Laden . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1139461
SYSTEM
Did you mean Salem bin Laden ?
Q1317 Q1139461 Q8052924
(c(Q502895),P40,Q1317) (c(Q502895),P40,Q1139461) (c(Q502895),P40,Q8052924)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q1317'] [{'concept': 'Q502895'}, 'P40', 'Q1139461'] [{'concept': 'Q502895'}, 'P40', 'Q8052924']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q1139461 . ?c rdf:type ontology:Q502895 }
Osama bin Laden Salem bin Laden Yeslam bin Ladin
Did you mean Salem bin Laden ?
Salem bin Laden
[{'concept': 'common name'}, 'child', 'Osama bin Laden'] [{'concept': 'common name'}, 'child', 'Salem bin Laden'] [{'concept': 'common name'}, 'child', 'Yeslam bin Ladin']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Salem_bin_Laden . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P40,Q1139461)
[{'concept': 'Q502895'}, 'P40', 'Q1139461']
[{'concept': 'common name'}, 'child', 'Salem bin Laden']
[]
Q1951898
SYSTEM
Mohammed bin Awad bin Laden
Q1951898
(c(Q502895),P40,Q1139461)
action filter_type
action find_reverse
entity Q1139461
relation P40
type Q502895
[ANSWER] has that one as a child
[{'concept': 'Q502895'}, 'P40', 'Q1139461']
SELECT DISTINCT ?c WHERE { ?c property:P40 resource:Q1139461 . ?c rdf:type ontology:Q502895 }
Mohammed bin Awad bin Laden
Mohammed bin Awad bin Laden has that one as a child
Mohammed bin Awad bin Laden
action filter_type
action find_reverse
entity Salem bin Laden
relation child
type common name
[{'concept': 'common name'}, 'child', 'Salem bin Laden']
SELECT DISTINCT ?c WHERE { ?c property:child resource:Salem_bin_Laden . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1951898
P22
Q502895
USER
Who have that one as a father ?
(c(Q502895),P22,Q1951898)
action filter_type
action find_reverse
entity Q1951898
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1951898']
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q1951898 . ?t rdf:type ontology:Q502895 }
Mohammed bin Awad bin Laden
action filter_type
action find_reverse
entity Mohammed bin Awad bin Laden
relation father
type common name
[{'concept': 'common name'}, 'father', 'Mohammed bin Awad bin Laden']
SELECT DISTINCT ?t WHERE { ?t property:father resource:Mohammed_bin_Awad_bin_Laden . ?t rdf:type ontology:common_name }
[]
common name
Q1317 Q1139461 Q8052924
SYSTEM
Osama bin Laden, Salem bin Laden, Yeslam bin Ladin
Q1317 Q1139461 Q359467 Q428820 Q8052924
(c(Q502895),P22,Q1951898)
action filter_type
action find_reverse
entity Q1951898
relation P22
type Q502895
[ANSWERS] have that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q1951898']
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q1951898 . ?t rdf:type ontology:Q502895 }
Osama bin Laden Salem bin Laden Tarek bin Laden Bakr bin Laden Yeslam bin Ladin
Osama bin Laden, Salem bin Laden and Yeslam bin Ladin have that one as a father
Osama bin Laden Salem bin Laden Yeslam bin Ladin
action filter_type
action find_reverse
entity Mohammed bin Awad bin Laden
relation father
type common name
[{'concept': 'common name'}, 'father', 'Mohammed bin Awad bin Laden']
SELECT DISTINCT ?t WHERE { ?t property:father resource:Mohammed_bin_Awad_bin_Laden . ?t rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P7
Q502895
USER
How many people are that person a brother of ?
(c(Q502895),P7,Q1139461)
[{'concept': 'Q502895'}, 'P7', 'Q1139461']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q13163645 resource:Q1139461 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'brother', 'Salem bin Laden']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:brother resource:Salem_bin_Laden . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q1139461
SYSTEM
Did you mean Salem bin Laden ?
(c(Q502895),P7,Q1317) (c(Q502895),P7,Q1139461) (c(Q502895),P7,Q8052924)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q1317'] [{'concept': 'Q502895'}, 'P7', 'Q1139461'] [{'concept': 'Q502895'}, 'P7', 'Q8052924']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q13163645 resource:Q1139461 . ?z rdf:type ontology:Q502895 }
Did you mean Salem bin Laden ?
Salem bin Laden
[{'concept': 'common name'}, 'brother', 'Osama bin Laden'] [{'concept': 'common name'}, 'brother', 'Salem bin Laden'] [{'concept': 'common name'}, 'brother', 'Yeslam bin Ladin']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:brother resource:Salem_bin_Laden . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q502895),P7,Q1139461)
[{'concept': 'Q502895'}, 'P7', 'Q1139461']
[{'concept': 'common name'}, 'brother', 'Salem bin Laden']
[]
SYSTEM
4
Q359467 Q8052924 Q1317 Q428820
(c(Q502895),P7,Q1139461)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q1139461']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q13163645 resource:Q1139461 . ?z rdf:type ontology:Q502895 }
Tarek bin Laden Yeslam bin Ladin Osama bin Laden Bakr bin Laden
4
[{'concept': 'common name'}, 'brother', 'Salem bin Laden']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:brother resource:Salem_bin_Laden . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q13393950
P725
Q502895 Q838948
USER
How many works of art have been dubbed by greater number of people than My Little Pony: Equestria Girls ?
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q13393950
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?b ) WHERE { ?j rdf:type ontology:Q838948 . ?z rdf:type ontology:Q502895 . ?j property:P725 ?z } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ontology:Q838948 . resource:Q13393950 property:P725 ?g } } . FILTER ( ?b > ?d ) }
My Little Pony: Equestria Girls
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity My Little Pony: Equestria Girls
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?b ) WHERE { ?j rdf:type ontology:work_of_art . ?z rdf:type ontology:common_name . ?j property:voice_actor ?z } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ontology:work_of_art . resource:My_Little_Pony:_Equestria_Girls property:voice_actor ?g } } . FILTER ( ?b > ?d ) }
[]
common name work of art
SYSTEM
8
Q23838455 Q17485699 Q7737199 Q477365 Q16857406 Q1058469 Q19263748 Q16248866
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q13393950
relation P725
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?b ) WHERE { ?j rdf:type ontology:Q838948 . ?z rdf:type ontology:Q502895 . ?j property:P725 ?z } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ontology:Q838948 . resource:Q13393950 property:P725 ?g } } . FILTER ( ?b > ?d ) }
Planetarian: Hoshi no Hito Alice Through the Looking Glass The Good Dinosaur 101 Dalmatians II: Patch's London Adventure The Jungle Book Ghost in the Shell 2: Innocence The Anthem of the Heart The Book of Life
8
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity My Little Pony: Equestria Girls
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?b ) WHERE { ?j rdf:type ontology:work_of_art . ?z rdf:type ontology:common_name . ?j property:voice_actor ?z } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ontology:work_of_art . resource:My_Little_Pony:_Equestria_Girls property:voice_actor ?g } } . FILTER ( ?b > ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q204416
P725
Q502895 Q838948
USER
And also tell me about Felidae?
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q204416
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?p ) WHERE { ?a property:P725 ?o . ?o rdf:type ontology:Q502895 . ?a rdf:type ontology:Q838948 } GROUP BY ?a } . FILTER ( ?p > ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:Q838948 . resource:Q204416 property:P725 ?i } } }
Felidae
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Felidae
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?p ) WHERE { ?a property:voice_actor ?o . ?o rdf:type ontology:common_name . ?a rdf:type ontology:work_of_art } GROUP BY ?a } . FILTER ( ?p > ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:work_of_art . resource:Felidae property:voice_actor ?i } } }
[]
common name work of art
SYSTEM
16
Q13393950 Q16207076 Q23838455 Q17485699 Q7737199 Q477965 Q477365 Q16857406 Q622742 Q1058469 Q2165639 Q1201022 Q387674 Q19263748 Q246418 Q16248866
(c(Q838948),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q204416
relation P725
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?p ) WHERE { ?a property:P725 ?o . ?o rdf:type ontology:Q502895 . ?a rdf:type ontology:Q838948 } GROUP BY ?a } . FILTER ( ?p > ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:Q838948 . resource:Q204416 property:P725 ?i } } }
My Little Pony: Equestria Girls Battle Beyond the Sun Planetarian: Hoshi no Hito Alice Through the Looking Glass The Good Dinosaur Persepolis 101 Dalmatians II: Patch's London Adventure The Jungle Book Where the Wild Things Are Ghost in the Shell 2: Innocence Watership Down Tiger & Bunny Final Fantasy VII: Advent Children The Anthem of the Heart Gulliver's Travels The Book of Life
16
action count
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Felidae
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?p ) WHERE { ?a property:voice_actor ?o . ?o rdf:type ontology:common_name . ?a rdf:type ontology:work_of_art } GROUP BY ?a } . FILTER ( ?p > ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:work_of_art . resource:Felidae property:voice_actor ?i } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1317
P793
Q491040
USER
Which significant event is Osama bin Laden associated with ?
(Q1317,P793,c(Q491040))
action filter_type
action find
entity Q1317
relation P793
type Q491040
['Q1317', 'P793', {'concept': 'Q491040'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q491040 . resource:Q1317 property:P793 ?n }
Osama bin Laden
action filter_type
action find
entity Osama bin Laden
relation significant event
type violent crime
['Osama bin Laden', 'significant event', {'concept': 'violent crime'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:violent_crime . resource:Osama_bin_Laden property:significant_event ?n }
[]
violent crime
Q10806
SYSTEM
September 11 attacks
Q10806
(Q1317,P793,c(Q491040))
action filter_type
action find
entity Q1317
relation P793
type Q491040
Osama bin Laden is associated with [ANSWER]
['Q1317', 'P793', {'concept': 'Q491040'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q491040 . resource:Q1317 property:P793 ?n }
September 11 attacks
Osama bin Laden is associated with September 11 attacks
September 11 attacks
action filter_type
action find
entity Osama bin Laden
relation significant event
type violent crime
['Osama bin Laden', 'significant event', {'concept': 'violent crime'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:violent_crime . resource:Osama_bin_Laden property:significant_event ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10806
P276
Q56061
USER
Where can that violent crime be found ?
(Q10806,P276,c(Q56061))
action filter_type
action find
entity Q10806
relation P276
type Q56061
['Q10806', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q10806 property:P276 ?n . ?n rdf:type ontology:Q56061 }
September 11 attacks
action filter_type
action find
entity September 11 attacks
relation location
type administrative territorial entity
['September 11 attacks', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:September_11_attacks property:location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q10806,P276,c(Q56061))
action filter_type
action find
entity Q10806
relation P276
type Q56061
That violent crime can be found in [ANSWER]
['Q10806', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q10806 property:P276 ?n . ?n rdf:type ontology:Q56061 }
New York City
That violent crime can be found in New York City
New York City
action filter_type
action find
entity September 11 attacks
relation location
type administrative territorial entity
['September 11 attacks', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:September_11_attacks property:location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]