Simple Question (Direct)
Simple Question
Q1195862
P50
Q502895
USER
Who penned Monday Begins on Saturday ?
(Q1195862,P50,c(Q502895))
action filter_type
action find
entity Q1195862
relation P50
type Q502895
['Q1195862', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1195862 property:P50 ?c . ?c rdf:type ontology:Q502895 }
Monday Begins on Saturday
action filter_type
action find
entity Monday Begins on Saturday
relation author
type common name
['Monday Begins on Saturday', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Monday_Begins_on_Saturday property:author ?c . ?c rdf:type ontology:common_name }
[]
common name
Q61699 Q59054
SYSTEM
Arkady Strugatsky, Boris Strugatsky
Q61699 Q59054
(Q1195862,P50,c(Q502895))
action filter_type
action find
entity Q1195862
relation P50
type Q502895
[ANSWERS] penned Monday Begins on Saturday
['Q1195862', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q1195862 property:P50 ?c . ?c rdf:type ontology:Q502895 }
Arkady Strugatsky Boris Strugatsky
Arkady Strugatsky and Boris Strugatsky penned Monday Begins on Saturday
Arkady Strugatsky Boris Strugatsky
action filter_type
action find
entity Monday Begins on Saturday
relation author
type common name
['Monday Begins on Saturday', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Monday_Begins_on_Saturday property:author ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q61699 Q59054
P27
Q15617994
USER
Which administrative territories are Arkady Strugatsky and Boris Strugatsky an inhabitant of ?
(Q61699,P27,c(Q15617994)) (Q59054,P27,c(Q15617994))
action union
action filter_type
action find
entity Q61699
relation P27
type Q15617994
action filter_type
action find
entity Q59054
relation P27
type Q15617994
['Q61699', 'P27', {'concept': 'Q15617994'}] ['Q59054', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { resource:Q61699 property:P27 ?t . ?t rdf:type ontology:Q15617994 } UNION { resource:Q59054 property:P27 ?t . ?t rdf:type ontology:Q15617994 } }
Arkady Strugatsky Boris Strugatsky
action union
action filter_type
action find
entity Arkady Strugatsky
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Boris Strugatsky
relation country of citizenship
type designation for an administrative territorial entity
['Arkady Strugatsky', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Boris Strugatsky', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { resource:Arkady_Strugatsky property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Boris_Strugatsky property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q159 Q159
SYSTEM
Russia
Q159 Q159
(Q61699,P27,c(Q15617994)) (Q59054,P27,c(Q15617994))
action union
action filter_type
action find
entity Q61699
relation P27
type Q15617994
action filter_type
action find
entity Q59054
relation P27
type Q15617994
In [ANSWER] and [ANSWER] are Arkady Strugatsky and Boris Strugatsky an inhabitant of
['Q61699', 'P27', {'concept': 'Q15617994'}] ['Q59054', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { resource:Q61699 property:P27 ?t . ?t rdf:type ontology:Q15617994 } UNION { resource:Q59054 property:P27 ?t . ?t rdf:type ontology:Q15617994 } }
Russia Russia
In Russia and Russia are Arkady Strugatsky and Boris Strugatsky an inhabitant of
Russia Russia
action union
action filter_type
action find
entity Arkady Strugatsky
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Boris Strugatsky
relation country of citizenship
type designation for an administrative territorial entity
['Arkady Strugatsky', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Boris Strugatsky', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { resource:Arkady_Strugatsky property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Boris_Strugatsky property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P291
Q1002697
USER
Which periodical literature has Russia as its publication place ?
(c(Q1002697),P291,Q159)
action filter_type
action find_reverse
entity Q159
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', 'Q159']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q159 . ?i rdf:type ontology:Q1002697 }
Russia
action filter_type
action find_reverse
entity Russia
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Russia']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Russia . ?i rdf:type ontology:periodical_literature }
[]
periodical literature
Q2159919
SYSTEM
La Ondo de Esperanto
Q2159919
(c(Q1002697),P291,Q159)
action filter_type
action find_reverse
entity Q159
relation P291
type Q1002697
[ANSWER] has Russia as its publication place
[{'concept': 'Q1002697'}, 'P291', 'Q159']
SELECT DISTINCT ?i WHERE { ?i property:P291 resource:Q159 . ?i rdf:type ontology:Q1002697 }
La Ondo de Esperanto
La Ondo de Esperanto has Russia as its publication place
La Ondo de Esperanto
action filter_type
action find_reverse
entity Russia
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Russia']
SELECT DISTINCT ?i WHERE { ?i property:place_of_publication resource:Russia . ?i rdf:type ontology:periodical_literature }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q114
P840
Q15617994 Q838948 Q166142
USER
How many administrative territories are greater number of works of art and applications set in than Kenya ?
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q114
relation P840
type Q838948
type Q166142
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { FILTER ( ?f > ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P840 resource:Q114 . { { ?w rdf:type ontology:Q838948 } UNION { ?w rdf:type ontology:Q166142 } } } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?p WHERE { { ?e property:P840 ?p . ?p rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q838948 } UNION { ?e property:P840 ?p . ?e rdf:type ontology:Q166142 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?p } }
Kenya
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Kenya
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { FILTER ( ?f > ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:narrative_location resource:Kenya . { { ?w rdf:type ontology:work_of_art } UNION { ?w rdf:type ontology:application } } } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?p WHERE { { ?e property:narrative_location ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:work_of_art } UNION { ?e property:narrative_location ?p . ?e rdf:type ontology:application . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } }
[]
designation for an administrative territorial entity work of art application
SYSTEM
112
Q377277 Q805 Q804 Q801 Q278221 Q186115 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q189 Q47428 Q842 Q36678 Q710 Q717 Q837 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q822 Q241 Q232782 Q244 Q1974 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q424 Q851 Q12798 Q236 Q232 Q233 Q1093 Q20 Q1045 Q1041 Q27 Q913434 Q29 Q127043 Q184 Q1028 Q1458 Q91217 Q1452 Q227 Q225 Q2336399 Q96 Q17 Q1033 Q1030 Q191 Q962 Q963 Q298 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q912 Q2107 Q1007 Q833 Q14859 Q2742 Q836 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q28 Q12620 Q800 Q1952 Q869 Q6247
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q114
relation P840
type Q838948
type Q166142
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { FILTER ( ?f > ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P840 resource:Q114 . { { ?w rdf:type ontology:Q838948 } UNION { ?w rdf:type ontology:Q166142 } } } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?p WHERE { { ?e property:P840 ?p . ?p rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q838948 } UNION { ?e property:P840 ?p . ?e rdf:type ontology:Q166142 . ?p rdf:type ontology:Q15617994 } } GROUP BY ?p } }
Glückstadt Yemen Panama Israel Berchtesgaden Montmartre India Argentina France Netherlands United Kingdom Algeria People's Republic of China Iceland Valdobbiadene Oman West Bank Kiribati Venezuela Nepal Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Lebanon Cuba Portofino Barbados British Columbia Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Italy Colombia North Korea Cambodia Saudi Arabia Vendée Montenegro Kazakhstan Malta Limburg Norway Somalia Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Belarus Morocco Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Baluchistan Mexico Japan Nigeria Namibia Estonia Benin Botswana Chile Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Mali Wuppertal Guinea-Bissau Malaysia Ansbach Münster Myanmar Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Hungary Mayenne Costa Rica Nova Scotia Thailand Mantua
112
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Kenya
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { FILTER ( ?f > ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:narrative_location resource:Kenya . { { ?w rdf:type ontology:work_of_art } UNION { ?w rdf:type ontology:application } } } } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?p WHERE { { ?e property:narrative_location ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:work_of_art } UNION { ?e property:narrative_location ?p . ?e rdf:type ontology:application . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?p } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q874
P840
Q15617994 Q838948 Q166142
USER
And what about Turkmenistan?
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q874
relation P840
type Q838948
type Q166142
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { { ?f rdf:type ontology:Q838948 } UNION { ?f rdf:type ontology:Q166142 } } . ?f property:P840 resource:Q874 } } . FILTER ( ?j > ?z ) . { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?j ) WHERE { { ?x property:P840 ?h . ?x rdf:type ontology:Q838948 . ?h rdf:type ontology:Q15617994 } UNION { ?x property:P840 ?h . ?h rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q166142 } } GROUP BY ?h } }
Turkmenistan
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Turkmenistan
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { { ?f rdf:type ontology:work_of_art } UNION { ?f rdf:type ontology:application } } . ?f property:narrative_location resource:Turkmenistan } } . FILTER ( ?j > ?z ) . { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?j ) WHERE { { ?x property:narrative_location ?h . ?x rdf:type ontology:work_of_art . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x property:narrative_location ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:application } } GROUP BY ?h } }
[]
designation for an administrative territorial entity work of art application
SYSTEM
112
Q377277 Q805 Q804 Q801 Q278221 Q186115 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q189 Q47428 Q842 Q36678 Q710 Q717 Q837 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q822 Q241 Q232782 Q244 Q1974 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q424 Q851 Q12798 Q236 Q232 Q233 Q1093 Q20 Q1045 Q1041 Q27 Q913434 Q29 Q127043 Q184 Q1028 Q1458 Q91217 Q1452 Q227 Q225 Q2336399 Q96 Q17 Q1033 Q1030 Q191 Q962 Q963 Q298 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q912 Q2107 Q1007 Q833 Q14859 Q2742 Q836 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q28 Q12620 Q800 Q1952 Q869 Q6247
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q874
relation P840
type Q838948
type Q166142
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { { ?f rdf:type ontology:Q838948 } UNION { ?f rdf:type ontology:Q166142 } } . ?f property:P840 resource:Q874 } } . FILTER ( ?j > ?z ) . { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?j ) WHERE { { ?x property:P840 ?h . ?x rdf:type ontology:Q838948 . ?h rdf:type ontology:Q15617994 } UNION { ?x property:P840 ?h . ?h rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q166142 } } GROUP BY ?h } }
Glückstadt Yemen Panama Israel Berchtesgaden Montmartre India Argentina France Netherlands United Kingdom Algeria People's Republic of China Iceland Valdobbiadene Oman West Bank Kiribati Venezuela Nepal Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Lebanon Cuba Portofino Barbados British Columbia Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Italy Colombia North Korea Cambodia Saudi Arabia Vendée Montenegro Kazakhstan Malta Limburg Norway Somalia Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Belarus Morocco Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Baluchistan Mexico Japan Nigeria Namibia Estonia Benin Botswana Chile Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Mali Wuppertal Guinea-Bissau Malaysia Ansbach Münster Myanmar Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Hungary Mayenne Costa Rica Nova Scotia Thailand Mantua
112
action count
action greater
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Turkmenistan
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { { ?f rdf:type ontology:work_of_art } UNION { ?f rdf:type ontology:application } } . ?f property:narrative_location resource:Turkmenistan } } . FILTER ( ?j > ?z ) . { SELECT DISTINCT ?h ( COUNT ( ?x ) AS ?j ) WHERE { { ?x property:narrative_location ?h . ?x rdf:type ontology:work_of_art . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x property:narrative_location ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:application } } GROUP BY ?h } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1195862
P136
Q1792379
USER
What can be considered as category for Monday Begins on Saturday ?
(Q1195862,P136,c(Q1792379))
action filter_type
action find
entity Q1195862
relation P136
type Q1792379
['Q1195862', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q1195862 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
Monday Begins on Saturday
action filter_type
action find
entity Monday Begins on Saturday
relation genre
type art genre
['Monday Begins on Saturday', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:Monday_Begins_on_Saturday property:genre ?d . ?d rdf:type ontology:art_genre }
[]
art genre
Q8261 Q1057172 Q12132683
SYSTEM
novel, fantasy literature, science fiction novel
Q8261 Q1057172 Q12132683
(Q1195862,P136,c(Q1792379))
action filter_type
action find
entity Q1195862
relation P136
type Q1792379
The [ANSWERS] can be considered as category for Monday Begins on Saturday
['Q1195862', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q1195862 property:P136 ?d . ?d rdf:type ontology:Q1792379 }
novel fantasy literature science fiction novel
The novel, fantasy literature and science fiction novel can be considered as category for Monday Begins on Saturday
novel fantasy literature science fiction novel
action filter_type
action find
entity Monday Begins on Saturday
relation genre
type art genre
['Monday Begins on Saturday', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:Monday_Begins_on_Saturday property:genre ?d . ?d rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8261
P101
Q502895
USER
Which people work in the domain of novel ?
(c(Q502895),P101,Q8261)
action filter_type
action find_reverse
entity Q8261
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q8261']
SELECT DISTINCT ?p WHERE { ?p property:P101 resource:Q8261 . ?p rdf:type ontology:Q502895 }
novel
action filter_type
action find_reverse
entity novel
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'novel']
SELECT DISTINCT ?p WHERE { ?p property:field_of_work resource:novel . ?p rdf:type ontology:common_name }
[]
common name
Q16857297 Q27679413
SYSTEM
Charlotte Anne Eaton, Kiran Manral
Q16857297 Q27679413
(c(Q502895),P101,Q8261)
action filter_type
action find_reverse
entity Q8261
relation P101
type Q502895
[ANSWERS] work in the domain of novel
[{'concept': 'Q502895'}, 'P101', 'Q8261']
SELECT DISTINCT ?p WHERE { ?p property:P101 resource:Q8261 . ?p rdf:type ontology:Q502895 }
Charlotte Anne Eaton Kiran Manral
Charlotte Anne Eaton and Kiran Manral work in the domain of novel
Charlotte Anne Eaton Kiran Manral
action filter_type
action find_reverse
entity novel
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'novel']
SELECT DISTINCT ?p WHERE { ?p property:field_of_work resource:novel . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16857297 Q27679413
P106
Q12737077
USER
What are the professions of Charlotte Anne Eaton and Kiran Manral ?
(Q16857297,P106,c(Q12737077)) (Q27679413,P106,c(Q12737077))
action union
action filter_type
action find
entity Q16857297
relation P106
type Q12737077
action filter_type
action find
entity Q27679413
relation P106
type Q12737077
['Q16857297', 'P106', {'concept': 'Q12737077'}] ['Q27679413', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?z ) { ( resource:Q16857297 ) ( resource:Q27679413 ) } . ?z property:P106 ?l }
Charlotte Anne Eaton Kiran Manral
action union
action filter_type
action find
entity Charlotte Anne Eaton
relation occupation
type occupation
action filter_type
action find
entity Kiran Manral
relation occupation
type occupation
['Charlotte Anne Eaton', 'occupation', {'concept': 'occupation'}] ['Kiran Manral', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?z ) { ( resource:Charlotte_Anne_Eaton ) ( resource:Kiran_Manral ) } . ?z property:occupation ?l }
[]
occupation
Q3579035 Q36180 Q6625963
SYSTEM
travel writer, writer, novelist
Q3579035 Q36180 Q6625963 Q36180
(Q16857297,P106,c(Q12737077)) (Q27679413,P106,c(Q12737077))
action union
action filter_type
action find
entity Q16857297
relation P106
type Q12737077
action filter_type
action find
entity Q27679413
relation P106
type Q12737077
The professions of Charlotte Anne Eaton and Kiran Manral are a [ANSWERS]
['Q16857297', 'P106', {'concept': 'Q12737077'}] ['Q27679413', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?z ) { ( resource:Q16857297 ) ( resource:Q27679413 ) } . ?z property:P106 ?l }
travel writer writer novelist writer
The professions of Charlotte Anne Eaton and Kiran Manral are a travel writer, writer and novelist
travel writer writer novelist
action union
action filter_type
action find
entity Charlotte Anne Eaton
relation occupation
type occupation
action filter_type
action find
entity Kiran Manral
relation occupation
type occupation
['Charlotte Anne Eaton', 'occupation', {'concept': 'occupation'}] ['Kiran Manral', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { VALUES ( ?z ) { ( resource:Charlotte_Anne_Eaton ) ( resource:Kiran_Manral ) } . ?z property:occupation ?l }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16857297
P9
Q502895
USER
Which person has that one as their sibling ?
(c(Q502895),P9,Q16857297)
action filter_type
action find
entity Q16857297
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q16857297']
SELECT DISTINCT ?n WHERE { resource:Q16857297 property:P9 ?n . ?n rdf:type ontology:Q502895 }
Charlotte Anne Eaton
action filter_type
action find
entity Charlotte Anne Eaton
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Charlotte Anne Eaton']
SELECT DISTINCT ?n WHERE { resource:Charlotte_Anne_Eaton property:sister ?n . ?n rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q16857297
SYSTEM
Did you mean Charlotte Anne Eaton ?
Q3579035 Q36180 Q6625963
(c(Q502895),P9,Q3579035) (c(Q502895),P9,Q36180) (c(Q502895),P9,Q6625963)
[ANSWER]
[{'concept': 'Q502895'}, 'P9', 'Q3579035'] [{'concept': 'Q502895'}, 'P9', 'Q36180'] [{'concept': 'Q502895'}, 'P9', 'Q6625963']
SELECT DISTINCT ?n WHERE { resource:Q16857297 property:P9 ?n . ?n rdf:type ontology:Q502895 }
travel writer writer novelist
Did you mean Charlotte Anne Eaton ?
Charlotte Anne Eaton
[{'concept': 'common name'}, 'sister', 'travel writer'] [{'concept': 'common name'}, 'sister', 'writer'] [{'concept': 'common name'}, 'sister', 'novelist']
SELECT DISTINCT ?n WHERE { resource:Charlotte_Anne_Eaton property:sister ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P9,Q16857297)
[{'concept': 'Q502895'}, 'P9', 'Q16857297']
[{'concept': 'common name'}, 'sister', 'Charlotte Anne Eaton']
[]
Q18529980
SYSTEM
Jane Watts
Q18529980
(c(Q502895),P9,Q16857297)
action filter_type
action find
entity Q16857297
relation P9
type Q502895
[ANSWER] has that one as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q16857297']
SELECT DISTINCT ?n WHERE { resource:Q16857297 property:P9 ?n . ?n rdf:type ontology:Q502895 }
Jane Watts
Jane Watts has that one as their sibling
Jane Watts
action filter_type
action find
entity Charlotte Anne Eaton
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Charlotte Anne Eaton']
SELECT DISTINCT ?n WHERE { resource:Charlotte_Anne_Eaton property:sister ?n . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q159
P530
Q15617994
USER
How many administrative territories holds diplomatic relationship with Russia ?
(Q159,P530,c(Q15617994))
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
['Q159', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q159 property:P530 ?c . ?c rdf:type ontology:Q15617994 }
Russia
action count
action filter_type
action find
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Russia property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
19
Q805 Q801 Q241 Q668 Q414 Q142 Q148 Q17 Q30 Q79 Q38 Q711 Q717 Q1011 Q403 Q43 Q155 Q953 Q881
(Q159,P530,c(Q15617994))
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
[ANSWER]
['Q159', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Q159 property:P530 ?c . ?c rdf:type ontology:Q15617994 }
Yemen Israel Cuba India Argentina France People's Republic of China Japan United States of America Egypt Italy Mongolia Venezuela Cape Verde Serbia Turkey Brazil Zambia Vietnam
19
action count
action filter_type
action find
entity Russia
relation diplomatic relation
type designation for an administrative territorial entity
['Russia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { resource:Russia property:diplomatic_relation ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q408
P530
Q15617994
USER
And what about Australia?
(Q408,P530,c(Q15617994))
action count
action filter_type
action find
entity Q408
relation P530
type Q15617994
['Q408', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q408 property:P530 ?y . ?y rdf:type ontology:Q15617994 }
Australia
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Australia property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
106
Q702 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q786 Q924 Q833 Q711 Q836 Q837 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q244 Q33 Q921 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q424 Q851 Q733 Q854 Q734 Q736 Q233 Q20 Q1041 Q27 Q29 Q819 Q1027 Q1020 Q843 Q1029 Q225 Q224 Q221 Q96 Q229 Q17 Q902 Q1036 Q1033 Q1030 Q191 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q215 Q218 Q219 Q916 Q712 Q977 Q1009 Q683 Q686 Q574 Q79 Q77 Q878 Q774 Q817 Q810 Q811 Q678 Q33788 Q869 Q953
(Q408,P530,c(Q15617994))
action count
action filter_type
action find
entity Q408
relation P530
type Q15617994
[ANSWER]
['Q408', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q408 property:P530 ?y . ?y rdf:type ontology:Q15617994 }
Federated States of Micronesia Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Dominican Republic Tanzania Malaysia Mongolia Myanmar Nepal Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Barbados Finland Brunei Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Italy Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Guyana Ecuador Malta Norway Senegal Ireland Spain Laos Mauritius Malawi Pakistan Mozambique Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Japan Bangladesh Uganda Nigeria Namibia Estonia Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Slovenia Romania Bulgaria Angola Fiji Djibouti Cameroon Samoa Vanuatu East Timor Egypt Uruguay United Arab Emirates Guatemala Kuwait Jordan Nicaragua Tonga New Caledonia Thailand Zambia
106
action count
action filter_type
action find
entity Australia
relation diplomatic relation
type designation for an administrative territorial entity
['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Australia property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q183
Q15617994
USER
And also tell me about Germany?
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Q183 property:P530 ?a . ?a rdf:type ontology:Q15617994 }
Germany
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Germany property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
124
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Q183 property:P530 ?a . ?a rdf:type ontology:Q15617994 }
124
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) WHERE { resource:Germany property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q386724 Q191067
USER
Which occupations were max number of works and articles mainly about ?
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?j ) WHERE { { ?k property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q386724 } UNION { ?k property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q191067 } } GROUP BY ?c } } . FILTER ( ?u = ?o ) . { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ?p . VALUES ( ?p ) { ( ontology:Q386724 ) ( ontology:Q191067 ) } } GROUP BY ?t } }
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?j ) WHERE { { ?k property:main_subject ?c . ?c rdf:type ontology:occupation . ?k rdf:type ontology:work } UNION { ?k property:main_subject ?c . ?c rdf:type ontology:occupation . ?k rdf:type ontology:article } } GROUP BY ?c } } . FILTER ( ?u = ?o ) . { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ?p . VALUES ( ?p ) { ( ontology:work ) ( ontology:article ) } } GROUP BY ?t } }
[]
occupation work article
Q16746569
SYSTEM
high school student
Q16746569
(c(Q386724)|c(Q191067),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
Max number of works and articles mainly about were a [ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?j ) WHERE { { ?k property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q386724 } UNION { ?k property:P921 ?c . ?c rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q191067 } } GROUP BY ?c } } . FILTER ( ?u = ?o ) . { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ?p . VALUES ( ?p ) { ( ontology:Q386724 ) ( ontology:Q191067 ) } } GROUP BY ?t } }
high school student
Max number of works and articles mainly about were a high school student
high school student
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type article
[[{'concept': 'work'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?j ) WHERE { { ?k property:main_subject ?c . ?c rdf:type ontology:occupation . ?k rdf:type ontology:work } UNION { ?k property:main_subject ?c . ?c rdf:type ontology:occupation . ?k rdf:type ontology:article } } GROUP BY ?c } } . FILTER ( ?u = ?o ) . { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?u ) WHERE { ?w rdf:type ?p . VALUES ( ?p ) { ( ontology:work ) ( ontology:article ) } } GROUP BY ?t } }
[]