Simple Question (Direct)
Simple Question
Q3716037
P364
Q34770
USER
Which language was used originally for the creation of Two Weeks with Love ?
(Q3716037,P364,c(Q34770))
action filter_type
action find
entity Q3716037
relation P364
type Q34770
['Q3716037', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q3716037 property:P364 ?f . ?f rdf:type ontology:Q34770 }
Two Weeks with Love
action filter_type
action find
entity Two Weeks with Love
relation original language of work
type language
['Two Weeks with Love', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Two_Weeks_with_Love property:original_language_of_work ?f . ?f rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3716037,P364,c(Q34770))
action filter_type
action find
entity Q3716037
relation P364
type Q34770
[ANSWER] was used originally for the creation of Two Weeks with Love
['Q3716037', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { resource:Q3716037 property:P364 ?f . ?f rdf:type ontology:Q34770 }
English
English was used originally for the creation of Two Weeks with Love
English
action filter_type
action find
entity Two Weeks with Love
relation original language of work
type language
['Two Weeks with Love', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { resource:Two_Weeks_with_Love property:original_language_of_work ?f . ?f rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3716037
P58
Q502895
USER
Which person wrote the script for that work of art ?
(Q1860,P58,c(Q502895))
action filter_type
action find
entity Q3716037
relation P58
type Q502895
['Q1860', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3716037 property:P58 ?f . ?f rdf:type ontology:Q502895 }
Two Weeks with Love
action filter_type
action find
entity Two Weeks with Love
relation screenwriter
type common name
['English', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Two_Weeks_with_Love property:screenwriter ?f . ?f rdf:type ontology:common_name }
[]
common name
Q6244057
SYSTEM
John Larkin
Q6244057
(Q1860,P58,c(Q502895))
action filter_type
action find
entity Q3716037
relation P58
type Q502895
[ANSWER] wrote the script for that work of art
['Q1860', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3716037 property:P58 ?f . ?f rdf:type ontology:Q502895 }
John Larkin
John Larkin wrote the script for that work of art
John Larkin
action filter_type
action find
entity Two Weeks with Love
relation screenwriter
type common name
['English', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Two_Weeks_with_Love property:screenwriter ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q6244057 Q5862627 Q60
P19
Q56061
USER
Does that person have place of birth as Geravand and New York City ?
(Q6244057,P19,Q5862627) (Q6244057,P19,Q60)
action is_in
entity Q6244057
action intersection
action find_reverse
entity Q5862627
relation P19
action find_reverse
entity Q60
relation P19
['Q6244057', 'P19', 'Q5862627'] ['Q6244057', 'P19', 'Q60']
ASK WHERE { resource:Q6244057 property:P19 resource:Q5862627 . resource:Q6244057 property:P19 resource:Q60 }
John Larkin Geravand New York City
action is_in
entity John Larkin
action intersection
action find_reverse
entity Geravand
relation place of birth
action find_reverse
entity New York City
relation place of birth
['John Larkin', 'place of birth', 'Geravand'] ['John Larkin', 'place of birth', 'New York City']
ASK WHERE { resource:John_Larkin property:place_of_birth resource:Geravand . resource:John_Larkin property:place_of_birth resource:New_York_City }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q6244057,P19,Q5862627) (Q6244057,P19,Q60)
action is_in
entity Q6244057
action intersection
action find_reverse
entity Q5862627
relation P19
action find_reverse
entity Q60
relation P19
[ANSWER]
['Q6244057', 'P19', 'Q5862627'] ['Q6244057', 'P19', 'Q60']
ASK WHERE { resource:Q6244057 property:P19 resource:Q5862627 . resource:Q6244057 property:P19 resource:Q60 }
NO and YES respectively
action is_in
entity John Larkin
action intersection
action find_reverse
entity Geravand
relation place of birth
action find_reverse
entity New York City
relation place of birth
['John Larkin', 'place of birth', 'Geravand'] ['John Larkin', 'place of birth', 'New York City']
ASK WHERE { resource:John_Larkin property:place_of_birth resource:Geravand . resource:John_Larkin property:place_of_birth resource:New_York_City }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6244057 Q8704
P57
Q201658
USER
How many film genres are John Larkin or Walt Disney a director of ?
(c(Q201658),P57,Q6244057) (c(Q201658),P57,Q8704)
action count
action union
action filter_type
action find_reverse
entity Q6244057
relation P57
type Q201658
action filter_type
action find_reverse
entity Q8704
relation P57
type Q201658
[{'concept': 'Q201658'}, 'P57', 'Q6244057'] [{'concept': 'Q201658'}, 'P57', 'Q8704']
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { ?l property:P57 resource:Q6244057 . ?l rdf:type ontology:Q201658 } UNION { ?l property:P57 resource:Q8704 . ?l rdf:type ontology:Q201658 } }
John Larkin Walt Disney
action count
action union
action filter_type
action find_reverse
entity John Larkin
relation director
type film genre
action filter_type
action find_reverse
entity Walt Disney
relation director
type film genre
[{'concept': 'film genre'}, 'director', 'John Larkin'] [{'concept': 'film genre'}, 'director', 'Walt Disney']
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { ?l property:director resource:John_Larkin . ?l rdf:type ontology:film_genre } UNION { ?l property:director resource:Walt_Disney . ?l rdf:type ontology:film_genre } }
[]
film genre
SYSTEM
20
Q816038 Q2836505 Q26197405 Q2836577 Q3567703 Q1137742 Q3190290 Q3222924 Q2531855 Q3521221 Q3050275 Q1753096 Q3226524 Q3210080 Q1137756 Q2275783 Q1137749 Q338214 Q2288328 Q541814
(c(Q201658),P57,Q6244057) (c(Q201658),P57,Q8704)
action count
action union
action filter_type
action find_reverse
entity Q6244057
relation P57
type Q201658
action filter_type
action find_reverse
entity Q8704
relation P57
type Q201658
[ANSWER]
[{'concept': 'Q201658'}, 'P57', 'Q6244057'] [{'concept': 'Q201658'}, 'P57', 'Q8704']
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { ?l property:P57 resource:Q6244057 . ?l rdf:type ontology:Q201658 } UNION { ?l property:P57 resource:Q8704 . ?l rdf:type ontology:Q201658 } }
Steamboat Willie Alice's Orphan Minnie's Yoo Hoo Alice Gets Stung When the Cat's Away The Plow Boy Fiddling Around The Jazz Fool The Skeleton Dance The Haunted House El Terrible Toreador Plane Crazy The Golden Touch Mickey's Choo-Choo The Karnival Kid The Barn Dance The Opry House Jungle Rhythm The Matinee Idol The Delivery Boy
20
action count
action union
action filter_type
action find_reverse
entity John Larkin
relation director
type film genre
action filter_type
action find_reverse
entity Walt Disney
relation director
type film genre
[{'concept': 'film genre'}, 'director', 'John Larkin'] [{'concept': 'film genre'}, 'director', 'Walt Disney']
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { ?l property:director resource:John_Larkin . ?l rdf:type ontology:film_genre } UNION { ?l property:director resource:Walt_Disney . ?l rdf:type ontology:film_genre } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q19017414
P1071
Q56061 Q15617994 Q838948
USER
Which works of art have more number of administrative territories and administrative territories as their location of final assembly than effigy of Blanche de Champagne ?
(c(Q838948),P1071,c(Q56061)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P1071
type Q838948
type Q56061
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
action count
action filter_multi_types
action find
entity Q19017414
relation P1071
type Q56061
type Q15617994
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?b ) WHERE { { ?q rdf:type ontology:Q838948 . ?s rdf:type ontology:Q56061 . ?q property:P1071 ?s } UNION { ?q property:P1071 ?s . ?q rdf:type ontology:Q838948 . ?s rdf:type ontology:Q15617994 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Q19017414 property:P1071 ?l . { { ?l rdf:type ontology:Q56061 } UNION { ?l rdf:type ontology:Q15617994 } } } } . FILTER ( ?b > ?z ) }
effigy of Blanche de Champagne
action greater
action union
action find_tuple_counts
relation location of final assembly
type work of art
type administrative territorial entity
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity effigy of Blanche de Champagne
relation location of final assembly
type administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?b ) WHERE { { ?q rdf:type ontology:work_of_art . ?s rdf:type ontology:administrative_territorial_entity . ?q property:location_of_final_assembly ?s } UNION { ?q property:location_of_final_assembly ?s . ?q rdf:type ontology:work_of_art . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:effigy_of_Blanche_de_Champagne property:location_of_final_assembly ?l . { { ?l rdf:type ontology:administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?b > ?z ) }
[]
administrative territorial entity designation for an administrative territorial entity work of art
Q15123181 Q17451496 Q23356
SYSTEM
Proserpina sarcophagus, Nymph with a Scorpion, Harbaville Triptych
Q18609768 Q6572993 Q18609790 Q18609791 Q18609855 Q20199990 Q3647650 Q20200034 Q17451496 Q9428681 Q23356 Q4785573 Q18609795 Q3555769 Q15123181 Q17347116 Q18609848 Q18609842 Q15297468 Q18609786 Q18609745 Q24178015 Q13105422 Q19776419 Q18609838
(c(Q838948),P1071,c(Q56061)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P1071
type Q838948
type Q56061
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
action count
action filter_multi_types
action find
entity Q19017414
relation P1071
type Q56061
type Q15617994
[ANSWERS] have more number of administrative territories and administrative territories as their location of final assembly than effigy of Blanche de Champagne
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?b ) WHERE { { ?q rdf:type ontology:Q838948 . ?s rdf:type ontology:Q56061 . ?q property:P1071 ?s } UNION { ?q property:P1071 ?s . ?q rdf:type ontology:Q838948 . ?s rdf:type ontology:Q15617994 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:Q19017414 property:P1071 ?l . { { ?l rdf:type ontology:Q56061 } UNION { ?l rdf:type ontology:Q15617994 } } } } . FILTER ( ?b > ?z ) }
cinerary urn lid Amphitrite, the wave and the sea birds cinerary urn sarcophagus sarcophagus lid Female head wearing the polos Bust of Cardinal Richelieu Sphinx Nymph with a Scorpion The Exaltation of the Flower Harbaville Triptych Archangel ivory cinerary group Vercingétorix Proserpina sarcophagus Le Génie de la sculpture dégrossissant le masque de Jupiter sarcophagus lid sarcophagus lid Statue of Tara cinerary urn lid cinerary urn lid The Intruders When the Music's Over My Stuff sarcophagus lid
Proserpina sarcophagus, Nymph with a Scorpion and Harbaville Triptych have more number of administrative territories and administrative territories as their location of final assembly than effigy of Blanche de Champagne
Proserpina sarcophagus Nymph with a Scorpion Harbaville Triptych
action greater
action union
action find_tuple_counts
relation location of final assembly
type work of art
type administrative territorial entity
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity effigy of Blanche de Champagne
relation location of final assembly
type administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?b ) WHERE { { ?q rdf:type ontology:work_of_art . ?s rdf:type ontology:administrative_territorial_entity . ?q property:location_of_final_assembly ?s } UNION { ?q property:location_of_final_assembly ?s . ?q rdf:type ontology:work_of_art . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { resource:effigy_of_Blanche_de_Champagne property:location_of_final_assembly ?l . { { ?l rdf:type ontology:administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?b > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q526178
P1071
Q56061 Q15617994 Q838948
USER
And what about The Age of Bronze?
(c(Q838948),P1071,c(Q56061)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P1071
type Q838948
type Q56061
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
action count
action filter_multi_types
action find
entity Q526178
relation P1071
type Q56061
type Q15617994
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?h rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q526178 property:P1071 ?x . { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?d > ?v ) }
The Age of Bronze
action greater
action union
action find_tuple_counts
relation location of final assembly
type work of art
type administrative territorial entity
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity The Age of Bronze
relation location of final assembly
type administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?h rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:The_Age_of_Bronze property:location_of_final_assembly ?x . { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?d > ?v ) }
[]
administrative territorial entity designation for an administrative territorial entity work of art
Q15123181 Q17451496 Q23356
SYSTEM
Proserpina sarcophagus, Nymph with a Scorpion, Harbaville Triptych
Q18609768 Q6572993 Q18609790 Q18609791 Q18609855 Q20199990 Q3647650 Q20200034 Q17451496 Q9428681 Q23356 Q4785573 Q18609795 Q3555769 Q15123181 Q17347116 Q18609848 Q18609842 Q15297468 Q18609786 Q18609745 Q24178015 Q13105422 Q19776419 Q18609838
(c(Q838948),P1071,c(Q56061)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P1071
type Q838948
type Q56061
action find_tuple_counts
relation P1071
type Q838948
type Q15617994
action count
action filter_multi_types
action find
entity Q526178
relation P1071
type Q56061
type Q15617994
[ANSWERS]
[{'concept': 'Q838948'}, 'P1071', [{'concept': 'Q56061'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?h rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q526178 property:P1071 ?x . { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?d > ?v ) }
cinerary urn lid Amphitrite, the wave and the sea birds cinerary urn sarcophagus sarcophagus lid Female head wearing the polos Bust of Cardinal Richelieu Sphinx Nymph with a Scorpion The Exaltation of the Flower Harbaville Triptych Archangel ivory cinerary group Vercingétorix Proserpina sarcophagus Le Génie de la sculpture dégrossissant le masque de Jupiter sarcophagus lid sarcophagus lid Statue of Tara cinerary urn lid cinerary urn lid The Intruders When the Music's Over My Stuff sarcophagus lid
Proserpina sarcophagus Nymph with a Scorpion Harbaville Triptych
action greater
action union
action find_tuple_counts
relation location of final assembly
type work of art
type administrative territorial entity
action find_tuple_counts
relation location of final assembly
type work of art
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity The Age of Bronze
relation location of final assembly
type administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'work of art'}, 'location of final assembly', [{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?h rdf:type ?o } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:The_Age_of_Bronze property:location_of_final_assembly ?x . { ?x rdf:type ?s . VALUES ( ?s ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?d > ?v ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1206725 Q6244057
P20
Q56061
USER
Which administrative territories are the places of death of John Larkin or Devery Freeman ?
OR((Q6244057,P20,c(Q56061)), (Q1206725,P20,c(Q56061)))
action filter_type
action union
action find
entity Q6244057
relation P20
action find
entity Q1206725
relation P20
type Q56061
{'OR': [['Q6244057', 'P20', {'concept': 'Q56061'}], ['Q1206725', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1206725 property:P20 ?n } UNION { resource:Q6244057 property:P20 ?n } } . ?n rdf:type ontology:Q56061 }
Devery Freeman John Larkin
action filter_type
action union
action find
entity John Larkin
relation place of death
action find
entity Devery Freeman
relation place of death
type administrative territorial entity
{'OR': [['John Larkin', 'place of death', {'concept': 'administrative territorial entity'}], ['Devery Freeman', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Devery_Freeman property:place_of_death ?n } UNION { resource:John_Larkin property:place_of_death ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q65
SYSTEM
Los Angeles
Q65
OR((Q6244057,P20,c(Q56061)), (Q1206725,P20,c(Q56061)))
action filter_type
action union
action find
entity Q6244057
relation P20
action find
entity Q1206725
relation P20
type Q56061
[ANSWER] is the places of death of John Larkin or Devery Freeman
{'OR': [['Q6244057', 'P20', {'concept': 'Q56061'}], ['Q1206725', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q1206725 property:P20 ?n } UNION { resource:Q6244057 property:P20 ?n } } . ?n rdf:type ontology:Q56061 }
Los Angeles
Los Angeles is the places of death of John Larkin or Devery Freeman
Los Angeles
action filter_type
action union
action find
entity John Larkin
relation place of death
action find
entity Devery Freeman
relation place of death
type administrative territorial entity
{'OR': [['John Larkin', 'place of death', {'concept': 'administrative territorial entity'}], ['Devery Freeman', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Devery_Freeman property:place_of_death ?n } UNION { resource:John_Larkin property:place_of_death ?n } } . ?n rdf:type ontology:administrative_territorial_entity }
[]