Simple Question (Direct)
Simple Question
Q6426661
P86
Q502895
USER
Who composed Kokki ?
(Q6426661,P86,c(Q502895))
action filter_type
action find
entity Q6426661
relation P86
type Q502895
['Q6426661', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q6426661 property:P86 ?w }
Kokki
action filter_type
action find
entity Kokki
relation composer
type common name
['Kokki', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Kokki property:composer ?w }
[]
common name
Q5269579
SYSTEM
Dhina
Q5269579
(Q6426661,P86,c(Q502895))
action filter_type
action find
entity Q6426661
relation P86
type Q502895
Composed [ANSWER] composed Kokki
['Q6426661', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q6426661 property:P86 ?w }
Dhina
Composed Dhina composed Kokki
Dhina
action filter_type
action find
entity Kokki
relation composer
type common name
['Kokki', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Kokki property:composer ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5269579
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q5269579,P27,c(Q15617994))
action filter_type
action find
entity Q5269579
relation P27
type Q15617994
['Q5269579', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q5269579 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Dhina
action filter_type
action find
entity Dhina
relation country of citizenship
type designation for an administrative territorial entity
['Dhina', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Dhina property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q5269579,P27,c(Q15617994))
action filter_type
action find
entity Q5269579
relation P27
type Q15617994
To [ANSWER] is the native country of that person
['Q5269579', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q5269579 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
India
To India is the native country of that person
India
action filter_type
action find
entity Dhina
relation country of citizenship
type designation for an administrative territorial entity
['Dhina', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Dhina property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5269579
P21
Q290
USER
Which sex does that person possess ?
(Q668,P21,c(Q290))
action filter_type
action find
entity Q5269579
relation P21
type Q290
['Q668', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q5269579 property:P21 ?y }
Dhina
action filter_type
action find
entity Dhina
relation gender
type sex
['India', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Dhina property:gender ?y }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q668,P21,c(Q290))
action filter_type
action find
entity Q5269579
relation P21
type Q290
That person possesses a [ANSWER]
['Q668', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q290 . resource:Q5269579 property:P21 ?y }
male
That person possesses a male
male
action filter_type
action find
entity Dhina
relation gender
type sex
['India', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sex . resource:Dhina property:gender ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5269579
P106
Q12737077
USER
Which occupation is the profession of Dhina ?
(Q5269579,P106,c(Q12737077))
action filter_type
action find
entity Q5269579
relation P106
type Q12737077
['Q5269579', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q5269579 property:P106 ?u }
Dhina
action filter_type
action find
entity Dhina
relation occupation
type occupation
['Dhina', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Dhina property:occupation ?u }
[]
occupation
Q36834
SYSTEM
composer
Q36834
(Q5269579,P106,c(Q12737077))
action filter_type
action find
entity Q5269579
relation P106
type Q12737077
In [ANSWER] is the profession of Dhina
['Q5269579', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q5269579 property:P106 ?u }
composer
In composer is the profession of Dhina
composer
action filter_type
action find
entity Dhina
relation occupation
type occupation
['Dhina', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Dhina property:occupation ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q36834 Q3013986
P417
Q502895
USER
Is Daniel Jean Baptiste Dupuis the patron saint of that occupation ?
(Q36834,P417,Q3013986)
action is_in
entity Q3013986
action find
entity Q36834
relation P417
['Q36834', 'P417', 'Q3013986']
ASK WHERE { resource:Q36834 property:P417 resource:Q3013986 }
composer Daniel Jean Baptiste Dupuis
action is_in
entity Daniel Jean Baptiste Dupuis
action find
entity composer
relation patron saint
['composer', 'patron saint', 'Daniel Jean Baptiste Dupuis']
ASK WHERE { resource:composer property:patron_saint resource:Daniel_Jean_Baptiste_Dupuis }
[]
common name
SYSTEM
NO
(Q36834,P417,Q3013986)
action is_in
entity Q3013986
action find
entity Q36834
relation P417
[ANSWER]
['Q36834', 'P417', 'Q3013986']
ASK WHERE { resource:Q36834 property:P417 resource:Q3013986 }
No
action is_in
entity Daniel Jean Baptiste Dupuis
action find
entity composer
relation patron saint
['composer', 'patron saint', 'Daniel Jean Baptiste Dupuis']
ASK WHERE { resource:composer property:patron_saint resource:Daniel_Jean_Baptiste_Dupuis }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36834 Q863940
P39
Q502895
USER
How many people were appointed for the position of composer or Gonville and Caius College ?
(c(Q502895),P39,Q36834) (c(Q502895),P39,Q863940)
action count
action union
action filter_type
action find_reverse
entity Q36834
relation P39
type Q502895
action filter_type
action find_reverse
entity Q863940
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q36834'] [{'concept': 'Q502895'}, 'P39', 'Q863940']
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { ?p property:P39 resource:Q863940 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P39 resource:Q36834 . ?p rdf:type ontology:Q502895 } }
composer Gonville and Caius College
action count
action union
action filter_type
action find_reverse
entity composer
relation position held
type common name
action filter_type
action find_reverse
entity Gonville and Caius College
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'composer'] [{'concept': 'common name'}, 'position held', 'Gonville and Caius College']
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { ?p property:position_held resource:Gonville_and_Caius_College . ?p rdf:type ontology:common_name } UNION { ?p property:position_held resource:composer . ?p rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q5112592 Q3193394
(c(Q502895),P39,Q36834) (c(Q502895),P39,Q863940)
action count
action union
action filter_type
action find_reverse
entity Q36834
relation P39
type Q502895
action filter_type
action find_reverse
entity Q863940
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q36834'] [{'concept': 'Q502895'}, 'P39', 'Q863940']
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { ?p property:P39 resource:Q863940 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P39 resource:Q36834 . ?p rdf:type ontology:Q502895 } }
Christopher Hum Karl Hajos
2
action count
action union
action filter_type
action find_reverse
entity composer
relation position held
type common name
action filter_type
action find_reverse
entity Gonville and Caius College
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'composer'] [{'concept': 'common name'}, 'position held', 'Gonville and Caius College']
SELECT DISTINCT ( COUNT ( ?p ) AS ?b ) WHERE { { ?p property:position_held resource:Gonville_and_Caius_College . ?p rdf:type ontology:common_name } UNION { ?p property:position_held resource:composer . ?p rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P1001
Q35798
USER
Which executive branches have jurisdiction over India ?
(c(Q35798),P1001,Q668)
action filter_type
action find_reverse
entity Q668
relation P1001
type Q35798
[{'concept': 'Q35798'}, 'P1001', 'Q668']
SELECT DISTINCT ?w WHERE { ?w property:P1001 resource:Q668 . ?w rdf:type ontology:Q35798 }
India
action filter_type
action find_reverse
entity India
relation applies to jurisdiction
type executive branch
[{'concept': 'executive branch'}, 'applies to jurisdiction', 'India']
SELECT DISTINCT ?w WHERE { ?w property:applies_to_jurisdiction resource:India . ?w rdf:type ontology:executive_branch }
[]
executive branch
Q8563352 Q15933276 Q7784879
SYSTEM
First Indira Gandhi Ministry, Second Indira Gandhi Ministry, Third Indira Gandhi Ministry
Q8563352 Q15933276 Q7784879 Q15935901 Q15933364 Q7906170 Q7784995 Q6480020 Q7286211 Q7117590 Q15927703
(c(Q35798),P1001,Q668)
action filter_type
action find_reverse
entity Q668
relation P1001
type Q35798
[ANSWERS] have jurisdiction over India
[{'concept': 'Q35798'}, 'P1001', 'Q668']
SELECT DISTINCT ?w WHERE { ?w property:P1001 resource:Q668 . ?w rdf:type ontology:Q35798 }
First Indira Gandhi Ministry Second Indira Gandhi Ministry Third Indira Gandhi Ministry Chandra Shekhar Ministry Charan Singh Ministry V. P. Singh Ministry Third Vajpayee Ministry Lal Bahadur Shastri Ministry Rajiv Gandhi Ministry P. V. Narasimha Rao Ministry H. D. Deve Gowda Ministry
First Indira Gandhi Ministry, Second Indira Gandhi Ministry and Third Indira Gandhi Ministry have jurisdiction over India
First Indira Gandhi Ministry Second Indira Gandhi Ministry Third Indira Gandhi Ministry
action filter_type
action find_reverse
entity India
relation applies to jurisdiction
type executive branch
[{'concept': 'executive branch'}, 'applies to jurisdiction', 'India']
SELECT DISTINCT ?w WHERE { ?w property:applies_to_jurisdiction resource:India . ?w rdf:type ontology:executive_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8563352
P35
Q502895
USER
Who is elected as the head of state of First Indira Gandhi Ministry ?
(Q8563352,P35,c(Q502895))
action filter_type
action find
entity Q8563352
relation P35
type Q502895
['Q8563352', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q8563352 property:P35 ?o . ?o rdf:type ontology:Q502895 }
First Indira Gandhi Ministry
action filter_type
action find
entity First Indira Gandhi Ministry
relation head of state
type common name
['First Indira Gandhi Ministry', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:First_Indira_Gandhi_Ministry property:head_of_state ?o . ?o rdf:type ontology:common_name }
[]
common name
Q156349
SYSTEM
Sarvepalli Radhakrishnan
Q156349
(Q8563352,P35,c(Q502895))
action filter_type
action find
entity Q8563352
relation P35
type Q502895
[ANSWER] is elected as the head of state of First Indira Gandhi Ministry
['Q8563352', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q8563352 property:P35 ?o . ?o rdf:type ontology:Q502895 }
Sarvepalli Radhakrishnan
Sarvepalli Radhakrishnan is elected as the head of state of First Indira Gandhi Ministry
Sarvepalli Radhakrishnan
action filter_type
action find
entity First Indira Gandhi Ministry
relation head of state
type common name
['First Indira Gandhi Ministry', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:First_Indira_Gandhi_Ministry property:head_of_state ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q156349 Q6543882
P40
Q502895
USER
Is Sarvepalli Gopal a child of that one ?
(Q156349,P40,Q6543882)
action is_in
entity Q6543882
action find
entity Q156349
relation P40
['Q156349', 'P40', 'Q6543882']
ASK WHERE { resource:Q156349 property:P40 resource:Q6543882 }
Sarvepalli Radhakrishnan Sarvepalli Gopal
action is_in
entity Sarvepalli Gopal
action find
entity Sarvepalli Radhakrishnan
relation child
['Sarvepalli Radhakrishnan', 'child', 'Sarvepalli Gopal']
ASK WHERE { resource:Sarvepalli_Radhakrishnan property:child resource:Sarvepalli_Gopal }
[]
common name
SYSTEM
YES
(Q156349,P40,Q6543882)
action is_in
entity Q6543882
action find
entity Q156349
relation P40
[ANSWER]
['Q156349', 'P40', 'Q6543882']
ASK WHERE { resource:Q156349 property:P40 resource:Q6543882 }
Yes
action is_in
entity Sarvepalli Gopal
action find
entity Sarvepalli Radhakrishnan
relation child
['Sarvepalli Radhakrishnan', 'child', 'Sarvepalli Gopal']
ASK WHERE { resource:Sarvepalli_Radhakrishnan property:child resource:Sarvepalli_Gopal }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q838948 Q234460 Q482994
USER
How many works of art are around 2 texts or albums a portion of ?
(c(Q234460)|c(Q482994),P361,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
value 2
[[{'concept': 'Q234460'}, {'concept': 'Q482994'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:Q234460 ) ( ontology:Q482994 ) } } GROUP BY ?g } . FILTER ( ?n = 2 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type text
action find_reverse_tuple_counts
relation part of
type work of art
type album
value 2
[[{'concept': 'text'}, {'concept': 'album'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:text ) ( ontology:album ) } } GROUP BY ?g } . FILTER ( ?n = 2 ) }
[]
work of art text album
SYSTEM
2
Q29478 Q1209853
(c(Q234460)|c(Q482994),P361,c(Q838948))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
value 2
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q482994'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:Q234460 ) ( ontology:Q482994 ) } } GROUP BY ?g } . FILTER ( ?n = 2 ) }
Faust Dick Tracy
2
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type text
action find_reverse_tuple_counts
relation part of
type work of art
type album
value 2
[[{'concept': 'text'}, {'concept': 'album'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?n ) WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:text ) ( ontology:album ) } } GROUP BY ?g } . FILTER ( ?n = 2 ) }
[]