Simple Question (Direct)
Simple Question
Q633190
P69
Q41176
USER
Which building is the alma mater of Archibald Howie ?
(Q633190,P69,c(Q41176))
action filter_type
action find
entity Q633190
relation P69
type Q41176
['Q633190', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?g WHERE { resource:Q633190 property:P69 ?g . ?g rdf:type ontology:Q41176 }
Archibald Howie
action filter_type
action find
entity Archibald Howie
relation educated at
type building
['Archibald Howie', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?g WHERE { resource:Archibald_Howie property:educated_at ?g . ?g rdf:type ontology:building }
[]
building
Q332342
SYSTEM
Trinity College, Cambridge
Q332342
(Q633190,P69,c(Q41176))
action filter_type
action find
entity Q633190
relation P69
type Q41176
[ANSWER] is the alma mater of Archibald Howie
['Q633190', 'P69', {'concept': 'Q41176'}]
SELECT DISTINCT ?g WHERE { resource:Q633190 property:P69 ?g . ?g rdf:type ontology:Q41176 }
Trinity College, Cambridge
Trinity College, Cambridge is the alma mater of Archibald Howie
Trinity College, Cambridge
action filter_type
action find
entity Archibald Howie
relation educated at
type building
['Archibald Howie', 'educated at', {'concept': 'building'}]
SELECT DISTINCT ?g WHERE { resource:Archibald_Howie property:educated_at ?g . ?g rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q332342
P915
Q838948
USER
Which works of art had that building as their location of filming ?
(c(Q838948),P915,Q332342)
action filter_type
action find_reverse
entity Q332342
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q332342']
SELECT DISTINCT ?i WHERE { ?i property:P915 resource:Q332342 . ?i rdf:type ontology:Q838948 }
Trinity College, Cambridge
action filter_type
action find_reverse
entity Trinity College, Cambridge
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Trinity College, Cambridge']
SELECT DISTINCT ?i WHERE { ?i property:filming_location resource:Trinity_College,_Cambridge . ?i rdf:type ontology:work_of_art }
[]
work of art
Q20992425 Q6956300
SYSTEM
The Man Who Knew Infinity, N Is a Number: A Portrait of Paul Erdős
Q20992425 Q6956300
(c(Q838948),P915,Q332342)
action filter_type
action find_reverse
entity Q332342
relation P915
type Q838948
The Man Who knew Infinity and N Is a Number: A Portrait of Paul Erdős had that building as their location of filming
[{'concept': 'Q838948'}, 'P915', 'Q332342']
SELECT DISTINCT ?i WHERE { ?i property:P915 resource:Q332342 . ?i rdf:type ontology:Q838948 }
The Man Who Knew Infinity N Is a Number: A Portrait of Paul Erdős
The Man Who knew Infinity and N Is a Number: A Portrait of Paul Erdős had that building as their location of filming
The Man Who Knew Infinity N Is a Number: A Portrait of Paul Erdős
action filter_type
action find_reverse
entity Trinity College, Cambridge
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Trinity College, Cambridge']
SELECT DISTINCT ?i WHERE { ?i property:filming_location resource:Trinity_College,_Cambridge . ?i rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q332342
P108
Q502895
USER
Which people have Trinity College, Cambridge as their employer ?
(c(Q502895),P108,Q332342)
action filter_type
action find_reverse
entity Q332342
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q332342']
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q332342 . ?e rdf:type ontology:Q502895 }
Trinity College, Cambridge
action filter_type
action find_reverse
entity Trinity College, Cambridge
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Trinity College, Cambridge']
SELECT DISTINCT ?e WHERE { ?e property:employer resource:Trinity_College,_Cambridge . ?e rdf:type ontology:common_name }
[]
common name
Q9391 Q349077 Q15990360
SYSTEM
Ludwig Wittgenstein, Rupert Sheldrake, Mark Williams
Q15990360 Q18276895 Q349077 Q9391
(c(Q502895),P108,Q332342)
action filter_type
action find_reverse
entity Q332342
relation P108
type Q502895
[ANSWERS] have Trinity College, Cambridge as their employer
[{'concept': 'Q502895'}, 'P108', 'Q332342']
SELECT DISTINCT ?e WHERE { ?e property:P108 resource:Q332342 . ?e rdf:type ontology:Q502895 }
Mark Williams Gilbert George Lonzarich Rupert Sheldrake Ludwig Wittgenstein
Ludwig Wittgenstein, Rupert Sheldrake and Mark Williams have Trinity College, Cambridge as their employer
Ludwig Wittgenstein Rupert Sheldrake Mark Williams
action filter_type
action find_reverse
entity Trinity College, Cambridge
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Trinity College, Cambridge']
SELECT DISTINCT ?e WHERE { ?e property:employer resource:Trinity_College,_Cambridge . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9391 Q349077 Q15990360
P108
Q41176
USER
Which buildings are the workplaces of Ludwig Wittgenstein, Rupert Sheldrake and Mark Williams ?
(Q9391,P108,c(Q41176)) (Q349077,P108,c(Q41176)) (Q15990360,P108,c(Q41176))
action union
action filter_type
action find
entity Q9391
relation P108
type Q41176
action filter_type
action find
entity Q349077
relation P108
type Q41176
action filter_type
action find
entity Q15990360
relation P108
type Q41176
['Q9391', 'P108', {'concept': 'Q41176'}] ['Q349077', 'P108', {'concept': 'Q41176'}] ['Q15990360', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?e WHERE { { resource:Q9391 property:P108 ?e . ?e rdf:type ontology:Q41176 } UNION { resource:Q349077 property:P108 ?e . ?e rdf:type ontology:Q41176 } }
Ludwig Wittgenstein Rupert Sheldrake Mark Williams
action union
action filter_type
action find
entity Ludwig Wittgenstein
relation employer
type building
action filter_type
action find
entity Rupert Sheldrake
relation employer
type building
action filter_type
action find
entity Mark Williams
relation employer
type building
['Ludwig Wittgenstein', 'employer', {'concept': 'building'}] ['Rupert Sheldrake', 'employer', {'concept': 'building'}] ['Mark Williams', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?e WHERE { { resource:Ludwig_Wittgenstein property:employer ?e . ?e rdf:type ontology:building } UNION { resource:Rupert_Sheldrake property:employer ?e . ?e rdf:type ontology:building } }
[]
building
Q332342 Q332342 Q332342
SYSTEM
Trinity College, Cambridge
Q332342 Q332342 Q332342
(Q9391,P108,c(Q41176)) (Q349077,P108,c(Q41176)) (Q15990360,P108,c(Q41176))
action union
action filter_type
action find
entity Q9391
relation P108
type Q41176
action filter_type
action find
entity Q349077
relation P108
type Q41176
action filter_type
action find
entity Q15990360
relation P108
type Q41176
[ANSWERS], [ANSWERS] and [ANSWERS] are the workplaces of Ludwig Wittgenstein, Rupert Sheldrake and Mark Williams
['Q9391', 'P108', {'concept': 'Q41176'}] ['Q349077', 'P108', {'concept': 'Q41176'}] ['Q15990360', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?e WHERE { { resource:Q9391 property:P108 ?e . ?e rdf:type ontology:Q41176 } UNION { resource:Q349077 property:P108 ?e . ?e rdf:type ontology:Q41176 } }
Trinity College, Cambridge Trinity College, Cambridge Trinity College, Cambridge
Trinity College, Cambridge, Trinity College, Cambridge and Trinity College, Cambridge are the workplaces of Ludwig Wittgenstein, Rupert Sheldrake and Mark Williams
Trinity College, Cambridge Trinity College, Cambridge Trinity College, Cambridge
action union
action filter_type
action find
entity Ludwig Wittgenstein
relation employer
type building
action filter_type
action find
entity Rupert Sheldrake
relation employer
type building
action filter_type
action find
entity Mark Williams
relation employer
type building
['Ludwig Wittgenstein', 'employer', {'concept': 'building'}] ['Rupert Sheldrake', 'employer', {'concept': 'building'}] ['Mark Williams', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?e WHERE { { resource:Ludwig_Wittgenstein property:employer ?e . ?e rdf:type ontology:building } UNION { resource:Rupert_Sheldrake property:employer ?e . ?e rdf:type ontology:building } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q332342
P112
Q502895
USER
Which person founded that building ?
(Q332342,P112,c(Q502895)) (Q332342,P112,c(Q502895)) (Q332342,P112,c(Q502895))
action filter_type
action find
entity Q332342
relation P112
type Q502895
['Q332342', 'P112', {'concept': 'Q502895'}] ['Q332342', 'P112', {'concept': 'Q502895'}] ['Q332342', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q332342 property:P112 ?t }
Trinity College, Cambridge
action filter_type
action find
entity Trinity College, Cambridge
relation founder
type common name
['Trinity College, Cambridge', 'founder', {'concept': 'common name'}] ['Trinity College, Cambridge', 'founder', {'concept': 'common name'}] ['Trinity College, Cambridge', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Trinity_College,_Cambridge property:founder ?t }
[]
common name
Q38370
SYSTEM
Henry VIII
Q38370
(Q332342,P112,c(Q502895)) (Q332342,P112,c(Q502895)) (Q332342,P112,c(Q502895))
action filter_type
action find
entity Q332342
relation P112
type Q502895
[ANSWER] founded that building
['Q332342', 'P112', {'concept': 'Q502895'}] ['Q332342', 'P112', {'concept': 'Q502895'}] ['Q332342', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q332342 property:P112 ?t }
Henry VIII
Henry VIII founded that building
Henry VIII
action filter_type
action find
entity Trinity College, Cambridge
relation founder
type common name
['Trinity College, Cambridge', 'founder', {'concept': 'common name'}] ['Trinity College, Cambridge', 'founder', {'concept': 'common name'}] ['Trinity College, Cambridge', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Trinity_College,_Cambridge property:founder ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q332342
P20
Q502895
USER
Which person has that building as the location of death ?
(c(Q502895),P20,Q38370)
action filter_type
action find_reverse
entity Q332342
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q38370']
SELECT DISTINCT ?v WHERE { ?v property:P20 resource:Q332342 . ?v rdf:type ontology:Q502895 }
Trinity College, Cambridge
action filter_type
action find_reverse
entity Trinity College, Cambridge
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Henry VIII']
SELECT DISTINCT ?v WHERE { ?v property:place_of_death resource:Trinity_College,_Cambridge . ?v rdf:type ontology:common_name }
[]
common name
Q3559952
SYSTEM
Peter Paul Dobree
Q3559952
(c(Q502895),P20,Q38370)
action filter_type
action find_reverse
entity Q332342
relation P20
type Q502895
[ANSWER] has that building as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q38370']
SELECT DISTINCT ?v WHERE { ?v property:P20 resource:Q332342 . ?v rdf:type ontology:Q502895 }
Peter Paul Dobree
Peter Paul Dobree has that building as the location of death
Peter Paul Dobree
action filter_type
action find_reverse
entity Trinity College, Cambridge
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Henry VIII']
SELECT DISTINCT ?v WHERE { ?v property:place_of_death resource:Trinity_College,_Cambridge . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q95074
USER
How many fictional characters did around 3 people do the dubbing for ?
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 3
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?d ) WHERE { ?j rdf:type ontology:Q95074 . ?a rdf:type ontology:Q502895 . ?j property:P725 ?a } GROUP BY ?j } . FILTER ( ?d = 3 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 3
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?d ) WHERE { ?j rdf:type ontology:fictional_character . ?a rdf:type ontology:common_name . ?j property:voice_actor ?a } GROUP BY ?j } . FILTER ( ?d = 3 ) }
[]
common name fictional character
SYSTEM
6
Q21847058 Q11623287 Q3256697 Q21837397 Q21837021 Q21837027
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 3
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?d ) WHERE { ?j rdf:type ontology:Q95074 . ?a rdf:type ontology:Q502895 . ?j property:P725 ?a } GROUP BY ?j } . FILTER ( ?d = 3 ) }
Yūichi Tachibana Takumi Fujiwara Little Mac Takeshi Nakazato Bunta Fujiwara Ryōsuke Takahashi
6
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 3
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?d ) WHERE { ?j rdf:type ontology:fictional_character . ?a rdf:type ontology:common_name . ?j property:voice_actor ?a } GROUP BY ?j } . FILTER ( ?d = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38370
P26
Q502895
USER
Who are married to Henry VIII ?
(c(Q502895),P26,Q38370)
action filter_type
action find
entity Q38370
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q38370']
SELECT DISTINCT ?r WHERE { resource:Q38370 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Henry VIII
action filter_type
action find
entity Henry VIII
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Henry VIII']
SELECT DISTINCT ?r WHERE { resource:Henry_VIII property:spouse ?r . ?r rdf:type ontology:common_name }
[]
common name
Q162819 Q192943 Q80823
SYSTEM
Catherine of Aragon, Catherine Parr, Anne Boleyn
Q57126 Q192943 Q80823 Q182637 Q188926 Q162819
(c(Q502895),P26,Q38370)
action filter_type
action find
entity Q38370
relation P26
type Q502895
[ANSWERS] are married to Henry VIII
[{'concept': 'Q502895'}, 'P26', 'Q38370']
SELECT DISTINCT ?r WHERE { resource:Q38370 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Anne of Cleves Catherine Parr Anne Boleyn Jane Seymour Catherine Howard Catherine of Aragon
Catherine of Aragon, Catherine Parr and Anne Boleyn are married to Henry VIII
Catherine of Aragon Catherine Parr Anne Boleyn
action filter_type
action find
entity Henry VIII
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Henry VIII']
SELECT DISTINCT ?r WHERE { resource:Henry_VIII property:spouse ?r . ?r rdf:type ontology:common_name }
[]