Simple Question (Direct)
Simple Question
Q7599644
P106
Q12737077
USER
What is the profession of Stanley Greenspan ?
(Q7599644,P106,c(Q12737077))
action filter_type
action find
entity Q7599644
relation P106
type Q12737077
['Q7599644', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q7599644 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Stanley Greenspan
action filter_type
action find
entity Stanley Greenspan
relation occupation
type occupation
['Stanley Greenspan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Stanley_Greenspan property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q211346
SYSTEM
psychiatrist
Q211346
(Q7599644,P106,c(Q12737077))
action filter_type
action find
entity Q7599644
relation P106
type Q12737077
The profession of Stanley Greenspan is a [ANSWER]
['Q7599644', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q7599644 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
psychiatrist
The profession of Stanley Greenspan is a psychiatrist
psychiatrist
action filter_type
action find
entity Stanley Greenspan
relation occupation
type occupation
['Stanley Greenspan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Stanley_Greenspan property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7599644
P69
Q163740
USER
Where was Stanley Greenspan educated ?
(Q7599644,P69,c(Q163740))
action filter_type
action find
entity Q7599644
relation P69
type Q163740
['Q7599644', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?p WHERE { resource:Q7599644 property:P69 ?p . ?p rdf:type ontology:Q163740 }
Stanley Greenspan
action filter_type
action find
entity Stanley Greenspan
relation educated at
type nonprofit organization
['Stanley Greenspan', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?p WHERE { resource:Stanley_Greenspan property:educated_at ?p . ?p rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q7599644,P69,c(Q163740))
action filter_type
action find
entity Q7599644
relation P69
type Q163740
Stanley Greenspan was educated by [ANSWER]
['Q7599644', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?p WHERE { resource:Q7599644 property:P69 ?p . ?p rdf:type ontology:Q163740 }
Harvard University
Stanley Greenspan was educated by Harvard University
Harvard University
action filter_type
action find
entity Stanley Greenspan
relation educated at
type nonprofit organization
['Stanley Greenspan', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?p WHERE { resource:Stanley_Greenspan property:educated_at ?p . ?p rdf:type ontology:nonprofit_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3915969
Q163740
USER
And how about Ira Magaziner?
(Q3915969,P69,c(Q163740))
action filter_type
action find
entity Q3915969
relation P69
type Q163740
['Q3915969', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { resource:Q3915969 property:P69 ?o . ?o rdf:type ontology:Q163740 }
Ira Magaziner
action filter_type
action find
entity Ira Magaziner
relation educated at
type nonprofit organization
['Ira Magaziner', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { resource:Ira_Magaziner property:educated_at ?o . ?o rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49114
SYSTEM
Brown University
Q49114
(Q3915969,P69,c(Q163740))
action filter_type
action find
entity Q3915969
relation P69
type Q163740
[ANSWER]
['Q3915969', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?o WHERE { resource:Q3915969 property:P69 ?o . ?o rdf:type ontology:Q163740 }
Brown University
Brown University
action filter_type
action find
entity Ira Magaziner
relation educated at
type nonprofit organization
['Ira Magaziner', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?o WHERE { resource:Ira_Magaziner property:educated_at ?o . ?o rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49114
P937
Q502895
USER
Which person has that nonprofit organization as work location ?
(c(Q502895),P937,Q49114)
action filter_type
action find_reverse
entity Q49114
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q49114']
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q49114 . ?t rdf:type ontology:Q502895 }
Brown University
action filter_type
action find_reverse
entity Brown University
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Brown University']
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Brown_University . ?t rdf:type ontology:common_name }
[]
common name
Q462775
SYSTEM
Joan Massagué Solé
Q462775
(c(Q502895),P937,Q49114)
action filter_type
action find_reverse
entity Q49114
relation P937
type Q502895
[ANSWER] has that nonprofit organization as work location
[{'concept': 'Q502895'}, 'P937', 'Q49114']
SELECT DISTINCT ?t WHERE { ?t property:P937 resource:Q49114 . ?t rdf:type ontology:Q502895 }
Joan Massagué Solé
Joan Massagué Solé has that nonprofit organization as work location
Joan Massagué Solé
action filter_type
action find_reverse
entity Brown University
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Brown University']
SELECT DISTINCT ?t WHERE { ?t property:work_location resource:Brown_University . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q462775
P1412
Q34770
USER
Which language can that person read ?
(Q462775,P1412,c(Q34770))
action filter_type
action find
entity Q462775
relation P1412
type Q34770
['Q462775', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q462775 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Joan Massagué Solé
action filter_type
action find
entity Joan Massagué Solé
relation languages spoken, written or signed
type language
['Joan Massagué Solé', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Joan_Massagué_Solé property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q462775,P1412,c(Q34770))
action filter_type
action find
entity Q462775
relation P1412
type Q34770
That person can read the [ANSWER]
['Q462775', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q462775 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Spanish
That person can read the Spanish
Spanish
action filter_type
action find
entity Joan Massagué Solé
relation languages spoken, written or signed
type language
['Joan Massagué Solé', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Joan_Massagué_Solé property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q13371
P17
Q15617994
USER
How many administrative territories are Harvard University situated in ?
(Q13371,P17,c(Q15617994))
action count
action filter_type
action find
entity Q13371
relation P17
type Q15617994
['Q13371', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Q13371 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Harvard University
action count
action filter_type
action find
entity Harvard University
relation country
type designation for an administrative territorial entity
['Harvard University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Harvard_University property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q13371,P17,c(Q15617994))
action count
action filter_type
action find
entity Q13371
relation P17
type Q15617994
[ANSWER]
['Q13371', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Q13371 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Harvard University
relation country
type designation for an administrative territorial entity
['Harvard University', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { resource:Harvard_University property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q1898776
P17
Q15617994
USER
And how about Naples Park?
(Q1898776,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1898776
relation P17
type Q15617994
['Q1898776', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q1898776 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Naples Park
action count
action filter_type
action find
entity Naples Park
relation country
type designation for an administrative territorial entity
['Naples Park', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Naples_Park property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q1898776,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1898776
relation P17
type Q15617994
[ANSWER]
['Q1898776', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q1898776 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Naples Park
relation country
type designation for an administrative territorial entity
['Naples Park', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Naples_Park property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q4976215
Q15617994
USER
And how about Brown Mountain?
(Q4976215,P17,c(Q15617994))
action count
action filter_type
action find
entity Q4976215
relation P17
type Q15617994
['Q4976215', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q4976215 property:P17 ?x }
Brown Mountain
action count
action filter_type
action find
entity Brown Mountain
relation country
type designation for an administrative territorial entity
['Brown Mountain', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brown_Mountain property:country ?x }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q4976215,P17,c(Q15617994))
action count
action filter_type
action find
entity Q4976215
relation P17
type Q15617994
[ANSWER]
['Q4976215', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:Q15617994 . resource:Q4976215 property:P17 ?x }
1
action count
action filter_type
action find
entity Brown Mountain
relation country
type designation for an administrative territorial entity
['Brown Mountain', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Brown_Mountain property:country ?x }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q16533 Q211346
P106
Q502895
USER
Which people have psychiatrist and judge as his/her means of employment ?
AND((c(Q502895),P106,Q211346), (c(Q502895),P106,Q16533))
action filter_type
action intersection
action find_reverse
entity Q211346
relation P106
action find_reverse
entity Q16533
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q211346'], [{'concept': 'Q502895'}, 'P106', 'Q16533']]}
SELECT DISTINCT ?j WHERE { ?j property:P106 resource:Q211346 . ?j property:P106 resource:Q16533 . ?j rdf:type ontology:Q502895 }
judge psychiatrist
action filter_type
action intersection
action find_reverse
entity psychiatrist
relation occupation
action find_reverse
entity judge
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'psychiatrist'], [{'concept': 'common name'}, 'occupation', 'judge']]}
SELECT DISTINCT ?j WHERE { ?j property:occupation resource:psychiatrist . ?j property:occupation resource:judge . ?j rdf:type ontology:common_name }
[]
common name
Q17352903 Q97210 Q62474 Q1462914 Q60166 Q827963 Q68596 Q1358549 Q1763547 Q96878
SYSTEM
Some of them are Rudolf Lemke, Friedrich Meggendorfer, Hans Gerhard Creutzfeldt, Valentin Faltlhauser, Ernst Kretschmer, Berthold Kihn, Werner Heyde, Ernst Hefter, Max Bräuner, Friedrich Mauz
Q1511926 Q2040275 Q17352903 Q60166 Q97210 Q1560435 Q827963 Q1598827 Q96878 Q2577046 Q17124019 Q107207 Q1763547 Q710686 Q62474 Q2644948 Q1511976 Q1578940 Q1913986 Q68596 Q68571 Q124822 Q1782399 Q1462914 Q99192 Q1358549 Q1352092 Q2062327 Q92035
AND((c(Q502895),P106,Q211346), (c(Q502895),P106,Q16533))
action filter_type
action intersection
action find_reverse
entity Q211346
relation P106
action find_reverse
entity Q16533
relation P106
type Q502895
[ANSWERS] have psychiatrist and judge as his/her means of employment
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q211346'], [{'concept': 'Q502895'}, 'P106', 'Q16533']]}
SELECT DISTINCT ?j WHERE { ?j property:P106 resource:Q211346 . ?j property:P106 resource:Q16533 . ?j rdf:type ontology:Q502895 }
Gerhard Kloos Otto Reisch Rudolf Lemke Ernst Kretschmer Friedrich Meggendorfer Günter Elsässer Berthold Kihn Heinrich Schulte Friedrich Mauz Willi Enke Karsten Jaspersen Carl-Heinz Rodenberg Max Bräuner Arthur Mittag Hans Gerhard Creutzfeldt Alfred Fernholz Gerhard Kreyenberg Hans Bürger-Prinz Maximilian Jahrmärker Werner Heyde Paul Nitsche Ernst Rüdin Konrad Zucker Valentin Faltlhauser Johannes Lange Ernst Hefter Erich Drechsler Paul Schröder Werner Villinger
Rudolf Lemke, Friedrich Meggendorfer, Hans Gerhard Creutzfeldt, Valentin Faltlhauser, Ernst Kretschmer, Berthold Kihn, Werner Heyde, Ernst Hefter, Max Bräuner and Friedrich Mauz have psychiatrist and judge as his/her means of employment
Rudolf Lemke Friedrich Meggendorfer Hans Gerhard Creutzfeldt Valentin Faltlhauser Ernst Kretschmer Berthold Kihn Werner Heyde Ernst Hefter Max Bräuner Friedrich Mauz
action filter_type
action intersection
action find_reverse
entity psychiatrist
relation occupation
action find_reverse
entity judge
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'psychiatrist'], [{'concept': 'common name'}, 'occupation', 'judge']]}
SELECT DISTINCT ?j WHERE { ?j property:occupation resource:psychiatrist . ?j property:occupation resource:judge . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16533 Q3356245
P425
Q874405
USER
How many social groups have judge or Civilekonom as the associated fields of occupation ?
(Q16533,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q16533
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
['Q16533', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { ?j rdf:type ontology:Q874405 . resource:Q16533 property:P425 ?j } UNION { resource:Q3356245 property:P425 ?j . ?j rdf:type ontology:Q874405 } }
judge Civilekonom
action count
action union
action filter_type
action find
entity judge
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['judge', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { ?j rdf:type ontology:social_group . resource:judge property:field_of_this_occupation ?j } UNION { resource:Civilekonom property:field_of_this_occupation ?j . ?j rdf:type ontology:social_group } }
[]
social group
SYSTEM
2
Q4830453 Q163740
(Q16533,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q16533
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
[ANSWER]
['Q16533', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { ?j rdf:type ontology:Q874405 . resource:Q16533 property:P425 ?j } UNION { resource:Q3356245 property:P425 ?j . ?j rdf:type ontology:Q874405 } }
business enterprise nonprofit organization
2
action count
action union
action filter_type
action find
entity judge
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['judge', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { ?j rdf:type ontology:social_group . resource:judge property:field_of_this_occupation ?j } UNION { resource:Civilekonom property:field_of_this_occupation ?j . ?j rdf:type ontology:social_group } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42973
P452
Q4830453
USER
Who is part of the architect industry ?
(c(Q4830453),P452,Q42973)
action filter_type
action find_reverse
entity Q42973
relation P452
type Q4830453
[{'concept': 'Q4830453'}, 'P452', 'Q42973']
SELECT DISTINCT ?a WHERE { ?a property:P452 resource:Q42973 . ?a rdf:type ontology:Q4830453 }
architect
action filter_type
action find_reverse
entity architect
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', 'architect']
SELECT DISTINCT ?a WHERE { ?a property:industry resource:architect . ?a rdf:type ontology:business_enterprise }
[]
business enterprise
Q2863562
SYSTEM
Arquitectonica
Q2863562
(c(Q4830453),P452,Q42973)
action filter_type
action find_reverse
entity Q42973
relation P452
type Q4830453
[ANSWER] is part of the architect industry
[{'concept': 'Q4830453'}, 'P452', 'Q42973']
SELECT DISTINCT ?a WHERE { ?a property:P452 resource:Q42973 . ?a rdf:type ontology:Q4830453 }
Arquitectonica
Arquitectonica is part of the architect industry
Arquitectonica
action filter_type
action find_reverse
entity architect
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', 'architect']
SELECT DISTINCT ?a WHERE { ?a property:industry resource:architect . ?a rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42973
P417
Q502895
USER
What are the names of the patron saint of that occupation ?
(Q2863562,P417,c(Q502895))
action filter_type
action find
entity Q42973
relation P417
type Q502895
['Q2863562', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q42973 property:P417 ?x . ?x rdf:type ontology:Q502895 }
architect
action filter_type
action find
entity architect
relation patron saint
type common name
['Arquitectonica', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:architect property:patron_saint ?x . ?x rdf:type ontology:common_name }
[]
common name
Q43669 Q192816 Q44265
SYSTEM
Thomas the Apostle, Saint Barbara, Benedict of Nursia
Q43669 Q192816 Q44265
(Q2863562,P417,c(Q502895))
action filter_type
action find
entity Q42973
relation P417
type Q502895
The names of the patron saint of that occupation are Saint [ANSWERS]
['Q2863562', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q42973 property:P417 ?x . ?x rdf:type ontology:Q502895 }
Thomas the Apostle Saint Barbara Benedict of Nursia
The names of the patron saint of that occupation are Saint Thomas the Apostle, Saint Barbara and Benedict of Nursia
Thomas the Apostle Saint Barbara Benedict of Nursia
action filter_type
action find
entity architect
relation patron saint
type common name
['Arquitectonica', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:architect property:patron_saint ?x . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q716636
P725
Q502895 Q6619679
USER
Which fictional humanoids did less number of people do the dubbing for than Mr. Burns ?
(c(Q6619679),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q716636
relation P725
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?w < ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Q716636 property:P725 ?o . ?o rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?w ) WHERE { ?q property:P725 ?x . ?q rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q502895 } GROUP BY ?q } }
Mr. Burns
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Mr. Burns
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?w < ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Mr._Burns property:voice_actor ?o . ?o rdf:type ontology:common_name } } . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?w ) WHERE { ?q property:voice_actor ?x . ?q rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:common_name } GROUP BY ?q } }
[]
common name fictional humanoid
Q1623086 Q1205263 Q3149148
SYSTEM
Hector Barbossa, Eli Vance, Imoen
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q4006757 Q15614636 Q1056953 Q250221 Q3149148 Q757015 Q15620419 Q13471616 Q12879 Q1154920
(c(Q6619679),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q716636
relation P725
type Q502895
[ANSWERS] less number of people did the dubbing for than Mr. Burns
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?w < ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Q716636 property:P725 ?o . ?o rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?w ) WHERE { ?q property:P725 ?x . ?q rdf:type ontology:Q6619679 . ?x rdf:type ontology:Q502895 } GROUP BY ?q } }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Utena Tenjo Anna (Disney) Minsc Alyx Vance Imoen Sailor Moon Elsa Mr. Bean Toph Beifong Father Grigori
Hector Barbossa, Eli Vance and Imoen less number of people did the dubbing for than Mr. Burns
Hector Barbossa Eli Vance Imoen
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Mr. Burns
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { FILTER ( ?w < ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Mr._Burns property:voice_actor ?o . ?o rdf:type ontology:common_name } } . { SELECT DISTINCT ?q ( COUNT ( ?x ) AS ?w ) WHERE { ?q property:voice_actor ?x . ?q rdf:type ontology:fictional_humanoid . ?x rdf:type ontology:common_name } GROUP BY ?q } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q15726751
P725
Q502895 Q6619679
USER
And also tell me about Diamond Tiara?
(c(Q6619679),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q15726751
relation P725
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?z ) WHERE { ?y property:P725 ?t . ?y rdf:type ontology:Q6619679 . ?t rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q15726751 property:P725 ?c . ?c rdf:type ontology:Q502895 } } . FILTER ( ?z < ?u ) }
Diamond Tiara
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Diamond Tiara
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?z ) WHERE { ?y property:voice_actor ?t . ?y rdf:type ontology:fictional_humanoid . ?t rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Diamond_Tiara property:voice_actor ?c . ?c rdf:type ontology:common_name } } . FILTER ( ?z < ?u ) }
[]
common name fictional humanoid
Q1623086 Q1205263 Q3149148
SYSTEM
Hector Barbossa, Eli Vance, Imoen
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q718965 Q3784876 Q4006757 Q15614636 Q1148698 Q1056953 Q250221 Q3149148 Q18156023 Q6989902 Q15726744 Q601978 Q757015 Q15620419 Q13471616 Q12879 Q19796729 Q716636 Q1154920
(c(Q6619679),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q15726751
relation P725
type Q502895
[ANSWERS]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?z ) WHERE { ?y property:P725 ?t . ?y rdf:type ontology:Q6619679 . ?t rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Q15726751 property:P725 ?c . ?c rdf:type ontology:Q502895 } } . FILTER ( ?z < ?u ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Hinata Hyuga Henrietta Utena Tenjo Anna (Disney) Ai Haibara Minsc Alyx Vance Imoen Maud Pie Neku Sakuraba Silver Spoon Kyon Sailor Moon Elsa Mr. Bean Toph Beifong Michelle Mr. Burns Father Grigori
Hector Barbossa Eli Vance Imoen
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Diamond Tiara
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?z ) WHERE { ?y property:voice_actor ?t . ?y rdf:type ontology:fictional_humanoid . ?t rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { resource:Diamond_Tiara property:voice_actor ?c . ?c rdf:type ontology:common_name } } . FILTER ( ?z < ?u ) }
[]