Simple Question (Direct)
Simple Question
Q4973366
P162
Q502895
USER
Who produced Broken English ?
(Q4973366,P162,c(Q502895))
action filter_type
action find
entity Q4973366
relation P162
type Q502895
['Q4973366', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q4973366 property:P162 ?n . ?n rdf:type ontology:Q502895 }
Broken English
action filter_type
action find
entity Broken English
relation producer
type common name
['Broken English', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Broken_English property:producer ?n . ?n rdf:type ontology:common_name }
[]
common name
Q2899218
SYSTEM
Bert Schneider
Q2899218
(Q4973366,P162,c(Q502895))
action filter_type
action find
entity Q4973366
relation P162
type Q502895
[ANSWER] produced Broken English
['Q4973366', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q4973366 property:P162 ?n . ?n rdf:type ontology:Q502895 }
Bert Schneider
Bert Schneider produced Broken English
Bert Schneider
action filter_type
action find
entity Broken English
relation producer
type common name
['Broken English', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Broken_English property:producer ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4973366
P57
Q502895
USER
Who was the director of Broken English ?
(Q4973366,P57,c(Q502895))
action filter_type
action find
entity Q4973366
relation P57
type Q502895
['Q4973366', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q4973366 property:P57 ?f . ?f rdf:type ontology:Q502895 }
Broken English
action filter_type
action find
entity Broken English
relation director
type common name
['Broken English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Broken_English property:director ?f . ?f rdf:type ontology:common_name }
[]
common name
Q6837375
SYSTEM
Michie Gleason
Q6837375
(Q4973366,P57,c(Q502895))
action filter_type
action find
entity Q4973366
relation P57
type Q502895
The director of Broken English was John [ANSWER]
['Q4973366', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q4973366 property:P57 ?f . ?f rdf:type ontology:Q502895 }
Michie Gleason
The director of Broken English was John Michie Gleason
Michie Gleason
action filter_type
action find
entity Broken English
relation director
type common name
['Broken English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Broken_English property:director ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6837375 Q30
P27
Q15617994
USER
Does Michie Gleason belong to United States of America ?
(Q6837375,P27,Q30)
action is_in
entity Q30
action find
entity Q6837375
relation P27
['Q6837375', 'P27', 'Q30']
ASK WHERE { resource:Q6837375 property:P27 resource:Q30 }
Michie Gleason United States of America
action is_in
entity United States of America
action find
entity Michie Gleason
relation country of citizenship
['Michie Gleason', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Michie_Gleason property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6837375,P27,Q30)
action is_in
entity Q30
action find
entity Q6837375
relation P27
[ANSWER]
['Q6837375', 'P27', 'Q30']
ASK WHERE { resource:Q6837375 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Michie Gleason
relation country of citizenship
['Michie Gleason', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Michie_Gleason property:country_of_citizenship resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4546161 Q6837375
P27 P495
Q15617994
USER
Which administrative territories do Michie Gleason belong to or are the origins of 100 Minutes of Glory ?
OR((Q6837375,P27,c(Q15617994)), (Q4546161,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q6837375
relation P27
action find
entity Q4546161
relation P495
type Q15617994
{'OR': [['Q6837375', 'P27', {'concept': 'Q15617994'}], ['Q4546161', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { { resource:Q6837375 property:P27 ?r } UNION { resource:Q4546161 property:P495 ?r } } }
100 Minutes of Glory Michie Gleason
action filter_type
action union
action find
entity Michie Gleason
relation country of citizenship
action find
entity 100 Minutes of Glory
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Michie Gleason', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['100 Minutes of Glory', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Michie_Gleason property:country_of_citizenship ?r } UNION { resource:100_Minutes_of_Glory property:country_of_origin ?r } } }
[]
designation for an administrative territorial entity
Q224 Q30
SYSTEM
Croatia, United States of America
Q224 Q30
OR((Q6837375,P27,c(Q15617994)), (Q4546161,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q6837375
relation P27
action find
entity Q4546161
relation P495
type Q15617994
Michie Gleason belong to or are the origins of 100 Minutes of Glory in [ANSWERS]
{'OR': [['Q6837375', 'P27', {'concept': 'Q15617994'}], ['Q4546161', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q15617994 . { { resource:Q6837375 property:P27 ?r } UNION { resource:Q4546161 property:P495 ?r } } }
Croatia United States of America
Michie Gleason belong to or are the origins of 100 Minutes of Glory in Croatia and United States of America
Croatia United States of America
action filter_type
action union
action find
entity Michie Gleason
relation country of citizenship
action find
entity 100 Minutes of Glory
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Michie Gleason', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['100 Minutes of Glory', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Michie_Gleason property:country_of_citizenship ?r } UNION { resource:100_Minutes_of_Glory property:country_of_origin ?r } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have ambassadorial relations with those administrative territories ?
(Q408,P530,Q224) (Q408,P530,Q30)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q224'] ['Q408', 'P530', 'Q30']
ASK WHERE { resource:Q408 property:P530 ?s . VALUES ( ?s ) { ( resource:Q224 ) ( resource:Q30 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Croatia'] ['Australia', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Australia property:diplomatic_relation ?s . VALUES ( ?s ) { ( resource:Croatia ) ( resource:United_States_of_America ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q224) (Q408,P530,Q30)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q224'] ['Q408', 'P530', 'Q30']
ASK WHERE { resource:Q408 property:P530 ?s . VALUES ( ?s ) { ( resource:Q224 ) ( resource:Q30 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Croatia'] ['Australia', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Australia property:diplomatic_relation ?s . VALUES ( ?s ) { ( resource:Croatia ) ( resource:United_States_of_America ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2899218
P19
Q56061
USER
Where was Bert Schneider born ?
(Q2899218,P19,c(Q56061))
action filter_type
action find
entity Q2899218
relation P19
type Q56061
['Q2899218', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q2899218 property:P19 ?c }
Bert Schneider
action filter_type
action find
entity Bert Schneider
relation place of birth
type administrative territorial entity
['Bert Schneider', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Bert_Schneider property:place_of_birth ?c }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q2899218,P19,c(Q56061))
action filter_type
action find
entity Q2899218
relation P19
type Q56061
Bert Schneider was born in [ANSWER]
['Q2899218', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q2899218 property:P19 ?c }
New York City
Bert Schneider was born in New York City
New York City
action filter_type
action find
entity Bert Schneider
relation place of birth
type administrative territorial entity
['Bert Schneider', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Bert_Schneider property:place_of_birth ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2899218
P1431
Q838948
USER
Which works of art had that person as an executive producer of ?
(c(Q838948),P1431,Q60)
action filter_type
action find_reverse
entity Q2899218
relation P1431
type Q838948
[{'concept': 'Q838948'}, 'P1431', 'Q60']
SELECT DISTINCT ?q WHERE { ?q property:P1431 resource:Q2899218 . ?q rdf:type ontology:Q838948 }
Bert Schneider
action filter_type
action find_reverse
entity Bert Schneider
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'New York City']
SELECT DISTINCT ?q WHERE { ?q property:executive_producer resource:Bert_Schneider . ?q rdf:type ontology:work_of_art }
[]
work of art
Q1218959 Q1116991
SYSTEM
The Last Picture Show, Five Easy Pieces
Q1218959 Q1116991
(c(Q838948),P1431,Q60)
action filter_type
action find_reverse
entity Q2899218
relation P1431
type Q838948
[ANSWERS] had that person as an executive producer of
[{'concept': 'Q838948'}, 'P1431', 'Q60']
SELECT DISTINCT ?q WHERE { ?q property:P1431 resource:Q2899218 . ?q rdf:type ontology:Q838948 }
The Last Picture Show Five Easy Pieces
The Last Picture Show and Five Easy Pieces had that person as an executive producer of
The Last Picture Show Five Easy Pieces
action filter_type
action find_reverse
entity Bert Schneider
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'New York City']
SELECT DISTINCT ?q WHERE { ?q property:executive_producer resource:Bert_Schneider . ?q rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q224 Q846
P530
Q15617994
USER
How many administrative territories have diplomatic relations with Croatia or Qatar ?
(Q224,P530,c(Q15617994)) (Q846,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q224
relation P530
type Q15617994
action filter_type
action find
entity Q846
relation P530
type Q15617994
['Q224', 'P530', {'concept': 'Q15617994'}] ['Q846', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { ?s rdf:type ontology:Q15617994 . resource:Q846 property:P530 ?s } UNION { resource:Q224 property:P530 ?s . ?s rdf:type ontology:Q15617994 } }
Croatia Qatar
action count
action union
action filter_type
action find
entity Croatia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
['Croatia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Qatar', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Qatar property:diplomatic_relation ?s } UNION { resource:Croatia property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q805 Q38
(Q224,P530,c(Q15617994)) (Q846,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q224
relation P530
type Q15617994
action filter_type
action find
entity Q846
relation P530
type Q15617994
[ANSWER]
['Q224', 'P530', {'concept': 'Q15617994'}] ['Q846', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { ?s rdf:type ontology:Q15617994 . resource:Q846 property:P530 ?s } UNION { resource:Q224 property:P530 ?s . ?s rdf:type ontology:Q15617994 } }
Yemen Italy
2
action count
action union
action filter_type
action find
entity Croatia
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Qatar
relation diplomatic relation
type designation for an administrative territorial entity
['Croatia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Qatar', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Qatar property:diplomatic_relation ?s } UNION { resource:Croatia property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q355304 Q2472587 Q15617994
USER
Which administrative territories are the eponym of exactly 2 watercourses or peoples ?
(c(Q15617994),P138,c(Q355304)|c(Q2472587))
action equal
action union
action find_tuple_counts
relation P138
type Q15617994
type Q355304
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
value 2
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q355304'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?x WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:Q355304 ) ( ontology:Q2472587 ) } } GROUP BY ?x } . FILTER ( ?g = 2 ) }
action equal
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'watercourse'}, {'concept': 'people'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?x WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:watercourse ) ( ontology:people ) } } GROUP BY ?x } . FILTER ( ?g = 2 ) }
[]
watercourse people designation for an administrative territorial entity
Q12753 Q12584 Q3377
SYSTEM
Seine-et-Marne, Maine-et-Loire, Eure-et-Loir
Q12779 Q12556 Q12753 Q3377 Q979470 Q541095 Q1338277 Q282355 Q12584 Q12578 Q12736 Q12765 Q3509886 Q12549 Q12626 Q2236821 Q12564
(c(Q15617994),P138,c(Q355304)|c(Q2472587))
action equal
action union
action find_tuple_counts
relation P138
type Q15617994
type Q355304
action find_tuple_counts
relation P138
type Q15617994
type Q2472587
value 2
[ANSWERS] are the eponym of exactly 2 watercourses or peoples
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q355304'}, {'concept': 'Q2472587'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?x WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:Q355304 ) ( ontology:Q2472587 ) } } GROUP BY ?x } . FILTER ( ?g = 2 ) }
Tarn-et-Garonne Indre-et-Loire Seine-et-Marne Eure-et-Loir Seine-et-Oise Rhin-et-Moselle Sambre-et-Meuse Nesse-Apfelstädt Maine-et-Loire Lot-et-Garonne Saône-et-Loire Deux-Sèvres Sègre-Ter Ille-et-Vilaine Meurthe-et-Moselle Rhône-et-Loire Loir-et-Cher
Seine-et-Marne, Maine-et-Loire and Eure-et-Loir are the eponym of exactly 2 watercourses or peoples
Seine-et-Marne Maine-et-Loire Eure-et-Loir
action equal
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type people
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'watercourse'}, {'concept': 'people'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) ?x WHERE { ?j rdf:type ?i . VALUES ( ?i ) { ( ontology:watercourse ) ( ontology:people ) } } GROUP BY ?x } . FILTER ( ?g = 2 ) }
[]