Simple Question (Direct)
Simple Question
Q302861
P22
Q502895
USER
Which person was the father of Ordoño IV of León ?
(Q302861,P22,c(Q502895))
action filter_type
action find
entity Q302861
relation P22
type Q502895
['Q302861', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q302861 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Ordoño IV of León
action filter_type
action find
entity Ordoño IV of León
relation father
type common name
['Ordoño IV of León', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Ordoño_IV_of_León property:father ?r . ?r rdf:type ontology:common_name }
[]
common name
Q264836
SYSTEM
Alfonso IV of León
Q264836
(Q302861,P22,c(Q502895))
action filter_type
action find
entity Q302861
relation P22
type Q502895
[ANSWER] was the father of Ordoño IV of León
['Q302861', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q302861 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Alfonso IV of León
Alfonso IV of León was the father of Ordoño IV of León
Alfonso IV of León
action filter_type
action find
entity Ordoño IV of León
relation father
type common name
['Ordoño IV of León', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Ordoño_IV_of_León property:father ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q264836
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q264836)
action filter_type
action find
entity Q264836
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q264836']
SELECT DISTINCT ?c WHERE { resource:Q264836 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Alfonso IV of León
action filter_type
action find
entity Alfonso IV of León
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Alfonso IV of León']
SELECT DISTINCT ?c WHERE { resource:Alfonso_IV_of_León property:spouse ?c . ?c rdf:type ontology:common_name }
[]
common name
Q631083
SYSTEM
Oneca Sánchez of Pamplona
Q631083
(c(Q502895),P26,Q264836)
action filter_type
action find
entity Q264836
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q264836']
SELECT DISTINCT ?c WHERE { resource:Q264836 property:P26 ?c . ?c rdf:type ontology:Q502895 }
Oneca Sánchez of Pamplona
Oneca Sánchez of Pamplona is married to that one
Oneca Sánchez of Pamplona
action filter_type
action find
entity Alfonso IV of León
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Alfonso IV of León']
SELECT DISTINCT ?c WHERE { resource:Alfonso_IV_of_León property:spouse ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q631083
P9
Q502895
USER
Who have that one as thier sibling ?
(Q631083,P9,c(Q502895))
action filter_type
action find
entity Q631083
relation P9
type Q502895
['Q631083', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q631083 property:P9 ?v . ?v rdf:type ontology:Q502895 }
Oneca Sánchez of Pamplona
action filter_type
action find
entity Oneca Sánchez of Pamplona
relation sister
type common name
['Oneca Sánchez of Pamplona', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Oneca_Sánchez_of_Pamplona property:sister ?v . ?v rdf:type ontology:common_name }
[]
common name
Q4009324 Q2554235 Q766420
SYSTEM
Velasquita Sánchez di Navarra, Sancha Sánchez of Pamplona, Urraca Sánchez of Pamplona
Q4009324 Q2554235 Q766420
(Q631083,P9,c(Q502895))
action filter_type
action find
entity Q631083
relation P9
type Q502895
[ANSWERS] have that one as thier sibling
['Q631083', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q631083 property:P9 ?v . ?v rdf:type ontology:Q502895 }
Velasquita Sánchez di Navarra Sancha Sánchez of Pamplona Urraca Sánchez of Pamplona
Velasquita Sánchez di Navarra, Sancha Sánchez of Pamplona and Urraca Sánchez of Pamplona have that one as thier sibling
Velasquita Sánchez di Navarra Sancha Sánchez of Pamplona Urraca Sánchez of Pamplona
action filter_type
action find
entity Oneca Sánchez of Pamplona
relation sister
type common name
['Oneca Sánchez of Pamplona', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Oneca_Sánchez_of_Pamplona property:sister ?v . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12750167 Q631083
P22 P40
Q502895
USER
Which people were the father of Oneca Sánchez of Pamplona or are the children of Đuka Tesla ?
OR((Q631083,P22,c(Q502895)), (Q12750167,P40,c(Q502895)))
action filter_type
action union
action find
entity Q631083
relation P22
action find
entity Q12750167
relation P40
type Q502895
{'OR': [['Q631083', 'P22', {'concept': 'Q502895'}], ['Q12750167', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { { resource:Q631083 property:P22 ?f } UNION { resource:Q12750167 property:P40 ?f } } }
Đuka Tesla Oneca Sánchez of Pamplona
action filter_type
action union
action find
entity Oneca Sánchez of Pamplona
relation father
action find
entity Đuka Tesla
relation child
type common name
{'OR': [['Oneca Sánchez of Pamplona', 'father', {'concept': 'common name'}], ['Đuka Tesla', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { { resource:Oneca_Sánchez_of_Pamplona property:father ?f } UNION { resource:Đuka_Tesla property:child ?f } } }
[]
common name
Q9036 Q16098713 Q914160
SYSTEM
Nikola Tesla, Marica Kosanovic, Sancho I of Pamplona
Q9036 Q16098713 Q914160
OR((Q631083,P22,c(Q502895)), (Q12750167,P40,c(Q502895)))
action filter_type
action union
action find
entity Q631083
relation P22
action find
entity Q12750167
relation P40
type Q502895
[ANSWERS] were the father of Oneca Sánchez of Pamplona or are the children of Đuka Tesla
{'OR': [['Q631083', 'P22', {'concept': 'Q502895'}], ['Q12750167', 'P40', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { { resource:Q631083 property:P22 ?f } UNION { resource:Q12750167 property:P40 ?f } } }
Nikola Tesla Marica Kosanovic Sancho I of Pamplona
Nikola Tesla, Marica Kosanovic and Sancho I of Pamplona were the father of Oneca Sánchez of Pamplona or are the children of Đuka Tesla
Nikola Tesla Marica Kosanovic Sancho I of Pamplona
action filter_type
action union
action find
entity Oneca Sánchez of Pamplona
relation father
action find
entity Đuka Tesla
relation child
type common name
{'OR': [['Oneca Sánchez of Pamplona', 'father', {'concept': 'common name'}], ['Đuka Tesla', 'child', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { { resource:Oneca_Sánchez_of_Pamplona property:father ?f } UNION { resource:Đuka_Tesla property:child ?f } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
How many works have been dubbed by atleast 16 people ?
(c(Q386724),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 16
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?t ) WHERE { ?z property:P725 ?i . ?i rdf:type ontology:Q502895 . ?z rdf:type ontology:Q386724 } GROUP BY ?z } . FILTER ( ?t >= 16 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type work
type common name
value 16
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?t ) WHERE { ?z property:voice_actor ?i . ?i rdf:type ontology:common_name . ?z rdf:type ontology:work } GROUP BY ?z } . FILTER ( ?t >= 16 ) }
[]
common name work
SYSTEM
1
Q26331781
(c(Q386724),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 16
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?t ) WHERE { ?z property:P725 ?i . ?i rdf:type ontology:Q502895 . ?z rdf:type ontology:Q386724 } GROUP BY ?z } . FILTER ( ?t >= 16 ) }
Hércules y el examen de conducir
1
action count
action atleast
action find_tuple_counts
relation voice actor
type work
type common name
value 16
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?t ) WHERE { ?z property:voice_actor ?i . ?i rdf:type ontology:common_name . ?z rdf:type ontology:work } GROUP BY ?z } . FILTER ( ?t >= 16 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q7615342
P725
Q502895 Q15961987
USER
How many television genres did lesser number of people do the dubbing for than Steven Universe ?
(c(Q15961987),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q7615342
relation P725
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?v ) WHERE { ?m property:P725 ?z . ?m rdf:type ontology:Q15961987 . ?z rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?v < ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q7615342 property:P725 ?p . ?p rdf:type ontology:Q502895 } } }
Steven Universe
action count
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Steven Universe
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?v ) WHERE { ?m property:voice_actor ?z . ?m rdf:type ontology:television_genre . ?z rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?v < ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Steven_Universe property:voice_actor ?p . ?p rdf:type ontology:common_name } } }
[]
common name television genre
SYSTEM
10
Q11572 Q24034511 Q11296848 Q3235151 Q576501 Q847219 Q753848 Q886 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q7615342
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?v ) WHERE { ?m property:P725 ?z . ?m rdf:type ontology:Q15961987 . ?z rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?v < ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q7615342 property:P725 ?p . ?p rdf:type ontology:Q502895 } } }
Avatar: The Last Airbender Voltron: Legendary Defender Kiteretsu Daihyakka VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin The Simpsons The Garfield Show Hellsing Ultimate
10
action count
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Steven Universe
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?v ) WHERE { ?m property:voice_actor ?z . ?m rdf:type ontology:television_genre . ?z rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?v < ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Steven_Universe property:voice_actor ?p . ?p rdf:type ontology:common_name } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q53093
P725
Q502895 Q15961987
USER
And what about Adventure Time?
(c(Q15961987),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q53093
relation P725
type Q502895
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?p ) WHERE { ?y property:P725 ?s . ?y rdf:type ontology:Q15961987 . ?s rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w rdf:type ontology:Q502895 . resource:Q53093 property:P725 ?w } } . FILTER ( ?p < ?j ) }
Adventure Time
action count
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Adventure Time
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?p ) WHERE { ?y property:voice_actor ?s . ?y rdf:type ontology:television_genre . ?s rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w rdf:type ontology:common_name . resource:Adventure_Time property:voice_actor ?w } } . FILTER ( ?p < ?j ) }
[]
common name television genre
SYSTEM
12
Q11572 Q24034511 Q11296848 Q7615342 Q3235151 Q576501 Q847219 Q753848 Q5415 Q886 Q917543 Q2750339
(c(Q15961987),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15961987
type Q502895
action count
action filter_type
action find
entity Q53093
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?p ) WHERE { ?y property:P725 ?s . ?y rdf:type ontology:Q15961987 . ?s rdf:type ontology:Q502895 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w rdf:type ontology:Q502895 . resource:Q53093 property:P725 ?w } } . FILTER ( ?p < ?j ) }
Avatar: The Last Airbender Voltron: Legendary Defender Kiteretsu Daihyakka Steven Universe VeggieTales Garfield and Friends Pururun! Shizuku-chan TaleSpin My Little Pony: Friendship Is Magic The Simpsons The Garfield Show Hellsing Ultimate
12
action count
action less
action find_tuple_counts
relation voice actor
type television genre
type common name
action count
action filter_type
action find
entity Adventure Time
relation voice actor
type common name
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?p ) WHERE { ?y property:voice_actor ?s . ?y rdf:type ontology:television_genre . ?s rdf:type ontology:common_name } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?j ) WHERE { ?w rdf:type ontology:common_name . resource:Adventure_Time property:voice_actor ?w } } . FILTER ( ?p < ?j ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9036
P551
Q13220204
USER
Where did Nikola Tesla reside ?
(Q9036,P551,c(Q13220204))
action filter_type
action find
entity Q9036
relation P551
type Q13220204
['Q9036', 'P551', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q13220204 . resource:Q9036 property:P551 ?u }
Nikola Tesla
action filter_type
action find
entity Nikola Tesla
relation residence
type second-level administrative country subdivision
['Nikola Tesla', 'residence', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:second-level_administrative_country_subdivision . resource:Nikola_Tesla property:residence ?u }
[]
second-level administrative country subdivision
Q3617
SYSTEM
Karlovac
Q3617
(Q9036,P551,c(Q13220204))
action filter_type
action find
entity Q9036
relation P551
type Q13220204
Nikola Tesla resided in [ANSWER]
['Q9036', 'P551', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q13220204 . resource:Q9036 property:P551 ?u }
Karlovac
Nikola Tesla resided in Karlovac
Karlovac
action filter_type
action find
entity Nikola Tesla
relation residence
type second-level administrative country subdivision
['Nikola Tesla', 'residence', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:second-level_administrative_country_subdivision . resource:Nikola_Tesla property:residence ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3617
P159
Q43229
USER
Which organization has its head office location at that administrative country subdivision ?
(c(Q43229),P159,Q3617)
action filter_type
action find_reverse
entity Q3617
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q3617']
SELECT DISTINCT ?f WHERE { ?f property:P159 resource:Q3617 . ?f rdf:type ontology:Q43229 }
Karlovac
action filter_type
action find_reverse
entity Karlovac
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Karlovac']
SELECT DISTINCT ?f WHERE { ?f property:headquarters_location resource:Karlovac . ?f rdf:type ontology:organization }
[]
organization
Q3125198
SYSTEM
HS Produkt
Q3125198
(c(Q43229),P159,Q3617)
action filter_type
action find_reverse
entity Q3617
relation P159
type Q43229
[ANSWER] has its head office location at that administrative country subdivision
[{'concept': 'Q43229'}, 'P159', 'Q3617']
SELECT DISTINCT ?f WHERE { ?f property:P159 resource:Q3617 . ?f rdf:type ontology:Q43229 }
HS Produkt
HS Produkt has its head office location at that administrative country subdivision
HS Produkt
action filter_type
action find_reverse
entity Karlovac
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Karlovac']
SELECT DISTINCT ?f WHERE { ?f property:headquarters_location resource:Karlovac . ?f rdf:type ontology:organization }
[]