Simple Question (Direct)
Simple Question
Q4363474
P166
Q24016972
USER
What was received by Barbara Pearse ?
(Q4363474,P166,c(Q24016972))
action filter_type
action find
entity Q4363474
relation P166
type Q24016972
['Q4363474', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?e WHERE { resource:Q4363474 property:P166 ?e . ?e rdf:type ontology:Q24016972 }
Barbara Pearse
action filter_type
action find
entity Barbara Pearse
relation award received
type type of distinction
['Barbara Pearse', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?e WHERE { resource:Barbara_Pearse property:award_received ?e . ?e rdf:type ontology:type_of_distinction }
[]
type of distinction
Q15631401
SYSTEM
Fellow of the Royal Society
Q15631401
(Q4363474,P166,c(Q24016972))
action filter_type
action find
entity Q4363474
relation P166
type Q24016972
The [ANSWER] was received by Barbara Pearse
['Q4363474', 'P166', {'concept': 'Q24016972'}]
SELECT DISTINCT ?e WHERE { resource:Q4363474 property:P166 ?e . ?e rdf:type ontology:Q24016972 }
Fellow of the Royal Society
The Fellow of the Royal Society was received by Barbara Pearse
Fellow of the Royal Society
action filter_type
action find
entity Barbara Pearse
relation award received
type type of distinction
['Barbara Pearse', 'award received', {'concept': 'type of distinction'}]
SELECT DISTINCT ?e WHERE { resource:Barbara_Pearse property:award_received ?e . ?e rdf:type ontology:type_of_distinction }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4363474
P26
Q502895
USER
Who is married to Barbara Pearse ?
(c(Q502895),P26,Q4363474)
action filter_type
action find
entity Q4363474
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q4363474']
SELECT DISTINCT ?c WHERE { resource:Q4363474 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Barbara Pearse
action filter_type
action find
entity Barbara Pearse
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Barbara Pearse']
SELECT DISTINCT ?c WHERE { resource:Barbara_Pearse property:spouse ?c . ?c rdf:type ontology:common_name }
[]
common name
Q6766845
SYSTEM
Mark Bretscher
Q6766845
(c(Q502895),P26,Q4363474)
action filter_type
action find
entity Q4363474
relation P26
type Q502895
[ANSWER] is married to Barbara Pearse
[{'concept': 'Q502895'}, 'P26', 'Q4363474']
SELECT DISTINCT ?c WHERE { resource:Q4363474 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Mark Bretscher
Mark Bretscher is married to Barbara Pearse
Mark Bretscher
action filter_type
action find
entity Barbara Pearse
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Barbara Pearse']
SELECT DISTINCT ?c WHERE { resource:Barbara_Pearse property:spouse ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do around 1982 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1982
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34379 . ?u property:P1303 ?f } GROUP BY ?f } . FILTER ( ?m = 1982 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1982
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ontology:common_name . ?f rdf:type ontology:musical_instrument . ?u property:instrument ?f } GROUP BY ?f } . FILTER ( ?m = 1982 ) }
[]
musical instrument common name
SYSTEM
6
Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1982
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34379 . ?u property:P1303 ?f } GROUP BY ?f } . FILTER ( ?m = 1982 ) }
bass guitar double bass trumpet cello organ drum kit
6
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1982
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?m ) WHERE { ?u rdf:type ontology:common_name . ?f rdf:type ontology:musical_instrument . ?u property:instrument ?f } GROUP BY ?f } . FILTER ( ?m = 1982 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q753848
P725
Q502895 Q15961987
USER
How many television genres did lesser number of people dub for than TaleSpin ?
(c(Q15961987),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q753848
relation P725
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?l ) WHERE { ?g property:P725 ?p . ?g rdf:type ontology:Q15961987 . ?p rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q753848 property:P725 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?l < ?b ) }
TaleSpin
action count
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity TaleSpin
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?l ) WHERE { ?g property:voice_actor ?p . ?g rdf:type ontology:television_genre . ?p rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:TaleSpin property:voice_actor ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?l < ?b ) }
[]
common name television genre
SYSTEM
3
Q11572 Q847219 Q917543
(c(Q15961987),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q753848
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?l ) WHERE { ?g property:P725 ?p . ?g rdf:type ontology:Q15961987 . ?p rdf:type ontology:Q502895 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q753848 property:P725 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?l < ?b ) }
Avatar: The Last Airbender Pururun! Shizuku-chan The Garfield Show
3
action count
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity TaleSpin
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?p ) AS ?l ) WHERE { ?g property:voice_actor ?p . ?g rdf:type ontology:television_genre . ?p rdf:type ontology:common_name } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:TaleSpin property:voice_actor ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?l < ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4363474
P108
Q163740
USER
Which nonprofit organization does Barbara Pearse work for ?
(Q4363474,P108,c(Q163740))
action filter_type
action find
entity Q4363474
relation P108
type Q163740
['Q4363474', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q163740 . resource:Q4363474 property:P108 ?l }
Barbara Pearse
action filter_type
action find
entity Barbara Pearse
relation employer
type nonprofit organization
['Barbara Pearse', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:nonprofit_organization . resource:Barbara_Pearse property:employer ?l }
[]
nonprofit organization
Q41506
SYSTEM
Stanford University
Q41506
(Q4363474,P108,c(Q163740))
action filter_type
action find
entity Q4363474
relation P108
type Q163740
Barbara Pearse works at [ANSWER]
['Q4363474', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q163740 . resource:Q4363474 property:P108 ?l }
Stanford University
Barbara Pearse works at Stanford University
Stanford University
action filter_type
action find
entity Barbara Pearse
relation employer
type nonprofit organization
['Barbara Pearse', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:nonprofit_organization . resource:Barbara_Pearse property:employer ?l }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P138
Q355304 Q163740
USER
How many nonprofit organizations are named after greater number of watercourses than that nonprofit organization ?
(c(Q163740),P138,c(Q355304))
action count
action greater
action find_tuple_counts
relation P138
type Q163740
type Q355304
action count
action filter_type
action find
entity Q41506
relation P138
type Q163740
[{'concept': 'Q163740'}, 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?t ) WHERE { ?j property:P138 ?u . ?j rdf:type ontology:Q163740 . ?u rdf:type ontology:Q355304 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q41506 property:P138 ?c . ?c rdf:type ontology:Q163740 } } . FILTER ( ?t > ?o ) }
action count
action greater
action find_tuple_counts
relation named after
type nonprofit organization
type watercourse
action count
action filter_type
action find
entity Stanford University
relation named after
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?t ) WHERE { ?j property:named_after ?u . ?j rdf:type ontology:nonprofit_organization . ?u rdf:type ontology:watercourse } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Stanford_University property:named_after ?c . ?c rdf:type ontology:nonprofit_organization } } . FILTER ( ?t > ?o ) }
[]
watercourse nonprofit organization
SYSTEM
1
Q313993
(c(Q163740),P138,c(Q355304))
action count
action greater
action find_tuple_counts
relation P138
type Q163740
type Q355304
action count
action filter_type
action find
entity Q41506
relation P138
type Q163740
[ANSWER]
[{'concept': 'Q163740'}, 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?t ) WHERE { ?j property:P138 ?u . ?j rdf:type ontology:Q163740 . ?u rdf:type ontology:Q355304 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Q41506 property:P138 ?c . ?c rdf:type ontology:Q163740 } } . FILTER ( ?t > ?o ) }
Pegnesischer Blumenorden
1
action count
action greater
action find_tuple_counts
relation named after
type nonprofit organization
type watercourse
action count
action filter_type
action find
entity Stanford University
relation named after
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?t ) WHERE { ?j property:named_after ?u . ?j rdf:type ontology:nonprofit_organization . ?u rdf:type ontology:watercourse } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) WHERE { resource:Stanford_University property:named_after ?c . ?c rdf:type ontology:nonprofit_organization } } . FILTER ( ?t > ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41506
P112
Q502895
USER
What are the names of the founders of Stanford University ?
(Q41506,P112,c(Q502895))
action filter_type
action find
entity Q41506
relation P112
type Q502895
['Q41506', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q41506 property:P112 ?h . ?h rdf:type ontology:Q502895 }
Stanford University
action filter_type
action find
entity Stanford University
relation founder
type common name
['Stanford University', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Stanford_University property:founder ?h . ?h rdf:type ontology:common_name }
[]
common name
Q382109 Q2891993
SYSTEM
Leland Stanford, Jane Stanford
Q382109 Q2891993
(Q41506,P112,c(Q502895))
action filter_type
action find
entity Q41506
relation P112
type Q502895
The names of the founders of Stanford University are Stanford [ANSWERS]
['Q41506', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q41506 property:P112 ?h . ?h rdf:type ontology:Q502895 }
Leland Stanford Jane Stanford
The names of the founders of Stanford University are Stanford Leland Stanford and Jane Stanford
Leland Stanford Jane Stanford
action filter_type
action find
entity Stanford University
relation founder
type common name
['Stanford University', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Stanford_University property:founder ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q382109 Q2891993
P112
Q163740
USER
Which nonprofit organizations were started by those people ?
(c(Q163740),P112,Q382109) (c(Q163740),P112,Q2891993)
action filter_type
action find_reverse
entity prev_answer
relation P112
type Q163740
[{'concept': 'Q163740'}, 'P112', 'Q382109'] [{'concept': 'Q163740'}, 'P112', 'Q2891993']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q163740 . ?j property:P112 ?t . VALUES ( ?t ) { ( resource:Q382109 ) ( resource:Q2891993 ) } }
Leland Stanford Jane Stanford
action filter_type
action find_reverse
entity prev_answer
relation founder
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'founder', 'Leland Stanford'] [{'concept': 'nonprofit organization'}, 'founder', 'Jane Stanford']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:nonprofit_organization . ?j property:founder ?t . VALUES ( ?t ) { ( resource:Leland_Stanford ) ( resource:Jane_Stanford ) } }
[]
nonprofit organization
Q41506
SYSTEM
Stanford University
Q41506
(c(Q163740),P112,Q382109) (c(Q163740),P112,Q2891993)
action filter_type
action find_reverse
entity prev_answer
relation P112
type Q163740
The [ANSWER] was started by those people
[{'concept': 'Q163740'}, 'P112', 'Q382109'] [{'concept': 'Q163740'}, 'P112', 'Q2891993']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q163740 . ?j property:P112 ?t . VALUES ( ?t ) { ( resource:Q382109 ) ( resource:Q2891993 ) } }
Stanford University
The Stanford University was started by those people
Stanford University
action filter_type
action find_reverse
entity prev_answer
relation founder
type nonprofit organization
[{'concept': 'nonprofit organization'}, 'founder', 'Leland Stanford'] [{'concept': 'nonprofit organization'}, 'founder', 'Jane Stanford']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:nonprofit_organization . ?j property:founder ?t . VALUES ( ?t ) { ( resource:Leland_Stanford ) ( resource:Jane_Stanford ) } }
[]