Simple Question (Direct)
Simple Question
Q2404163
P364
Q34770
USER
Which language was used originally for the creation of Lady in a Cage ?
(Q2404163,P364,c(Q34770))
action filter_type
action find
entity Q2404163
relation P364
type Q34770
['Q2404163', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q34770 . resource:Q2404163 property:P364 ?u }
Lady in a Cage
action filter_type
action find
entity Lady in a Cage
relation original language of work
type language
['Lady in a Cage', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:language . resource:Lady_in_a_Cage property:original_language_of_work ?u }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2404163,P364,c(Q34770))
action filter_type
action find
entity Q2404163
relation P364
type Q34770
[ANSWER] was used originally for the creation of Lady in a Cage
['Q2404163', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q34770 . resource:Q2404163 property:P364 ?u }
English
English was used originally for the creation of Lady in a Cage
English
action filter_type
action find
entity Lady in a Cage
relation original language of work
type language
['Lady in a Cage', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:language . resource:Lady_in_a_Cage property:original_language_of_work ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2404163
P58
Q502895
USER
Who wrote the script for that work of art ?
(Q1860,P58,c(Q502895))
action filter_type
action find
entity Q2404163
relation P58
type Q502895
['Q1860', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q2404163 property:P58 ?z }
Lady in a Cage
action filter_type
action find
entity Lady in a Cage
relation screenwriter
type common name
['English', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Lady_in_a_Cage property:screenwriter ?z }
[]
common name
Q3267868
SYSTEM
Luther Davis
Q3267868
(Q1860,P58,c(Q502895))
action filter_type
action find
entity Q2404163
relation P58
type Q502895
[ANSWER] wrote the script for that work of art
['Q1860', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q2404163 property:P58 ?z }
Luther Davis
Luther Davis wrote the script for that work of art
Luther Davis
action filter_type
action find
entity Lady in a Cage
relation screenwriter
type common name
['English', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Lady_in_a_Cage property:screenwriter ?z }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
How many languages use atleast 2 notations or writing systems as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { FILTER ( ?x >= 2 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?s WHERE { { ?s rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 . ?s property:P282 ?v } UNION { ?s property:P282 ?v . ?s rdf:type ontology:Q34770 . ?v rdf:type ontology:Q8192 } } GROUP BY ?s } }
action count
action atleast
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { FILTER ( ?x >= 2 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?s WHERE { { ?s rdf:type ontology:language . ?v rdf:type ontology:notation . ?s property:writing_system ?v } UNION { ?s property:writing_system ?v . ?s rdf:type ontology:language . ?v rdf:type ontology:writing_system } } GROUP BY ?s } }
[]
notation writing system language
SYSTEM
2
Q182695 Q29572
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 2
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { FILTER ( ?x >= 2 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?s WHERE { { ?s rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 . ?s property:P282 ?v } UNION { ?s property:P282 ?v . ?s rdf:type ontology:Q34770 . ?v rdf:type ontology:Q8192 } } GROUP BY ?s } }
Late Old Japanese Avestan
2
action count
action atleast
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { FILTER ( ?x >= 2 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?s WHERE { { ?s rdf:type ontology:language . ?v rdf:type ontology:notation . ?s property:writing_system ?v } UNION { ?s property:writing_system ?v . ?s rdf:type ontology:language . ?v rdf:type ontology:writing_system } } GROUP BY ?s } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q3267868 Q14626845
P1412
Q34770
USER
How many languages do Luther Davis or Juan Antonio Gaya Tovar speak in ?
(Q3267868,P1412,c(Q34770)) (Q14626845,P1412,c(Q34770))
action count
action union
action filter_type
action find
entity Q3267868
relation P1412
type Q34770
action filter_type
action find
entity Q14626845
relation P1412
type Q34770
['Q3267868', 'P1412', {'concept': 'Q34770'}] ['Q14626845', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { VALUES ( ?b ) { ( resource:Q3267868 ) ( resource:Q14626845 ) } . ?b property:P1412 ?u }
Luther Davis Juan Antonio Gaya Tovar
action count
action union
action filter_type
action find
entity Luther Davis
relation languages spoken, written or signed
type language
action filter_type
action find
entity Juan Antonio Gaya Tovar
relation languages spoken, written or signed
type language
['Luther Davis', 'languages spoken, written or signed', {'concept': 'language'}] ['Juan Antonio Gaya Tovar', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { VALUES ( ?b ) { ( resource:Luther_Davis ) ( resource:Juan_Antonio_Gaya_Tovar ) } . ?b property:languages_spoken,_written_or_signed ?u }
[]
language
SYSTEM
2
Q1860 Q1321
(Q3267868,P1412,c(Q34770)) (Q14626845,P1412,c(Q34770))
action count
action union
action filter_type
action find
entity Q3267868
relation P1412
type Q34770
action filter_type
action find
entity Q14626845
relation P1412
type Q34770
[ANSWER]
['Q3267868', 'P1412', {'concept': 'Q34770'}] ['Q14626845', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { VALUES ( ?b ) { ( resource:Q3267868 ) ( resource:Q14626845 ) } . ?b property:P1412 ?u }
English Spanish
2
action count
action union
action filter_type
action find
entity Luther Davis
relation languages spoken, written or signed
type language
action filter_type
action find
entity Juan Antonio Gaya Tovar
relation languages spoken, written or signed
type language
['Luther Davis', 'languages spoken, written or signed', {'concept': 'language'}] ['Juan Antonio Gaya Tovar', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { VALUES ( ?b ) { ( resource:Luther_Davis ) ( resource:Juan_Antonio_Gaya_Tovar ) } . ?b property:languages_spoken,_written_or_signed ?u }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7088306 Q3267868
P27
Q15617994
USER
Which administrative territories are the native countriesof Luther Davis and Ollie Anderson ?
AND((Q3267868,P27,c(Q15617994)), (Q7088306,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3267868
relation P27
action find
entity Q7088306
relation P27
type Q15617994
{'AND': [['Q3267868', 'P27', {'concept': 'Q15617994'}], ['Q7088306', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q7088306 property:P27 ?b . resource:Q3267868 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Ollie Anderson Luther Davis
action filter_type
action intersection
action find
entity Luther Davis
relation country of citizenship
action find
entity Ollie Anderson
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Luther Davis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ollie Anderson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Ollie_Anderson property:country_of_citizenship ?b . resource:Luther_Davis property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q3267868,P27,c(Q15617994)), (Q7088306,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q3267868
relation P27
action find
entity Q7088306
relation P27
type Q15617994
[ANSWER] is the native countriesof Luther Davis and Ollie Anderson
{'AND': [['Q3267868', 'P27', {'concept': 'Q15617994'}], ['Q7088306', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { resource:Q7088306 property:P27 ?b . resource:Q3267868 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
United States of America is the native countriesof Luther Davis and Ollie Anderson
United States of America
action filter_type
action intersection
action find
entity Luther Davis
relation country of citizenship
action find
entity Ollie Anderson
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Luther Davis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ollie Anderson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { resource:Ollie_Anderson property:country_of_citizenship ?b . resource:Luther_Davis property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7088306
P20
Q56061
USER
Which administrative territory is the place of death of Ollie Anderson ?
(Q7088306,P20,c(Q56061))
action filter_type
action find
entity Q7088306
relation P20
type Q56061
['Q7088306', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q7088306 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Ollie Anderson
action filter_type
action find
entity Ollie Anderson
relation place of death
type administrative territorial entity
['Ollie Anderson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ollie_Anderson property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65
SYSTEM
Los Angeles
Q65
(Q7088306,P20,c(Q56061))
action filter_type
action find
entity Q7088306
relation P20
type Q56061
[ANSWER] is the place of death of Ollie Anderson
['Q7088306', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q7088306 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Los Angeles
Los Angeles is the place of death of Ollie Anderson
Los Angeles
action filter_type
action find
entity Ollie Anderson
relation place of death
type administrative territorial entity
['Ollie Anderson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ollie_Anderson property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7088306
P21
Q290
USER
Which sex does that person belong to ?
(Q65,P21,c(Q290))
action filter_type
action find
entity Q7088306
relation P21
type Q290
['Q65', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q7088306 property:P21 ?h }
Ollie Anderson
action filter_type
action find
entity Ollie Anderson
relation gender
type sex
['Los Angeles', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Ollie_Anderson property:gender ?h }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q65,P21,c(Q290))
action filter_type
action find
entity Q7088306
relation P21
type Q290
That person belongs to [ANSWER]
['Q65', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q7088306 property:P21 ?h }
male
That person belongs to male
male
action filter_type
action find
entity Ollie Anderson
relation gender
type sex
['Los Angeles', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Ollie_Anderson property:gender ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7088306
P106
Q12737077
USER
What is the job of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7088306
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q7088306 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Ollie Anderson
action filter_type
action find
entity Ollie Anderson
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Ollie_Anderson property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q1856798
SYSTEM
baseball umpire
Q1856798
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q7088306
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q7088306 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
baseball umpire
The job of that person is a baseball umpire
baseball umpire
action filter_type
action find
entity Ollie Anderson
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Ollie_Anderson property:occupation ?p . ?p rdf:type ontology:occupation }
[]