Simple Question (Direct)
Simple Question
Q5069656
P106
Q12737077
USER
What do Amayak Zaharovich Kobulov do for a living ?
(Q5069656,P106,c(Q12737077))
action filter_type
action find
entity Q5069656
relation P106
type Q12737077
['Q5069656', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5069656 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Amayak Zaharovich Kobulov
action filter_type
action find
entity Amayak Zaharovich Kobulov
relation occupation
type occupation
['Amayak Zaharovich Kobulov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Amayak_Zaharovich_Kobulov property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q193391 Q82955
SYSTEM
diplomat, politician
Q193391 Q82955
(Q5069656,P106,c(Q12737077))
action filter_type
action find
entity Q5069656
relation P106
type Q12737077
Amayak Zaharovich Kobulov do the [ANSWERS] for a living
['Q5069656', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q5069656 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
diplomat politician
Amayak Zaharovich Kobulov do the diplomat and politician for a living
diplomat politician
action filter_type
action find
entity Amayak Zaharovich Kobulov
relation occupation
type occupation
['Amayak Zaharovich Kobulov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Amayak_Zaharovich_Kobulov property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q193391 Q82955
P39
Q502895
USER
Who held the position of diplomat and politician ?
(c(Q502895),P39,Q193391) (c(Q502895),P39,Q82955)
action union
action filter_type
action find_reverse
entity Q193391
relation P39
type Q502895
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q193391'] [{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?s WHERE { { ?s property:P39 resource:Q82955 . ?s rdf:type ontology:Q502895 } UNION { ?s property:P39 resource:Q193391 . ?s rdf:type ontology:Q502895 } }
diplomat politician
action union
action filter_type
action find_reverse
entity diplomat
relation position held
type common name
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'diplomat'] [{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?s WHERE { { ?s property:position_held resource:politician . ?s rdf:type ontology:common_name } UNION { ?s property:position_held resource:diplomat . ?s rdf:type ontology:common_name } }
[]
common name
Q26215129 Q16912378 Q19828328
SYSTEM
Morteza Azari, Alexandre Melnik, Antonio Caselli
Q699131 Q19828328 Q16912378 Q26215129
(c(Q502895),P39,Q193391) (c(Q502895),P39,Q82955)
action union
action filter_type
action find_reverse
entity Q193391
relation P39
type Q502895
action filter_type
action find_reverse
entity Q82955
relation P39
type Q502895
[ANSWERS] held the position of diplomat and politician
[{'concept': 'Q502895'}, 'P39', 'Q193391'] [{'concept': 'Q502895'}, 'P39', 'Q82955']
SELECT DISTINCT ?s WHERE { { ?s property:P39 resource:Q82955 . ?s rdf:type ontology:Q502895 } UNION { ?s property:P39 resource:Q193391 . ?s rdf:type ontology:Q502895 } }
Xiong Xianghui Antonio Caselli Alexandre Melnik Morteza Azari
Morteza Azari, Alexandre Melnik and Antonio Caselli held the position of diplomat and politician
Morteza Azari Alexandre Melnik Antonio Caselli
action union
action filter_type
action find_reverse
entity diplomat
relation position held
type common name
action filter_type
action find_reverse
entity politician
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'diplomat'] [{'concept': 'common name'}, 'position held', 'politician']
SELECT DISTINCT ?s WHERE { { ?s property:position_held resource:politician . ?s rdf:type ontology:common_name } UNION { ?s property:position_held resource:diplomat . ?s rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q26215129 Q16912378 Q19828328
P21
Q290
USER
Which sexes do those people have ?
(Q26215129,P21,c(Q290)) (Q16912378,P21,c(Q290)) (Q19828328,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q26215129', 'P21', {'concept': 'Q290'}] ['Q16912378', 'P21', {'concept': 'Q290'}] ['Q19828328', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . ?p property:P21 ?e . VALUES ( ?p ) { ( resource:Q699131 ) ( resource:Q19828328 ) ( resource:Q16912378 ) } }
Morteza Azari Alexandre Melnik Antonio Caselli
action filter_type
action find
entity prev_answer
relation gender
type sex
['Morteza Azari', 'gender', {'concept': 'sex'}] ['Alexandre Melnik', 'gender', {'concept': 'sex'}] ['Antonio Caselli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . ?p property:gender ?e . VALUES ( ?p ) { ( resource:Xiong_Xianghui ) ( resource:Antonio_Caselli ) ( resource:Alexandre_Melnik ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q26215129,P21,c(Q290)) (Q16912378,P21,c(Q290)) (Q19828328,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people have a [ANSWER], [ANSWER] and [ANSWER]
['Q26215129', 'P21', {'concept': 'Q290'}] ['Q16912378', 'P21', {'concept': 'Q290'}] ['Q19828328', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q290 . ?p property:P21 ?e . VALUES ( ?p ) { ( resource:Q699131 ) ( resource:Q19828328 ) ( resource:Q16912378 ) } }
male male male
Those people have a male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Morteza Azari', 'gender', {'concept': 'sex'}] ['Alexandre Melnik', 'gender', {'concept': 'sex'}] ['Antonio Caselli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sex . ?p property:gender ?e . VALUES ( ?p ) { ( resource:Xiong_Xianghui ) ( resource:Antonio_Caselli ) ( resource:Alexandre_Melnik ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5069656
P166
Q618779
USER
What were awarded to Amayak Zaharovich Kobulov ?
(Q5069656,P166,c(Q618779))
action filter_type
action find
entity Q5069656
relation P166
type Q618779
['Q5069656', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q618779 . resource:Q5069656 property:P166 ?r }
Amayak Zaharovich Kobulov
action filter_type
action find
entity Amayak Zaharovich Kobulov
relation award received
type award
['Amayak Zaharovich Kobulov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:award . resource:Amayak_Zaharovich_Kobulov property:award_received ?r }
[]
award
Q337463 Q695106
SYSTEM
Order of the Red Banner, Order of the Red Star
Q337463 Q695106
(Q5069656,P166,c(Q618779))
action filter_type
action find
entity Q5069656
relation P166
type Q618779
The [ANSWERS] were awarded to Amayak Zaharovich Kobulov
['Q5069656', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q618779 . resource:Q5069656 property:P166 ?r }
Order of the Red Banner Order of the Red Star
The Order of the Red Banner and Order of the Red Star were awarded to Amayak Zaharovich Kobulov
Order of the Red Banner Order of the Red Star
action filter_type
action find
entity Amayak Zaharovich Kobulov
relation award received
type award
['Amayak Zaharovich Kobulov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:award . resource:Amayak_Zaharovich_Kobulov property:award_received ?r }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q5069656
Q1788716
USER
And which military decoration?
(Q5069656,P166,c(Q1788716))
action filter_type
action find
entity Q5069656
relation P166
type Q1788716
['Q5069656', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?c WHERE { resource:Q5069656 property:P166 ?c . ?c rdf:type ontology:Q1788716 }
Amayak Zaharovich Kobulov
action filter_type
action find
entity Amayak Zaharovich Kobulov
relation award received
type military decoration
['Amayak Zaharovich Kobulov', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?c WHERE { resource:Amayak_Zaharovich_Kobulov property:award_received ?c . ?c rdf:type ontology:military_decoration }
[]
military decoration
Q21292818
SYSTEM
Order of Kutuzov, 2nd class
Q21292818
(Q5069656,P166,c(Q1788716))
action filter_type
action find
entity Q5069656
relation P166
type Q1788716
[ANSWER]
['Q5069656', 'P166', {'concept': 'Q1788716'}]
SELECT DISTINCT ?c WHERE { resource:Q5069656 property:P166 ?c . ?c rdf:type ontology:Q1788716 }
Order of Kutuzov, 2nd class
Order of Kutuzov, 2nd class
action filter_type
action find
entity Amayak Zaharovich Kobulov
relation award received
type military decoration
['Amayak Zaharovich Kobulov', 'award received', {'concept': 'military decoration'}]
SELECT DISTINCT ?c WHERE { resource:Amayak_Zaharovich_Kobulov property:award_received ?c . ?c rdf:type ontology:military_decoration }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q502895 Q838948
USER
Which awards did atleast 158 people or works of art receive ?
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action atleast
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 158
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?l WHERE { VALUES ( ?q ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?i rdf:type ?q } GROUP BY ?l } . FILTER ( ?o >= 158 ) }
action atleast
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 158
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?l WHERE { VALUES ( ?q ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?i rdf:type ?q } GROUP BY ?l } . FILTER ( ?o >= 158 ) }
[]
award common name work of art
Q37922 Q1474410 Q640374
SYSTEM
Nobel Prize in Literature, Tony Award for Best Featured Actor in a Play, Tony Award for Best Direction of a Play
Q640374 Q1723064 Q1445521 Q377293 Q1537996 Q37922 Q627778 Q185299 Q1474410
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action atleast
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 158
Atleast 158 people or works of art received the [ANSWERS]
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?l WHERE { VALUES ( ?q ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?i rdf:type ?q } GROUP BY ?l } . FILTER ( ?o >= 158 ) }
Tony Award for Best Direction of a Play Tony Award for Best Actor in a Musical Tony Award for Best Actor in a Play Tony Award for Best Direction of a Musical Tony Award for Best Actress in a Musical Nobel Prize in Literature Tony Award for Best Featured Actress in a Play Tony Award for Best Actress in a Play Tony Award for Best Featured Actor in a Play
Atleast 158 people or works of art received the Nobel Prize in Literature, Tony Award for Best Featured Actor in a Play and Tony Award for Best Direction of a Play
Nobel Prize in Literature Tony Award for Best Featured Actor in a Play Tony Award for Best Direction of a Play
action atleast
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 158
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?l WHERE { VALUES ( ?q ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?i rdf:type ?q } GROUP BY ?l } . FILTER ( ?o >= 158 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1346
Q502895 Q618779
USER
How many awards were won by more number of people than that award ?
(c(Q618779),P1346,c(Q502895))
[{'concept': 'Q618779'}, 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q18560095 ?y . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q502895 }
[{'concept': 'award'}, 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:winner ?y . ?z rdf:type ontology:award . ?y rdf:type ontology:common_name }
[]
common name award
Comparative|Count over More/Less|Single entity type|Clarification
Q37922
SYSTEM
Did you mean Nobel Prize in Literature ?
(c(Q618779),P1346,c(Q502895))
[ANSWER]
[{'concept': 'Q618779'}, 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q18560095 ?y . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q502895 }
Did you mean Nobel Prize in Literature ?
Nobel Prize in Literature
[{'concept': 'award'}, 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:winner ?y . ?z rdf:type ontology:award . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q618779),P1346,c(Q502895))
[{'concept': 'Q618779'}, 'P1346', {'concept': 'Q502895'}]
[{'concept': 'award'}, 'winner', {'concept': 'common name'}]
[]
SYSTEM
91
Q1780634 Q840286 Q2529789 Q973645 Q905656 Q900494 Q1068479 Q5280675 Q5280674 Q5280670 Q160082 Q655056 Q839677 Q24241 Q2295011 Q501273 Q2925701 Q28003 Q1030402 Q5593890 Q731542 Q734335 Q5305711 Q5305712 Q5305716 Q5305719 Q1328249 Q23091 Q900414 Q503034 Q1967719 Q1142034 Q548129 Q901462 Q945887 Q999734 Q922396 Q4649800 Q900369 Q645595 Q505449 Q746633 Q3405406 Q3405405 Q3405409 Q900424 Q225085 Q5305703 Q5305701 Q5305705 Q136696 Q989453 Q29597 Q1064978 Q4377021 Q898527 Q2295041 Q1026417 Q5569374 Q975308 Q1043985 Q2720648 Q8038464 Q971363 Q4790397 Q3362499 Q5894564 Q518675 Q674165 Q944048 Q1265702 Q2216005 Q463606 Q16191288 Q729513 Q48705 Q1285970 Q8035702 Q506565 Q1711496 Q17712 Q2530270 Q28835 Q958630 Q24137 Q3352524 Q1170500 Q1287930 Q159909 Q84000 Q8035707
(c(Q618779),P1346,c(Q502895))
[ANSWER]
[{'concept': 'Q618779'}, 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q18560095 ?y . ?z rdf:type ontology:Q618779 . ?y rdf:type ontology:Q502895 }
Golden Raspberry Award for Worst Picture Best Actress Award Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series Pacem in Terris Award NAS Award in Chemical Sciences César Award for Best Actor Chauvenet Prize Directors Guild of America Award for Outstanding Directing – Feature Film Directors Guild of America Award for Outstanding Directing – Drama Series Directors Guild of America Award for Outstanding Directing – Comedy Series Man Booker Prize César Award for Best First Feature Film John Bates Clark Medal César Award for Best Actress Independent Spirit Award for Best Foreign Film Los Angeles Film Critics Association Award for Best Actress British Academy Television Award for Best Actor Copley Medal John W. Campbell Memorial Award for Best Science Fiction Novel Grammy Award for Best Spoken Word Album Strega Prize Louis Delluc Prize Drama Desk Award for Outstanding Featured Actor in a Musical Drama Desk Award for Outstanding Featured Actor in a Play Drama Desk Award for Outstanding Lyrics Drama Desk Award for Outstanding Musical National Board of Review Award for Best Foreign Language Film César Award for Best Music Written for a Film César Award for Best Foreign Film Los Angeles Film Critics Association Award for Best Actor National Society of Film Critics Award for Best Supporting Actress Cartier Diamond Dagger Johann-Peter-Hebel-Preis Damon Knight Memorial Grand Master Award Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie Albert Lasker Award for Basic Medical Research Broadcast Film Critics Association Award for Best Cast AACTA Award for Best Actress in a Leading Role César Award for Best Writing César Award for Best Film Los Angeles Film Critics Association Award for Best Director Henry Draper Medal World Fantasy Award for Best Short Fiction World Fantasy Award for Best Collection World Fantasy Award for Best Novella César Award for Best Supporting Actor César Award for Best Cinematography Drama Desk Award for Outstanding Actress in a Musical Drama Desk Award for Outstanding Actor in a Play Drama Desk Award for Outstanding Book of a Musical Lasker-DeBakey Clinical Medical Research Award Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie César Award for Most Promising Actress MTV Video Music Award for Best Male Video Primetime Emmy Award for Individual Performance in a Variety or Music Program World Fantasy Award for Best Novel Independent Spirit Award for Best Director Caldecott Medal Producers Guild of America Award for Best Theatrical Motion Picture NAS Award in Molecular Biology Carnegie Medal James E. Sullivan Award Writers Guild of America Award for Television: Comedy Series Guardian Children's Fiction Prize Ariel Award for Best Actress Canadian Music Hall of Fame Hong Kong Film Award for Best New Performer Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Tony Award for Best Featured Actor in a Musical NIN Prize Saturn Award for Best Director Salzburg Bull Award American Book Awards Gold Logie Award for Most Popular Personality on Australian Television Pichichi Trophy César Award for Most Promising Actor Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series World Fantasy Award—Artist Los Angeles Film Critics Association Award for Best Supporting Actor Grand Prize of the Danish Academy Albert Einstein Medal Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Fields Medal John W. Campbell Award for Best New Writer César Award for Best Director Eckersberg Medal Independent Spirit Award for Best First Feature Albert Einstein World Award of Science Goethe Prize César Award for Best Supporting Actress World Fantasy Special Award: Professional
91
[{'concept': 'award'}, 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:winner ?y . ?z rdf:type ontology:award . ?y rdf:type ontology:common_name }
[]