Simple Question (Direct)
Simple Question
Q295445
P27
Q15617994
USER
Which administrative territory does Frank Darabont belong to ?
(Q295445,P27,c(Q15617994))
action filter_type
action find
entity Q295445
relation P27
type Q15617994
['Q295445', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q295445 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Frank Darabont
action filter_type
action find
entity Frank Darabont
relation country of citizenship
type designation for an administrative territorial entity
['Frank Darabont', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Frank_Darabont property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q295445,P27,c(Q15617994))
action filter_type
action find
entity Q295445
relation P27
type Q15617994
[ANSWER]
['Q295445', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q295445 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Frank Darabont
relation country of citizenship
type designation for an administrative territorial entity
['Frank Darabont', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Frank_Darabont property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q295445
P1412
Q34770
USER
Which language can Frank Darabont understand ?
(Q295445,P1412,c(Q34770))
action filter_type
action find
entity Q295445
relation P1412
type Q34770
['Q295445', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34770 . resource:Q295445 property:P1412 ?e }
Frank Darabont
action filter_type
action find
entity Frank Darabont
relation languages spoken, written or signed
type language
['Frank Darabont', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:language . resource:Frank_Darabont property:languages_spoken,_written_or_signed ?e }
[]
language
Q1860
SYSTEM
English
Q1860
(Q295445,P1412,c(Q34770))
action filter_type
action find
entity Q295445
relation P1412
type Q34770
[ANSWER]
['Q295445', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34770 . resource:Q295445 property:P1412 ?e }
English
English
action filter_type
action find
entity Frank Darabont
relation languages spoken, written or signed
type language
['Frank Darabont', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:language . resource:Frank_Darabont property:languages_spoken,_written_or_signed ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q295445
P57
Q15416
USER
Which television program has Frank Darabont as its director ?
(c(Q15416),P57,Q295445)
action filter_type
action find_reverse
entity Q295445
relation P57
type Q15416
[{'concept': 'Q15416'}, 'P57', 'Q295445']
SELECT DISTINCT ?m WHERE { ?m property:P57 resource:Q295445 . ?m rdf:type ontology:Q15416 }
Frank Darabont
action filter_type
action find_reverse
entity Frank Darabont
relation director
type television program
[{'concept': 'television program'}, 'director', 'Frank Darabont']
SELECT DISTINCT ?m WHERE { ?m property:director resource:Frank_Darabont . ?m rdf:type ontology:television_program }
[]
television program
Q3285498
SYSTEM
Buried Alive
Q3285498
(c(Q15416),P57,Q295445)
action filter_type
action find_reverse
entity Q295445
relation P57
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P57', 'Q295445']
SELECT DISTINCT ?m WHERE { ?m property:P57 resource:Q295445 . ?m rdf:type ontology:Q15416 }
Buried Alive
Buried Alive
action filter_type
action find_reverse
entity Frank Darabont
relation director
type television program
[{'concept': 'television program'}, 'director', 'Frank Darabont']
SELECT DISTINCT ?m WHERE { ?m property:director resource:Frank_Darabont . ?m rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q295445
P1431
Q838948
USER
Which work of art is produced by Frank Darabont ?
(c(Q838948),P1431,Q295445)
action filter_type
action find_reverse
entity Q295445
relation P1431
type Q838948
[{'concept': 'Q838948'}, 'P1431', 'Q295445']
SELECT DISTINCT ?y WHERE { ?y property:P1431 resource:Q295445 . ?y rdf:type ontology:Q838948 }
Frank Darabont
action filter_type
action find_reverse
entity Frank Darabont
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Frank Darabont']
SELECT DISTINCT ?y WHERE { ?y property:executive_producer resource:Frank_Darabont . ?y rdf:type ontology:work_of_art }
[]
work of art
Q110203
SYSTEM
Collateral
Q110203
(c(Q838948),P1431,Q295445)
action filter_type
action find_reverse
entity Q295445
relation P1431
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P1431', 'Q295445']
SELECT DISTINCT ?y WHERE { ?y property:P1431 resource:Q295445 . ?y rdf:type ontology:Q838948 }
Collateral
Collateral
action filter_type
action find_reverse
entity Frank Darabont
relation executive producer
type work of art
[{'concept': 'work of art'}, 'executive producer', 'Frank Darabont']
SELECT DISTINCT ?y WHERE { ?y property:executive_producer resource:Frank_Darabont . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q110203
P162
Q502895
USER
Who produced that work of art ?
(Q110203,P162,c(Q502895))
action filter_type
action find
entity Q110203
relation P162
type Q502895
['Q110203', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q110203 property:P162 ?z . ?z rdf:type ontology:Q502895 }
Collateral
action filter_type
action find
entity Collateral
relation producer
type common name
['Collateral', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Collateral property:producer ?z . ?z rdf:type ontology:common_name }
[]
common name
Q270097
SYSTEM
Michael Mann
Q270097
(Q110203,P162,c(Q502895))
action filter_type
action find
entity Q110203
relation P162
type Q502895
[ANSWER]
['Q110203', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q110203 property:P162 ?z . ?z rdf:type ontology:Q502895 }
Michael Mann
Michael Mann
action filter_type
action find
entity Collateral
relation producer
type common name
['Collateral', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Collateral property:producer ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atleast 2470 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2470
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?k >= 2470 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2470
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?k >= 2470 ) }
[]
musical instrument common name
Q5994 Q8355
SYSTEM
piano, violin
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2470
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?k >= 2470 ) }
piano violin
piano violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2470
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?i ) AS ?k ) WHERE { ?i property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?k >= 2470 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q708884
P1303
Q502895
USER
Does Johnny "Guitar" Watson play those musical instruments ?
(Q708884,P1303,Q5994) (Q708884,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q708884
relation P1303
['Q708884', 'P1303', 'Q5994'] ['Q708884', 'P1303', 'Q8355']
ASK WHERE { VALUES ( ?r ) { ( resource:Q5994 ) ( resource:Q8355 ) } . resource:Q708884 property:P1303 ?r }
Johnny "Guitar" Watson
action is_in
entity prev_answer
action find
entity Johnny "Guitar" Watson
relation instrument
['Johnny "Guitar" Watson', 'instrument', 'piano'] ['Johnny "Guitar" Watson', 'instrument', 'violin']
ASK WHERE { VALUES ( ?r ) { ( resource:piano ) ( resource:violin ) } . resource:Johnny_"Guitar"_Watson property:instrument ?r }
[]
common name
SYSTEM
YES
(Q708884,P1303,Q5994) (Q708884,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q708884
relation P1303
[ANSWER]
['Q708884', 'P1303', 'Q5994'] ['Q708884', 'P1303', 'Q8355']
ASK WHERE { VALUES ( ?r ) { ( resource:Q5994 ) ( resource:Q8355 ) } . resource:Q708884 property:P1303 ?r }
Yes
action is_in
entity prev_answer
action find
entity Johnny "Guitar" Watson
relation instrument
['Johnny "Guitar" Watson', 'instrument', 'piano'] ['Johnny "Guitar" Watson', 'instrument', 'violin']
ASK WHERE { VALUES ( ?r ) { ( resource:piano ) ( resource:violin ) } . resource:Johnny_"Guitar"_Watson property:instrument ?r }
[]