Simple Question (Direct)
Simple Question
Q6206343
P641
Q349
USER
Which sport did Joaquim Rodrigues Ferreira participate in ?
(Q6206343,P641,c(Q349))
action filter_type
action find
entity Q6206343
relation P641
type Q349
['Q6206343', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q6206343 property:P641 ?w . ?w rdf:type ontology:Q349 }
Joaquim Rodrigues Ferreira
action filter_type
action find
entity Joaquim Rodrigues Ferreira
relation sport
type sport
['Joaquim Rodrigues Ferreira', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Joaquim_Rodrigues_Ferreira property:sport ?w . ?w rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6206343,P641,c(Q349))
action filter_type
action find
entity Q6206343
relation P641
type Q349
Joaquim Rodrigues Ferreira participated in [ANSWER]
['Q6206343', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?w WHERE { resource:Q6206343 property:P641 ?w . ?w rdf:type ontology:Q349 }
association football
Joaquim Rodrigues Ferreira participated in association football
association football
action filter_type
action find
entity Joaquim Rodrigues Ferreira
relation sport
type sport
['Joaquim Rodrigues Ferreira', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?w WHERE { resource:Joaquim_Rodrigues_Ferreira property:sport ?w . ?w rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6206343
P27
Q15617994
USER
Which administrative territory is Joaquim Rodrigues Ferreira an inhabitant of ?
(Q6206343,P27,c(Q15617994))
action filter_type
action find
entity Q6206343
relation P27
type Q15617994
['Q6206343', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q6206343 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Joaquim Rodrigues Ferreira
action filter_type
action find
entity Joaquim Rodrigues Ferreira
relation country of citizenship
type designation for an administrative territorial entity
['Joaquim Rodrigues Ferreira', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Joaquim_Rodrigues_Ferreira property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45
SYSTEM
Portugal
Q45
(Q6206343,P27,c(Q15617994))
action filter_type
action find
entity Q6206343
relation P27
type Q15617994
[ANSWER] is Joaquim Rodrigues Ferreira an inhabitant of
['Q6206343', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q6206343 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Portugal
Portugal is Joaquim Rodrigues Ferreira an inhabitant of
Portugal
action filter_type
action find
entity Joaquim Rodrigues Ferreira
relation country of citizenship
type designation for an administrative territorial entity
['Joaquim Rodrigues Ferreira', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Joaquim_Rodrigues_Ferreira property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q624161
P366
Q349 Q811979 Q1076486
USER
Which sports are considered as the main functionality of less number of architectural structures or sports venues than gliding ?
(c(Q811979)|c(Q1076486),P366,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q624161
relation P366
type Q811979
type Q1076486
[[{'concept': 'Q811979'}, {'concept': 'Q1076486'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ?x . VALUES ( ?x ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P366 resource:Q624161 . { { ?j rdf:type ontology:Q811979 } UNION { ?j rdf:type ontology:Q1076486 } } } } . FILTER ( ?h < ?i ) }
gliding
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action count
action filter_multi_types
action find_reverse
entity gliding
relation use
type architectural structure
type sports venue
[[{'concept': 'architectural structure'}, {'concept': 'sports venue'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ?x . VALUES ( ?x ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:use resource:gliding . { { ?j rdf:type ontology:architectural_structure } UNION { ?j rdf:type ontology:sports_venue } } } } . FILTER ( ?h < ?i ) }
[]
sport architectural structure sports venue
Q500050 Q108429 Q847
SYSTEM
cross country running, archery, tennis
Q7856 Q206989 Q14300548 Q36908 Q500050 Q1875777 Q108429 Q177275 Q61065 Q847 Q22857 Q41323 Q7291
(c(Q811979)|c(Q1076486),P366,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q624161
relation P366
type Q811979
type Q1076486
[ANSWERS] are considered as the main functionality of less number of architectural structures or sports venues than gliding
[[{'concept': 'Q811979'}, {'concept': 'Q1076486'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ?x . VALUES ( ?x ) { ( ontology:Q811979 ) ( ontology:Q1076486 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P366 resource:Q624161 . { { ?j rdf:type ontology:Q811979 } UNION { ?j rdf:type ontology:Q1076486 } } } } . FILTER ( ?h < ?i ) }
rallying shooting sport skating mountaineering cross country running air racing archery bobsleigh water sport tennis climbing American football badminton
Cross country running, archery and tennis are considered as the main functionality of less number of architectural structures or sports venues than gliding
cross country running archery tennis
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action count
action filter_multi_types
action find_reverse
entity gliding
relation use
type architectural structure
type sports venue
[[{'concept': 'architectural structure'}, {'concept': 'sports venue'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?v ) AS ?h ) WHERE { ?v rdf:type ?x . VALUES ( ?x ) { ( ontology:architectural_structure ) ( ontology:sports_venue ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:use resource:gliding . { { ?j rdf:type ontology:architectural_structure } UNION { ?j rdf:type ontology:sports_venue } } } } . FILTER ( ?h < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1734
P366
Q349 Q811979 Q1076486
USER
And what about volleyball?
(c(Q811979)|c(Q1076486),P366,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q1734
relation P366
type Q811979
type Q1076486
[[{'concept': 'Q811979'}, {'concept': 'Q1076486'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?z ) WHERE { { ?b property:P366 ?p . ?p rdf:type ontology:Q349 . ?b rdf:type ontology:Q811979 } UNION { ?b property:P366 ?p . ?p rdf:type ontology:Q349 . ?b rdf:type ontology:Q1076486 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P366 resource:Q1734 . { { ?u rdf:type ontology:Q811979 } UNION { ?u rdf:type ontology:Q1076486 } } } } . FILTER ( ?z < ?w ) }
volleyball
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action count
action filter_multi_types
action find_reverse
entity volleyball
relation use
type architectural structure
type sports venue
[[{'concept': 'architectural structure'}, {'concept': 'sports venue'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?z ) WHERE { { ?b property:use ?p . ?p rdf:type ontology:sport . ?b rdf:type ontology:architectural_structure } UNION { ?b property:use ?p . ?p rdf:type ontology:sport . ?b rdf:type ontology:sports_venue } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:use resource:volleyball . { { ?u rdf:type ontology:architectural_structure } UNION { ?u rdf:type ontology:sports_venue } } } } . FILTER ( ?z < ?w ) }
[]
sport architectural structure sports venue
Q500050 Q108429 Q847
SYSTEM
cross country running, archery, tennis
Q7856 Q206989 Q14300548 Q36908 Q500050 Q1875777 Q108429 Q177275 Q61065 Q847 Q22857 Q41323 Q7291
(c(Q811979)|c(Q1076486),P366,c(Q349))
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q1734
relation P366
type Q811979
type Q1076486
[ANSWERS]
[[{'concept': 'Q811979'}, {'concept': 'Q1076486'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?z ) WHERE { { ?b property:P366 ?p . ?p rdf:type ontology:Q349 . ?b rdf:type ontology:Q811979 } UNION { ?b property:P366 ?p . ?p rdf:type ontology:Q349 . ?b rdf:type ontology:Q1076486 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:P366 resource:Q1734 . { { ?u rdf:type ontology:Q811979 } UNION { ?u rdf:type ontology:Q1076486 } } } } . FILTER ( ?z < ?w ) }
rallying shooting sport skating mountaineering cross country running air racing archery bobsleigh water sport tennis climbing American football badminton
cross country running archery tennis
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type sports venue
action count
action filter_multi_types
action find_reverse
entity volleyball
relation use
type architectural structure
type sports venue
[[{'concept': 'architectural structure'}, {'concept': 'sports venue'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?z ) WHERE { { ?b property:use ?p . ?p rdf:type ontology:sport . ?b rdf:type ontology:architectural_structure } UNION { ?b property:use ?p . ?p rdf:type ontology:sport . ?b rdf:type ontology:sports_venue } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { ?u property:use resource:volleyball . { { ?u rdf:type ontology:architectural_structure } UNION { ?u rdf:type ontology:sports_venue } } } } . FILTER ( ?z < ?w ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q500050 Q108429 Q847
P101
Q502895
USER
Which people have his/her area as cross country running, archery and tennis ?
(c(Q502895),P101,Q500050) (c(Q502895),P101,Q108429) (c(Q502895),P101,Q847)
action union
action filter_type
action find_reverse
entity Q500050
relation P101
type Q502895
action filter_type
action find_reverse
entity Q108429
relation P101
type Q502895
action filter_type
action find_reverse
entity Q847
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q500050'] [{'concept': 'Q502895'}, 'P101', 'Q108429'] [{'concept': 'Q502895'}, 'P101', 'Q847']
SELECT DISTINCT ?z WHERE { ?z property:P101 ?p . VALUES ( ?p ) { ( resource:Q500050 ) ( resource:Q108429 ) } }
cross country running archery tennis
action union
action filter_type
action find_reverse
entity cross country running
relation field of work
type common name
action filter_type
action find_reverse
entity archery
relation field of work
type common name
action filter_type
action find_reverse
entity tennis
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'cross country running'] [{'concept': 'common name'}, 'field of work', 'archery'] [{'concept': 'common name'}, 'field of work', 'tennis']
SELECT DISTINCT ?z WHERE { ?z property:field_of_work ?p . VALUES ( ?p ) { ( resource:cross_country_running ) ( resource:archery ) } }
[]
common name
Q171500 Q21402269 Q15864937
SYSTEM
Haile Gebrselassie, Alison Wyeth, Paul Donovan
Q171500 Q2336382 Q2849387 Q7095211 Q21401997 Q15864937 Q21402269 Q5403067 Q16231455
(c(Q502895),P101,Q500050) (c(Q502895),P101,Q108429) (c(Q502895),P101,Q847)
action union
action filter_type
action find_reverse
entity Q500050
relation P101
type Q502895
action filter_type
action find_reverse
entity Q108429
relation P101
type Q502895
action filter_type
action find_reverse
entity Q847
relation P101
type Q502895
[ANSWERS] have his/her area as cross country running, archery and tennis
[{'concept': 'Q502895'}, 'P101', 'Q500050'] [{'concept': 'Q502895'}, 'P101', 'Q108429'] [{'concept': 'Q502895'}, 'P101', 'Q847']
SELECT DISTINCT ?z WHERE { ?z property:P101 ?p . VALUES ( ?p ) { ( resource:Q500050 ) ( resource:Q108429 ) } }
Haile Gebrselassie Tonnie Dirks Angela Tooby Onèsphore Nkunzimana Isaac Korir Paul Donovan Alison Wyeth Ethel Armitage Kgothatso Montjane
Haile Gebrselassie, Alison Wyeth and Paul Donovan have his/her area as cross country running, archery and tennis
Haile Gebrselassie Alison Wyeth Paul Donovan
action union
action filter_type
action find_reverse
entity cross country running
relation field of work
type common name
action filter_type
action find_reverse
entity archery
relation field of work
type common name
action filter_type
action find_reverse
entity tennis
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'cross country running'] [{'concept': 'common name'}, 'field of work', 'archery'] [{'concept': 'common name'}, 'field of work', 'tennis']
SELECT DISTINCT ?z WHERE { ?z property:field_of_work ?p . VALUES ( ?p ) { ( resource:cross_country_running ) ( resource:archery ) } }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4858952
Q502895
USER
And what about Barbara Haney Irvine?
(Q4858952,P101,c(Q502895))
action filter_type
action find
entity Q4858952
relation P101
type Q502895
['Q4858952', 'P101', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q4858952 property:P101 ?g }
Barbara Haney Irvine
action filter_type
action find
entity Barbara Haney Irvine
relation field of work
type common name
['Barbara Haney Irvine', 'field of work', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Barbara_Haney_Irvine property:field_of_work ?g }
[]
common name
Q127328
SYSTEM
Alice Paul
Q127328
(Q4858952,P101,c(Q502895))
action filter_type
action find
entity Q4858952
relation P101
type Q502895
[ANSWER]
['Q4858952', 'P101', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q4858952 property:P101 ?g }
Alice Paul
Alice Paul
action filter_type
action find
entity Barbara Haney Irvine
relation field of work
type common name
['Barbara Haney Irvine', 'field of work', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Barbara_Haney_Irvine property:field_of_work ?g }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q18912159
P655
Q502895 Q571 Q7725634
USER
Which people are the translator of greater number of books or literary works than Miriam Singleton Knight ?
(c(Q571)|c(Q7725634),P655,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q18912159
relation P655
type Q571
type Q7725634
[[{'concept': 'Q571'}, {'concept': 'Q7725634'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?r WHERE { { ?g property:P655 ?r . ?r rdf:type ontology:Q502895 . ?g rdf:type ontology:Q571 } UNION { ?g property:P655 ?r . ?r rdf:type ontology:Q502895 . ?g rdf:type ontology:Q7725634 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:P655 resource:Q18912159 . { ?c rdf:type ?l . VALUES ( ?l ) { ( ontology:Q7725634 ) ( ontology:Q571 ) } } } } . FILTER ( ?o > ?s ) }
Miriam Singleton Knight
action greater
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity Miriam Singleton Knight
relation translator
type book
type literary work
[[{'concept': 'book'}, {'concept': 'literary work'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?r WHERE { { ?g property:translator ?r . ?r rdf:type ontology:common_name . ?g rdf:type ontology:book } UNION { ?g property:translator ?r . ?r rdf:type ontology:common_name . ?g rdf:type ontology:literary_work } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:translator resource:Miriam_Singleton_Knight . { ?c rdf:type ?l . VALUES ( ?l ) { ( ontology:literary_work ) ( ontology:book ) } } } } . FILTER ( ?o > ?s ) }
[]
common name book literary work
Q172599 Q711869 Q215896
SYSTEM
Giacomo Leopardi, Arthur Waley, Alfred Schmidt
Q4722962 Q7343976 Q2866084 Q461104 Q315537 Q164047 Q9353091 Q711869 Q3156735 Q721882 Q12028170 Q532457 Q12032593 Q7387473 Q7287827 Q2495818 Q215896 Q78992 Q4233718 Q18342457 Q312829 Q1090185 Q9251137 Q2157568 Q1245203 Q172599 Q1287990 Q334973
(c(Q571)|c(Q7725634),P655,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q18912159
relation P655
type Q571
type Q7725634
[ANSWERS] are the translator of greater number of books or literary works than Miriam Singleton Knight
[[{'concept': 'Q571'}, {'concept': 'Q7725634'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?r WHERE { { ?g property:P655 ?r . ?r rdf:type ontology:Q502895 . ?g rdf:type ontology:Q571 } UNION { ?g property:P655 ?r . ?r rdf:type ontology:Q502895 . ?g rdf:type ontology:Q7725634 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:P655 resource:Q18912159 . { ?c rdf:type ?l . VALUES ( ?l ) { ( ontology:Q7725634 ) ( ontology:Q571 ) } } } } . FILTER ( ?o > ?s ) }
Alfred John Church Robert Edward Crozier Long Arvède Barine Jaroslav Vrchlický William Cowper Alexander Pope Sławomir Błaut Arthur Waley J.-Wladimir Bienstock Léon Wieger Karel Dostál-Lutinov Edward FitzGerald Ladislav Quis S. Foster Damon Ralph Manheim Constance Garnett Alfred Schmidt Abraham Brill anonymous William Jackson Brodribb Samuel Butler John Middleton Murry Edward Porębowicz Robert Hillyer Doris Kilias Giacomo Leopardi James Legge Hugues Felicité Robert de Lamennais
Giacomo Leopardi, Arthur Waley and Alfred Schmidt are the translator of greater number of books or literary works than Miriam Singleton Knight
Giacomo Leopardi Arthur Waley Alfred Schmidt
action greater
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity Miriam Singleton Knight
relation translator
type book
type literary work
[[{'concept': 'book'}, {'concept': 'literary work'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?o ) ?r WHERE { { ?g property:translator ?r . ?r rdf:type ontology:common_name . ?g rdf:type ontology:book } UNION { ?g property:translator ?r . ?r rdf:type ontology:common_name . ?g rdf:type ontology:literary_work } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { ?c property:translator resource:Miriam_Singleton_Knight . { ?c rdf:type ?l . VALUES ( ?l ) { ( ontology:literary_work ) ( ontology:book ) } } } } . FILTER ( ?o > ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q213355
P655
Q502895 Q571 Q7725634
USER
And what about John Dryden?
(c(Q571)|c(Q7725634),P655,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q213355
relation P655
type Q571
type Q7725634
[[{'concept': 'Q571'}, {'concept': 'Q7725634'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:Q571 ) ( ontology:Q7725634 ) } . ?e rdf:type ?t } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P655 resource:Q213355 . { { ?n rdf:type ontology:Q7725634 } UNION { ?n rdf:type ontology:Q571 } } } } . FILTER ( ?s > ?z ) }
John Dryden
action greater
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity John Dryden
relation translator
type book
type literary work
[[{'concept': 'book'}, {'concept': 'literary work'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:book ) ( ontology:literary_work ) } . ?e rdf:type ?t } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:translator resource:John_Dryden . { { ?n rdf:type ontology:literary_work } UNION { ?n rdf:type ontology:book } } } } . FILTER ( ?s > ?z ) }
[]
common name book literary work
Q172599 Q711869 Q215896
SYSTEM
Giacomo Leopardi, Arthur Waley, Alfred Schmidt
Q4722962 Q7343976 Q2866084 Q461104 Q315537 Q164047 Q9353091 Q711869 Q3156735 Q721882 Q12028170 Q532457 Q12032593 Q7387473 Q7287827 Q2495818 Q215896 Q78992 Q4233718 Q18342457 Q312829 Q1090185 Q9251137 Q2157568 Q1245203 Q172599 Q1287990 Q334973
(c(Q571)|c(Q7725634),P655,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action count
action filter_multi_types
action find_reverse
entity Q213355
relation P655
type Q571
type Q7725634
[ANSWERS]
[[{'concept': 'Q571'}, {'concept': 'Q7725634'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:Q571 ) ( ontology:Q7725634 ) } . ?e rdf:type ?t } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:P655 resource:Q213355 . { { ?n rdf:type ontology:Q7725634 } UNION { ?n rdf:type ontology:Q571 } } } } . FILTER ( ?s > ?z ) }
Alfred John Church Robert Edward Crozier Long Arvède Barine Jaroslav Vrchlický William Cowper Alexander Pope Sławomir Błaut Arthur Waley J.-Wladimir Bienstock Léon Wieger Karel Dostál-Lutinov Edward FitzGerald Ladislav Quis S. Foster Damon Ralph Manheim Constance Garnett Alfred Schmidt Abraham Brill anonymous William Jackson Brodribb Samuel Butler John Middleton Murry Edward Porębowicz Robert Hillyer Doris Kilias Giacomo Leopardi James Legge Hugues Felicité Robert de Lamennais
Giacomo Leopardi Arthur Waley Alfred Schmidt
action greater
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action count
action filter_multi_types
action find_reverse
entity John Dryden
relation translator
type book
type literary work
[[{'concept': 'book'}, {'concept': 'literary work'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?s ) WHERE { VALUES ( ?t ) { ( ontology:book ) ( ontology:literary_work ) } . ?e rdf:type ?t } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { ?n property:translator resource:John_Dryden . { { ?n rdf:type ontology:literary_work } UNION { ?n rdf:type ontology:book } } } } . FILTER ( ?s > ?z ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q2342494
USER
Which collectables did around 2 people dub for ?
(c(Q2342494),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 2
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?i ) WHERE { ?c property:P725 ?l . ?c rdf:type ontology:Q2342494 . ?l rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?i = 2 ) }
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
value 2
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?i ) WHERE { ?c property:voice_actor ?l . ?c rdf:type ontology:collectable . ?l rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?i = 2 ) }
[]
common name collectable
Q482870 Q119534 Q483263
SYSTEM
Boku wa Tomodachi ga Sukunai, Shakugan no Shana, Baka and Test
Q50035 Q483263 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q5647726 Q2759489
(c(Q2342494),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 2
Around 2 people dubbed [ANSWERS]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?i ) WHERE { ?c property:P725 ?l . ?c rdf:type ontology:Q2342494 . ?l rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?i = 2 ) }
Nyaruko: Crawling with Love Baka and Test Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Handy Manny's Motorcycle Adventure Muv-Luv
Around 2 people dubbed Boku wa Tomodachi ga Sukunai, Shakugan no Shana and Baka and Test
Boku wa Tomodachi ga Sukunai Shakugan no Shana Baka and Test
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
value 2
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?i ) WHERE { ?c property:voice_actor ?l . ?c rdf:type ontology:collectable . ?l rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?i = 2 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q483263
P921
Q12737077
USER
Which occupation was the main subject of that collectable 's work ?
(Q483263,P921,c(Q12737077))
action filter_type
action find
entity Q483263
relation P921
type Q12737077
['Q483263', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q483263 property:P921 ?h . ?h rdf:type ontology:Q12737077 }
Baka and Test
action filter_type
action find
entity Baka and Test
relation main subject
type occupation
['Baka and Test', 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Baka_and_Test property:main_subject ?h . ?h rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q482870
SYSTEM
Did you mean Boku wa Tomodachi ga Sukunai ?
Q482870 Q119534 Q483263
(Q482870,P921,c(Q12737077)) (Q119534,P921,c(Q12737077)) (Q483263,P921,c(Q12737077))
[ANSWER]
['Q482870', 'P921', {'concept': 'Q12737077'}] ['Q119534', 'P921', {'concept': 'Q12737077'}] ['Q483263', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q483263 property:P921 ?h . ?h rdf:type ontology:Q12737077 }
Boku wa Tomodachi ga Sukunai Shakugan no Shana Baka and Test
Did you mean Boku wa Tomodachi ga Sukunai ?
Boku wa Tomodachi ga Sukunai
['Boku wa Tomodachi ga Sukunai', 'main subject', {'concept': 'occupation'}] ['Shakugan no Shana', 'main subject', {'concept': 'occupation'}] ['Baka and Test', 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Baka_and_Test property:main_subject ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Baka and Test. Could you tell me the answer for that?
(Q483263,P921,c(Q12737077))
Q483263
['Q483263', 'P921', {'concept': 'Q12737077'}]
['Baka and Test', 'main subject', {'concept': 'occupation'}]
[]
Q16746569
SYSTEM
high school student
Q16746569
(Q483263,P921,c(Q12737077))
action filter_type
action find
entity Q483263
relation P921
type Q12737077
The [ANSWER] was the main subject of that collectable 's work
['Q483263', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q483263 property:P921 ?h . ?h rdf:type ontology:Q12737077 }
high school student
The high school student was the main subject of that collectable 's work
high school student
action filter_type
action find
entity Baka and Test
relation main subject
type occupation
['Baka and Test', 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Baka_and_Test property:main_subject ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q119534
P921
Q12737077
USER
What was the main subject in the work Shakugan no Shana ?
(Q119534,P921,c(Q12737077))
action filter_type
action find
entity Q119534
relation P921
type Q12737077
['Q119534', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q119534 property:P921 ?j . ?j rdf:type ontology:Q12737077 }
Shakugan no Shana
action filter_type
action find
entity Shakugan no Shana
relation main subject
type occupation
['Shakugan no Shana', 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Shakugan_no_Shana property:main_subject ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q16746569
SYSTEM
high school student
Q16746569
(Q119534,P921,c(Q12737077))
action filter_type
action find
entity Q119534
relation P921
type Q12737077
The main subject in the work Shakugan no Shana was a [ANSWER]
['Q119534', 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q119534 property:P921 ?j . ?j rdf:type ontology:Q12737077 }
high school student
The main subject in the work Shakugan no Shana was a high school student
high school student
action filter_type
action find
entity Shakugan no Shana
relation main subject
type occupation
['Shakugan no Shana', 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Shakugan_no_Shana property:main_subject ?j . ?j rdf:type ontology:occupation }
[]