Simple Question (Direct)
Simple Question
Q5318156
P40
Q502895
USER
Who is a child of Dwight Foster ?
(Q5318156,P40,c(Q502895))
action filter_type
action find
entity Q5318156
relation P40
type Q502895
['Q5318156', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q5318156 property:P40 ?q . ?q rdf:type ontology:Q502895 }
Dwight Foster
action filter_type
action find
entity Dwight Foster
relation child
type common name
['Dwight Foster', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Dwight_Foster property:child ?q . ?q rdf:type ontology:common_name }
[]
common name
Q7358905
SYSTEM
Roger Sherman Baldwin Foster
Q7358905
(Q5318156,P40,c(Q502895))
action filter_type
action find
entity Q5318156
relation P40
type Q502895
A child of Dwight Foster is named [ANSWER]
['Q5318156', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q5318156 property:P40 ?q . ?q rdf:type ontology:Q502895 }
Roger Sherman Baldwin Foster
A child of Dwight Foster is named Roger Sherman Baldwin Foster
Roger Sherman Baldwin Foster
action filter_type
action find
entity Dwight Foster
relation child
type common name
['Dwight Foster', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Dwight_Foster property:child ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7358905
P69
Q163740
USER
Which nonprofit organization is that person an alumni of ?
(Q7358905,P69,c(Q163740))
action filter_type
action find
entity Q7358905
relation P69
type Q163740
['Q7358905', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?f WHERE { resource:Q7358905 property:P69 ?f . ?f rdf:type ontology:Q163740 }
Roger Sherman Baldwin Foster
action filter_type
action find
entity Roger Sherman Baldwin Foster
relation educated at
type nonprofit organization
['Roger Sherman Baldwin Foster', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?f WHERE { resource:Roger_Sherman_Baldwin_Foster property:educated_at ?f . ?f rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q7358905,P69,c(Q163740))
action filter_type
action find
entity Q7358905
relation P69
type Q163740
[ANSWER] is that person an alumni of
['Q7358905', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?f WHERE { resource:Q7358905 property:P69 ?f . ?f rdf:type ontology:Q163740 }
Yale University
Yale University is that person an alumni of
Yale University
action filter_type
action find
entity Roger Sherman Baldwin Foster
relation educated at
type nonprofit organization
['Roger Sherman Baldwin Foster', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?f WHERE { resource:Roger_Sherman_Baldwin_Foster property:educated_at ?f . ?f rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7358905
P21
Q290
USER
Which sex does Roger Sherman Baldwin Foster have ?
(Q7358905,P21,c(Q290))
action filter_type
action find
entity Q7358905
relation P21
type Q290
['Q7358905', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q7358905 property:P21 ?i . ?i rdf:type ontology:Q290 }
Roger Sherman Baldwin Foster
action filter_type
action find
entity Roger Sherman Baldwin Foster
relation gender
type sex
['Roger Sherman Baldwin Foster', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Roger_Sherman_Baldwin_Foster property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7358905,P21,c(Q290))
action filter_type
action find
entity Q7358905
relation P21
type Q290
Roger Sherman Baldwin Foster has a [ANSWER]
['Q7358905', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q7358905 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Roger Sherman Baldwin Foster has a male
male
action filter_type
action find
entity Roger Sherman Baldwin Foster
relation gender
type sex
['Roger Sherman Baldwin Foster', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Roger_Sherman_Baldwin_Foster property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7358905
P106
Q28640
USER
What is the job of that person ?
(Q6581097,P106,c(Q28640))
action filter_type
action find
entity Q7358905
relation P106
type Q28640
['Q6581097', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?k WHERE { resource:Q7358905 property:P106 ?k . ?k rdf:type ontology:Q28640 }
Roger Sherman Baldwin Foster
action filter_type
action find
entity Roger Sherman Baldwin Foster
relation occupation
type profession
['male', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?k WHERE { resource:Roger_Sherman_Baldwin_Foster property:occupation ?k . ?k rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q6581097,P106,c(Q28640))
action filter_type
action find
entity Q7358905
relation P106
type Q28640
The job of that person is a [ANSWER]
['Q6581097', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?k WHERE { resource:Q7358905 property:P106 ?k . ?k rdf:type ontology:Q28640 }
lawyer
The job of that person is a lawyer
lawyer
action filter_type
action find
entity Roger Sherman Baldwin Foster
relation occupation
type profession
['male', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?k WHERE { resource:Roger_Sherman_Baldwin_Foster property:occupation ?k . ?k rdf:type ontology:profession }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q40348 Q179718 Q24702819
P417
Q502895
USER
Does that profession have Catherine of Alexandria and Nikola Radojičić as their patron saint ?
(Q40348,P417,Q179718) (Q40348,P417,Q24702819)
action is_in
entity Q40348
action intersection
action find_reverse
entity Q179718
relation P417
action find_reverse
entity Q24702819
relation P417
['Q40348', 'P417', 'Q179718'] ['Q40348', 'P417', 'Q24702819']
ASK WHERE { resource:Q40348 property:P417 resource:Q24702819 . resource:Q40348 property:P417 resource:Q179718 }
lawyer Catherine of Alexandria Nikola Radojičić
action is_in
entity lawyer
action intersection
action find_reverse
entity Catherine of Alexandria
relation patron saint
action find_reverse
entity Nikola Radojičić
relation patron saint
['lawyer', 'patron saint', 'Catherine of Alexandria'] ['lawyer', 'patron saint', 'Nikola Radojičić']
ASK WHERE { resource:lawyer property:patron_saint resource:Nikola_Radojičić . resource:lawyer property:patron_saint resource:Catherine_of_Alexandria }
[]
common name
SYSTEM
YES and NO respectively
(Q40348,P417,Q179718) (Q40348,P417,Q24702819)
action is_in
entity Q40348
action intersection
action find_reverse
entity Q179718
relation P417
action find_reverse
entity Q24702819
relation P417
[ANSWER]
['Q40348', 'P417', 'Q179718'] ['Q40348', 'P417', 'Q24702819']
ASK WHERE { resource:Q40348 property:P417 resource:Q24702819 . resource:Q40348 property:P417 resource:Q179718 }
YES and NO respectively
action is_in
entity lawyer
action intersection
action find_reverse
entity Catherine of Alexandria
relation patron saint
action find_reverse
entity Nikola Radojičić
relation patron saint
['lawyer', 'patron saint', 'Catherine of Alexandria'] ['lawyer', 'patron saint', 'Nikola Radojičić']
ASK WHERE { resource:lawyer property:patron_saint resource:Nikola_Radojičić . resource:lawyer property:patron_saint resource:Catherine_of_Alexandria }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7358905 Q13140
P27
Q15617994
USER
Is Roger Sherman Baldwin Foster an inhabitant of San Benedetto del Tronto ?
(Q7358905,P27,Q13140)
action is_in
entity Q13140
action find
entity Q7358905
relation P27
['Q7358905', 'P27', 'Q13140']
ASK WHERE { resource:Q7358905 property:P27 resource:Q13140 }
Roger Sherman Baldwin Foster San Benedetto del Tronto
action is_in
entity San Benedetto del Tronto
action find
entity Roger Sherman Baldwin Foster
relation country of citizenship
['Roger Sherman Baldwin Foster', 'country of citizenship', 'San Benedetto del Tronto']
ASK WHERE { resource:Roger_Sherman_Baldwin_Foster property:country_of_citizenship resource:San_Benedetto_del_Tronto }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7358905,P27,Q13140)
action is_in
entity Q13140
action find
entity Q7358905
relation P27
[ANSWER]
['Q7358905', 'P27', 'Q13140']
ASK WHERE { resource:Q7358905 property:P27 resource:Q13140 }
No
action is_in
entity San Benedetto del Tronto
action find
entity Roger Sherman Baldwin Foster
relation country of citizenship
['Roger Sherman Baldwin Foster', 'country of citizenship', 'San Benedetto del Tronto']
ASK WHERE { resource:Roger_Sherman_Baldwin_Foster property:country_of_citizenship resource:San_Benedetto_del_Tronto }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q49112 Q129421
P108
Q502895
USER
How many people work for Yale University and University of California, Davis ?
(c(Q502895),P108,Q49112) (c(Q502895),P108,Q129421)
action count
action intersection
action filter_type
action find_reverse
entity Q49112
relation P108
type Q502895
action filter_type
action find_reverse
entity Q129421
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q49112'] [{'concept': 'Q502895'}, 'P108', 'Q129421']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P108 resource:Q49112 . ?o rdf:type ontology:Q502895 . ?o property:P108 resource:Q129421 . ?o rdf:type ontology:Q502895 }
Yale University University of California, Davis
action count
action intersection
action filter_type
action find_reverse
entity Yale University
relation employer
type common name
action filter_type
action find_reverse
entity University of California, Davis
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Yale University'] [{'concept': 'common name'}, 'employer', 'University of California, Davis']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:employer resource:Yale_University . ?o rdf:type ontology:common_name . ?o property:employer resource:University_of_California,_Davis . ?o rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q7369637 Q6755400 Q947582 Q23823587
(c(Q502895),P108,Q49112) (c(Q502895),P108,Q129421)
action count
action intersection
action filter_type
action find_reverse
entity Q49112
relation P108
type Q502895
action filter_type
action find_reverse
entity Q129421
relation P108
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q49112'] [{'concept': 'Q502895'}, 'P108', 'Q129421']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:P108 resource:Q49112 . ?o rdf:type ontology:Q502895 . ?o property:P108 resource:Q129421 . ?o rdf:type ontology:Q502895 }
Ross Starr Marc Blanchard John Roemer Dan Gusfield
4
action count
action intersection
action filter_type
action find_reverse
entity Yale University
relation employer
type common name
action filter_type
action find_reverse
entity University of California, Davis
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Yale University'] [{'concept': 'common name'}, 'employer', 'University of California, Davis']
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { ?o property:employer resource:Yale_University . ?o rdf:type ontology:common_name . ?o property:employer resource:University_of_California,_Davis . ?o rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q659575
Q15416
USER
And what about Dad's Army?
(Q659575,P840,c(Q15416))
action filter_type
action find
entity Q659575
relation P840
type Q15416
['Q659575', 'P840', {'concept': 'Q15416'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15416 . resource:Q659575 property:P840 ?w }
Dad's Army
action filter_type
action find
entity Dad's Army
relation narrative location
type television program
["Dad's Army", 'narrative location', {'concept': 'television program'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:television_program . resource:Dad's_Army property:narrative_location ?w }
[]
television program
Q7963538
SYSTEM
Walmington-on-Sea
Q7963538
(Q659575,P840,c(Q15416))
action filter_type
action find
entity Q659575
relation P840
type Q15416
[ANSWER]
['Q659575', 'P840', {'concept': 'Q15416'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15416 . resource:Q659575 property:P840 ?w }
Walmington-on-Sea
Walmington-on-Sea
action filter_type
action find
entity Dad's Army
relation narrative location
type television program
["Dad's Army", 'narrative location', {'concept': 'television program'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:television_program . resource:Dad's_Army property:narrative_location ?w }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q49112 Q499451
P108
Q502895
USER
How many people works for Yale University and Rutgers University ?
(c(Q502895),P108,Q49112) (c(Q502895),P108,Q499451)
action count
action intersection
action filter_type
action find_reverse
entity Q49112
relation P108
type Q502895
action filter_type
action find_reverse
entity Q499451
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q49112'] [{'concept': 'Q502895'}, 'P108', 'Q499451']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:P108 resource:Q49112 . ?d rdf:type ontology:Q502895 . ?d property:P108 resource:Q499451 . ?d rdf:type ontology:Q502895 }
Yale University Rutgers University
action count
action intersection
action filter_type
action find_reverse
entity Yale University
relation employer
type common name
action filter_type
action find_reverse
entity Rutgers University
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Yale University'] [{'concept': 'common name'}, 'employer', 'Rutgers University']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:employer resource:Yale_University . ?d rdf:type ontology:common_name . ?d property:employer resource:Rutgers_University . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
10
Q5628099 Q4119905 Q6414753 Q5364992 Q5460808 Q2076568 Q5890155 Q1657690 Q5338848 Q630122
(c(Q502895),P108,Q49112) (c(Q502895),P108,Q499451)
action count
action intersection
action filter_type
action find_reverse
entity Q49112
relation P108
type Q502895
action filter_type
action find_reverse
entity Q499451
relation P108
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q49112'] [{'concept': 'Q502895'}, 'P108', 'Q499451']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:P108 resource:Q49112 . ?d rdf:type ontology:Q502895 . ?d property:P108 resource:Q499451 . ?d rdf:type ontology:Q502895 }
H. Bruce Franklin Mary Bunting Kira Hall Ellen Rosand Florence Wald Peter Landweber Homer Mensch Igor Frenkel Edmond Casarella Randall Balmer
10
action count
action intersection
action filter_type
action find_reverse
entity Yale University
relation employer
type common name
action filter_type
action find_reverse
entity Rutgers University
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Yale University'] [{'concept': 'common name'}, 'employer', 'Rutgers University']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { ?d property:employer resource:Yale_University . ?d rdf:type ontology:common_name . ?d property:employer resource:Rutgers_University . ?d rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3177580
P1445
Q15416 Q386724
USER
Which works represents a fictional universe described in less number of television programs than The Walking Dead ?
(c(Q386724),P1445,c(Q15416))
action less
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q3177580
relation P1445
type Q15416
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?o ) WHERE { ?b property:P1445 ?l . ?b rdf:type ontology:Q386724 . ?l rdf:type ontology:Q15416 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q3177580 property:P1445 ?c . ?c rdf:type ontology:Q15416 } } . FILTER ( ?o < ?i ) }
The Walking Dead
action less
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity The Walking Dead
relation fictional universe described in
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?o ) WHERE { ?b property:fictional_universe_described_in ?l . ?b rdf:type ontology:work . ?l rdf:type ontology:television_program } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:The_Walking_Dead property:fictional_universe_described_in ?c . ?c rdf:type ontology:television_program } } . FILTER ( ?o < ?i ) }
[]
television program work
Q15731902 Q11927 Q384426
SYSTEM
Aladdin media franchise, Stargate, Pirates of the Caribbean
Q15731902 Q11927 Q384426
(c(Q386724),P1445,c(Q15416))
action less
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q3177580
relation P1445
type Q15416
[ANSWERS] represent a fictional universe described in less number of television programs than The Walking Dead
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?o ) WHERE { ?b property:P1445 ?l . ?b rdf:type ontology:Q386724 . ?l rdf:type ontology:Q15416 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q3177580 property:P1445 ?c . ?c rdf:type ontology:Q15416 } } . FILTER ( ?o < ?i ) }
Aladdin media franchise Stargate Pirates of the Caribbean
Aladdin media franchise, Stargate and Pirates of the Caribbean represent a fictional universe described in less number of television programs than The Walking Dead
Aladdin media franchise Stargate Pirates of the Caribbean
action less
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity The Walking Dead
relation fictional universe described in
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?o ) WHERE { ?b property:fictional_universe_described_in ?l . ?b rdf:type ontology:work . ?l rdf:type ontology:television_program } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:The_Walking_Dead property:fictional_universe_described_in ?c . ?c rdf:type ontology:television_program } } . FILTER ( ?o < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1203222
P1445
Q15416 Q386724
USER
And what about Shrek?
(c(Q386724),P1445,c(Q15416))
action less
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q1203222
relation P1445
type Q15416
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?m ) WHERE { ?z rdf:type ontology:Q386724 . ?l rdf:type ontology:Q15416 . ?z property:P1445 ?l } GROUP BY ?z } . FILTER ( ?m < ?q ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Q1203222 property:P1445 ?o . ?o rdf:type ontology:Q15416 } } }
Shrek
action less
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity Shrek
relation fictional universe described in
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?m ) WHERE { ?z rdf:type ontology:work . ?l rdf:type ontology:television_program . ?z property:fictional_universe_described_in ?l } GROUP BY ?z } . FILTER ( ?m < ?q ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Shrek property:fictional_universe_described_in ?o . ?o rdf:type ontology:television_program } } }
[]
television program work
Q384426 Q15731902 Q11927
SYSTEM
Pirates of the Caribbean, Aladdin media franchise, Stargate
Q15731902 Q11927 Q3177580 Q384426
(c(Q386724),P1445,c(Q15416))
action less
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q1203222
relation P1445
type Q15416
[ANSWERS]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?m ) WHERE { ?z rdf:type ontology:Q386724 . ?l rdf:type ontology:Q15416 . ?z property:P1445 ?l } GROUP BY ?z } . FILTER ( ?m < ?q ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Q1203222 property:P1445 ?o . ?o rdf:type ontology:Q15416 } } }
Aladdin media franchise Stargate The Walking Dead Pirates of the Caribbean
Pirates of the Caribbean Aladdin media franchise Stargate
action less
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity Shrek
relation fictional universe described in
type television program
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?m ) WHERE { ?z rdf:type ontology:work . ?l rdf:type ontology:television_program . ?z property:fictional_universe_described_in ?l } GROUP BY ?z } . FILTER ( ?m < ?q ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { resource:Shrek property:fictional_universe_described_in ?o . ?o rdf:type ontology:television_program } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1080
Q386724 Q15619164 Q15707583
USER
Which works have approximately the same number of abstract beings or fictional taxons as their universe as that work ?
(c(Q15619164)|c(Q15707583),P1080,c(Q386724))
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1080', {'concept': 'Q386724'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:P1080 ?y } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q16532276 . ?x rdf:type ontology:Q15707583 }
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'from fictional universe', {'concept': 'work'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:from_fictional_universe ?y } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:work . ?x rdf:type ontology:fictional_taxon }
[]
work abstract being fictional taxon
Comparative|More/Less|Mult. entity type|Clarification
Q11927
SYSTEM
Did you mean Stargate ?
(c(Q15619164)|c(Q15707583),P1080,c(Q386724))
[ANSWER]
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1080', {'concept': 'Q386724'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:P1080 ?y } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q16532276 . ?x rdf:type ontology:Q15707583 }
Did you mean Stargate ?
Stargate
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'from fictional universe', {'concept': 'work'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:from_fictional_universe ?y } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:work . ?x rdf:type ontology:fictional_taxon }
[]
Comparative Reasoning (All)
USER
No, I meant Pirates of the Caribbean. Could you tell me the answer for that?
(c(Q15619164)|c(Q15707583),P1080,c(Q386724))
Q384426
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1080', {'concept': 'Q386724'}]
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'from fictional universe', {'concept': 'work'}]
[]
Q1203222 Q384426 Q333156
SYSTEM
Shrek, Pirates of the Caribbean, Power Rangers
Q290106 Q3177580 Q1092 Q384426 Q15051307 Q15905320 Q15731902 Q815739 Q3998250 Q836013 Q333156 Q5027225 Q1203222
(c(Q15619164)|c(Q15707583),P1080,c(Q386724))
[ANSWERS] have approximately the same number of abstract beings or fictional taxons as their universe as that work
[[{'concept': 'Q15619164'}, {'concept': 'Q15707583'}], 'P1080', {'concept': 'Q386724'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1080 ?y } UNION { ?x property:P1080 ?y } } . ?z rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q16532276 . ?x rdf:type ontology:Q15707583 }
StarCraft The Walking Dead Star Trek Pirates of the Caribbean Dragon Ball Talking Tom and Friends Aladdin media franchise Warcraft Tremors Battlestar Galactica Power Rangers Camp Half-Blood chronicles Shrek
Shrek, Pirates of the Caribbean and Power Rangers have approximately the same number of abstract beings or fictional taxons as their universe as that work
Shrek Pirates of the Caribbean Power Rangers
[[{'concept': 'abstract being'}, {'concept': 'fictional taxon'}], 'from fictional universe', {'concept': 'work'}]
SELECT DISTINCT ?y WHERE { { { ?z property:from_fictional_universe ?y } UNION { ?x property:from_fictional_universe ?y } } . ?z rdf:type ontology:abstract_being . ?y rdf:type ontology:work . ?x rdf:type ontology:fictional_taxon }
[]