Simple Question (Direct)
Simple Question
Q380937
P119
Q43229
USER
Where was Erik Gustaf Geijer buried ?
(Q380937,P119,c(Q43229))
action filter_type
action find
entity Q380937
relation P119
type Q43229
['Q380937', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q43229 . resource:Q380937 property:P119 ?t }
Erik Gustaf Geijer
action filter_type
action find
entity Erik Gustaf Geijer
relation place of burial
type organization
['Erik Gustaf Geijer', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:organization . resource:Erik_Gustaf_Geijer property:place_of_burial ?t }
[]
organization
Q4353116
SYSTEM
Uppsala old cemetery
Q4353116
(Q380937,P119,c(Q43229))
action filter_type
action find
entity Q380937
relation P119
type Q43229
Erik Gustaf Geijer was buried in [ANSWER]
['Q380937', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q43229 . resource:Q380937 property:P119 ?t }
Uppsala old cemetery
Erik Gustaf Geijer was buried in Uppsala old cemetery
Uppsala old cemetery
action filter_type
action find
entity Erik Gustaf Geijer
relation place of burial
type organization
['Erik Gustaf Geijer', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:organization . resource:Erik_Gustaf_Geijer property:place_of_burial ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q380937
P138
Q2668072
USER
Which collection has Erik Gustaf Geijer as its toponym ?
(c(Q2668072),P138,Q380937)
action filter_type
action find_reverse
entity Q380937
relation P138
type Q2668072
[{'concept': 'Q2668072'}, 'P138', 'Q380937']
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q380937 . ?j rdf:type ontology:Q2668072 }
Erik Gustaf Geijer
action filter_type
action find_reverse
entity Erik Gustaf Geijer
relation named after
type collection
[{'concept': 'collection'}, 'named after', 'Erik Gustaf Geijer']
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:Erik_Gustaf_Geijer . ?j rdf:type ontology:collection }
[]
collection
Q3357825
SYSTEM
Geijersgården
Q3357825
(c(Q2668072),P138,Q380937)
action filter_type
action find_reverse
entity Q380937
relation P138
type Q2668072
[ANSWER] has Erik Gustaf Geijer as its toponym
[{'concept': 'Q2668072'}, 'P138', 'Q380937']
SELECT DISTINCT ?j WHERE { ?j property:P138 resource:Q380937 . ?j rdf:type ontology:Q2668072 }
Geijersgården
Geijersgården has Erik Gustaf Geijer as its toponym
Geijersgården
action filter_type
action find_reverse
entity Erik Gustaf Geijer
relation named after
type collection
[{'concept': 'collection'}, 'named after', 'Erik Gustaf Geijer']
SELECT DISTINCT ?j WHERE { ?j property:named_after resource:Erik_Gustaf_Geijer . ?j rdf:type ontology:collection }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q380937
P22
Q502895
USER
Which person has that one as dad ?
(c(Q502895),P22,Q3357825)
action filter_type
action find_reverse
entity Q380937
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q3357825']
SELECT DISTINCT ?s WHERE { ?s property:P22 resource:Q380937 . ?s rdf:type ontology:Q502895 }
Erik Gustaf Geijer
action filter_type
action find_reverse
entity Erik Gustaf Geijer
relation father
type common name
[{'concept': 'common name'}, 'father', 'Geijersgården']
SELECT DISTINCT ?s WHERE { ?s property:father resource:Erik_Gustaf_Geijer . ?s rdf:type ontology:common_name }
[]
common name
Q22338189
SYSTEM
Johanna Ulrika Agnes Geijer
Q22338189
(c(Q502895),P22,Q3357825)
action filter_type
action find_reverse
entity Q380937
relation P22
type Q502895
[ANSWER] has that one as dad
[{'concept': 'Q502895'}, 'P22', 'Q3357825']
SELECT DISTINCT ?s WHERE { ?s property:P22 resource:Q380937 . ?s rdf:type ontology:Q502895 }
Johanna Ulrika Agnes Geijer
Johanna Ulrika Agnes Geijer has that one as dad
Johanna Ulrika Agnes Geijer
action filter_type
action find_reverse
entity Erik Gustaf Geijer
relation father
type common name
[{'concept': 'common name'}, 'father', 'Geijersgården']
SELECT DISTINCT ?s WHERE { ?s property:father resource:Erik_Gustaf_Geijer . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q22338189 Q5785876 Q16205934
P26
Q502895
USER
Does that person have Adolf Ludvig Hamilton and John Taylor as spouse ?
(Q22338189,P26,Q5785876) (Q22338189,P26,Q16205934)
action is_in
entity Q22338189
action intersection
action find_reverse
entity Q5785876
relation P26
action find_reverse
entity Q16205934
relation P26
['Q22338189', 'P26', 'Q5785876'] ['Q22338189', 'P26', 'Q16205934']
ASK WHERE { resource:Q22338189 property:P26 resource:Q5785876 . resource:Q22338189 property:P26 resource:Q16205934 }
Johanna Ulrika Agnes Geijer Adolf Ludvig Hamilton John Taylor
action is_in
entity Johanna Ulrika Agnes Geijer
action intersection
action find_reverse
entity Adolf Ludvig Hamilton
relation spouse
action find_reverse
entity John Taylor
relation spouse
['Johanna Ulrika Agnes Geijer', 'spouse', 'Adolf Ludvig Hamilton'] ['Johanna Ulrika Agnes Geijer', 'spouse', 'John Taylor']
ASK WHERE { resource:Johanna_Ulrika_Agnes_Geijer property:spouse resource:Adolf_Ludvig_Hamilton . resource:Johanna_Ulrika_Agnes_Geijer property:spouse resource:John_Taylor }
[]
common name
SYSTEM
YES and NO respectively
(Q22338189,P26,Q5785876) (Q22338189,P26,Q16205934)
action is_in
entity Q22338189
action intersection
action find_reverse
entity Q5785876
relation P26
action find_reverse
entity Q16205934
relation P26
[ANSWER]
['Q22338189', 'P26', 'Q5785876'] ['Q22338189', 'P26', 'Q16205934']
ASK WHERE { resource:Q22338189 property:P26 resource:Q5785876 . resource:Q22338189 property:P26 resource:Q16205934 }
YES and NO respectively
action is_in
entity Johanna Ulrika Agnes Geijer
action intersection
action find_reverse
entity Adolf Ludvig Hamilton
relation spouse
action find_reverse
entity John Taylor
relation spouse
['Johanna Ulrika Agnes Geijer', 'spouse', 'Adolf Ludvig Hamilton'] ['Johanna Ulrika Agnes Geijer', 'spouse', 'John Taylor']
ASK WHERE { resource:Johanna_Ulrika_Agnes_Geijer property:spouse resource:Adolf_Ludvig_Hamilton . resource:Johanna_Ulrika_Agnes_Geijer property:spouse resource:John_Taylor }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4353116 Q34
P17
Q15617994
USER
Is Uppsala old cemetery present in Sweden ?
(Q4353116,P17,Q34)
action is_in
entity Q34
action find
entity Q4353116
relation P17
['Q4353116', 'P17', 'Q34']
ASK WHERE { resource:Q4353116 property:P17 resource:Q34 }
Uppsala old cemetery Sweden
action is_in
entity Sweden
action find
entity Uppsala old cemetery
relation country
['Uppsala old cemetery', 'country', 'Sweden']
ASK WHERE { resource:Uppsala_old_cemetery property:country resource:Sweden }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q4353116,P17,Q34)
action is_in
entity Q34
action find
entity Q4353116
relation P17
[ANSWER]
['Q4353116', 'P17', 'Q34']
ASK WHERE { resource:Q4353116 property:P17 resource:Q34 }
Yes
action is_in
entity Sweden
action find
entity Uppsala old cemetery
relation country
['Uppsala old cemetery', 'country', 'Sweden']
ASK WHERE { resource:Uppsala_old_cemetery property:country resource:Sweden }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P127
Q895526 Q3918 Q2668072
USER
How many collections are owned by around 1 authority organs or universities ?
(c(Q2668072),P127,c(Q895526)|c(Q3918))
action count
action approx
action union
action find_tuple_counts
relation P127
type Q2668072
type Q895526
action find_tuple_counts
relation P127
type Q2668072
type Q3918
value 1
[{'concept': 'Q2668072'}, 'P127', [{'concept': 'Q895526'}, {'concept': 'Q3918'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?w WHERE { { ?w rdf:type ontology:Q2668072 . ?g rdf:type ontology:Q895526 . ?w property:P127 ?g } UNION { ?w property:P127 ?g . ?g rdf:type ontology:Q3918 . ?w rdf:type ontology:Q2668072 } } GROUP BY ?w } . FILTER ( ?k = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation owned by
type collection
type authority organ
action find_tuple_counts
relation owned by
type collection
type university
value 1
[{'concept': 'collection'}, 'owned by', [{'concept': 'authority organ'}, {'concept': 'university'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?w WHERE { { ?w rdf:type ontology:collection . ?g rdf:type ontology:authority_organ . ?w property:owned_by ?g } UNION { ?w property:owned_by ?g . ?g rdf:type ontology:university . ?w rdf:type ontology:collection } } GROUP BY ?w } . FILTER ( ?k = 1 ) }
[]
authority organ university collection
SYSTEM
18
Q12086252 Q7895061 Q3595320 Q7651462 Q2808698 Q6940569 Q24183682 Q1024829 Q1602700 Q9485 Q20103697 Q20742975 Q20734454 Q3077289 Q7138917 Q21620559 Q13560270 Q18545656
(c(Q2668072),P127,c(Q895526)|c(Q3918))
action count
action approx
action union
action find_tuple_counts
relation P127
type Q2668072
type Q895526
action find_tuple_counts
relation P127
type Q2668072
type Q3918
value 1
[ANSWER]
[{'concept': 'Q2668072'}, 'P127', [{'concept': 'Q895526'}, {'concept': 'Q3918'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?w WHERE { { ?w rdf:type ontology:Q2668072 . ?g rdf:type ontology:Q895526 . ?w property:P127 ?g } UNION { ?w property:P127 ?g . ?g rdf:type ontology:Q3918 . ?w rdf:type ontology:Q2668072 } } GROUP BY ?w } . FILTER ( ?k = 1 ) }
Library of Kyiv National University of Trade and Economics University of Arizona Poetry Center Teen Murti Bhavan Suzzallo Library Museum of European and Mediterranean Civilisations Museo Nacional del Virreinato William Benton Museum of Art Buenos Aires Cabildo Radcliffe Camera Manécanterie Watercraft types Mass production vessel Fartyg Forges du Saint-Maurice Parliament Museum Museo Pedro Coronel Mission San Francisco Solano Carillon Barracks
18
action count
action approx
action union
action find_tuple_counts
relation owned by
type collection
type authority organ
action find_tuple_counts
relation owned by
type collection
type university
value 1
[{'concept': 'collection'}, 'owned by', [{'concept': 'authority organ'}, {'concept': 'university'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) ?w WHERE { { ?w rdf:type ontology:collection . ?g rdf:type ontology:authority_organ . ?w property:owned_by ?g } UNION { ?w property:owned_by ?g . ?g rdf:type ontology:university . ?w rdf:type ontology:collection } } GROUP BY ?w } . FILTER ( ?k = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films did exactly 30 people do the dubbing for ?
(c(Q11424),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 30
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q11424 . ?y property:P725 ?o } GROUP BY ?y } . FILTER ( ?b = 30 ) }
action equal
action find_tuple_counts
relation voice actor
type film
type common name
value 30
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:common_name . ?y rdf:type ontology:film . ?y property:voice_actor ?o } GROUP BY ?y } . FILTER ( ?b = 30 ) }
[]
common name film
Q165512
SYSTEM
One Hundred and One Dalmatians
Q165512
(c(Q11424),P725,c(Q502895))
action equal
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 30
Exactly 30 people did the dubbing for the [ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q11424 . ?y property:P725 ?o } GROUP BY ?y } . FILTER ( ?b = 30 ) }
One Hundred and One Dalmatians
Exactly 30 people did the dubbing for the One Hundred and One Dalmatians
One Hundred and One Dalmatians
action equal
action find_tuple_counts
relation voice actor
type film
type common name
value 30
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?b ) WHERE { ?o rdf:type ontology:common_name . ?y rdf:type ontology:film . ?y property:voice_actor ?o } GROUP BY ?y } . FILTER ( ?b = 30 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q277759 Q386724 Q11424
USER
Which films build on max number of book series or works ?
(c(Q11424),P144,c(Q277759)|c(Q386724))
action argmax
action union
action find_tuple_counts
relation P144
type Q11424
type Q277759
action find_tuple_counts
relation P144
type Q11424
type Q386724
[{'concept': 'Q11424'}, 'P144', [{'concept': 'Q277759'}, {'concept': 'Q386724'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?r WHERE { { ?r property:P144 ?k . ?r rdf:type ontology:Q11424 . ?k rdf:type ontology:Q386724 } UNION { ?r property:P144 ?k . ?r rdf:type ontology:Q11424 . ?k rdf:type ontology:Q277759 } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) ?u WHERE { VALUES ( ?d ) { ( ontology:Q277759 ) ( ontology:Q386724 ) } . ?z rdf:type ?d } GROUP BY ?u } . FILTER ( ?b = ?x ) }
action argmax
action union
action find_tuple_counts
relation based on
type film
type book series
action find_tuple_counts
relation based on
type film
type work
[{'concept': 'film'}, 'based on', [{'concept': 'book series'}, {'concept': 'work'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?r WHERE { { ?r property:based_on ?k . ?r rdf:type ontology:film . ?k rdf:type ontology:work } UNION { ?r property:based_on ?k . ?r rdf:type ontology:film . ?k rdf:type ontology:book_series } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) ?u WHERE { VALUES ( ?d ) { ( ontology:book_series ) ( ontology:work ) } . ?z rdf:type ?d } GROUP BY ?u } . FILTER ( ?b = ?x ) }
[]
book series work film
Q250378 Q980041
SYSTEM
The Transformers: The Movie, The Adventures of Tintin
Q250378 Q980041
(c(Q11424),P144,c(Q277759)|c(Q386724))
action argmax
action union
action find_tuple_counts
relation P144
type Q11424
type Q277759
action find_tuple_counts
relation P144
type Q11424
type Q386724
[ANSWERS] build on max number of book series or works
[{'concept': 'Q11424'}, 'P144', [{'concept': 'Q277759'}, {'concept': 'Q386724'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?r WHERE { { ?r property:P144 ?k . ?r rdf:type ontology:Q11424 . ?k rdf:type ontology:Q386724 } UNION { ?r property:P144 ?k . ?r rdf:type ontology:Q11424 . ?k rdf:type ontology:Q277759 } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) ?u WHERE { VALUES ( ?d ) { ( ontology:Q277759 ) ( ontology:Q386724 ) } . ?z rdf:type ?d } GROUP BY ?u } . FILTER ( ?b = ?x ) }
The Transformers: The Movie The Adventures of Tintin
The Transformers: The Movie and The Adventures of Tintin build on max number of book series or works
The Transformers: The Movie The Adventures of Tintin
action argmax
action union
action find_tuple_counts
relation based on
type film
type book series
action find_tuple_counts
relation based on
type film
type work
[{'concept': 'film'}, 'based on', [{'concept': 'book series'}, {'concept': 'work'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MAX ( ?v ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?r WHERE { { ?r property:based_on ?k . ?r rdf:type ontology:film . ?k rdf:type ontology:work } UNION { ?r property:based_on ?k . ?r rdf:type ontology:film . ?k rdf:type ontology:book_series } } GROUP BY ?r } } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) ?u WHERE { VALUES ( ?d ) { ( ontology:book_series ) ( ontology:work ) } . ?z rdf:type ?d } GROUP BY ?u } . FILTER ( ?b = ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q380937
P20
Q56061
USER
Where did Erik Gustaf Geijer expire ?
(Q380937,P20,c(Q56061))
action filter_type
action find
entity Q380937
relation P20
type Q56061
['Q380937', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q380937 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Erik Gustaf Geijer
action filter_type
action find
entity Erik Gustaf Geijer
relation place of death
type administrative territorial entity
['Erik Gustaf Geijer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Erik_Gustaf_Geijer property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(Q380937,P20,c(Q56061))
action filter_type
action find
entity Q380937
relation P20
type Q56061
Erik Gustaf Geijer expired in [ANSWER]
['Q380937', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q380937 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Stockholm
Erik Gustaf Geijer expired in Stockholm
Stockholm
action filter_type
action find
entity Erik Gustaf Geijer
relation place of death
type administrative territorial entity
['Erik Gustaf Geijer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Erik_Gustaf_Geijer property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]