Simple Question (Direct)
Simple Question
Q96793
P1066
Q502895
USER
Who taught Oskar Mothes ?
(Q96793,P1066,c(Q502895))
action filter_type
action find
entity Q96793
relation P1066
type Q502895
['Q96793', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q96793 property:P1066 ?j . ?j rdf:type ontology:Q502895 }
Oskar Mothes
action filter_type
action find
entity Oskar Mothes
relation student of
type common name
['Oskar Mothes', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Oskar_Mothes property:student_of ?j . ?j rdf:type ontology:common_name }
[]
common name
Q61342
SYSTEM
Gottfried Semper
Q61342
(Q96793,P1066,c(Q502895))
action filter_type
action find
entity Q96793
relation P1066
type Q502895
[ANSWER] taught Oskar Mothes
['Q96793', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q96793 property:P1066 ?j . ?j rdf:type ontology:Q502895 }
Gottfried Semper
Gottfried Semper taught Oskar Mothes
Gottfried Semper
action filter_type
action find
entity Oskar Mothes
relation student of
type common name
['Oskar Mothes', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Oskar_Mothes property:student_of ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q61342
P84
Q44539
USER
What was that person an architect of ?
(c(Q44539),P84,Q61342)
action filter_type
action find_reverse
entity Q61342
relation P84
type Q44539
[{'concept': 'Q44539'}, 'P84', 'Q61342']
SELECT DISTINCT ?p WHERE { ?p property:P84 resource:Q61342 . ?p rdf:type ontology:Q44539 }
Gottfried Semper
action filter_type
action find_reverse
entity Gottfried Semper
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Gottfried Semper']
SELECT DISTINCT ?p WHERE { ?p property:architect resource:Gottfried_Semper . ?p rdf:type ontology:temple }
[]
temple
Q325772
SYSTEM
Semper Synagogue
Q325772
(c(Q44539),P84,Q61342)
action filter_type
action find_reverse
entity Q61342
relation P84
type Q44539
That person an architect of was the [ANSWER]
[{'concept': 'Q44539'}, 'P84', 'Q61342']
SELECT DISTINCT ?p WHERE { ?p property:P84 resource:Q61342 . ?p rdf:type ontology:Q44539 }
Semper Synagogue
That person an architect of was the Semper Synagogue
Semper Synagogue
action filter_type
action find_reverse
entity Gottfried Semper
relation architect
type temple
[{'concept': 'temple'}, 'architect', 'Gottfried Semper']
SELECT DISTINCT ?p WHERE { ?p property:architect resource:Gottfried_Semper . ?p rdf:type ontology:temple }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61342
P937
Q515
USER
Which is the work location of Gottfried Semper ?
(Q61342,P937,c(Q515))
action filter_type
action find
entity Q61342
relation P937
type Q515
['Q61342', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q61342 property:P937 ?q . ?q rdf:type ontology:Q515 }
Gottfried Semper
action filter_type
action find
entity Gottfried Semper
relation work location
type city
['Gottfried Semper', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Gottfried_Semper property:work_location ?q . ?q rdf:type ontology:city }
[]
city
Q1731
SYSTEM
Dresden
Q1731
(Q61342,P937,c(Q515))
action filter_type
action find
entity Q61342
relation P937
type Q515
[ANSWER] is the work location of Gottfried Semper
['Q61342', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q61342 property:P937 ?q . ?q rdf:type ontology:Q515 }
Dresden
Dresden is the work location of Gottfried Semper
Dresden
action filter_type
action find
entity Gottfried Semper
relation work location
type city
['Gottfried Semper', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:Gottfried_Semper property:work_location ?q . ?q rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q61342
P800
Q2668072
USER
What notable work were done by that person ?
(Q1731,P800,c(Q2668072))
action filter_type
action find
entity Q61342
relation P800
type Q2668072
['Q1731', 'P800', {'concept': 'Q2668072'}]
SELECT DISTINCT ?j WHERE { resource:Q61342 property:P800 ?j . ?j rdf:type ontology:Q2668072 }
Gottfried Semper
action filter_type
action find
entity Gottfried Semper
relation notable work
type collection
['Dresden', 'notable work', {'concept': 'collection'}]
SELECT DISTINCT ?j WHERE { resource:Gottfried_Semper property:notable_work ?j . ?j rdf:type ontology:collection }
[]
collection
Q573656 Q95569 Q688704
SYSTEM
Schwerin Castle, Kunsthistorisches Museum, Museum of Natural History
Q573656 Q95569 Q688704
(Q1731,P800,c(Q2668072))
action filter_type
action find
entity Q61342
relation P800
type Q2668072
[ANSWERS] were done by that person
['Q1731', 'P800', {'concept': 'Q2668072'}]
SELECT DISTINCT ?j WHERE { resource:Q61342 property:P800 ?j . ?j rdf:type ontology:Q2668072 }
Schwerin Castle Kunsthistorisches Museum Museum of Natural History
Schwerin Castle, Kunsthistorisches Museum and Museum of Natural History were done by that person
Schwerin Castle Kunsthistorisches Museum Museum of Natural History
action filter_type
action find
entity Gottfried Semper
relation notable work
type collection
['Dresden', 'notable work', {'concept': 'collection'}]
SELECT DISTINCT ?j WHERE { resource:Gottfried_Semper property:notable_work ?j . ?j rdf:type ontology:collection }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1038985 Q61342
P800
Q2668072
USER
Or Carl Hårleman?
OR((Q61342,P800,c(Q2668072)), (Q1038985,P800,c(Q2668072)))
action filter_type
action union
action find
entity Q61342
relation P800
action find
entity Q1038985
relation P800
type Q2668072
{'OR': [['Q61342', 'P800', {'concept': 'Q2668072'}], ['Q1038985', 'P800', {'concept': 'Q2668072'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?w ) { ( resource:Q1038985 ) ( resource:Q61342 ) } . ?w property:P800 ?g } . ?g rdf:type ontology:Q2668072 }
Carl Hårleman Gottfried Semper
action filter_type
action union
action find
entity Gottfried Semper
relation notable work
action find
entity Carl Hårleman
relation notable work
type collection
{'OR': [['Gottfried Semper', 'notable work', {'concept': 'collection'}], ['Carl Hårleman', 'notable work', {'concept': 'collection'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?w ) { ( resource:Carl_Hårleman ) ( resource:Gottfried_Semper ) } . ?w property:notable_work ?g } . ?g rdf:type ontology:collection }
[]
collection
Q573656 Q95569 Q688704 Q681497
SYSTEM
Schwerin Castle, Kunsthistorisches Museum, Museum of Natural History, Stockholm Observatory
Q573656 Q95569 Q688704 Q681497
OR((Q61342,P800,c(Q2668072)), (Q1038985,P800,c(Q2668072)))
action filter_type
action union
action find
entity Q61342
relation P800
action find
entity Q1038985
relation P800
type Q2668072
[ANSWERS]
{'OR': [['Q61342', 'P800', {'concept': 'Q2668072'}], ['Q1038985', 'P800', {'concept': 'Q2668072'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?w ) { ( resource:Q1038985 ) ( resource:Q61342 ) } . ?w property:P800 ?g } . ?g rdf:type ontology:Q2668072 }
Schwerin Castle Kunsthistorisches Museum Museum of Natural History Stockholm Observatory
Schwerin Castle Kunsthistorisches Museum Museum of Natural History Stockholm Observatory
action filter_type
action union
action find
entity Gottfried Semper
relation notable work
action find
entity Carl Hårleman
relation notable work
type collection
{'OR': [['Gottfried Semper', 'notable work', {'concept': 'collection'}], ['Carl Hårleman', 'notable work', {'concept': 'collection'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?w ) { ( resource:Carl_Hårleman ) ( resource:Gottfried_Semper ) } . ?w property:notable_work ?g } . ?g rdf:type ontology:collection }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P84
Q4830453 Q502895 Q2668072
USER
Which collections were lesser number of business enterprises and people the designer of than that collection ?
(c(Q2668072),P84,c(Q4830453)|c(Q502895))
[{'concept': 'Q2668072'}, 'P84', [{'concept': 'Q4830453'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q42973 ?y } UNION { ?z property:Q42973 ?x } } . ?z rdf:type ontology:Q5146077 . ?y rdf:type ontology:Q4830453 . ?x rdf:type ontology:Q502895 }
[{'concept': 'collection'}, 'architect', [{'concept': 'business enterprise'}, {'concept': 'common name'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:architect ?y } UNION { ?z property:architect ?x } } . ?z rdf:type ontology:collection . ?y rdf:type ontology:business_enterprise . ?x rdf:type ontology:common_name }
[]
business enterprise common name collection
Comparative|More/Less|Mult. entity type|Clarification
Q688704
SYSTEM
Did you mean Museum of Natural History ?
(c(Q2668072),P84,c(Q4830453)|c(Q502895))
[ANSWER]
[{'concept': 'Q2668072'}, 'P84', [{'concept': 'Q4830453'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q42973 ?y } UNION { ?z property:Q42973 ?x } } . ?z rdf:type ontology:Q5146077 . ?y rdf:type ontology:Q4830453 . ?x rdf:type ontology:Q502895 }
Did you mean Museum of Natural History ?
Museum of Natural History
[{'concept': 'collection'}, 'architect', [{'concept': 'business enterprise'}, {'concept': 'common name'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:architect ?y } UNION { ?z property:architect ?x } } . ?z rdf:type ontology:collection . ?y rdf:type ontology:business_enterprise . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
No, I meant Stockholm Observatory. Could you tell me the answer for that?
(c(Q2668072),P84,c(Q4830453)|c(Q502895))
Q681497
[{'concept': 'Q2668072'}, 'P84', [{'concept': 'Q4830453'}, {'concept': 'Q502895'}]]
[{'concept': 'collection'}, 'architect', [{'concept': 'business enterprise'}, {'concept': 'common name'}]]
[]
SYSTEM
8
Q5029759 Q2583681 Q4662030 Q917636 Q5503601 Q2442171 Q4250281 Q3084238
(c(Q2668072),P84,c(Q4830453)|c(Q502895))
[ANSWER]
[{'concept': 'Q2668072'}, 'P84', [{'concept': 'Q4830453'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:Q42973 ?y } UNION { ?z property:Q42973 ?x } } . ?z rdf:type ontology:Q5146077 . ?y rdf:type ontology:Q4830453 . ?x rdf:type ontology:Q502895 }
Canadian Bank of Commerce Grand Egyptian Museum Aaron G. Cloud House Congress Hall Frieboeshvile Solvay Library Seinäjoki Town Library Macao Science Center
8
[{'concept': 'collection'}, 'architect', [{'concept': 'business enterprise'}, {'concept': 'common name'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:architect ?y } UNION { ?z property:architect ?x } } . ?z rdf:type ontology:collection . ?y rdf:type ontology:business_enterprise . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q95569
P195
Q18783400 Q15709879
USER
How many genres of sculpture or artwork series are safeguarded in Kunsthistorisches Museum ?
(c(Q18783400),P195,Q95569) (c(Q15709879),P195,Q95569)
action count
action union
action filter_type
action find_reverse
entity Q95569
relation P195
type Q18783400
action filter_type
action find_reverse
entity Q95569
relation P195
type Q15709879
[{'concept': 'Q18783400'}, 'P195', 'Q95569'] [{'concept': 'Q15709879'}, 'P195', 'Q95569']
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { ?f property:P195 resource:Q95569 . ?f rdf:type ontology:Q18783400 } UNION { ?f property:P195 resource:Q95569 . ?f rdf:type ontology:Q15709879 } }
Kunsthistorisches Museum
action count
action union
action filter_type
action find_reverse
entity Kunsthistorisches Museum
relation collection
type genre of sculpture
action filter_type
action find_reverse
entity Kunsthistorisches Museum
relation collection
type artwork series
[{'concept': 'genre of sculpture'}, 'collection', 'Kunsthistorisches Museum'] [{'concept': 'artwork series'}, 'collection', 'Kunsthistorisches Museum']
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { ?f property:collection resource:Kunsthistorisches_Museum . ?f rdf:type ontology:genre_of_sculpture } UNION { ?f property:collection resource:Kunsthistorisches_Museum . ?f rdf:type ontology:artwork_series } }
[]
genre of sculpture artwork series
SYSTEM
2
Q27031521 Q1366189
(c(Q18783400),P195,Q95569) (c(Q15709879),P195,Q95569)
action count
action union
action filter_type
action find_reverse
entity Q95569
relation P195
type Q18783400
action filter_type
action find_reverse
entity Q95569
relation P195
type Q15709879
[ANSWER]
[{'concept': 'Q18783400'}, 'P195', 'Q95569'] [{'concept': 'Q15709879'}, 'P195', 'Q95569']
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { ?f property:P195 resource:Q95569 . ?f rdf:type ontology:Q18783400 } UNION { ?f property:P195 resource:Q95569 . ?f rdf:type ontology:Q15709879 } }
Theseus defeats the centaur Portraits of the Archduchesses
2
action count
action union
action filter_type
action find_reverse
entity Kunsthistorisches Museum
relation collection
type genre of sculpture
action filter_type
action find_reverse
entity Kunsthistorisches Museum
relation collection
type artwork series
[{'concept': 'genre of sculpture'}, 'collection', 'Kunsthistorisches Museum'] [{'concept': 'artwork series'}, 'collection', 'Kunsthistorisches Museum']
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { ?f property:collection resource:Kunsthistorisches_Museum . ?f rdf:type ontology:genre_of_sculpture } UNION { ?f property:collection resource:Kunsthistorisches_Museum . ?f rdf:type ontology:artwork_series } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P608
Q1656682 Q667276 Q502895
USER
Which people were displayed at max number of events or art exhibitions ?
(c(Q502895),P608,c(Q1656682)|c(Q667276))
action argmax
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q667276
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?z WHERE { { ?z property:P608 ?a . ?z rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1656682 } UNION { ?z rdf:type ontology:Q502895 . ?a rdf:type ontology:Q667276 . ?z property:P608 ?a } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?l WHERE { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:Q667276 ) ( ontology:Q1656682 ) } } GROUP BY ?l } . FILTER ( ?v = ?x ) }
action argmax
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?z WHERE { { ?z property:exhibition_history ?a . ?z rdf:type ontology:common_name . ?a rdf:type ontology:event } UNION { ?z rdf:type ontology:common_name . ?a rdf:type ontology:art_exhibition . ?z property:exhibition_history ?a } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?l WHERE { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:art_exhibition ) ( ontology:event ) } } GROUP BY ?l } . FILTER ( ?v = ?x ) }
[]
event art exhibition common name
Q3335569
SYSTEM
Nancy Elizabeth Prophet
Q3335569
(c(Q502895),P608,c(Q1656682)|c(Q667276))
action argmax
action union
action find_tuple_counts
relation P608
type Q502895
type Q1656682
action find_tuple_counts
relation P608
type Q502895
type Q667276
[ANSWER] was displayed at max number of events or art exhibitions
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q1656682'}, {'concept': 'Q667276'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?z WHERE { { ?z property:P608 ?a . ?z rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1656682 } UNION { ?z rdf:type ontology:Q502895 . ?a rdf:type ontology:Q667276 . ?z property:P608 ?a } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?l WHERE { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:Q667276 ) ( ontology:Q1656682 ) } } GROUP BY ?l } . FILTER ( ?v = ?x ) }
Nancy Elizabeth Prophet
Nancy Elizabeth Prophet was displayed at max number of events or art exhibitions
Nancy Elizabeth Prophet
action argmax
action union
action find_tuple_counts
relation exhibition history
type common name
type event
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'event'}, {'concept': 'art exhibition'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) ?z WHERE { { ?z property:exhibition_history ?a . ?z rdf:type ontology:common_name . ?a rdf:type ontology:event } UNION { ?z rdf:type ontology:common_name . ?a rdf:type ontology:art_exhibition . ?z property:exhibition_history ?a } } GROUP BY ?z } } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?l WHERE { ?k rdf:type ?o . VALUES ( ?o ) { ( ontology:art_exhibition ) ( ontology:event ) } } GROUP BY ?l } . FILTER ( ?v = ?x ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3335569 Q633784 Q30
P27
Q15617994
USER
Is that person a native of Garlstorf and United States of America ?
(Q3335569,P27,Q633784) (Q3335569,P27,Q30)
action is_in
entity Q3335569
action intersection
action find_reverse
entity Q633784
relation P27
action find_reverse
entity Q30
relation P27
['Q3335569', 'P27', 'Q633784'] ['Q3335569', 'P27', 'Q30']
ASK WHERE { resource:Q3335569 property:P27 resource:Q30 . resource:Q3335569 property:P27 resource:Q633784 }
Nancy Elizabeth Prophet Garlstorf United States of America
action is_in
entity Nancy Elizabeth Prophet
action intersection
action find_reverse
entity Garlstorf
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Nancy Elizabeth Prophet', 'country of citizenship', 'Garlstorf'] ['Nancy Elizabeth Prophet', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Nancy_Elizabeth_Prophet property:country_of_citizenship resource:United_States_of_America . resource:Nancy_Elizabeth_Prophet property:country_of_citizenship resource:Garlstorf }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q3335569,P27,Q633784) (Q3335569,P27,Q30)
action is_in
entity Q3335569
action intersection
action find_reverse
entity Q633784
relation P27
action find_reverse
entity Q30
relation P27
[ANSWER]
['Q3335569', 'P27', 'Q633784'] ['Q3335569', 'P27', 'Q30']
ASK WHERE { resource:Q3335569 property:P27 resource:Q30 . resource:Q3335569 property:P27 resource:Q633784 }
NO and YES respectively
action is_in
entity Nancy Elizabeth Prophet
action intersection
action find_reverse
entity Garlstorf
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
['Nancy Elizabeth Prophet', 'country of citizenship', 'Garlstorf'] ['Nancy Elizabeth Prophet', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Nancy_Elizabeth_Prophet property:country_of_citizenship resource:United_States_of_America . resource:Nancy_Elizabeth_Prophet property:country_of_citizenship resource:Garlstorf }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q61342 Q183
P27
Q1048835
USER
Is Germany the country of citizenship of Gottfried Semper ?
(Q61342,P27,Q183)
action is_in
entity Q183
action find
entity Q61342
relation P27
['Q61342', 'P27', 'Q183']
ASK WHERE { resource:Q61342 property:P27 resource:Q183 }
Gottfried Semper Germany
action is_in
entity Germany
action find
entity Gottfried Semper
relation country of citizenship
['Gottfried Semper', 'country of citizenship', 'Germany']
ASK WHERE { resource:Gottfried_Semper property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q61342,P27,Q183)
action is_in
entity Q183
action find
entity Q61342
relation P27
[ANSWER]
['Q61342', 'P27', 'Q183']
ASK WHERE { resource:Q61342 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Gottfried Semper
relation country of citizenship
['Gottfried Semper', 'country of citizenship', 'Germany']
ASK WHERE { resource:Gottfried_Semper property:country_of_citizenship resource:Germany }
[]