Simple Question (Direct)
Simple Question
Q1338827
P451
Q502895
USER
Which person is the partner of Marcelo Zarvos ?
(Q1338827,P451,c(Q502895))
action filter_type
action find
entity Q1338827
relation P451
type Q502895
['Q1338827', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1338827 property:P451 ?l . ?l rdf:type ontology:Q502895 }
Marcelo Zarvos
action filter_type
action find
entity Marcelo Zarvos
relation partner
type common name
['Marcelo Zarvos', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Marcelo_Zarvos property:partner ?l . ?l rdf:type ontology:common_name }
[]
common name
Q114447
SYSTEM
Janel Moloney
Q114447
(Q1338827,P451,c(Q502895))
action filter_type
action find
entity Q1338827
relation P451
type Q502895
[ANSWER] is the partner of Marcelo Zarvos
['Q1338827', 'P451', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q1338827 property:P451 ?l . ?l rdf:type ontology:Q502895 }
Janel Moloney
Janel Moloney is the partner of Marcelo Zarvos
Janel Moloney
action filter_type
action find
entity Marcelo Zarvos
relation partner
type common name
['Marcelo Zarvos', 'partner', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Marcelo_Zarvos property:partner ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q114447
P103
Q34770
USER
Which language is the mother tongue of that person ?
(Q114447,P103,c(Q34770))
action filter_type
action find
entity Q114447
relation P103
type Q34770
['Q114447', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q114447 property:P103 ?g . ?g rdf:type ontology:Q34770 }
Janel Moloney
action filter_type
action find
entity Janel Moloney
relation native language
type language
['Janel Moloney', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Janel_Moloney property:native_language ?g . ?g rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q114447,P103,c(Q34770))
action filter_type
action find
entity Q114447
relation P103
type Q34770
[ANSWER] is the mother tongue of that person
['Q114447', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q114447 property:P103 ?g . ?g rdf:type ontology:Q34770 }
English
English is the mother tongue of that person
English
action filter_type
action find
entity Janel Moloney
relation native language
type language
['Janel Moloney', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Janel_Moloney property:native_language ?g . ?g rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q114447
P166
Q618779
USER
Which award was received by that person ?
(Q1860,P166,c(Q618779))
action filter_type
action find
entity Q114447
relation P166
type Q618779
['Q1860', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q114447 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Janel Moloney
action filter_type
action find
entity Janel Moloney
relation award received
type award
['English', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Janel_Moloney property:award_received ?x . ?x rdf:type ontology:award }
[]
award
Q2530270
SYSTEM
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
Q2530270
(Q1860,P166,c(Q618779))
action filter_type
action find
entity Q114447
relation P166
type Q618779
The [ANSWER] was received by that person
['Q1860', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?x WHERE { resource:Q114447 property:P166 ?x . ?x rdf:type ontology:Q618779 }
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
The Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series was received by that person
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
action filter_type
action find
entity Janel Moloney
relation award received
type award
['English', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?x WHERE { resource:Janel_Moloney property:award_received ?x . ?x rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q8017273 Q114447
P166
Q618779
USER
Or William R. Richardson?
OR((Q114447,P166,c(Q618779)), (Q8017273,P166,c(Q618779)))
action filter_type
action union
action find
entity Q114447
relation P166
action find
entity Q8017273
relation P166
type Q618779
{'OR': [['Q114447', 'P166', {'concept': 'Q618779'}], ['Q8017273', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?m ) { ( resource:Q8017273 ) ( resource:Q114447 ) } . ?m property:P166 ?p } . ?p rdf:type ontology:Q618779 }
William R. Richardson Janel Moloney
action filter_type
action union
action find
entity Janel Moloney
relation award received
action find
entity William R. Richardson
relation award received
type award
{'OR': [['Janel Moloney', 'award received', {'concept': 'award'}], ['William R. Richardson', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?m ) { ( resource:William_R._Richardson ) ( resource:Janel_Moloney ) } . ?m property:award_received ?p } . ?p rdf:type ontology:award }
[]
award
Q2530270 Q1754110 Q145752 Q852071 Q724443 Q928314
SYSTEM
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series, Distinguished Flying Cross, Purple Heart, Silver Star, Legion of Merit, Bronze Star Medal
Q2530270 Q1754110 Q145752 Q852071 Q724443 Q928314
OR((Q114447,P166,c(Q618779)), (Q8017273,P166,c(Q618779)))
action filter_type
action union
action find
entity Q114447
relation P166
action find
entity Q8017273
relation P166
type Q618779
[ANSWERS]
{'OR': [['Q114447', 'P166', {'concept': 'Q618779'}], ['Q8017273', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?m ) { ( resource:Q8017273 ) ( resource:Q114447 ) } . ?m property:P166 ?p } . ?p rdf:type ontology:Q618779 }
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Distinguished Flying Cross Purple Heart Silver Star Legion of Merit Bronze Star Medal
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Distinguished Flying Cross Purple Heart Silver Star Legion of Merit Bronze Star Medal
action filter_type
action union
action find
entity Janel Moloney
relation award received
action find
entity William R. Richardson
relation award received
type award
{'OR': [['Janel Moloney', 'award received', {'concept': 'award'}], ['William R. Richardson', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?m ) { ( resource:William_R._Richardson ) ( resource:Janel_Moloney ) } . ?m property:award_received ?p } . ?p rdf:type ontology:award }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2530270
P1411
Q502895
USER
Which people were a nomination for that award ?
(c(Q502895),P1411,Q2530270)
action filter_type
action find_reverse
entity Q2530270
relation P1411
type Q502895
[{'concept': 'Q502895'}, 'P1411', 'Q2530270']
SELECT DISTINCT ?f WHERE { ?f property:P1411 resource:Q2530270 . ?f rdf:type ontology:Q502895 }
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
relation nominated for
type common name
[{'concept': 'common name'}, 'nominated for', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series']
SELECT DISTINCT ?f WHERE { ?f property:nominated_for resource:Screen_Actors_Guild_Award_for_Outstanding_Performance_by_an_Ensemble_in_a_Drama_Series . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q724443
SYSTEM
Did you mean Legion of Merit ?
Q2530270 Q1754110 Q145752 Q852071 Q724443 Q928314
(c(Q502895),P1411,Q2530270) (c(Q502895),P1411,Q1754110) (c(Q502895),P1411,Q145752) (c(Q502895),P1411,Q852071) (c(Q502895),P1411,Q724443) (c(Q502895),P1411,Q928314)
[ANSWER]
[{'concept': 'Q502895'}, 'P1411', 'Q2530270'] [{'concept': 'Q502895'}, 'P1411', 'Q1754110'] [{'concept': 'Q502895'}, 'P1411', 'Q145752'] [{'concept': 'Q502895'}, 'P1411', 'Q852071'] [{'concept': 'Q502895'}, 'P1411', 'Q724443'] [{'concept': 'Q502895'}, 'P1411', 'Q928314']
SELECT DISTINCT ?f WHERE { ?f property:P1411 resource:Q2530270 . ?f rdf:type ontology:Q502895 }
Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Distinguished Flying Cross Purple Heart Silver Star Legion of Merit Bronze Star Medal
Did you mean Legion of Merit ?
Legion of Merit
[{'concept': 'common name'}, 'nominated for', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series'] [{'concept': 'common name'}, 'nominated for', 'Distinguished Flying Cross'] [{'concept': 'common name'}, 'nominated for', 'Purple Heart'] [{'concept': 'common name'}, 'nominated for', 'Silver Star'] [{'concept': 'common name'}, 'nominated for', 'Legion of Merit'] [{'concept': 'common name'}, 'nominated for', 'Bronze Star Medal']
SELECT DISTINCT ?f WHERE { ?f property:nominated_for resource:Screen_Actors_Guild_Award_for_Outstanding_Performance_by_an_Ensemble_in_a_Drama_Series . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series. Could you tell me the answer for that?
(c(Q502895),P1411,Q2530270)
Q2530270
[{'concept': 'Q502895'}, 'P1411', 'Q2530270']
[{'concept': 'common name'}, 'nominated for', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series']
[]
Q1117390 Q104061 Q103946
SYSTEM
Stockard Channing, Steve Buscemi, Kiefer Sutherland
Q1138674 Q106942 Q299700 Q1150569 Q1079204 Q445772 Q235132 Q103946 Q104061 Q3713649 Q228789 Q115134 Q183141 Q982866 Q302794 Q236300 Q2118568 Q4752066 Q1086977 Q231091 Q313043 Q447225 Q117995 Q299309 Q188500 Q1148937 Q3027407 Q1117390 Q442013 Q191104 Q232419 Q296774 Q1126128 Q352180 Q310637
(c(Q502895),P1411,Q2530270)
action filter_type
action find_reverse
entity Q2530270
relation P1411
type Q502895
[ANSWERS] were a nomination for that award
[{'concept': 'Q502895'}, 'P1411', 'Q2530270']
SELECT DISTINCT ?f WHERE { ?f property:P1411 resource:Q2530270 . ?f rdf:type ontology:Q502895 }
Jesse Plemons Candice Bergen Daniel Dae Kim Rich Sommer Christian Clemenson Nikolaj Coster-Waldau Emilia Clarke Kiefer Sutherland Steve Buscemi Donald Sumpter Lena Headey Aida Turturro Peter Berg Louis Lombardi Aaron Staton Teri Polo RJ Mitte Anatol Yusef Christopher Stanley Morena Baccarin Richard Jenkins Leigh Taylor-Young Phyllis Logan Peter MacNicol Elisha Cuthbert Iwan Rheon Diego Klattenhoff Stockard Channing Constance Zimmer Sean Bean Saffron Burrows Mark Harmon Conleth Hill Bradley Whitford Alexander Skarsgård
Stockard Channing, Steve Buscemi and Kiefer Sutherland were a nomination for that award
Stockard Channing Steve Buscemi Kiefer Sutherland
action filter_type
action find_reverse
entity Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series
relation nominated for
type common name
[{'concept': 'common name'}, 'nominated for', 'Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series']
SELECT DISTINCT ?f WHERE { ?f property:nominated_for resource:Screen_Actors_Guild_Award_for_Outstanding_Performance_by_an_Ensemble_in_a_Drama_Series . ?f rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q21161949
P282
Q2001982 Q8192 Q34770
USER
How many languages have writing system as around the same number of notations or writing systems as Serbian written in Latin script ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q21161949
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?f WHERE { { ?f property:P282 ?v . ?f rdf:type ontology:Q34770 . ?v rdf:type ontology:Q8192 } UNION { ?f property:P282 ?v . ?f rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } . resource:Q21161949 property:P282 ?q } } . FILTER ( ?d = ?i ) }
Serbian written in Latin script
action count
action approx
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
action count
action filter_multi_types
action find
entity Serbian written in Latin script
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?f WHERE { { ?f property:writing_system ?v . ?f rdf:type ontology:language . ?v rdf:type ontology:writing_system } UNION { ?f property:writing_system ?v . ?f rdf:type ontology:language . ?v rdf:type ontology:notation } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:notation ) ( ontology:writing_system ) } } . resource:Serbian_written_in_Latin_script property:writing_system ?q } } . FILTER ( ?d = ?i ) }
[]
notation writing system language
SYSTEM
49
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q21161949
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?f WHERE { { ?f property:P282 ?v . ?f rdf:type ontology:Q34770 . ?v rdf:type ontology:Q8192 } UNION { ?f property:P282 ?v . ?f rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } } . resource:Q21161949 property:P282 ?q } } . FILTER ( ?d = ?i ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
49
action count
action approx
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
action count
action filter_multi_types
action find
entity Serbian written in Latin script
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?f WHERE { { ?f property:writing_system ?v . ?f rdf:type ontology:language . ?v rdf:type ontology:writing_system } UNION { ?f property:writing_system ?v . ?f rdf:type ontology:language . ?v rdf:type ontology:notation } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { { ?q rdf:type ?s . VALUES ( ?s ) { ( ontology:notation ) ( ontology:writing_system ) } } . resource:Serbian_written_in_Latin_script property:writing_system ?q } } . FILTER ( ?d = ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q18130932
P282
Q2001982 Q8192 Q34770
USER
And how about Traditional Chinese?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q18130932
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?m ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?t rdf:type ?m } GROUP BY ?s } . FILTER ( ?f = ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q18130932 property:P282 ?p . { { ?p rdf:type ontology:Q8192 } UNION { ?p rdf:type ontology:Q2001982 } } } } }
Traditional Chinese
action count
action approx
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
action count
action filter_multi_types
action find
entity Traditional Chinese
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?m ) { ( ontology:notation ) ( ontology:writing_system ) } . ?t rdf:type ?m } GROUP BY ?s } . FILTER ( ?f = ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Traditional_Chinese property:writing_system ?p . { { ?p rdf:type ontology:writing_system } UNION { ?p rdf:type ontology:notation } } } } }
[]
notation writing system language
SYSTEM
49
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q18130932
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?m ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?t rdf:type ?m } GROUP BY ?s } . FILTER ( ?f = ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q18130932 property:P282 ?p . { { ?p rdf:type ontology:Q8192 } UNION { ?p rdf:type ontology:Q2001982 } } } } }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
49
action count
action approx
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
action count
action filter_multi_types
action find
entity Traditional Chinese
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?f ) WHERE { VALUES ( ?m ) { ( ontology:notation ) ( ontology:writing_system ) } . ?t rdf:type ?m } GROUP BY ?s } . FILTER ( ?f = ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Traditional_Chinese property:writing_system ?p . { { ?p rdf:type ontology:writing_system } UNION { ?p rdf:type ontology:notation } } } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10553723 Q114447
P27
Q15617994
USER
Which administrative territories do Janel Moloney or Frank Quinn belong to ?
OR((Q114447,P27,c(Q15617994)), (Q10553723,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q114447
relation P27
action find
entity Q10553723
relation P27
type Q15617994
{'OR': [['Q114447', 'P27', {'concept': 'Q15617994'}], ['Q10553723', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q114447 property:P27 ?g } UNION { resource:Q10553723 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
Frank Quinn Janel Moloney
action filter_type
action union
action find
entity Janel Moloney
relation country of citizenship
action find
entity Frank Quinn
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Janel Moloney', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Frank Quinn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Janel_Moloney property:country_of_citizenship ?g } UNION { resource:Frank_Quinn property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q114447,P27,c(Q15617994)), (Q10553723,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q114447
relation P27
action find
entity Q10553723
relation P27
type Q15617994
Janel Moloney or Frank Quinn belong to the [ANSWERS]
{'OR': [['Q114447', 'P27', {'concept': 'Q15617994'}], ['Q10553723', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q114447 property:P27 ?g } UNION { resource:Q10553723 property:P27 ?g } } . ?g rdf:type ontology:Q15617994 }
United States of America United Kingdom
Janel Moloney or Frank Quinn belong to the United States of America and United Kingdom
United States of America United Kingdom
action filter_type
action union
action find
entity Janel Moloney
relation country of citizenship
action find
entity Frank Quinn
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Janel Moloney', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Frank Quinn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Janel_Moloney property:country_of_citizenship ?g } UNION { resource:Frank_Quinn property:country_of_citizenship ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7410287
P27
Q502895
USER
Are Samrat Chakrabarti civilians of those administrative territories ?
(Q7410287,P27,Q30) (Q7410287,P27,Q145)
action is_in
entity prev_answer
action find
entity Q7410287
relation P27
['Q7410287', 'P27', 'Q30'] ['Q7410287', 'P27', 'Q145']
ASK WHERE { resource:Q7410287 property:P27 ?n . VALUES ( ?n ) { ( resource:Q30 ) ( resource:Q145 ) } }
Samrat Chakrabarti
action is_in
entity prev_answer
action find
entity Samrat Chakrabarti
relation country of citizenship
['Samrat Chakrabarti', 'country of citizenship', 'United States of America'] ['Samrat Chakrabarti', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Samrat_Chakrabarti property:country_of_citizenship ?n . VALUES ( ?n ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } }
[]
common name
SYSTEM
YES
(Q7410287,P27,Q30) (Q7410287,P27,Q145)
action is_in
entity prev_answer
action find
entity Q7410287
relation P27
[ANSWER]
['Q7410287', 'P27', 'Q30'] ['Q7410287', 'P27', 'Q145']
ASK WHERE { resource:Q7410287 property:P27 ?n . VALUES ( ?n ) { ( resource:Q30 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity Samrat Chakrabarti
relation country of citizenship
['Samrat Chakrabarti', 'country of citizenship', 'United States of America'] ['Samrat Chakrabarti', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Samrat_Chakrabarti property:country_of_citizenship ?n . VALUES ( ?n ) { ( resource:United_States_of_America ) ( resource:United_Kingdom ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q103946
P1411
Q1407225 Q15275719
USER
How many television awards or recurring events were Kiefer Sutherland nominated for ?
(Q103946,P1411,c(Q1407225)) (Q103946,P1411,c(Q15275719))
action count
action union
action filter_type
action find
entity Q103946
relation P1411
type Q1407225
action filter_type
action find
entity Q103946
relation P1411
type Q15275719
['Q103946', 'P1411', {'concept': 'Q1407225'}] ['Q103946', 'P1411', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { VALUES ( ?r ) { ( ontology:Q1407225 ) ( ontology:Q15275719 ) } . ?y rdf:type ?r }
Kiefer Sutherland
action count
action union
action filter_type
action find
entity Kiefer Sutherland
relation nominated for
type television award
action filter_type
action find
entity Kiefer Sutherland
relation nominated for
type recurring event
['Kiefer Sutherland', 'nominated for', {'concept': 'television award'}] ['Kiefer Sutherland', 'nominated for', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { VALUES ( ?r ) { ( ontology:television_award ) ( ontology:recurring_event ) } . ?y rdf:type ?r }
[]
television award recurring event
SYSTEM
3
Q18154845 Q18154849 Q13476486
(Q103946,P1411,c(Q1407225)) (Q103946,P1411,c(Q15275719))
action count
action union
action filter_type
action find
entity Q103946
relation P1411
type Q1407225
action filter_type
action find
entity Q103946
relation P1411
type Q15275719
[ANSWER]
['Q103946', 'P1411', {'concept': 'Q1407225'}] ['Q103946', 'P1411', {'concept': 'Q15275719'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { VALUES ( ?r ) { ( ontology:Q1407225 ) ( ontology:Q15275719 ) } . ?y rdf:type ?r }
Teen Choice Award for Choice TV Actor Action Teen Choice Award for Choice TV Actor Drama TCA Award for Individual Achievement in Drama
3
action count
action union
action filter_type
action find
entity Kiefer Sutherland
relation nominated for
type television award
action filter_type
action find
entity Kiefer Sutherland
relation nominated for
type recurring event
['Kiefer Sutherland', 'nominated for', {'concept': 'television award'}] ['Kiefer Sutherland', 'nominated for', {'concept': 'recurring event'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { VALUES ( ?r ) { ( ontology:television_award ) ( ontology:recurring_event ) } . ?y rdf:type ?r }
[]