Simple Question (Direct)
Simple Question
Q4692070
P364
Q34770
USER
Which language was used originally for the creation of Agent Crush ?
(Q4692070,P364,c(Q34770))
action filter_type
action find
entity Q4692070
relation P364
type Q34770
['Q4692070', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q4692070 property:P364 ?m . ?m rdf:type ontology:Q34770 }
Agent Crush
action filter_type
action find
entity Agent Crush
relation original language of work
type language
['Agent Crush', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Agent_Crush property:original_language_of_work ?m . ?m rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q4692070,P364,c(Q34770))
action filter_type
action find
entity Q4692070
relation P364
type Q34770
[ANSWER] was used originally for the creation of Agent Crush
['Q4692070', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q4692070 property:P364 ?m . ?m rdf:type ontology:Q34770 }
English
English was used originally for the creation of Agent Crush
English
action filter_type
action find
entity Agent Crush
relation original language of work
type language
['Agent Crush', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Agent_Crush property:original_language_of_work ?m . ?m rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4692070
P161
Q502895
USER
Who starred in Agent Crush ?
(Q4692070,P161,c(Q502895))
action filter_type
action find
entity Q4692070
relation P161
type Q502895
['Q4692070', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q4692070 property:P161 ?w }
Agent Crush
action filter_type
action find
entity Agent Crush
relation cast member
type common name
['Agent Crush', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Agent_Crush property:cast_member ?w }
[]
common name
Q134333 Q193482 Q449118
SYSTEM
Roger Moore, Neve Campbell, Brian Blessed
Q134333 Q34975 Q7378908 Q460549 Q6270552 Q193482 Q449118 Q7839484 Q295974
(Q4692070,P161,c(Q502895))
action filter_type
action find
entity Q4692070
relation P161
type Q502895
[ANSWERS] starred in Agent Crush
['Q4692070', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q4692070 property:P161 ?w }
Roger Moore Brian Cox Rula Lenska Ruby Wax Jon Culshaw Neve Campbell Brian Blessed Trevor White Ioan Gruffudd
Roger Moore, Neve Campbell and Brian Blessed starred in Agent Crush
Roger Moore Neve Campbell Brian Blessed
action filter_type
action find
entity Agent Crush
relation cast member
type common name
['Agent Crush', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Agent_Crush property:cast_member ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7130625
Q502895
USER
And also tell me about Pandi?
(Q7130625,P161,c(Q502895))
action filter_type
action find
entity Q7130625
relation P161
type Q502895
['Q7130625', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q7130625 property:P161 ?h }
Pandi
action filter_type
action find
entity Pandi
relation cast member
type common name
['Pandi', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Pandi property:cast_member ?h }
[]
common name
Q3521977 Q3530087 Q7282937
SYSTEM
Nassar, Saranya Ponvannan, Raghava Lawrence
Q7586409 Q3530087 Q5521346 Q7282937 Q3521977 Q7908910 Q3520670 Q6797299 Q2723672
(Q7130625,P161,c(Q502895))
action filter_type
action find
entity Q7130625
relation P161
type Q502895
[ANSWERS]
['Q7130625', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q7130625 property:P161 ?h }
Sriman Saranya Ponvannan Ganja Karuppu Raghava Lawrence Nassar Vaiyapuri Sneha Mayilsamy Namitha
Nassar Saranya Ponvannan Raghava Lawrence
action filter_type
action find
entity Pandi
relation cast member
type common name
['Pandi', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Pandi property:cast_member ?h }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q20814612
P161
Q838948
USER
Do Life of Josutty have those people in their star cast ?
(Q20814612,P161,Q3521977) (Q20814612,P161,Q3530087) (Q20814612,P161,Q7282937)
action is_in
entity prev_answer
action find
entity Q20814612
relation P161
['Q20814612', 'P161', 'Q3521977'] ['Q20814612', 'P161', 'Q3530087'] ['Q20814612', 'P161', 'Q7282937']
ASK WHERE { resource:Q20814612 property:P161 ?q . VALUES ( ?q ) { ( resource:Q7586409 ) ( resource:Q3530087 ) ( resource:Q5521346 ) } }
Life of Josutty
action is_in
entity prev_answer
action find
entity Life of Josutty
relation cast member
['Life of Josutty', 'cast member', 'Nassar'] ['Life of Josutty', 'cast member', 'Saranya Ponvannan'] ['Life of Josutty', 'cast member', 'Raghava Lawrence']
ASK WHERE { resource:Life_of_Josutty property:cast_member ?q . VALUES ( ?q ) { ( resource:Sriman ) ( resource:Saranya_Ponvannan ) ( resource:Ganja_Karuppu ) } }
[]
work of art
SYSTEM
NO
(Q20814612,P161,Q3521977) (Q20814612,P161,Q3530087) (Q20814612,P161,Q7282937)
action is_in
entity prev_answer
action find
entity Q20814612
relation P161
[ANSWER]
['Q20814612', 'P161', 'Q3521977'] ['Q20814612', 'P161', 'Q3530087'] ['Q20814612', 'P161', 'Q7282937']
ASK WHERE { resource:Q20814612 property:P161 ?q . VALUES ( ?q ) { ( resource:Q7586409 ) ( resource:Q3530087 ) ( resource:Q5521346 ) } }
No
action is_in
entity prev_answer
action find
entity Life of Josutty
relation cast member
['Life of Josutty', 'cast member', 'Nassar'] ['Life of Josutty', 'cast member', 'Saranya Ponvannan'] ['Life of Josutty', 'cast member', 'Raghava Lawrence']
ASK WHERE { resource:Life_of_Josutty property:cast_member ?q . VALUES ( ?q ) { ( resource:Sriman ) ( resource:Saranya_Ponvannan ) ( resource:Ganja_Karuppu ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q200840
P20
Q515
USER
Where did the demise of Noel Purcell occur ?
(Q200840,P20,c(Q515))
action filter_type
action find
entity Q200840
relation P20
type Q515
['Q200840', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q200840 property:P20 ?d . ?d rdf:type ontology:Q515 }
Noel Purcell
action filter_type
action find
entity Noel Purcell
relation place of death
type city
['Noel Purcell', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Noel_Purcell property:place_of_death ?d . ?d rdf:type ontology:city }
[]
city
Q1761
SYSTEM
Dublin
Q1761
(Q200840,P20,c(Q515))
action filter_type
action find
entity Q200840
relation P20
type Q515
The demise of Noel Purcell occurred in [ANSWER]
['Q200840', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?d WHERE { resource:Q200840 property:P20 ?d . ?d rdf:type ontology:Q515 }
Dublin
The demise of Noel Purcell occurred in Dublin
Dublin
action filter_type
action find
entity Noel Purcell
relation place of death
type city
['Noel Purcell', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?d WHERE { resource:Noel_Purcell property:place_of_death ?d . ?d rdf:type ontology:city }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q929270
Q515
USER
And also tell me about Julius Traugott Jakob von Könneritz?
(Q929270,P20,c(Q515))
action filter_type
action find
entity Q929270
relation P20
type Q515
['Q929270', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { resource:Q929270 property:P20 ?l . ?l rdf:type ontology:Q515 }
Julius Traugott Jakob von Könneritz
action filter_type
action find
entity Julius Traugott Jakob von Könneritz
relation place of death
type city
['Julius Traugott Jakob von Könneritz', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { resource:Julius_Traugott_Jakob_von_Könneritz property:place_of_death ?l . ?l rdf:type ontology:city }
[]
city
Q1731
SYSTEM
Dresden
Q1731
(Q929270,P20,c(Q515))
action filter_type
action find
entity Q929270
relation P20
type Q515
[ANSWER]
['Q929270', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { resource:Q929270 property:P20 ?l . ?l rdf:type ontology:Q515 }
Dresden
Dresden
action filter_type
action find
entity Julius Traugott Jakob von Könneritz
relation place of death
type city
['Julius Traugott Jakob von Könneritz', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { resource:Julius_Traugott_Jakob_von_Könneritz property:place_of_death ?l . ?l rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1731 Q215291
P19
Q502895
USER
Does Hans-Adolf von Moltke have place of birth as that city ?
(Q215291,P19,Q1731)
action is_in
entity Q215291
action find
entity Q1731
relation P19
['Q215291', 'P19', 'Q1731']
ASK WHERE { resource:Q1731 property:P19 resource:Q215291 }
Dresden Hans-Adolf von Moltke
action is_in
entity Hans-Adolf von Moltke
action find
entity Dresden
relation place of birth
['Hans-Adolf von Moltke', 'place of birth', 'Dresden']
ASK WHERE { resource:Dresden property:place_of_birth resource:Hans-Adolf_von_Moltke }
[]
common name
SYSTEM
NO
(Q215291,P19,Q1731)
action is_in
entity Q215291
action find
entity Q1731
relation P19
[ANSWER]
['Q215291', 'P19', 'Q1731']
ASK WHERE { resource:Q1731 property:P19 resource:Q215291 }
No
action is_in
entity Hans-Adolf von Moltke
action find
entity Dresden
relation place of birth
['Hans-Adolf von Moltke', 'place of birth', 'Dresden']
ASK WHERE { resource:Dresden property:place_of_birth resource:Hans-Adolf_von_Moltke }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3530087 Q647113
P27
Q15617994
USER
Is Möntenich the country of citizenship of Saranya Ponvannan ?
(Q3530087,P27,Q647113)
action is_in
entity Q647113
action find
entity Q3530087
relation P27
['Q3530087', 'P27', 'Q647113']
ASK WHERE { resource:Q3530087 property:P27 resource:Q647113 }
Saranya Ponvannan Möntenich
action is_in
entity Möntenich
action find
entity Saranya Ponvannan
relation country of citizenship
['Saranya Ponvannan', 'country of citizenship', 'Möntenich']
ASK WHERE { resource:Saranya_Ponvannan property:country_of_citizenship resource:Möntenich }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3530087,P27,Q647113)
action is_in
entity Q647113
action find
entity Q3530087
relation P27
[ANSWER]
['Q3530087', 'P27', 'Q647113']
ASK WHERE { resource:Q3530087 property:P27 resource:Q647113 }
No
action is_in
entity Möntenich
action find
entity Saranya Ponvannan
relation country of citizenship
['Saranya Ponvannan', 'country of citizenship', 'Möntenich']
ASK WHERE { resource:Saranya_Ponvannan property:country_of_citizenship resource:Möntenich }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q838948 Q11060274 Q386724
USER
Which works of art are expressed in max number of prints and works ?
(c(Q11060274)|c(Q386724),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?d ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } . ?p rdf:type ?d } GROUP BY ?q } } . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?v ) WHERE { { ?i property:P180 ?n . ?i rdf:type ontology:Q11060274 . ?n rdf:type ontology:Q838948 } UNION { ?i property:P180 ?n . ?i rdf:type ontology:Q386724 . ?n rdf:type ontology:Q838948 } } GROUP BY ?n } . FILTER ( ?v = ?g ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action find_reverse_tuple_counts
relation depicts
type work of art
type work
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?d ) { ( ontology:print ) ( ontology:work ) } . ?p rdf:type ?d } GROUP BY ?q } } . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?v ) WHERE { { ?i property:depicts ?n . ?i rdf:type ontology:print . ?n rdf:type ontology:work_of_art } UNION { ?i property:depicts ?n . ?i rdf:type ontology:work . ?n rdf:type ontology:work_of_art } } GROUP BY ?n } . FILTER ( ?v = ?g ) }
[]
work of art print work
Q3143107 Q143912 Q215194
SYSTEM
Humains, triumphal arch, gargoyle
Q143912 Q215194 Q831869 Q1350279 Q3143107 Q183272
(c(Q11060274)|c(Q386724),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q838948
type Q386724
[ANSWERS] are expressed in max number of prints and works
[[{'concept': 'Q11060274'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?d ) { ( ontology:Q11060274 ) ( ontology:Q386724 ) } . ?p rdf:type ?d } GROUP BY ?q } } . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?v ) WHERE { { ?i property:P180 ?n . ?i rdf:type ontology:Q11060274 . ?n rdf:type ontology:Q838948 } UNION { ?i property:P180 ?n . ?i rdf:type ontology:Q386724 . ?n rdf:type ontology:Q838948 } } GROUP BY ?n } . FILTER ( ?v = ?g ) }
triumphal arch gargoyle oenochoe pyxis Humains frieze
Humains, triumphal arch and gargoyle are expressed in max number of prints and works
Humains triumphal arch gargoyle
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action find_reverse_tuple_counts
relation depicts
type work of art
type work
[[{'concept': 'print'}, {'concept': 'work'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?g ) { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?r ) WHERE { VALUES ( ?d ) { ( ontology:print ) ( ontology:work ) } . ?p rdf:type ?d } GROUP BY ?q } } . { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?v ) WHERE { { ?i property:depicts ?n . ?i rdf:type ontology:print . ?n rdf:type ontology:work_of_art } UNION { ?i property:depicts ?n . ?i rdf:type ontology:work . ?n rdf:type ontology:work_of_art } } GROUP BY ?n } . FILTER ( ?v = ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1731
P276
Q1190554
USER
What are situated at Dresden ?
(c(Q1190554),P276,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q1731']
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q1731 . ?t rdf:type ontology:Q1190554 }
Dresden
action filter_type
action find_reverse
entity Dresden
relation location
type event
[{'concept': 'event'}, 'location', 'Dresden']
SELECT DISTINCT ?t WHERE { ?t property:location resource:Dresden . ?t rdf:type ontology:event }
[]
event
Q17594 Q610150
SYSTEM
Battle of Dresden, Siege of Dresden
Q17594 Q610150
(c(Q1190554),P276,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P276
type Q1190554
The [ANSWERS] are situated at Dresden
[{'concept': 'Q1190554'}, 'P276', 'Q1731']
SELECT DISTINCT ?t WHERE { ?t property:P276 resource:Q1731 . ?t rdf:type ontology:Q1190554 }
Battle of Dresden Siege of Dresden
The Battle of Dresden and Siege of Dresden are situated at Dresden
Battle of Dresden Siege of Dresden
action filter_type
action find_reverse
entity Dresden
relation location
type event
[{'concept': 'event'}, 'location', 'Dresden']
SELECT DISTINCT ?t WHERE { ?t property:location resource:Dresden . ?t rdf:type ontology:event }
[]