Simple Question (Direct)
Simple Question
Q1515669
P162
Q502895
USER
Which people produced Alien Autopsy ?
(Q1515669,P162,c(Q502895))
action filter_type
action find
entity Q1515669
relation P162
type Q502895
['Q1515669', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1515669 property:P162 ?h . ?h rdf:type ontology:Q502895 }
Alien Autopsy
action filter_type
action find
entity Alien Autopsy
relation producer
type common name
['Alien Autopsy', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Alien_Autopsy property:producer ?h . ?h rdf:type ontology:common_name }
[]
common name
Q1171006 Q8007645
SYSTEM
Ray Santilli, William Davies
Q1171006 Q8007645
(Q1515669,P162,c(Q502895))
action filter_type
action find
entity Q1515669
relation P162
type Q502895
[ANSWERS] produced Alien Autopsy
['Q1515669', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q1515669 property:P162 ?h . ?h rdf:type ontology:Q502895 }
Ray Santilli William Davies
Ray Santilli and William Davies produced Alien Autopsy
Ray Santilli William Davies
action filter_type
action find
entity Alien Autopsy
relation producer
type common name
['Alien Autopsy', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Alien_Autopsy property:producer ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1171006 Q8007645
P21
Q290
USER
What are the sex of those people ?
(Q1171006,P21,c(Q290)) (Q8007645,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q1171006', 'P21', {'concept': 'Q290'}] ['Q8007645', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . ?s property:P21 ?v . VALUES ( ?s ) { ( resource:Q1171006 ) ( resource:Q8007645 ) } }
Ray Santilli William Davies
action filter_type
action find
entity prev_answer
relation gender
type sex
['Ray Santilli', 'gender', {'concept': 'sex'}] ['William Davies', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . ?s property:gender ?v . VALUES ( ?s ) { ( resource:Ray_Santilli ) ( resource:William_Davies ) } }
[]
sex
Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097
(Q1171006,P21,c(Q290)) (Q8007645,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
The sex of those people are both [ANSWER] and [ANSWER]
['Q1171006', 'P21', {'concept': 'Q290'}] ['Q8007645', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . ?s property:P21 ?v . VALUES ( ?s ) { ( resource:Q1171006 ) ( resource:Q8007645 ) } }
male male
The sex of those people are both male and male
male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Ray Santilli', 'gender', {'concept': 'sex'}] ['William Davies', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . ?s property:gender ?v . VALUES ( ?s ) { ( resource:Ray_Santilli ) ( resource:William_Davies ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8007645
P58
Q838948
USER
Which works of art are William Davies a screwriter of ?
(c(Q838948),P58,Q8007645)
action filter_type
action find_reverse
entity Q8007645
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q8007645']
SELECT DISTINCT ?a WHERE { ?a property:P58 resource:Q8007645 . ?a rdf:type ontology:Q838948 }
William Davies
action filter_type
action find_reverse
entity William Davies
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'William Davies']
SELECT DISTINCT ?a WHERE { ?a property:screenwriter resource:William_Davies . ?a rdf:type ontology:work_of_art }
[]
work of art
Q785157 Q10298666 Q1729274
SYSTEM
Twins, How to Train Your Dragon 2, The Real McCoy
Q785157 Q1657613 Q1729274 Q10298666 Q1465295
(c(Q838948),P58,Q8007645)
action filter_type
action find_reverse
entity Q8007645
relation P58
type Q838948
Twins, How to train Your Dragon 2 and The Real McCoy are William Davies a screwriter of
[{'concept': 'Q838948'}, 'P58', 'Q8007645']
SELECT DISTINCT ?a WHERE { ?a property:P58 resource:Q8007645 . ?a rdf:type ontology:Q838948 }
Twins Ignition The Real McCoy How to Train Your Dragon 2 The Guilty
Twins, How to train Your Dragon 2 and The Real McCoy are William Davies a screwriter of
Twins How to Train Your Dragon 2 The Real McCoy
action filter_type
action find_reverse
entity William Davies
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'William Davies']
SELECT DISTINCT ?a WHERE { ?a property:screenwriter resource:William_Davies . ?a rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1729274
P495
Q15617994
USER
What is the origin of that work of art ?
(Q1729274,P495,c(Q15617994))
action filter_type
action find
entity Q1729274
relation P495
type Q15617994
['Q1729274', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1729274 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
The Real McCoy
action filter_type
action find
entity The Real McCoy
relation country of origin
type designation for an administrative territorial entity
['The Real McCoy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:The_Real_McCoy property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q785157
SYSTEM
Did you mean Twins ?
Q785157 Q10298666 Q1729274
(Q785157,P495,c(Q15617994)) (Q10298666,P495,c(Q15617994)) (Q1729274,P495,c(Q15617994))
[ANSWER]
['Q785157', 'P495', {'concept': 'Q15617994'}] ['Q10298666', 'P495', {'concept': 'Q15617994'}] ['Q1729274', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1729274 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
Twins How to Train Your Dragon 2 The Real McCoy
Did you mean Twins ?
Twins
['Twins', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['How to Train Your Dragon 2', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['The Real McCoy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:The_Real_McCoy property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant The Real McCoy. Could you tell me the answer for that?
(Q1729274,P495,c(Q15617994))
Q1729274
['Q1729274', 'P495', {'concept': 'Q15617994'}]
['The Real McCoy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q1729274,P495,c(Q15617994))
action filter_type
action find
entity Q1729274
relation P495
type Q15617994
The origin of that work of art is the [ANSWER]
['Q1729274', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1729274 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
The origin of that work of art is the United States of America
United States of America
action filter_type
action find
entity The Real McCoy
relation country of origin
type designation for an administrative territorial entity
['The Real McCoy', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:The_Real_McCoy property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10298666
P462
Q1075
USER
Which color is How to Train Your Dragon 2 associated with ?
(Q10298666,P462,c(Q1075))
action filter_type
action find
entity Q10298666
relation P462
type Q1075
['Q10298666', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?m WHERE { resource:Q10298666 property:P462 ?m . ?m rdf:type ontology:Q1075 }
How to Train Your Dragon 2
action filter_type
action find
entity How to Train Your Dragon 2
relation color
type color
['How to Train Your Dragon 2', 'color', {'concept': 'color'}]
SELECT DISTINCT ?m WHERE { resource:How_to_Train_Your_Dragon_2 property:color ?m . ?m rdf:type ontology:color }
[]
color
Q22006653
SYSTEM
color
Q22006653
(Q10298666,P462,c(Q1075))
action filter_type
action find
entity Q10298666
relation P462
type Q1075
[ANSWER] is How to Train Your Dragon 2 associated with
['Q10298666', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?m WHERE { resource:Q10298666 property:P462 ?m . ?m rdf:type ontology:Q1075 }
color
Color is How to Train Your Dragon 2 associated with
color
action filter_type
action find
entity How to Train Your Dragon 2
relation color
type color
['How to Train Your Dragon 2', 'color', {'concept': 'color'}]
SELECT DISTINCT ?m WHERE { resource:How_to_Train_Your_Dragon_2 property:color ?m . ?m rdf:type ontology:color }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P462
Q1075 Q15416
USER
How many colors are lesser number of television programs associated with than that color ?
(c(Q15416),P462,c(Q1075))
action count
action less
action find_reverse_tuple_counts
relation P462
type Q1075
type Q15416
action count
action filter_type
action find_reverse
entity Q22006653
relation P462
type Q15416
[{'concept': 'Q15416'}, 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:P462 ?h . ?h rdf:type ontology:Q1075 . ?l rdf:type ontology:Q15416 } GROUP BY ?h } . FILTER ( ?z < ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:P462 resource:Q22006653 . ?d rdf:type ontology:Q15416 } } }
action count
action less
action find_reverse_tuple_counts
relation color
type color
type television program
action count
action filter_type
action find_reverse
entity color
relation color
type television program
[{'concept': 'television program'}, 'color', {'concept': 'color'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:color ?h . ?h rdf:type ontology:color . ?l rdf:type ontology:television_program } GROUP BY ?h } . FILTER ( ?z < ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:color resource:color . ?d rdf:type ontology:television_program } } }
[]
color television program
SYSTEM
22
Q19361243 Q3133 Q3705434 Q604079 Q4727574 Q15964916 Q180778 Q1406070 Q2832043 Q2085487 Q2254548 Q3276756 Q3142 Q943 Q13451045 Q13358072 Q13357866 Q821002 Q900906 Q1088 Q1145422 Q23445
(c(Q15416),P462,c(Q1075))
action count
action less
action find_reverse_tuple_counts
relation P462
type Q1075
type Q15416
action count
action filter_type
action find_reverse
entity Q22006653
relation P462
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:P462 ?h . ?h rdf:type ontology:Q1075 . ?l rdf:type ontology:Q15416 } GROUP BY ?h } . FILTER ( ?z < ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:P462 resource:Q22006653 . ?d rdf:type ontology:Q15416 } } }
Antique pink green denim mauve Alizarin crimson Dutch national tinctures cyan chestnut alabaster buff black-and-white film magenta red yellow brownish gray RAL 2002 RAL 6018 Pan-Arab colors bay blue gray black
22
action count
action less
action find_reverse_tuple_counts
relation color
type color
type television program
action count
action filter_type
action find_reverse
entity color
relation color
type television program
[{'concept': 'television program'}, 'color', {'concept': 'color'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:color ?h . ?h rdf:type ontology:color . ?l rdf:type ontology:television_program } GROUP BY ?h } . FILTER ( ?z < ?k ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { ?d property:color resource:color . ?d rdf:type ontology:television_program } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1729274
P161
Q502895
USER
Who were casted in The Real McCoy ?
(Q1729274,P161,c(Q502895))
action filter_type
action find
entity Q1729274
relation P161
type Q502895
['Q1729274', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q1729274 property:P161 ?p }
The Real McCoy
action filter_type
action find
entity The Real McCoy
relation cast member
type common name
['The Real McCoy', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:The_Real_McCoy property:cast_member ?p }
[]
common name
Q131380 Q191084 Q330460
SYSTEM
Kim Basinger, Val Kilmer, Nick Searcy
Q436503 Q330460 Q2825721 Q3180213 Q77298 Q131380 Q3421296 Q191084 Q1750584
(Q1729274,P161,c(Q502895))
action filter_type
action find
entity Q1729274
relation P161
type Q502895
[ANSWERS] were casted in The Real McCoy
['Q1729274', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q1729274 property:P161 ?p }
Gailard Sartain Nick Searcy Afemo Omilami Joe Washington Terence Stamp Kim Basinger Raynor Scheine Val Kilmer Larry Black
Kim Basinger, Val Kilmer and Nick Searcy were casted in The Real McCoy
Kim Basinger Val Kilmer Nick Searcy
action filter_type
action find
entity The Real McCoy
relation cast member
type common name
['The Real McCoy', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:The_Real_McCoy property:cast_member ?p }
[]