Simple Question (Direct)
Simple Question
Q4931911
P166
Q618779
USER
Which award was Bob Braham awarded with ?
(Q4931911,P166,c(Q618779))
action filter_type
action find
entity Q4931911
relation P166
type Q618779
['Q4931911', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q4931911 property:P166 ?m . ?m rdf:type ontology:Q618779 }
Bob Braham
action filter_type
action find
entity Bob Braham
relation award received
type award
['Bob Braham', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Bob_Braham property:award_received ?m . ?m rdf:type ontology:award }
[]
award
Q2427600
SYSTEM
Air Force Cross
Q2427600
(Q4931911,P166,c(Q618779))
action filter_type
action find
entity Q4931911
relation P166
type Q618779
Bob Braham was awarded the [ANSWER]
['Q4931911', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q4931911 property:P166 ?m . ?m rdf:type ontology:Q618779 }
Air Force Cross
Bob Braham was awarded the Air Force Cross
Air Force Cross
action filter_type
action find
entity Bob Braham
relation award received
type award
['Bob Braham', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Bob_Braham property:award_received ?m . ?m rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4931911
P410
Q4189293
USER
Which is the title held by Bob Braham ?
(Q4931911,P410,c(Q4189293))
action filter_type
action find
entity Q4931911
relation P410
type Q4189293
['Q4931911', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?b WHERE { resource:Q4931911 property:P410 ?b . ?b rdf:type ontology:Q4189293 }
Bob Braham
action filter_type
action find
entity Bob Braham
relation military rank
type title
['Bob Braham', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { resource:Bob_Braham property:military_rank ?b . ?b rdf:type ontology:title }
[]
title
Q10975529
SYSTEM
group captain
Q10975529
(Q4931911,P410,c(Q4189293))
action filter_type
action find
entity Q4931911
relation P410
type Q4189293
The [ANSWER] is the title held by Bob Braham
['Q4931911', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?b WHERE { resource:Q4931911 property:P410 ?b . ?b rdf:type ontology:Q4189293 }
group captain
The group captain is the title held by Bob Braham
group captain
action filter_type
action find
entity Bob Braham
relation military rank
type title
['Bob Braham', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?b WHERE { resource:Bob_Braham property:military_rank ?b . ?b rdf:type ontology:title }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4931911
P27
Q15617994
USER
Which administrative territory is the native country of Bob Braham ?
(Q4931911,P27,c(Q15617994))
action filter_type
action find
entity Q4931911
relation P27
type Q15617994
['Q4931911', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4931911 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Bob Braham
action filter_type
action find
entity Bob Braham
relation country of citizenship
type designation for an administrative territorial entity
['Bob Braham', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bob_Braham property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4931911,P27,c(Q15617994))
action filter_type
action find
entity Q4931911
relation P27
type Q15617994
The [ANSWER] is the native country of Bob Braham
['Q4931911', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q4931911 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is the native country of Bob Braham
United Kingdom
action filter_type
action find
entity Bob Braham
relation country of citizenship
type designation for an administrative territorial entity
['Bob Braham', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bob_Braham property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P108
Q502895
USER
Which people work for that administrative territory ?
(c(Q502895),P108,Q145)
action filter_type
action find_reverse
entity Q145
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q145']
SELECT DISTINCT ?x WHERE { ?x property:P108 resource:Q145 . ?x rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United Kingdom']
SELECT DISTINCT ?x WHERE { ?x property:employer resource:United_Kingdom . ?x rdf:type ontology:common_name }
[]
common name
Q131733 Q2261240 Q110869
SYSTEM
Henry Cavendish, William Hume-Rothery, William Lassell
Q131733 Q2261240 Q110869
(c(Q502895),P108,Q145)
action filter_type
action find_reverse
entity Q145
relation P108
type Q502895
[ANSWERS] work for that administrative territory
[{'concept': 'Q502895'}, 'P108', 'Q145']
SELECT DISTINCT ?x WHERE { ?x property:P108 resource:Q145 . ?x rdf:type ontology:Q502895 }
Henry Cavendish William Hume-Rothery William Lassell
Henry Cavendish, William Hume-Rothery and William Lassell work for that administrative territory
Henry Cavendish William Hume-Rothery William Lassell
action filter_type
action find_reverse
entity United Kingdom
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United Kingdom']
SELECT DISTINCT ?x WHERE { ?x property:employer resource:United_Kingdom . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P127
Q838948
USER
Which work of art belongs to United Kingdom ?
(c(Q838948),P127,Q145)
action filter_type
action find_reverse
entity Q145
relation P127
type Q838948
[{'concept': 'Q838948'}, 'P127', 'Q145']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q145 . ?x rdf:type ontology:Q838948 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation owned by
type work of art
[{'concept': 'work of art'}, 'owned by', 'United Kingdom']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:United_Kingdom . ?x rdf:type ontology:work_of_art }
[]
work of art
Q1439502
SYSTEM
Napoleon as Mars the Peacemaker
Q1439502
(c(Q838948),P127,Q145)
action filter_type
action find_reverse
entity Q145
relation P127
type Q838948
[ANSWER] belongs to United Kingdom
[{'concept': 'Q838948'}, 'P127', 'Q145']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q145 . ?x rdf:type ontology:Q838948 }
Napoleon as Mars the Peacemaker
Napoleon as Mars the Peacemaker belongs to United Kingdom
Napoleon as Mars the Peacemaker
action filter_type
action find_reverse
entity United Kingdom
relation owned by
type work of art
[{'concept': 'work of art'}, 'owned by', 'United Kingdom']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:United_Kingdom . ?x rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P85
Q7725634
USER
Which literary work is the anthem for United Kingdom ?
(Q145,P85,c(Q7725634))
action filter_type
action find
entity Q145
relation P85
type Q7725634
['Q145', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?r WHERE { resource:Q145 property:P85 ?r . ?r rdf:type ontology:Q7725634 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation anthem
type literary work
['United Kingdom', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?r WHERE { resource:United_Kingdom property:anthem ?r . ?r rdf:type ontology:literary_work }
[]
literary work
Q40807
SYSTEM
God Save the Queen
Q40807
(Q145,P85,c(Q7725634))
action filter_type
action find
entity Q145
relation P85
type Q7725634
God save the Queen is the anthem for United Kingdom
['Q145', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?r WHERE { resource:Q145 property:P85 ?r . ?r rdf:type ontology:Q7725634 }
God Save the Queen
God save the Queen is the anthem for United Kingdom
God Save the Queen
action filter_type
action find
entity United Kingdom
relation anthem
type literary work
['United Kingdom', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?r WHERE { resource:United_Kingdom property:anthem ?r . ?r rdf:type ontology:literary_work }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q40807 Q25228
P85
Q1048835
USER
Does Anguilla have that literary work as their national anthem ?
(Q25228,P85,Q40807)
action is_in
entity Q40807
action find
entity Q25228
relation P85
['Q25228', 'P85', 'Q40807']
ASK WHERE { resource:Q25228 property:P85 resource:Q40807 }
God Save the Queen Anguilla
action is_in
entity God Save the Queen
action find
entity Anguilla
relation anthem
['Anguilla', 'anthem', 'God Save the Queen']
ASK WHERE { resource:Anguilla property:anthem resource:God_Save_the_Queen }
[]
political territorial entity
SYSTEM
YES
(Q25228,P85,Q40807)
action is_in
entity Q40807
action find
entity Q25228
relation P85
[ANSWER]
['Q25228', 'P85', 'Q40807']
ASK WHERE { resource:Q25228 property:P85 resource:Q40807 }
Yes
action is_in
entity God Save the Queen
action find
entity Anguilla
relation anthem
['Anguilla', 'anthem', 'God Save the Queen']
ASK WHERE { resource:Anguilla property:anthem resource:God_Save_the_Queen }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q13320
P180
Q15617994 Q3305213 Q11060274
USER
Which administrative territories are depicted in approximately the same number of paintings and prints as Savona ?
(c(Q3305213)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q13320
relation P180
type Q3305213
type Q11060274
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) ?i WHERE { { ?m property:P180 ?i . ?m rdf:type ontology:Q3305213 . ?i rdf:type ontology:Q15617994 } UNION { ?m property:P180 ?i . ?m rdf:type ontology:Q11060274 . ?i rdf:type ontology:Q15617994 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P180 resource:Q13320 . { { ?x rdf:type ontology:Q3305213 } UNION { ?x rdf:type ontology:Q11060274 } } } } . FILTER ( ?r = ?d ) }
Savona
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Savona
relation depicts
type painting
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) ?i WHERE { { ?m property:depicts ?i . ?m rdf:type ontology:painting . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m property:depicts ?i . ?m rdf:type ontology:print . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:depicts resource:Savona . { { ?x rdf:type ontology:painting } UNION { ?x rdf:type ontology:print } } } } . FILTER ( ?r = ?d ) }
[]
designation for an administrative territorial entity painting print
Q17 Q712 Q772
SYSTEM
Japan, Fiji, Drenthe
Q3883 Q47505 Q712 Q532 Q80644 Q17 Q13320 Q772 Q1273 Q376896 Q34876
(c(Q3305213)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q13320
relation P180
type Q3305213
type Q11060274
[ANSWERS] are depicted in approximately the same number of paintings and prints as Savona
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) ?i WHERE { { ?m property:P180 ?i . ?m rdf:type ontology:Q3305213 . ?i rdf:type ontology:Q15617994 } UNION { ?m property:P180 ?i . ?m rdf:type ontology:Q11060274 . ?i rdf:type ontology:Q15617994 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P180 resource:Q13320 . { { ?x rdf:type ontology:Q3305213 } UNION { ?x rdf:type ontology:Q11060274 } } } } . FILTER ( ?r = ?d ) }
Catanzaro Dolo Fiji village Köngen Japan Savona Drenthe Tuscany Grenelle province
Japan, Fiji and Drenthe are depicted in approximately the same number of paintings and prints as Savona
Japan Fiji Drenthe
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Savona
relation depicts
type painting
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?r ) ?i WHERE { { ?m property:depicts ?i . ?m rdf:type ontology:painting . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m property:depicts ?i . ?m rdf:type ontology:print . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:depicts resource:Savona . { { ?x rdf:type ontology:painting } UNION { ?x rdf:type ontology:print } } } } . FILTER ( ?r = ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q660687
P180
Q15617994 Q3305213 Q11060274
USER
And how about Velden am Wörther See?
(c(Q3305213)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q660687
relation P180
type Q3305213
type Q11060274
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?w ) WHERE { { ?c property:P180 ?q . ?c rdf:type ontology:Q3305213 . ?q rdf:type ontology:Q15617994 } UNION { ?c property:P180 ?q . ?q rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q11060274 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P180 resource:Q660687 . { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?w = ?p ) }
Velden am Wörther See
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Velden am Wörther See
relation depicts
type painting
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?w ) WHERE { { ?c property:depicts ?q . ?c rdf:type ontology:painting . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:depicts ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:print } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:depicts resource:Velden_am_Wörther_See . { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:painting ) ( ontology:print ) } } } } . FILTER ( ?w = ?p ) }
[]
designation for an administrative territorial entity painting print
Q155 Q159 Q55
SYSTEM
Brazil, Russia, Netherlands
Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q148 Q128081 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q298 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q1016 Q1011 Q913434 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q3305213)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q660687
relation P180
type Q3305213
type Q11060274
[ANSWERS]
[[{'concept': 'Q3305213'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?w ) WHERE { { ?c property:P180 ?q . ?c rdf:type ontology:Q3305213 . ?q rdf:type ontology:Q15617994 } UNION { ?c property:P180 ?q . ?q rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q11060274 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P180 resource:Q660687 . { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:Q3305213 ) ( ontology:Q11060274 ) } } } } . FILTER ( ?w = ?p ) }
Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom People's Republic of China Cori, Lazio Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Libya Cape Verde Les Halles Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Brazil Russia Netherlands
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Velden am Wörther See
relation depicts
type painting
type print
[[{'concept': 'painting'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?c ) AS ?w ) WHERE { { ?c property:depicts ?q . ?c rdf:type ontology:painting . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c property:depicts ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:print } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:depicts resource:Velden_am_Wörther_See . { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:painting ) ( ontology:print ) } } } } . FILTER ( ?w = ?p ) }
[]