Simple Question (Direct)
Simple Question
Q19279268
P7
Q502895
USER
Who are Ernst Heinrich Abel a sibling of ?
(Q19279268,P7,c(Q502895))
action filter_type
action find
entity Q19279268
relation P7
type Q502895
['Q19279268', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q19279268 property:P7 ?l }
Ernst Heinrich Abel
action filter_type
action find
entity Ernst Heinrich Abel
relation brother
type common name
['Ernst Heinrich Abel', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Ernst_Heinrich_Abel property:brother ?l }
[]
common name
Q168539 Q21482267
SYSTEM
Carl Friedrich Abel, Ernst August Abel
Q168539 Q21482267
(Q19279268,P7,c(Q502895))
action filter_type
action find
entity Q19279268
relation P7
type Q502895
Ernst Heinrich Abel are a sibling of Abel [ANSWERS]
['Q19279268', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q19279268 property:P7 ?l }
Carl Friedrich Abel Ernst August Abel
Ernst Heinrich Abel are a sibling of Abel Carl Friedrich Abel and Ernst August Abel
Carl Friedrich Abel Ernst August Abel
action filter_type
action find
entity Ernst Heinrich Abel
relation brother
type common name
['Ernst Heinrich Abel', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Ernst_Heinrich_Abel property:brother ?l }
[]
Clarification
Simple Question|Single Entity|Indirect
Q168539
P800
Q207628
USER
What notable work was done by that person ?
(Q168539,P800,c(Q207628))
action filter_type
action find
entity Q168539
relation P800
type Q207628
['Q168539', 'P800', {'concept': 'Q207628'}]
SELECT DISTINCT ?z WHERE { resource:Q168539 property:P800 ?z . ?z rdf:type ontology:Q207628 }
Carl Friedrich Abel
action filter_type
action find
entity Carl Friedrich Abel
relation notable work
type musical composition
['Carl Friedrich Abel', 'notable work', {'concept': 'musical composition'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Friedrich_Abel property:notable_work ?z . ?z rdf:type ontology:musical_composition }
[]
musical composition
Clarification for simple ques.
Q21482267
SYSTEM
Did you mean Ernst August Abel ?
Q168539 Q21482267
(Q168539,P800,c(Q207628)) (Q21482267,P800,c(Q207628))
[ANSWER]
['Q168539', 'P800', {'concept': 'Q207628'}] ['Q21482267', 'P800', {'concept': 'Q207628'}]
SELECT DISTINCT ?z WHERE { resource:Q168539 property:P800 ?z . ?z rdf:type ontology:Q207628 }
Carl Friedrich Abel Ernst August Abel
Did you mean Ernst August Abel ?
Ernst August Abel
['Carl Friedrich Abel', 'notable work', {'concept': 'musical composition'}] ['Ernst August Abel', 'notable work', {'concept': 'musical composition'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Friedrich_Abel property:notable_work ?z . ?z rdf:type ontology:musical_composition }
[]
Simple Question (Coreferenced)
USER
No, I meant Carl Friedrich Abel. Could you tell me the answer for that?
(Q168539,P800,c(Q207628))
Q168539
['Q168539', 'P800', {'concept': 'Q207628'}]
['Carl Friedrich Abel', 'notable work', {'concept': 'musical composition'}]
[]
Q223530
SYSTEM
Symphony No. 3
Q223530
(Q168539,P800,c(Q207628))
action filter_type
action find
entity Q168539
relation P800
type Q207628
[ANSWER] was done by that person
['Q168539', 'P800', {'concept': 'Q207628'}]
SELECT DISTINCT ?z WHERE { resource:Q168539 property:P800 ?z . ?z rdf:type ontology:Q207628 }
Symphony No. 3
Symphony No. 3 was done by that person
Symphony No. 3
action filter_type
action find
entity Carl Friedrich Abel
relation notable work
type musical composition
['Carl Friedrich Abel', 'notable work', {'concept': 'musical composition'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Friedrich_Abel property:notable_work ?z . ?z rdf:type ontology:musical_composition }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q168539
P20
Q56061
USER
Where did the demise of Carl Friedrich Abel occur ?
(Q168539,P20,c(Q56061))
action filter_type
action find
entity Q168539
relation P20
type Q56061
['Q168539', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q168539 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Carl Friedrich Abel
action filter_type
action find
entity Carl Friedrich Abel
relation place of death
type administrative territorial entity
['Carl Friedrich Abel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Friedrich_Abel property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q168539,P20,c(Q56061))
action filter_type
action find
entity Q168539
relation P20
type Q56061
The demise of Carl Friedrich Abel occurred in [ANSWER]
['Q168539', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q168539 property:P20 ?z . ?z rdf:type ontology:Q56061 }
London
The demise of Carl Friedrich Abel occurred in London
London
action filter_type
action find
entity Carl Friedrich Abel
relation place of death
type administrative territorial entity
['Carl Friedrich Abel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Carl_Friedrich_Abel property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q559140 Q168539
P47 P27
Q1048835
USER
Which political territories are Carl Friedrich Abel a civilian of or are adjacent to Alcaraz ?
OR((Q168539,P27,c(Q1048835)), (Q559140,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q168539
relation P27
action find
entity Q559140
relation P47
type Q1048835
{'OR': [['Q168539', 'P27', {'concept': 'Q1048835'}], ['Q559140', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q168539 property:P27 ?h } UNION { resource:Q559140 property:P47 ?h } } . ?h rdf:type ontology:Q1048835 }
Alcaraz Carl Friedrich Abel
action filter_type
action union
action find
entity Carl Friedrich Abel
relation country of citizenship
action find
entity Alcaraz
relation shares border with
type political territorial entity
{'OR': [['Carl Friedrich Abel', 'country of citizenship', {'concept': 'political territorial entity'}], ['Alcaraz', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Carl_Friedrich_Abel property:country_of_citizenship ?h } UNION { resource:Alcaraz property:shares_border_with ?h } } . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q582778 Q183 Q54883 Q605263 Q1602450 Q1610078 Q1614899 Q1642043 Q1615209 Q615103
SYSTEM
Some of them are Lezuza, Germany, El Bonillo, Riópar, Salobre, Montiel, Peñascosa, Villanueva de la Fuente, Robledo, Villaverde de Guadalimar
Q574370 Q1606133 Q54883 Q575814 Q983655 Q183 Q1615209 Q582778 Q615103 Q1602450 Q605270 Q1610078 Q615093 Q574364 Q574369 Q1751765 Q1614899 Q192390 Q1632628 Q384843 Q1642043 Q605263 Q1614659 Q609870 Q683624
OR((Q168539,P27,c(Q1048835)), (Q559140,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q168539
relation P27
action find
entity Q559140
relation P47
type Q1048835
[ANSWERS] are Carl Friedrich Abel a civilian of or are adjacent to Alcaraz
{'OR': [['Q168539', 'P27', {'concept': 'Q1048835'}], ['Q559140', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q168539 property:P27 ?h } UNION { resource:Q559140 property:P47 ?h } } . ?h rdf:type ontology:Q1048835 }
Casas de Lázaro Bogarra El Bonillo El Ballestero Villarrodrigo Germany Robledo Lezuza Villaverde de Guadalimar Salobre Povedilla Montiel Villapalacios Balazote Bienservida Torres de Albánchez Peñascosa Molinicos Albaladejo Masegoso Villanueva de la Fuente Riópar Viveros Vianos Paterna del Madera
Lezuza, Germany, El Bonillo, Riópar, Salobre, Montiel, Peñascosa, Villanueva de la Fuente, Robledo and Villaverde de Guadalimar are Carl Friedrich Abel a civilian of or are adjacent to Alcaraz
Lezuza Germany El Bonillo Riópar Salobre Montiel Peñascosa Villanueva de la Fuente Robledo Villaverde de Guadalimar
action filter_type
action union
action find
entity Carl Friedrich Abel
relation country of citizenship
action find
entity Alcaraz
relation shares border with
type political territorial entity
{'OR': [['Carl Friedrich Abel', 'country of citizenship', {'concept': 'political territorial entity'}], ['Alcaraz', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Carl_Friedrich_Abel property:country_of_citizenship ?h } UNION { resource:Alcaraz property:shares_border_with ?h } } . ?h rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q1048835 Q515 Q486972
USER
Which political territories have atleast 2 cities and human settlements as their capital ?
(c(Q515)|c(Q486972),P1376,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
value 2
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?t WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } GROUP BY ?t } . FILTER ( ?c >= 2 ) }
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
value 2
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?t WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:city ) ( ontology:human_settlement ) } } GROUP BY ?t } . FILTER ( ?c >= 2 ) }
[]
political territorial entity city human settlement
Q22880 Q5455586
SYSTEM
Electoral Palatinate, Fitzcarrald
Q22880 Q5455586
(c(Q515)|c(Q486972),P1376,c(Q1048835))
action atleast
action union
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q515
action find_reverse_tuple_counts
relation P1376
type Q1048835
type Q486972
value 2
[ANSWERS] have atleast 2 cities and human settlements as their capital
[[{'concept': 'Q515'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?t WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:Q515 ) ( ontology:Q486972 ) } } GROUP BY ?t } . FILTER ( ?c >= 2 ) }
Electoral Palatinate Fitzcarrald
Electoral Palatinate and Fitzcarrald have atleast 2 cities and human settlements as their capital
Electoral Palatinate Fitzcarrald
action atleast
action union
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type political territorial entity
type human settlement
value 2
[[{'concept': 'city'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) ?t WHERE { ?y rdf:type ?x . VALUES ( ?x ) { ( ontology:city ) ( ontology:human_settlement ) } } GROUP BY ?t } . FILTER ( ?c >= 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
How many political territories have a diplomatic relationship with atleast 3 political territories ?
(c(Q1048835),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 3
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?h ) WHERE { ?c property:P530 ?o . ?o rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?h >= 3 ) }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?h ) WHERE { ?c property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?h >= 3 ) }
[]
political territorial entity political territorial entity
SYSTEM
5
Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 3
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?h ) WHERE { ?c property:P530 ?o . ?o rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 } GROUP BY ?c } . FILTER ( ?h >= 3 ) }
Germany Australia Denmark Canada New Zealand
5
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?h ) WHERE { ?c property:diplomatic_relation ?o . ?o rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?c } . FILTER ( ?h >= 3 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q168539
P21 P7
Q502895
USER
Which people are Carl Friedrich Abel a brother of and are a male ?
AND((c(Q502895),P7,Q168539), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q168539
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q168539'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P7 resource:Q168539 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
male Carl Friedrich Abel
action filter_type
action intersection
action find_reverse
entity Carl Friedrich Abel
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Carl Friedrich Abel'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:brother resource:Carl_Friedrich_Abel . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
common name
Q19279268 Q2665908 Q21482267
SYSTEM
Ernst Heinrich Abel, Leopold August Abel, Ernst August Abel
Q19279268 Q2665908 Q21482267
AND((c(Q502895),P7,Q168539), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q168539
relation P7
action find_reverse
entity Q6581097
relation P21
type Q502895
The [ANSWERS] are Carl Friedrich Abel a brother of and are a male
{'AND': [[{'concept': 'Q502895'}, 'P7', 'Q168539'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P7 resource:Q168539 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
Ernst Heinrich Abel Leopold August Abel Ernst August Abel
The Ernst Heinrich Abel, Leopold August Abel and Ernst August Abel are Carl Friedrich Abel a brother of and are a male
Ernst Heinrich Abel Leopold August Abel Ernst August Abel
action filter_type
action intersection
action find_reverse
entity Carl Friedrich Abel
relation brother
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'brother', 'Carl Friedrich Abel'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:brother resource:Carl_Friedrich_Abel . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q2665908
P40
Q502895
USER
How many people have Leopold August Abel as an offspring ?
(c(Q502895),P40,Q2665908)
action count
action filter_type
action find_reverse
entity Q2665908
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2665908']
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P40 resource:Q2665908 . ?a rdf:type ontology:Q502895 }
Leopold August Abel
action count
action filter_type
action find_reverse
entity Leopold August Abel
relation child
type common name
[{'concept': 'common name'}, 'child', 'Leopold August Abel']
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:child resource:Leopold_August_Abel . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q569442 Q706348
(c(Q502895),P40,Q2665908)
action count
action filter_type
action find_reverse
entity Q2665908
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q2665908']
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P40 resource:Q2665908 . ?a rdf:type ontology:Q502895 }
Clamor Heinrich Abel Christian Ferdinand Abel
2
action count
action filter_type
action find_reverse
entity Leopold August Abel
relation child
type common name
[{'concept': 'common name'}, 'child', 'Leopold August Abel']
SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:child resource:Leopold_August_Abel . ?a rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q18073923
P725
Q502895 Q6619679
USER
Which fictional humanoids had lesser number of people as the dubbing artist than Sunset Shimmer ?
(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 Q18073923
relation P725
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?y ) WHERE { ?c rdf:type ontology:Q6619679 . ?h rdf:type ontology:Q502895 . ?c property:P725 ?h } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q18073923 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?y < ?x ) }
Sunset Shimmer
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Sunset Shimmer
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?y ) WHERE { ?c rdf:type ontology:fictional_humanoid . ?h rdf:type ontology:common_name . ?c property:voice_actor ?h } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Sunset_Shimmer property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?y < ?x ) }
[]
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 Q18073923
relation P725
type Q502895
[ANSWERS] had lesser number of people as the dubbing artist than Sunset Shimmer
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?y ) WHERE { ?c rdf:type ontology:Q6619679 . ?h rdf:type ontology:Q502895 . ?c property:P725 ?h } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Q18073923 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?y < ?x ) }
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 and Imoen had lesser number of people as the dubbing artist than Sunset Shimmer
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 Sunset Shimmer
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?y ) WHERE { ?c rdf:type ontology:fictional_humanoid . ?h rdf:type ontology:common_name . ?c property:voice_actor ?h } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { resource:Sunset_Shimmer property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?y < ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q19796729
P725
Q502895 Q6619679
USER
And also tell me about Michelle?
(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 Q19796729
relation P725
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?y ) WHERE { ?s property:P725 ?f . ?s rdf:type ontology:Q6619679 . ?f rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q19796729 property:P725 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?y < ?w ) }
Michelle
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Michelle
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?y ) WHERE { ?s property:voice_actor ?f . ?s rdf:type ontology:fictional_humanoid . ?f rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Michelle property:voice_actor ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?y < ?w ) }
[]
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 Q19796729
relation P725
type Q502895
[ANSWERS]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?y ) WHERE { ?s property:P725 ?f . ?s rdf:type ontology:Q6619679 . ?f rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q19796729 property:P725 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?y < ?w ) }
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 Imoen
action less
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Michelle
relation voice actor
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?y ) WHERE { ?s property:voice_actor ?f . ?s rdf:type ontology:fictional_humanoid . ?f rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Michelle property:voice_actor ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?y < ?w ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P361
Q2221906 Q56061
USER
How many geographic locations or administrative territories are Germany a component of ?
(Q183,P361,c(Q2221906)) (Q183,P361,c(Q56061))
action count
action union
action filter_type
action find
entity Q183
relation P361
type Q2221906
action filter_type
action find
entity Q183
relation P361
type Q56061
['Q183', 'P361', {'concept': 'Q2221906'}] ['Q183', 'P361', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { ?p rdf:type ontology:Q2221906 . resource:Q183 property:P361 ?p } UNION { ?p rdf:type ontology:Q56061 . resource:Q183 property:P361 ?p } }
Germany
action count
action union
action filter_type
action find
entity Germany
relation part of
type geographic location
action filter_type
action find
entity Germany
relation part of
type administrative territorial entity
['Germany', 'part of', {'concept': 'geographic location'}] ['Germany', 'part of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { ?p rdf:type ontology:geographic_location . resource:Germany property:part_of ?p } UNION { ?p rdf:type ontology:administrative_territorial_entity . resource:Germany property:part_of ?p } }
[]
geographic location administrative territorial entity
SYSTEM
3
Q46 Q458 Q27509
(Q183,P361,c(Q2221906)) (Q183,P361,c(Q56061))
action count
action union
action filter_type
action find
entity Q183
relation P361
type Q2221906
action filter_type
action find
entity Q183
relation P361
type Q56061
[ANSWER]
['Q183', 'P361', {'concept': 'Q2221906'}] ['Q183', 'P361', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { ?p rdf:type ontology:Q2221906 . resource:Q183 property:P361 ?p } UNION { ?p rdf:type ontology:Q56061 . resource:Q183 property:P361 ?p } }
Europe European Union Central Europe
3
action count
action union
action filter_type
action find
entity Germany
relation part of
type geographic location
action filter_type
action find
entity Germany
relation part of
type administrative territorial entity
['Germany', 'part of', {'concept': 'geographic location'}] ['Germany', 'part of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { ?p rdf:type ontology:geographic_location . resource:Germany property:part_of ?p } UNION { ?p rdf:type ontology:administrative_territorial_entity . resource:Germany property:part_of ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P609
Q83620
USER
Which thoroughfares are Germany a terminus location of ?
(c(Q83620),P609,Q183)
action filter_type
action find_reverse
entity Q183
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q183']
SELECT DISTINCT ?x WHERE { ?x property:P609 resource:Q183 . ?x rdf:type ontology:Q83620 }
Germany
action filter_type
action find_reverse
entity Germany
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Germany']
SELECT DISTINCT ?x WHERE { ?x property:terminus_location resource:Germany . ?x rdf:type ontology:thoroughfare }
[]
thoroughfare
Q18619599 Q18679137
SYSTEM
European route E35 in the Netherlands, European route E30 in the Netherlands
Q18619599 Q18679137
(c(Q83620),P609,Q183)
action filter_type
action find_reverse
entity Q183
relation P609
type Q83620
[ANSWERS]
[{'concept': 'Q83620'}, 'P609', 'Q183']
SELECT DISTINCT ?x WHERE { ?x property:P609 resource:Q183 . ?x rdf:type ontology:Q83620 }
European route E35 in the Netherlands European route E30 in the Netherlands
Which thoroughfares are Germany a terminus location of
European route E35 in the Netherlands European route E30 in the Netherlands
action filter_type
action find_reverse
entity Germany
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Germany']
SELECT DISTINCT ?x WHERE { ?x property:terminus_location resource:Germany . ?x rdf:type ontology:thoroughfare }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18619599
P126
Q895526
USER
Who was the custodian of that thoroughfare ?
(Q18619599,P126,c(Q895526))
action filter_type
action find
entity Q18619599
relation P126
type Q895526
['Q18619599', 'P126', {'concept': 'Q895526'}]
SELECT DISTINCT ?y WHERE { resource:Q18619599 property:P126 ?y . ?y rdf:type ontology:Q895526 }
European route E35 in the Netherlands
action filter_type
action find
entity European route E35 in the Netherlands
relation maintained by
type authority organ
['European route E35 in the Netherlands', 'maintained by', {'concept': 'authority organ'}]
SELECT DISTINCT ?y WHERE { resource:European_route_E35_in_the_Netherlands property:maintained_by ?y . ?y rdf:type ontology:authority_organ }
[]
authority organ
Clarification for simple ques.
Q18619599
SYSTEM
Did you mean European route E35 in the Netherlands ?
Q18619599 Q18679137
(Q18619599,P126,c(Q895526)) (Q18679137,P126,c(Q895526))
[ANSWER]
['Q18619599', 'P126', {'concept': 'Q895526'}] ['Q18679137', 'P126', {'concept': 'Q895526'}]
SELECT DISTINCT ?y WHERE { resource:Q18619599 property:P126 ?y . ?y rdf:type ontology:Q895526 }
European route E35 in the Netherlands European route E30 in the Netherlands
Did you mean European route E35 in the Netherlands ?
European route E35 in the Netherlands
['European route E35 in the Netherlands', 'maintained by', {'concept': 'authority organ'}] ['European route E30 in the Netherlands', 'maintained by', {'concept': 'authority organ'}]
SELECT DISTINCT ?y WHERE { resource:European_route_E35_in_the_Netherlands property:maintained_by ?y . ?y rdf:type ontology:authority_organ }
[]
Simple Question (Coreferenced)
USER
Yes
(Q18619599,P126,c(Q895526))
['Q18619599', 'P126', {'concept': 'Q895526'}]
['European route E35 in the Netherlands', 'maintained by', {'concept': 'authority organ'}]
[]
Q1408870
SYSTEM
Rijkswaterstaat
Q1408870
(Q18619599,P126,c(Q895526))
action filter_type
action find
entity Q18619599
relation P126
type Q895526
The custodian of that thoroughfare was the [ANSWER]
['Q18619599', 'P126', {'concept': 'Q895526'}]
SELECT DISTINCT ?y WHERE { resource:Q18619599 property:P126 ?y . ?y rdf:type ontology:Q895526 }
Rijkswaterstaat
The custodian of that thoroughfare was the Rijkswaterstaat
Rijkswaterstaat
action filter_type
action find
entity European route E35 in the Netherlands
relation maintained by
type authority organ
['European route E35 in the Netherlands', 'maintained by', {'concept': 'authority organ'}]
SELECT DISTINCT ?y WHERE { resource:European_route_E35_in_the_Netherlands property:maintained_by ?y . ?y rdf:type ontology:authority_organ }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1408870 Q803
P159
Q56061
USER
Is Utrecht the HQ of Rijkswaterstaat ?
(Q1408870,P159,Q803)
action is_in
entity Q803
action find
entity Q1408870
relation P159
['Q1408870', 'P159', 'Q803']
ASK WHERE { resource:Q1408870 property:P159 resource:Q803 }
Rijkswaterstaat Utrecht
action is_in
entity Utrecht
action find
entity Rijkswaterstaat
relation headquarters location
['Rijkswaterstaat', 'headquarters location', 'Utrecht']
ASK WHERE { resource:Rijkswaterstaat property:headquarters_location resource:Utrecht }
[]
administrative territorial entity
SYSTEM
YES
(Q1408870,P159,Q803)
action is_in
entity Q803
action find
entity Q1408870
relation P159
[ANSWER]
['Q1408870', 'P159', 'Q803']
ASK WHERE { resource:Q1408870 property:P159 resource:Q803 }
Yes
action is_in
entity Utrecht
action find
entity Rijkswaterstaat
relation headquarters location
['Rijkswaterstaat', 'headquarters location', 'Utrecht']
ASK WHERE { resource:Rijkswaterstaat property:headquarters_location resource:Utrecht }
[]