Simple Question (Direct)
Simple Question
Q49979
P22
Q502895
USER
Who was the dad of Steven Runciman ?
(Q49979,P22,c(Q502895))
action filter_type
action find
entity Q49979
relation P22
type Q502895
['Q49979', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q49979 property:P22 ?r }
Steven Runciman
action filter_type
action find
entity Steven Runciman
relation father
type common name
['Steven Runciman', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Steven_Runciman property:father ?r }
[]
common name
Q333376
SYSTEM
Walter Runciman, 1st Viscount Runciman of Doxford
Q333376
(Q49979,P22,c(Q502895))
action filter_type
action find
entity Q49979
relation P22
type Q502895
The dad of Steven Runciman was Sir [ANSWER]
['Q49979', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q49979 property:P22 ?r }
Walter Runciman, 1st Viscount Runciman of Doxford
The dad of Steven Runciman was Sir Walter Runciman, 1st Viscount Runciman of Doxford
Walter Runciman, 1st Viscount Runciman of Doxford
action filter_type
action find
entity Steven Runciman
relation father
type common name
['Steven Runciman', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Steven_Runciman property:father ?r }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q333376 Q145 Q180314
P27
Q15617994
USER
Is that person a native of United Kingdom and Villa San Giovanni in Tuscia ?
(Q333376,P27,Q145) (Q333376,P27,Q180314)
action is_in
entity Q333376
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q180314
relation P27
['Q333376', 'P27', 'Q145'] ['Q333376', 'P27', 'Q180314']
ASK WHERE { resource:Q333376 property:P27 resource:Q145 . resource:Q333376 property:P27 resource:Q180314 }
Walter Runciman, 1st Viscount Runciman of Doxford United Kingdom Villa San Giovanni in Tuscia
action is_in
entity Walter Runciman, 1st Viscount Runciman of Doxford
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Villa San Giovanni in Tuscia
relation country of citizenship
['Walter Runciman, 1st Viscount Runciman of Doxford', 'country of citizenship', 'United Kingdom'] ['Walter Runciman, 1st Viscount Runciman of Doxford', 'country of citizenship', 'Villa San Giovanni in Tuscia']
ASK WHERE { resource:Walter_Runciman,_1st_Viscount_Runciman_of_Doxford property:country_of_citizenship resource:United_Kingdom . resource:Walter_Runciman,_1st_Viscount_Runciman_of_Doxford property:country_of_citizenship resource:Villa_San_Giovanni_in_Tuscia }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q333376,P27,Q145) (Q333376,P27,Q180314)
action is_in
entity Q333376
action intersection
action find_reverse
entity Q145
relation P27
action find_reverse
entity Q180314
relation P27
[ANSWER]
['Q333376', 'P27', 'Q145'] ['Q333376', 'P27', 'Q180314']
ASK WHERE { resource:Q333376 property:P27 resource:Q145 . resource:Q333376 property:P27 resource:Q180314 }
YES and NO respectively
action is_in
entity Walter Runciman, 1st Viscount Runciman of Doxford
action intersection
action find_reverse
entity United Kingdom
relation country of citizenship
action find_reverse
entity Villa San Giovanni in Tuscia
relation country of citizenship
['Walter Runciman, 1st Viscount Runciman of Doxford', 'country of citizenship', 'United Kingdom'] ['Walter Runciman, 1st Viscount Runciman of Doxford', 'country of citizenship', 'Villa San Giovanni in Tuscia']
ASK WHERE { resource:Walter_Runciman,_1st_Viscount_Runciman_of_Doxford property:country_of_citizenship resource:United_Kingdom . resource:Walter_Runciman,_1st_Viscount_Runciman_of_Doxford property:country_of_citizenship resource:Villa_San_Giovanni_in_Tuscia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q49979 Q145
P27
Q15617994
USER
Is United Kingdom the native country of Steven Runciman ?
(Q49979,P27,Q145)
action is_in
entity Q145
action find
entity Q49979
relation P27
['Q49979', 'P27', 'Q145']
ASK WHERE { resource:Q49979 property:P27 resource:Q145 }
Steven Runciman United Kingdom
action is_in
entity United Kingdom
action find
entity Steven Runciman
relation country of citizenship
['Steven Runciman', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Steven_Runciman property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q49979,P27,Q145)
action is_in
entity Q145
action find
entity Q49979
relation P27
[ANSWER]
['Q49979', 'P27', 'Q145']
ASK WHERE { resource:Q49979 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Steven Runciman
relation country of citizenship
['Steven Runciman', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Steven_Runciman property:country_of_citizenship resource:United_Kingdom }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6625963 Q3356245
P425
Q874405
USER
How many social groups are associated with the field of occupation novelist or Civilekonom ?
(Q6625963,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q6625963
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
['Q6625963', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { resource:Q6625963 property:P425 ?m . ?m rdf:type ontology:Q874405 } UNION { resource:Q3356245 property:P425 ?m . ?m rdf:type ontology:Q874405 } }
novelist Civilekonom
action count
action union
action filter_type
action find
entity novelist
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['novelist', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { resource:novelist property:field_of_this_occupation ?m . ?m rdf:type ontology:social_group } UNION { resource:Civilekonom property:field_of_this_occupation ?m . ?m rdf:type ontology:social_group } }
[]
social group
SYSTEM
2
Q4830453 Q163740
(Q6625963,P425,c(Q874405)) (Q3356245,P425,c(Q874405))
action count
action union
action filter_type
action find
entity Q6625963
relation P425
type Q874405
action filter_type
action find
entity Q3356245
relation P425
type Q874405
[ANSWER]
['Q6625963', 'P425', {'concept': 'Q874405'}] ['Q3356245', 'P425', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { resource:Q6625963 property:P425 ?m . ?m rdf:type ontology:Q874405 } UNION { resource:Q3356245 property:P425 ?m . ?m rdf:type ontology:Q874405 } }
business enterprise nonprofit organization
2
action count
action union
action filter_type
action find
entity novelist
relation field of this occupation
type social group
action filter_type
action find
entity Civilekonom
relation field of this occupation
type social group
['novelist', 'field of this occupation', {'concept': 'social group'}] ['Civilekonom', 'field of this occupation', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) WHERE { { resource:novelist property:field_of_this_occupation ?m . ?m rdf:type ontology:social_group } UNION { resource:Civilekonom property:field_of_this_occupation ?m . ?m rdf:type ontology:social_group } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q6625963
P106
Q15619164 Q3914
USER
How many abstract beings or schools have a job as novelist ?
(c(Q15619164),P106,Q6625963) (c(Q3914),P106,Q6625963)
action count
action union
action filter_type
action find_reverse
entity Q6625963
relation P106
type Q15619164
action filter_type
action find_reverse
entity Q6625963
relation P106
type Q3914
[{'concept': 'Q15619164'}, 'P106', 'Q6625963'] [{'concept': 'Q3914'}, 'P106', 'Q6625963']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { ?e property:P106 resource:Q6625963 . ?e rdf:type ontology:Q15619164 } UNION { ?e property:P106 resource:Q6625963 . ?e rdf:type ontology:Q3914 } }
novelist
action count
action union
action filter_type
action find_reverse
entity novelist
relation occupation
type abstract being
action filter_type
action find_reverse
entity novelist
relation occupation
type school
[{'concept': 'abstract being'}, 'occupation', 'novelist'] [{'concept': 'school'}, 'occupation', 'novelist']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { ?e property:occupation resource:novelist . ?e rdf:type ontology:abstract_being } UNION { ?e property:occupation resource:novelist . ?e rdf:type ontology:school } }
[]
abstract being school
SYSTEM
3
Q586362 Q1259713 Q5648374
(c(Q15619164),P106,Q6625963) (c(Q3914),P106,Q6625963)
action count
action union
action filter_type
action find_reverse
entity Q6625963
relation P106
type Q15619164
action filter_type
action find_reverse
entity Q6625963
relation P106
type Q3914
[ANSWER]
[{'concept': 'Q15619164'}, 'P106', 'Q6625963'] [{'concept': 'Q3914'}, 'P106', 'Q6625963']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { ?e property:P106 resource:Q6625963 . ?e rdf:type ontology:Q15619164 } UNION { ?e property:P106 resource:Q6625963 . ?e rdf:type ontology:Q3914 } }
Ellery Queen George Bellairs Hank Janson
3
action count
action union
action filter_type
action find_reverse
entity novelist
relation occupation
type abstract being
action filter_type
action find_reverse
entity novelist
relation occupation
type school
[{'concept': 'abstract being'}, 'occupation', 'novelist'] [{'concept': 'school'}, 'occupation', 'novelist']
SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { { ?e property:occupation resource:novelist . ?e rdf:type ontology:abstract_being } UNION { ?e property:occupation resource:novelist . ?e rdf:type ontology:school } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1148698
P725
Q502895 Q6619679
USER
How many fictional humanoids did approximately the same number of people dub for as Ai Haibara ?
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q1148698
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?n = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q1148698 property:P725 ?f . ?f rdf:type ontology:Q6619679 } } . { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?n ) WHERE { ?m property:P725 ?d . ?d rdf:type ontology:Q502895 . ?m rdf:type ontology:Q6619679 } GROUP BY ?m } }
Ai Haibara
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Ai Haibara
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?n = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Ai_Haibara property:voice_actor ?f . ?f rdf:type ontology:fictional_humanoid } } . { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?n ) WHERE { ?m property:voice_actor ?d . ?d rdf:type ontology:common_name . ?m rdf:type ontology:fictional_humanoid } GROUP BY ?m } }
[]
common name fictional humanoid
SYSTEM
29
Q1623086 Q1205263 Q11609133 Q15726751 Q4992177 Q24010814 Q11479883 Q819585 Q1079617 Q718965 Q3784876 Q4006757 Q15614636 Q1148698 Q1056953 Q18073923 Q250221 Q3149148 Q18156023 Q6989902 Q15726744 Q601978 Q757015 Q15620419 Q13471616 Q12879 Q19796729 Q716636 Q1154920
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q1148698
relation P725
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?n = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q1148698 property:P725 ?f . ?f rdf:type ontology:Q6619679 } } . { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?n ) WHERE { ?m property:P725 ?d . ?d rdf:type ontology:Q502895 . ?m rdf:type ontology:Q6619679 } GROUP BY ?m } }
Hector Barbossa Eli Vance Sayaka Miki Diamond Tiara Cave Johnson Deckard Cain Mami Tomoe Jaina Proudmoore Wallace Breen Hinata Hyuga Henrietta Utena Tenjo Anna (Disney) Ai Haibara Minsc Sunset Shimmer Alyx Vance Imoen Maud Pie Neku Sakuraba Silver Spoon Kyon Sailor Moon Elsa Mr. Bean Toph Beifong Michelle Mr. Burns Father Grigori
29
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Ai Haibara
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { FILTER ( ?n = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Ai_Haibara property:voice_actor ?f . ?f rdf:type ontology:fictional_humanoid } } . { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?n ) WHERE { ?m property:voice_actor ?d . ?d rdf:type ontology:common_name . ?m rdf:type ontology:fictional_humanoid } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49979
P19
Q180673
USER
Which ceremonial county of England was Steven Runciman born at ?
(Q49979,P19,c(Q180673))
action filter_type
action find
entity Q49979
relation P19
type Q180673
['Q49979', 'P19', {'concept': 'Q180673'}]
SELECT DISTINCT ?c WHERE { resource:Q49979 property:P19 ?c . ?c rdf:type ontology:Q180673 }
Steven Runciman
action filter_type
action find
entity Steven Runciman
relation place of birth
type ceremonial county of England
['Steven Runciman', 'place of birth', {'concept': 'ceremonial county of England'}]
SELECT DISTINCT ?c WHERE { resource:Steven_Runciman property:place_of_birth ?c . ?c rdf:type ontology:ceremonial_county_of_England }
[]
ceremonial county of England
Q23079
SYSTEM
Northumberland
Q23079
(Q49979,P19,c(Q180673))
action filter_type
action find
entity Q49979
relation P19
type Q180673
The [ANSWER] was Steven Runciman born at
['Q49979', 'P19', {'concept': 'Q180673'}]
SELECT DISTINCT ?c WHERE { resource:Q49979 property:P19 ?c . ?c rdf:type ontology:Q180673 }
Northumberland
The Northumberland was Steven Runciman born at
Northumberland
action filter_type
action find
entity Steven Runciman
relation place of birth
type ceremonial county of England
['Steven Runciman', 'place of birth', {'concept': 'ceremonial county of England'}]
SELECT DISTINCT ?c WHERE { resource:Steven_Runciman property:place_of_birth ?c . ?c rdf:type ontology:ceremonial_county_of_England }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49979
P50
Q2342494
USER
Which collectable has Steven Runciman as its author ?
(c(Q2342494),P50,Q49979)
action filter_type
action find_reverse
entity Q49979
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q49979']
SELECT DISTINCT ?p WHERE { ?p property:P50 resource:Q49979 . ?p rdf:type ontology:Q2342494 }
Steven Runciman
action filter_type
action find_reverse
entity Steven Runciman
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Steven Runciman']
SELECT DISTINCT ?p WHERE { ?p property:author resource:Steven_Runciman . ?p rdf:type ontology:collectable }
[]
collectable
Q16843770
SYSTEM
A History of the Crusades
Q16843770
(c(Q2342494),P50,Q49979)
action filter_type
action find_reverse
entity Q49979
relation P50
type Q2342494
[ANSWER] has Steven Runciman as its author
[{'concept': 'Q2342494'}, 'P50', 'Q49979']
SELECT DISTINCT ?p WHERE { ?p property:P50 resource:Q49979 . ?p rdf:type ontology:Q2342494 }
A History of the Crusades
A History of the Crusades has Steven Runciman as its author
A History of the Crusades
action filter_type
action find_reverse
entity Steven Runciman
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Steven Runciman']
SELECT DISTINCT ?p WHERE { ?p property:author resource:Steven_Runciman . ?p rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q333376
P937
Q56061
USER
What is the location where Walter Runciman, 1st Viscount Runciman of Doxford worked ?
(Q333376,P937,c(Q56061))
action filter_type
action find
entity Q333376
relation P937
type Q56061
['Q333376', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q333376 property:P937 ?f . ?f rdf:type ontology:Q56061 }
Walter Runciman, 1st Viscount Runciman of Doxford
action filter_type
action find
entity Walter Runciman, 1st Viscount Runciman of Doxford
relation work location
type administrative territorial entity
['Walter Runciman, 1st Viscount Runciman of Doxford', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Walter_Runciman,_1st_Viscount_Runciman_of_Doxford property:work_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q333376,P937,c(Q56061))
action filter_type
action find
entity Q333376
relation P937
type Q56061
The location Walter Runciman , 1st Viscount Runciman of Doxford worked is in [ANSWER]
['Q333376', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q333376 property:P937 ?f . ?f rdf:type ontology:Q56061 }
London
The location Walter Runciman , 1st Viscount Runciman of Doxford worked is in London
London
action filter_type
action find
entity Walter Runciman, 1st Viscount Runciman of Doxford
relation work location
type administrative territorial entity
['Walter Runciman, 1st Viscount Runciman of Doxford', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Walter_Runciman,_1st_Viscount_Runciman_of_Doxford property:work_location ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q84 Q3929375
P190
Q56061
USER
Is Boho, County Fermanagh twin town of that one ?
(Q84,P190,Q3929375)
action is_in
entity Q3929375
action find
entity Q84
relation P190
['Q84', 'P190', 'Q3929375']
ASK WHERE { resource:Q84 property:P190 resource:Q3929375 }
London Boho, County Fermanagh
action is_in
entity Boho, County Fermanagh
action find
entity London
relation sister city
['London', 'sister city', 'Boho, County Fermanagh']
ASK WHERE { resource:London property:sister_city resource:Boho,_County_Fermanagh }
[]
administrative territorial entity
SYSTEM
NO
(Q84,P190,Q3929375)
action is_in
entity Q3929375
action find
entity Q84
relation P190
[ANSWER]
['Q84', 'P190', 'Q3929375']
ASK WHERE { resource:Q84 property:P190 resource:Q3929375 }
No
action is_in
entity Boho, County Fermanagh
action find
entity London
relation sister city
['London', 'sister city', 'Boho, County Fermanagh']
ASK WHERE { resource:London property:sister_city resource:Boho,_County_Fermanagh }
[]