Simple Question (Direct)
Simple Question
Q4900468
P58
Q502895
USER
Who wrote the screenplay for Bhaag Milkha Bhaag ?
(Q4900468,P58,c(Q502895))
action filter_type
action find
entity Q4900468
relation P58
type Q502895
['Q4900468', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q4900468 property:P58 ?l . ?l rdf:type ontology:Q502895 }
Bhaag Milkha Bhaag
action filter_type
action find
entity Bhaag Milkha Bhaag
relation screenwriter
type common name
['Bhaag Milkha Bhaag', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Bhaag_Milkha_Bhaag property:screenwriter ?l . ?l rdf:type ontology:common_name }
[]
common name
Q7238560
SYSTEM
Prasoon Joshi
Q7238560
(Q4900468,P58,c(Q502895))
action filter_type
action find
entity Q4900468
relation P58
type Q502895
Script [ANSWER] wrote the screenplay for Bhaag Milkha Bhaag
['Q4900468', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q4900468 property:P58 ?l . ?l rdf:type ontology:Q502895 }
Prasoon Joshi
Script Prasoon Joshi wrote the screenplay for Bhaag Milkha Bhaag
Prasoon Joshi
action filter_type
action find
entity Bhaag Milkha Bhaag
relation screenwriter
type common name
['Bhaag Milkha Bhaag', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Bhaag_Milkha_Bhaag property:screenwriter ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4900468
P161
Q502895
USER
Who starred in Bhaag Milkha Bhaag ?
(Q4900468,P161,c(Q502895))
action filter_type
action find
entity Q4900468
relation P161
type Q502895
['Q4900468', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q4900468 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Bhaag Milkha Bhaag
action filter_type
action find
entity Bhaag Milkha Bhaag
relation cast member
type common name
['Bhaag Milkha Bhaag', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Bhaag_Milkha_Bhaag property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
common name
Q1192750 Q590853 Q6807727
SYSTEM
Sonam Kapoor, Farhan Akhtar, Meesha Shafi
Q590853 Q46554 Q6807727 Q1192750
(Q4900468,P161,c(Q502895))
action filter_type
action find
entity Q4900468
relation P161
type Q502895
[ANSWERS] starred in Bhaag Milkha Bhaag
['Q4900468', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q4900468 property:P161 ?m . ?m rdf:type ontology:Q502895 }
Farhan Akhtar Dev Gill Meesha Shafi Sonam Kapoor
Sonam Kapoor, Farhan Akhtar and Meesha Shafi starred in Bhaag Milkha Bhaag
Sonam Kapoor Farhan Akhtar Meesha Shafi
action filter_type
action find
entity Bhaag Milkha Bhaag
relation cast member
type common name
['Bhaag Milkha Bhaag', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Bhaag_Milkha_Bhaag property:cast_member ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1192750 Q590853 Q6807727
P161
Q838948
USER
Which works of art have Sonam Kapoor, Farhan Akhtar and Meesha Shafi in their star cast ?
(c(Q838948),P161,Q1192750) (c(Q838948),P161,Q590853) (c(Q838948),P161,Q6807727)
action union
action filter_type
action find_reverse
entity Q1192750
relation P161
type Q838948
action filter_type
action find_reverse
entity Q590853
relation P161
type Q838948
action filter_type
action find_reverse
entity Q6807727
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1192750'] [{'concept': 'Q838948'}, 'P161', 'Q590853'] [{'concept': 'Q838948'}, 'P161', 'Q6807727']
SELECT DISTINCT ?e WHERE { { ?e property:P161 resource:Q1192750 . ?e rdf:type ontology:Q838948 } UNION { ?e property:P161 resource:Q590853 . ?e rdf:type ontology:Q838948 } }
Sonam Kapoor Farhan Akhtar Meesha Shafi
action union
action filter_type
action find_reverse
entity Sonam Kapoor
relation cast member
type work of art
action filter_type
action find_reverse
entity Farhan Akhtar
relation cast member
type work of art
action filter_type
action find_reverse
entity Meesha Shafi
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sonam Kapoor'] [{'concept': 'work of art'}, 'cast member', 'Farhan Akhtar'] [{'concept': 'work of art'}, 'cast member', 'Meesha Shafi']
SELECT DISTINCT ?e WHERE { { ?e property:cast_member resource:Sonam_Kapoor . ?e rdf:type ontology:work_of_art } UNION { ?e property:cast_member resource:Farhan_Akhtar . ?e rdf:type ontology:work_of_art } }
[]
work of art
Q1026875 Q3067642 Q2089221
SYSTEM
I Hate Luv Storys, Zindagi Na Milegi Dobara, Aisha
Q18111954 Q3021591 Q20026842 Q16250359 Q5396588 Q3301799 Q1519075 Q2617038 Q15039700 Q4900468 Q16253210 Q20002294 Q2089221 Q1026875 Q19961228 Q1873709 Q3067642 Q3986976 Q6373532 Q3437772 Q7459911 Q4900468 Q18170000 Q4900468
(c(Q838948),P161,Q1192750) (c(Q838948),P161,Q590853) (c(Q838948),P161,Q6807727)
action union
action filter_type
action find_reverse
entity Q1192750
relation P161
type Q838948
action filter_type
action find_reverse
entity Q590853
relation P161
type Q838948
action filter_type
action find_reverse
entity Q6807727
relation P161
type Q838948
I hate Luv Storys, Zindagi Na Milegi Dobara and Aisha have Sonam Kapoor, Farhan Akhtar and Meesha Shafi in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q1192750'] [{'concept': 'Q838948'}, 'P161', 'Q590853'] [{'concept': 'Q838948'}, 'P161', 'Q6807727']
SELECT DISTINCT ?e WHERE { { ?e property:P161 resource:Q1192750 . ?e rdf:type ontology:Q838948 } UNION { ?e property:P161 resource:Q590853 . ?e rdf:type ontology:Q838948 } }
Dolly Ki Doli Delhi-6 Battle For Bittora Khoobsurat Thank You Mausam Saawariya Players Bewakoofian Bhaag Milkha Bhaag Prem Ratan Dhan Payo Neerja Bhanot Aisha I Hate Luv Storys Rock On!! 2 Luck by Chance Zindagi Na Milegi Dobara The Fakir of Venice Karthik Calling Karthik Rock On!! Shaadi Ke Side Effects Bhaag Milkha Bhaag DO Bhaag Milkha Bhaag
I hate Luv Storys, Zindagi Na Milegi Dobara and Aisha have Sonam Kapoor, Farhan Akhtar and Meesha Shafi in their star cast
I Hate Luv Storys Zindagi Na Milegi Dobara Aisha
action union
action filter_type
action find_reverse
entity Sonam Kapoor
relation cast member
type work of art
action filter_type
action find_reverse
entity Farhan Akhtar
relation cast member
type work of art
action filter_type
action find_reverse
entity Meesha Shafi
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sonam Kapoor'] [{'concept': 'work of art'}, 'cast member', 'Farhan Akhtar'] [{'concept': 'work of art'}, 'cast member', 'Meesha Shafi']
SELECT DISTINCT ?e WHERE { { ?e property:cast_member resource:Sonam_Kapoor . ?e rdf:type ontology:work_of_art } UNION { ?e property:cast_member resource:Farhan_Akhtar . ?e rdf:type ontology:work_of_art } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1026875 Q3067642 Q2089221
P136
Q1792379
USER
What can be considered as category for I Hate Luv Storys, Zindagi Na Milegi Dobara and Aisha ?
(Q1026875,P136,c(Q1792379)) (Q3067642,P136,c(Q1792379)) (Q2089221,P136,c(Q1792379))
action union
action filter_type
action find
entity Q1026875
relation P136
type Q1792379
action filter_type
action find
entity Q3067642
relation P136
type Q1792379
action filter_type
action find
entity Q2089221
relation P136
type Q1792379
['Q1026875', 'P136', {'concept': 'Q1792379'}] ['Q3067642', 'P136', {'concept': 'Q1792379'}] ['Q2089221', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:Q1792379 . resource:Q1026875 property:P136 ?u } UNION { resource:Q3067642 property:P136 ?u . ?u rdf:type ontology:Q1792379 } }
I Hate Luv Storys Zindagi Na Milegi Dobara Aisha
action union
action filter_type
action find
entity I Hate Luv Storys
relation genre
type art genre
action filter_type
action find
entity Zindagi Na Milegi Dobara
relation genre
type art genre
action filter_type
action find
entity Aisha
relation genre
type art genre
['I Hate Luv Storys', 'genre', {'concept': 'art genre'}] ['Zindagi Na Milegi Dobara', 'genre', {'concept': 'art genre'}] ['Aisha', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:art_genre . resource:I_Hate_Luv_Storys property:genre ?u } UNION { resource:Zindagi_Na_Milegi_Dobara property:genre ?u . ?u rdf:type ontology:art_genre } }
[]
art genre
Q1054574 Q93196 Q1150666
SYSTEM
romance film, Bollywood, world cinema
Q93196 Q1150666 Q860626 Q842256 Q1054574 Q157443 Q663106 Q2975633 Q130232 Q1257444 Q860626
(Q1026875,P136,c(Q1792379)) (Q3067642,P136,c(Q1792379)) (Q2089221,P136,c(Q1792379))
action union
action filter_type
action find
entity Q1026875
relation P136
type Q1792379
action filter_type
action find
entity Q3067642
relation P136
type Q1792379
action filter_type
action find
entity Q2089221
relation P136
type Q1792379
[ANSWERS] can be considered as category for I Hate Luv Storys, Zindagi Na Milegi Dobara and Aisha
['Q1026875', 'P136', {'concept': 'Q1792379'}] ['Q3067642', 'P136', {'concept': 'Q1792379'}] ['Q2089221', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:Q1792379 . resource:Q1026875 property:P136 ?u } UNION { resource:Q3067642 property:P136 ?u . ?u rdf:type ontology:Q1792379 } }
Bollywood world cinema romantic comedy musical film romance film comedy film buddy film coming-of-age story drama film film adaptation romantic comedy
Romance film, Bollywood and world cinema can be considered as category for I Hate Luv Storys, Zindagi Na Milegi Dobara and Aisha
romance film Bollywood world cinema
action union
action filter_type
action find
entity I Hate Luv Storys
relation genre
type art genre
action filter_type
action find
entity Zindagi Na Milegi Dobara
relation genre
type art genre
action filter_type
action find
entity Aisha
relation genre
type art genre
['I Hate Luv Storys', 'genre', {'concept': 'art genre'}] ['Zindagi Na Milegi Dobara', 'genre', {'concept': 'art genre'}] ['Aisha', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?u WHERE { { ?u rdf:type ontology:art_genre . resource:I_Hate_Luv_Storys property:genre ?u } UNION { resource:Zindagi_Na_Milegi_Dobara property:genre ?u . ?u rdf:type ontology:art_genre } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q590853
P166
Q618779
USER
What was received by Farhan Akhtar ?
(Q590853,P166,c(Q618779))
action filter_type
action find
entity Q590853
relation P166
type Q618779
['Q590853', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q618779 . resource:Q590853 property:P166 ?j }
Farhan Akhtar
action filter_type
action find
entity Farhan Akhtar
relation award received
type award
['Farhan Akhtar', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:award . resource:Farhan_Akhtar property:award_received ?j }
[]
award
Q37049
SYSTEM
Filmfare Awards
Q37049
(Q590853,P166,c(Q618779))
action filter_type
action find
entity Q590853
relation P166
type Q618779
Awards [ANSWER] was received by Farhan Akhtar
['Q590853', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q618779 . resource:Q590853 property:P166 ?j }
Filmfare Awards
Awards Filmfare Awards was received by Farhan Akhtar
Filmfare Awards
action filter_type
action find
entity Farhan Akhtar
relation award received
type award
['Farhan Akhtar', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:award . resource:Farhan_Akhtar property:award_received ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q37049 Q16029972
P166
Q502895
USER
Did Charles Spittal win that award ?
(Q16029972,P166,Q37049)
action is_in
entity Q16029972
action find
entity Q37049
relation P166
['Q16029972', 'P166', 'Q37049']
ASK WHERE { resource:Q37049 property:P166 resource:Q16029972 }
Filmfare Awards Charles Spittal
action is_in
entity Charles Spittal
action find
entity Filmfare Awards
relation award received
['Charles Spittal', 'award received', 'Filmfare Awards']
ASK WHERE { resource:Filmfare_Awards property:award_received resource:Charles_Spittal }
[]
common name
SYSTEM
NO
(Q16029972,P166,Q37049)
action is_in
entity Q16029972
action find
entity Q37049
relation P166
[ANSWER]
['Q16029972', 'P166', 'Q37049']
ASK WHERE { resource:Q37049 property:P166 resource:Q16029972 }
No
action is_in
entity Charles Spittal
action find
entity Filmfare Awards
relation award received
['Charles Spittal', 'award received', 'Filmfare Awards']
ASK WHERE { resource:Filmfare_Awards property:award_received resource:Charles_Spittal }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1026875 Q5517249
P840
Q15617994
USER
Is I Hate Luv Storys set in Gainesville City School District ?
(Q1026875,P840,Q5517249)
action is_in
entity Q5517249
action find
entity Q1026875
relation P840
['Q1026875', 'P840', 'Q5517249']
ASK WHERE { resource:Q1026875 property:P840 resource:Q5517249 }
I Hate Luv Storys Gainesville City School District
action is_in
entity Gainesville City School District
action find
entity I Hate Luv Storys
relation narrative location
['I Hate Luv Storys', 'narrative location', 'Gainesville City School District']
ASK WHERE { resource:I_Hate_Luv_Storys property:narrative_location resource:Gainesville_City_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1026875,P840,Q5517249)
action is_in
entity Q5517249
action find
entity Q1026875
relation P840
[ANSWER]
['Q1026875', 'P840', 'Q5517249']
ASK WHERE { resource:Q1026875 property:P840 resource:Q5517249 }
No
action is_in
entity Gainesville City School District
action find
entity I Hate Luv Storys
relation narrative location
['I Hate Luv Storys', 'narrative location', 'Gainesville City School District']
ASK WHERE { resource:I_Hate_Luv_Storys property:narrative_location resource:Gainesville_City_School_District }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q502895 Q5 Q1792379
USER
Which art genres depict max number of people or humen ?
(c(Q1792379),P180,c(Q502895)|c(Q5))
action argmax
action union
action find_tuple_counts
relation P180
type Q1792379
type Q502895
action find_tuple_counts
relation P180
type Q1792379
type Q5
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q502895'}, {'concept': 'Q5'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?i ) { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?v ) WHERE { ?b rdf:type ?k . VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q5 ) } } GROUP BY ?n } } . FILTER ( ?q = ?i ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?q ) WHERE { { ?j property:P180 ?m . ?j rdf:type ontology:Q1792379 . ?m rdf:type ontology:Q502895 } UNION { ?j property:P180 ?m . ?j rdf:type ontology:Q1792379 . ?m rdf:type ontology:Q5 } } GROUP BY ?j } }
action argmax
action union
action find_tuple_counts
relation depicts
type art genre
type common name
action find_tuple_counts
relation depicts
type art genre
type human
[{'concept': 'art genre'}, 'depicts', [{'concept': 'common name'}, {'concept': 'human'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?i ) { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?v ) WHERE { ?b rdf:type ?k . VALUES ( ?k ) { ( ontology:common_name ) ( ontology:human ) } } GROUP BY ?n } } . FILTER ( ?q = ?i ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?q ) WHERE { { ?j property:depicts ?m . ?j rdf:type ontology:art_genre . ?m rdf:type ontology:common_name } UNION { ?j property:depicts ?m . ?j rdf:type ontology:art_genre . ?m rdf:type ontology:human } } GROUP BY ?j } }
[]
common name human art genre
Q5712848 Q18688281 Q26317896
SYSTEM
Self-Portrait with Monkey, Portrait of A.S.Pushkin, Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury
Q21856809 Q22073388 Q26318263 Q22670282 Q26706171 Q5712848 Q18688281 Q22677763 Q27087718 Q22670323 Q26317896 Q315569 Q26709687 Q18579186 Q22677734 Q26668969
(c(Q1792379),P180,c(Q502895)|c(Q5))
action argmax
action union
action find_tuple_counts
relation P180
type Q1792379
type Q502895
action find_tuple_counts
relation P180
type Q1792379
type Q5
[ANSWERS] depict max number of people or humen
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q502895'}, {'concept': 'Q5'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?i ) { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?v ) WHERE { ?b rdf:type ?k . VALUES ( ?k ) { ( ontology:Q502895 ) ( ontology:Q5 ) } } GROUP BY ?n } } . FILTER ( ?q = ?i ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?q ) WHERE { { ?j property:P180 ?m . ?j rdf:type ontology:Q1792379 . ?m rdf:type ontology:Q502895 } UNION { ?j property:P180 ?m . ?j rdf:type ontology:Q1792379 . ?m rdf:type ontology:Q5 } } GROUP BY ?j } }
Selim Palmgren Henry M. Jackson Bust of Edward VII Crying girl Sir Austen Henry Layard Self-Portrait with Monkey Portrait of A.S.Pushkin Statue of Risto Ryti Bust Of Sir Henry Tate, Outside Tate Library, Brixton Oval JUHANA III - The king of Sweden 1568-1592 -relief Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury Karl Marx Monument Antoine Coypel Petrus Franciscus Greive (1811-1872) Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
Self-Portrait with Monkey, Portrait of A.S.Pushkin and Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury depict max number of people or humen
Self-Portrait with Monkey Portrait of A.S.Pushkin Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury
action argmax
action union
action find_tuple_counts
relation depicts
type art genre
type common name
action find_tuple_counts
relation depicts
type art genre
type human
[{'concept': 'art genre'}, 'depicts', [{'concept': 'common name'}, {'concept': 'human'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?i ) { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?v ) WHERE { ?b rdf:type ?k . VALUES ( ?k ) { ( ontology:common_name ) ( ontology:human ) } } GROUP BY ?n } } . FILTER ( ?q = ?i ) . { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?q ) WHERE { { ?j property:depicts ?m . ?j rdf:type ontology:art_genre . ?m rdf:type ontology:common_name } UNION { ?j property:depicts ?m . ?j rdf:type ontology:art_genre . ?m rdf:type ontology:human } } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5712848 Q18688281 Q26317896
P180
Q502895
USER
Which people are demonstrated in Self-Portrait with Monkey, Portrait of A.S.Pushkin and Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury ?
(Q5712848,P180,c(Q502895)) (Q18688281,P180,c(Q502895)) (Q26317896,P180,c(Q502895))
action union
action filter_type
action find
entity Q5712848
relation P180
type Q502895
action filter_type
action find
entity Q18688281
relation P180
type Q502895
action filter_type
action find
entity Q26317896
relation P180
type Q502895
['Q5712848', 'P180', {'concept': 'Q502895'}] ['Q18688281', 'P180', {'concept': 'Q502895'}] ['Q26317896', 'P180', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { resource:Q5712848 property:P180 ?b . ?b rdf:type ontology:Q502895 } UNION { resource:Q18688281 property:P180 ?b . ?b rdf:type ontology:Q502895 } }
Self-Portrait with Monkey Portrait of A.S.Pushkin Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury
action union
action filter_type
action find
entity Self-Portrait with Monkey
relation depicts
type common name
action filter_type
action find
entity Portrait of A.S.Pushkin
relation depicts
type common name
action filter_type
action find
entity Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury
relation depicts
type common name
['Self-Portrait with Monkey', 'depicts', {'concept': 'common name'}] ['Portrait of A.S.Pushkin', 'depicts', {'concept': 'common name'}] ['Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury', 'depicts', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { resource:Self-Portrait_with_Monkey property:depicts ?b . ?b rdf:type ontology:common_name } UNION { resource:Portrait_of_A.S.Pushkin property:depicts ?b . ?b rdf:type ontology:common_name } }
[]
common name
Q5588 Q7200 Q692
SYSTEM
Frida Kahlo, Alexander Pushkin, William Shakespeare
Q5588 Q7200 Q692
(Q5712848,P180,c(Q502895)) (Q18688281,P180,c(Q502895)) (Q26317896,P180,c(Q502895))
action union
action filter_type
action find
entity Q5712848
relation P180
type Q502895
action filter_type
action find
entity Q18688281
relation P180
type Q502895
action filter_type
action find
entity Q26317896
relation P180
type Q502895
[ANSWERS] are demonstrated in Self-Portrait with Monkey, Portrait of A.S.Pushkin and Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury
['Q5712848', 'P180', {'concept': 'Q502895'}] ['Q18688281', 'P180', {'concept': 'Q502895'}] ['Q26317896', 'P180', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { resource:Q5712848 property:P180 ?b . ?b rdf:type ontology:Q502895 } UNION { resource:Q18688281 property:P180 ?b . ?b rdf:type ontology:Q502895 } }
Frida Kahlo Alexander Pushkin William Shakespeare
Frida Kahlo, Alexander Pushkin and William Shakespeare are demonstrated in Self-Portrait with Monkey, Portrait of A.S.Pushkin and Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury
Frida Kahlo Alexander Pushkin William Shakespeare
action union
action filter_type
action find
entity Self-Portrait with Monkey
relation depicts
type common name
action filter_type
action find
entity Portrait of A.S.Pushkin
relation depicts
type common name
action filter_type
action find
entity Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury
relation depicts
type common name
['Self-Portrait with Monkey', 'depicts', {'concept': 'common name'}] ['Portrait of A.S.Pushkin', 'depicts', {'concept': 'common name'}] ['Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury', 'depicts', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { resource:Self-Portrait_with_Monkey property:depicts ?b . ?b rdf:type ontology:common_name } UNION { resource:Portrait_of_A.S.Pushkin property:depicts ?b . ?b rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5588 Q7200 Q692
P40
Q502895
USER
Whose child are Frida Kahlo, Alexander Pushkin and William Shakespeare ?
(c(Q502895),P40,Q5588) (c(Q502895),P40,Q7200) (c(Q502895),P40,Q692)
action union
action filter_type
action find_reverse
entity Q5588
relation P40
type Q502895
action filter_type
action find_reverse
entity Q7200
relation P40
type Q502895
action filter_type
action find_reverse
entity Q692
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q5588'] [{'concept': 'Q502895'}, 'P40', 'Q7200'] [{'concept': 'Q502895'}, 'P40', 'Q692']
SELECT DISTINCT ?g WHERE { { ?g property:P40 resource:Q5588 . ?g rdf:type ontology:Q502895 } UNION { ?g property:P40 resource:Q7200 . ?g rdf:type ontology:Q502895 } }
Frida Kahlo Alexander Pushkin William Shakespeare
action union
action filter_type
action find_reverse
entity Frida Kahlo
relation child
type common name
action filter_type
action find_reverse
entity Alexander Pushkin
relation child
type common name
action filter_type
action find_reverse
entity William Shakespeare
relation child
type common name
[{'concept': 'common name'}, 'child', 'Frida Kahlo'] [{'concept': 'common name'}, 'child', 'Alexander Pushkin'] [{'concept': 'common name'}, 'child', 'William Shakespeare']
SELECT DISTINCT ?g WHERE { { ?g property:child resource:Frida_Kahlo . ?g rdf:type ontology:common_name } UNION { ?g property:child resource:Alexander_Pushkin . ?g rdf:type ontology:common_name } }
[]
common name
Q4133327 Q4384727 Q719706
SYSTEM
Nadezhda Pushkina, Sergey Pushkin, John Shakespeare
Q573125 Q4133327 Q4384727 Q467805 Q719706
(c(Q502895),P40,Q5588) (c(Q502895),P40,Q7200) (c(Q502895),P40,Q692)
action union
action filter_type
action find_reverse
entity Q5588
relation P40
type Q502895
action filter_type
action find_reverse
entity Q7200
relation P40
type Q502895
action filter_type
action find_reverse
entity Q692
relation P40
type Q502895
As [ANSWERS] are Frida Kahlo, Alexander Pushkin and William Shakespeare
[{'concept': 'Q502895'}, 'P40', 'Q5588'] [{'concept': 'Q502895'}, 'P40', 'Q7200'] [{'concept': 'Q502895'}, 'P40', 'Q692']
SELECT DISTINCT ?g WHERE { { ?g property:P40 resource:Q5588 . ?g rdf:type ontology:Q502895 } UNION { ?g property:P40 resource:Q7200 . ?g rdf:type ontology:Q502895 } }
Guillermo Kalho Nadezhda Pushkina Sergey Pushkin Mary Shakespeare John Shakespeare
As Nadezhda Pushkina, Sergey Pushkin and John Shakespeare are Frida Kahlo, Alexander Pushkin and William Shakespeare
Nadezhda Pushkina Sergey Pushkin John Shakespeare
action union
action filter_type
action find_reverse
entity Frida Kahlo
relation child
type common name
action filter_type
action find_reverse
entity Alexander Pushkin
relation child
type common name
action filter_type
action find_reverse
entity William Shakespeare
relation child
type common name
[{'concept': 'common name'}, 'child', 'Frida Kahlo'] [{'concept': 'common name'}, 'child', 'Alexander Pushkin'] [{'concept': 'common name'}, 'child', 'William Shakespeare']
SELECT DISTINCT ?g WHERE { { ?g property:child resource:Frida_Kahlo . ?g rdf:type ontology:common_name } UNION { ?g property:child resource:Alexander_Pushkin . ?g rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4133327
P26
Q502895
USER
Which person is the spouse of Nadezhda Pushkina ?
(Q4133327,P26,c(Q502895))
action filter_type
action find
entity Q4133327
relation P26
type Q502895
['Q4133327', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q4133327 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Nadezhda Pushkina
action filter_type
action find
entity Nadezhda Pushkina
relation spouse
type common name
['Nadezhda Pushkina', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Nadezhda_Pushkina property:spouse ?t . ?t rdf:type ontology:common_name }
[]
common name
Q4384727
SYSTEM
Sergey Pushkin
Q4384727
(Q4133327,P26,c(Q502895))
action filter_type
action find
entity Q4133327
relation P26
type Q502895
[ANSWER] is the spouse of Nadezhda Pushkina
['Q4133327', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q4133327 property:P26 ?t . ?t rdf:type ontology:Q502895 }
Sergey Pushkin
Sergey Pushkin is the spouse of Nadezhda Pushkina
Sergey Pushkin
action filter_type
action find
entity Nadezhda Pushkina
relation spouse
type common name
['Nadezhda Pushkina', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Nadezhda_Pushkina property:spouse ?t . ?t rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4384727 Q11755613
P40
Q502895
USER
Is Li Ying an offspring of Sergey Pushkin ?
(Q4384727,P40,Q11755613)
action is_in
entity Q11755613
action find
entity Q4384727
relation P40
['Q4384727', 'P40', 'Q11755613']
ASK WHERE { resource:Q4384727 property:P40 resource:Q11755613 }
Sergey Pushkin Li Ying
action is_in
entity Li Ying
action find
entity Sergey Pushkin
relation child
['Sergey Pushkin', 'child', 'Li Ying']
ASK WHERE { resource:Sergey_Pushkin property:child resource:Li_Ying }
[]
common name
SYSTEM
NO
(Q4384727,P40,Q11755613)
action is_in
entity Q11755613
action find
entity Q4384727
relation P40
[ANSWER]
['Q4384727', 'P40', 'Q11755613']
ASK WHERE { resource:Q4384727 property:P40 resource:Q11755613 }
No
action is_in
entity Li Ying
action find
entity Sergey Pushkin
relation child
['Sergey Pushkin', 'child', 'Li Ying']
ASK WHERE { resource:Sergey_Pushkin property:child resource:Li_Ying }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 4027 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4027
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?s >= 4027 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4027
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?s >= 4027 ) }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4027
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?s >= 4027 ) }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4027
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?s ) WHERE { ?b property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?s >= 4027 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4133327
P27
Q3024240
USER
Which former country is Nadezhda Pushkina an inhabitant of ?
(Q4133327,P27,c(Q3024240))
action filter_type
action find
entity Q4133327
relation P27
type Q3024240
['Q4133327', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3024240 . resource:Q4133327 property:P27 ?g }
Nadezhda Pushkina
action filter_type
action find
entity Nadezhda Pushkina
relation country of citizenship
type former country
['Nadezhda Pushkina', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:former_country . resource:Nadezhda_Pushkina property:country_of_citizenship ?g }
[]
former country
Q34266
SYSTEM
Russian Empire
Q34266
(Q4133327,P27,c(Q3024240))
action filter_type
action find
entity Q4133327
relation P27
type Q3024240
The [ANSWER] is Nadezhda Pushkina an inhabitant of
['Q4133327', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3024240 . resource:Q4133327 property:P27 ?g }
Russian Empire
The Russian Empire is Nadezhda Pushkina an inhabitant of
Russian Empire
action filter_type
action find
entity Nadezhda Pushkina
relation country of citizenship
type former country
['Nadezhda Pushkina', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:former_country . resource:Nadezhda_Pushkina property:country_of_citizenship ?g }
[]