Simple Question (Direct)
Simple Question
Q2077190
P641
Q349
USER
Which sport was Serhiy Morozov a part of ?
(Q2077190,P641,c(Q349))
action filter_type
action find
entity Q2077190
relation P641
type Q349
['Q2077190', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q2077190 property:P641 ?v }
Serhiy Morozov
action filter_type
action find
entity Serhiy Morozov
relation sport
type sport
['Serhiy Morozov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Serhiy_Morozov property:sport ?v }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2077190,P641,c(Q349))
action filter_type
action find
entity Q2077190
relation P641
type Q349
The [ANSWER] was Serhiy Morozov a part of
['Q2077190', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q349 . resource:Q2077190 property:P641 ?v }
association football
The association football was Serhiy Morozov a part of
association football
action filter_type
action find
entity Serhiy Morozov
relation sport
type sport
['Serhiy Morozov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sport . resource:Serhiy_Morozov property:sport ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2077190
P734
Q82799
USER
Who has the surname that person ?
(Q2736,P734,c(Q82799))
action filter_type
action find
entity Q2077190
relation P734
type Q82799
['Q2736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q2077190 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Serhiy Morozov
action filter_type
action find
entity Serhiy Morozov
relation family name
type name
['association football', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Serhiy_Morozov property:family_name ?n . ?n rdf:type ontology:name }
[]
name
Q14949065
SYSTEM
Morozov
Q14949065
(Q2736,P734,c(Q82799))
action filter_type
action find
entity Q2077190
relation P734
type Q82799
[ANSWER] has the surname that person
['Q2736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?n WHERE { resource:Q2077190 property:P734 ?n . ?n rdf:type ontology:Q82799 }
Morozov
Morozov has the surname that person
Morozov
action filter_type
action find
entity Serhiy Morozov
relation family name
type name
['association football', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?n WHERE { resource:Serhiy_Morozov property:family_name ?n . ?n rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q630350 Q2077190
P54
Q1194951
USER
What are the team that Serhiy Morozov or James Forrest are a member of ?
OR((Q2077190,P54,c(Q1194951)), (Q630350,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q2077190
relation P54
action find
entity Q630350
relation P54
type Q1194951
{'OR': [['Q2077190', 'P54', {'concept': 'Q1194951'}], ['Q630350', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2077190 property:P54 ?u } UNION { resource:Q630350 property:P54 ?u } } . ?u rdf:type ontology:Q1194951 }
James Forrest Serhiy Morozov
action filter_type
action union
action find
entity Serhiy Morozov
relation member of sports team
action find
entity James Forrest
relation member of sports team
type national sports team
{'OR': [['Serhiy Morozov', 'member of sports team', {'concept': 'national sports team'}], ['James Forrest', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Serhiy_Morozov property:member_of_sports_team ?u } UNION { resource:James_Forrest property:member_of_sports_team ?u } } . ?u rdf:type ontology:national_sports_team }
[]
national sports team
Q189275 Q34044
SYSTEM
Soviet Union national football team, Scotland national football team
Q189275 Q34044
OR((Q2077190,P54,c(Q1194951)), (Q630350,P54,c(Q1194951)))
action filter_type
action union
action find
entity Q2077190
relation P54
action find
entity Q630350
relation P54
type Q1194951
The team that Serhiy Morozov or James Forrest are a member of are the [ANSWERS]
{'OR': [['Q2077190', 'P54', {'concept': 'Q1194951'}], ['Q630350', 'P54', {'concept': 'Q1194951'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2077190 property:P54 ?u } UNION { resource:Q630350 property:P54 ?u } } . ?u rdf:type ontology:Q1194951 }
Soviet Union national football team Scotland national football team
The team that Serhiy Morozov or James Forrest are a member of are the Soviet Union national football team and Scotland national football team
Soviet Union national football team Scotland national football team
action filter_type
action union
action find
entity Serhiy Morozov
relation member of sports team
action find
entity James Forrest
relation member of sports team
type national sports team
{'OR': [['Serhiy Morozov', 'member of sports team', {'concept': 'national sports team'}], ['James Forrest', 'member of sports team', {'concept': 'national sports team'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Serhiy_Morozov property:member_of_sports_team ?u } UNION { resource:James_Forrest property:member_of_sports_team ?u } } . ?u rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q630350
P161
Q838948
USER
Which work of art does James Forrest star in ?
(c(Q838948),P161,Q630350)
action filter_type
action find_reverse
entity Q630350
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q630350']
SELECT DISTINCT ?w WHERE { ?w property:P161 resource:Q630350 . ?w rdf:type ontology:Q838948 }
James Forrest
action filter_type
action find_reverse
entity James Forrest
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'James Forrest']
SELECT DISTINCT ?w WHERE { ?w property:cast_member resource:James_Forrest . ?w rdf:type ontology:work_of_art }
[]
work of art
Q206080
SYSTEM
Pirates of Tortuga
Q206080
(c(Q838948),P161,Q630350)
action filter_type
action find_reverse
entity Q630350
relation P161
type Q838948
James Forrest stars in [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q630350']
SELECT DISTINCT ?w WHERE { ?w property:P161 resource:Q630350 . ?w rdf:type ontology:Q838948 }
Pirates of Tortuga
James Forrest stars in Pirates of Tortuga
Pirates of Tortuga
action filter_type
action find_reverse
entity James Forrest
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'James Forrest']
SELECT DISTINCT ?w WHERE { ?w property:cast_member resource:James_Forrest . ?w rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3182563 Q630350
P161
Q838948
USER
Or John Tansey?
OR((c(Q838948),P161,Q630350), (c(Q838948),P161,Q3182563))
action filter_type
action union
action find_reverse
entity Q630350
relation P161
action find_reverse
entity Q3182563
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q630350'], [{'concept': 'Q838948'}, 'P161', 'Q3182563']]}
SELECT DISTINCT ?b WHERE { { ?b property:P161 ?q . VALUES ( ?q ) { ( resource:Q630350 ) ( resource:Q3182563 ) } } . ?b rdf:type ontology:Q838948 }
John Tansey James Forrest
action filter_type
action union
action find_reverse
entity James Forrest
relation cast member
action find_reverse
entity John Tansey
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'James Forrest'], [{'concept': 'work of art'}, 'cast member', 'John Tansey']]}
SELECT DISTINCT ?b WHERE { { ?b property:cast_member ?q . VALUES ( ?q ) { ( resource:James_Forrest ) ( resource:John_Tansey ) } } . ?b rdf:type ontology:work_of_art }
[]
work of art
Q206080 Q3203035 Q2846035
SYSTEM
Pirates of Tortuga, The Red Man and the Child, And a Little Child Shall Lead Them
Q206080 Q3203035 Q2846035
OR((c(Q838948),P161,Q630350), (c(Q838948),P161,Q3182563))
action filter_type
action union
action find_reverse
entity Q630350
relation P161
action find_reverse
entity Q3182563
relation P161
type Q838948
[ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q630350'], [{'concept': 'Q838948'}, 'P161', 'Q3182563']]}
SELECT DISTINCT ?b WHERE { { ?b property:P161 ?q . VALUES ( ?q ) { ( resource:Q630350 ) ( resource:Q3182563 ) } } . ?b rdf:type ontology:Q838948 }
Pirates of Tortuga The Red Man and the Child And a Little Child Shall Lead Them
Pirates of Tortuga The Red Man and the Child And a Little Child Shall Lead Them
action filter_type
action union
action find_reverse
entity James Forrest
relation cast member
action find_reverse
entity John Tansey
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'James Forrest'], [{'concept': 'work of art'}, 'cast member', 'John Tansey']]}
SELECT DISTINCT ?b WHERE { { ?b property:cast_member ?q . VALUES ( ?q ) { ( resource:James_Forrest ) ( resource:John_Tansey ) } } . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3182563
P40
Q502895
USER
Whose child is John Tansey ?
(c(Q502895),P40,Q206080) (c(Q502895),P40,Q3203035) (c(Q502895),P40,Q2846035)
action filter_type
action find_reverse
entity Q3182563
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q206080'] [{'concept': 'Q502895'}, 'P40', 'Q3203035'] [{'concept': 'Q502895'}, 'P40', 'Q2846035']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P40 resource:Q3182563 }
John Tansey
action filter_type
action find_reverse
entity John Tansey
relation child
type common name
[{'concept': 'common name'}, 'child', 'Pirates of Tortuga'] [{'concept': 'common name'}, 'child', 'The Red Man and the Child'] [{'concept': 'common name'}, 'child', 'And a Little Child Shall Lead Them']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:child resource:John_Tansey }
[]
common name
Q15939216
SYSTEM
Emma Tansey
Q15939216
(c(Q502895),P40,Q206080) (c(Q502895),P40,Q3203035) (c(Q502895),P40,Q2846035)
action filter_type
action find_reverse
entity Q3182563
relation P40
type Q502895
[ANSWER] is John Tansey
[{'concept': 'Q502895'}, 'P40', 'Q206080'] [{'concept': 'Q502895'}, 'P40', 'Q3203035'] [{'concept': 'Q502895'}, 'P40', 'Q2846035']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P40 resource:Q3182563 }
Emma Tansey
Emma Tansey is John Tansey
Emma Tansey
action filter_type
action find_reverse
entity John Tansey
relation child
type common name
[{'concept': 'common name'}, 'child', 'Pirates of Tortuga'] [{'concept': 'common name'}, 'child', 'The Red Man and the Child'] [{'concept': 'common name'}, 'child', 'And a Little Child Shall Lead Them']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:child resource:John_Tansey }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3305213
P180
Q838948 Q3305213 Q340169
USER
How many works of art are demonstrated in lesser number of paintings and medias than painting ?
(c(Q3305213)|c(Q340169),P180,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q3305213
relation P180
type Q3305213
type Q340169
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?r ) WHERE { VALUES ( ?q ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } . ?k rdf:type ?q } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:P180 resource:Q3305213 . { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } } } } . FILTER ( ?r < ?d ) }
painting
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action count
action filter_multi_types
action find_reverse
entity painting
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?r ) WHERE { VALUES ( ?q ) { ( ontology:painting ) ( ontology:media ) } . ?k rdf:type ?q } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:depicts resource:painting . { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:painting ) ( ontology:media ) } } } } . FILTER ( ?r < ?d ) }
[]
work of art painting media
SYSTEM
100
Q86440 Q27478577 Q7294420 Q23714516 Q216402 Q18147625 Q18147624 Q20176696 Q1111051 Q143912 Q846870 Q178401 Q21375954 Q1519294 Q27478544 Q766487 Q232042 Q27462703 Q215194 Q3545179 Q46847 Q221211 Q2439030 Q23770419 Q170980 Q333009 Q750209 Q1064990 Q19969041 Q734834 Q3015661 Q473237 Q3497617 Q20631770 Q267971 Q831869 Q2535008 Q17172602 Q324926 Q93184 Q177600 Q3013723 Q221323 Q17305006 Q2551806 Q2111434 Q1230963 Q185382 Q11060274 Q3424549 Q1779386 Q9764 Q1395302 Q179900 Q826635 Q2070542 Q733893 Q185392 Q619135 Q294001 Q848790 Q3731233 Q17275826 Q215911 Q476968 Q1350279 Q17305020 Q280336 Q652011 Q3575260 Q16332506 Q2963060 Q907387 Q18177089 Q3143107 Q374591 Q959962 Q6555477 Q125191 Q130958 Q371752 Q203443 Q201022 Q774967 Q945850 Q216185 Q79218 Q1989744 Q465762 Q492461 Q7539835 Q745783 Q1349065 Q397447 Q183272 Q3918710 Q599302 Q208440 Q1192229 Q21743265
(c(Q3305213)|c(Q340169),P180,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q3305213
relation P180
type Q3305213
type Q340169
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?r ) WHERE { VALUES ( ?q ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } . ?k rdf:type ?q } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:P180 resource:Q3305213 . { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } } } } . FILTER ( ?r < ?d ) }
The Tempest Artemis of Ephesus Raqs sharqi equestrian statue of Louis XIII Winged Victory of Samothrace Farnese Flora Farnese Hercules Sanford Robinson Gifford Colonne Vendôme triumphal arch Prometheus Bound amphora Allegory of the city of Paris lagynos Silenus holding the child Dionysos David The Two Gentlemen of Verona Satyr playing flute gargoyle Rape of the Sabine Women ring Twelfth Night St. Peter's Baldacchino Bear Hunter obelisk can-can Colossi of Memnon Monument aux Girondins Allegory of the Seine River Ghent Altarpiece erotic dancing Statue of Bartolomeo Colleoni equestrian statue of Joan of Arc equestrian statue of George Washington Triton Fountain oenochoe Neptune and Triton monumental cross fibula drawing stick figure The Railrodder golden calf Galatea Belvedere Torso pendant Under Western Stars Trevi Fountain print Frederik V on Horseback Menat flamenco One True Thing David Elephant and Obelisk Hermes Chair of Saint Peter Borghese Gladiator Apollo Belvedere Oedipus at Colonus Dying Gaul Heracles and Nessus Portrait of Rembrandt with a gorget serenade krater pyxis Tanagra partner dance Richard III bijou Ploughman Marly horses Equestrian Statue of Marcus Aurelius Dénicheur d'oursons Humains Farnese Hercules diagram Lion of Venice photograph The Great Sphinx calvary headstone folk dance Venus de' Medici Apollo and Daphne Charing Cross triptych Moses Laocoön and His Sons kalathos Sleeping Ariadne hydria Passion play torc frieze Wrestlers Column of Antoninus Pius chess piece The Original Sin Torso in Metal from Rock Drill
100
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action count
action filter_multi_types
action find_reverse
entity painting
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?r ) WHERE { VALUES ( ?q ) { ( ontology:painting ) ( ontology:media ) } . ?k rdf:type ?q } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { ?w property:depicts resource:painting . { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:painting ) ( ontology:media ) } } } } . FILTER ( ?r < ?d ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q267971
P180
Q838948 Q3305213 Q340169
USER
And what about Triton Fountain?
(c(Q3305213)|c(Q340169),P180,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q267971
relation P180
type Q3305213
type Q340169
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { FILTER ( ?t < ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P180 resource:Q267971 . { ?a rdf:type ?z . VALUES ( ?z ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } } } } . { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?t ) WHERE { { ?j property:P180 ?u . ?u rdf:type ontology:Q838948 . ?j rdf:type ontology:Q3305213 } UNION { ?j property:P180 ?u . ?u rdf:type ontology:Q838948 . ?j rdf:type ontology:Q340169 } } GROUP BY ?u } }
Triton Fountain
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action count
action filter_multi_types
action find_reverse
entity Triton Fountain
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { FILTER ( ?t < ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:depicts resource:Triton_Fountain . { ?a rdf:type ?z . VALUES ( ?z ) { ( ontology:painting ) ( ontology:media ) } } } } . { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?t ) WHERE { { ?j property:depicts ?u . ?u rdf:type ontology:work_of_art . ?j rdf:type ontology:painting } UNION { ?j property:depicts ?u . ?u rdf:type ontology:work_of_art . ?j rdf:type ontology:media } } GROUP BY ?u } }
[]
work of art painting media
SYSTEM
91
Q86440 Q27478577 Q7294420 Q23714516 Q216402 Q18147625 Q18147624 Q20176696 Q1111051 Q143912 Q846870 Q21375954 Q1519294 Q27478544 Q766487 Q232042 Q27462703 Q215194 Q3545179 Q46847 Q221211 Q2439030 Q23770419 Q170980 Q333009 Q750209 Q1064990 Q19969041 Q734834 Q3015661 Q473237 Q3497617 Q20631770 Q831869 Q2535008 Q17172602 Q324926 Q93184 Q177600 Q3013723 Q221323 Q2551806 Q2111434 Q1230963 Q185382 Q11060274 Q3424549 Q9764 Q1395302 Q179900 Q826635 Q2070542 Q185392 Q619135 Q294001 Q848790 Q3731233 Q17275826 Q476968 Q1350279 Q17305020 Q280336 Q652011 Q16332506 Q2963060 Q907387 Q18177089 Q3143107 Q374591 Q959962 Q6555477 Q125191 Q130958 Q203443 Q201022 Q774967 Q945850 Q216185 Q79218 Q1989744 Q465762 Q492461 Q7539835 Q745783 Q1349065 Q397447 Q3918710 Q599302 Q208440 Q1192229 Q21743265
(c(Q3305213)|c(Q340169),P180,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q267971
relation P180
type Q3305213
type Q340169
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { FILTER ( ?t < ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P180 resource:Q267971 . { ?a rdf:type ?z . VALUES ( ?z ) { ( ontology:Q3305213 ) ( ontology:Q340169 ) } } } } . { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?t ) WHERE { { ?j property:P180 ?u . ?u rdf:type ontology:Q838948 . ?j rdf:type ontology:Q3305213 } UNION { ?j property:P180 ?u . ?u rdf:type ontology:Q838948 . ?j rdf:type ontology:Q340169 } } GROUP BY ?u } }
The Tempest Artemis of Ephesus Raqs sharqi equestrian statue of Louis XIII Winged Victory of Samothrace Farnese Flora Farnese Hercules Sanford Robinson Gifford Colonne Vendôme triumphal arch Prometheus Bound Allegory of the city of Paris lagynos Silenus holding the child Dionysos David The Two Gentlemen of Verona Satyr playing flute gargoyle Rape of the Sabine Women ring Twelfth Night St. Peter's Baldacchino Bear Hunter obelisk can-can Colossi of Memnon Monument aux Girondins Allegory of the Seine River Ghent Altarpiece erotic dancing Statue of Bartolomeo Colleoni equestrian statue of Joan of Arc equestrian statue of George Washington oenochoe Neptune and Triton monumental cross fibula drawing stick figure The Railrodder golden calf Belvedere Torso pendant Under Western Stars Trevi Fountain print Frederik V on Horseback flamenco One True Thing David Elephant and Obelisk Hermes Borghese Gladiator Apollo Belvedere Oedipus at Colonus Dying Gaul Heracles and Nessus Portrait of Rembrandt with a gorget krater pyxis Tanagra partner dance Richard III Ploughman Marly horses Equestrian Statue of Marcus Aurelius Dénicheur d'oursons Humains Farnese Hercules diagram Lion of Venice photograph The Great Sphinx headstone folk dance Venus de' Medici Apollo and Daphne Charing Cross triptych Moses Laocoön and His Sons kalathos Sleeping Ariadne hydria Passion play torc Wrestlers Column of Antoninus Pius chess piece The Original Sin Torso in Metal from Rock Drill
91
action count
action less
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type painting
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action count
action filter_multi_types
action find_reverse
entity Triton Fountain
relation depicts
type painting
type media
[[{'concept': 'painting'}, {'concept': 'media'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { FILTER ( ?t < ?d ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:depicts resource:Triton_Fountain . { ?a rdf:type ?z . VALUES ( ?z ) { ( ontology:painting ) ( ontology:media ) } } } } . { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?t ) WHERE { { ?j property:depicts ?u . ?u rdf:type ontology:work_of_art . ?j rdf:type ontology:painting } UNION { ?j property:depicts ?u . ?u rdf:type ontology:work_of_art . ?j rdf:type ontology:media } } GROUP BY ?u } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15939216
P25
Q502895
USER
Which people have Emma Tansey as a parent ?
(c(Q502895),P25,Q15939216)
action filter_type
action find_reverse
entity Q15939216
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q15939216']
SELECT DISTINCT ?v WHERE { ?v property:P25 resource:Q15939216 . ?v rdf:type ontology:Q502895 }
Emma Tansey
action filter_type
action find_reverse
entity Emma Tansey
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Emma Tansey']
SELECT DISTINCT ?v WHERE { ?v property:mother resource:Emma_Tansey . ?v rdf:type ontology:common_name }
[]
common name
Q15939234 Q3182563 Q15939169
SYSTEM
Robert Emmett Tansey, John Tansey, James Sheridan
Q15939234 Q3182563 Q15939169
(c(Q502895),P25,Q15939216)
action filter_type
action find_reverse
entity Q15939216
relation P25
type Q502895
[ANSWERS] have Emma Tansey as a parent
[{'concept': 'Q502895'}, 'P25', 'Q15939216']
SELECT DISTINCT ?v WHERE { ?v property:P25 resource:Q15939216 . ?v rdf:type ontology:Q502895 }
Robert Emmett Tansey John Tansey James Sheridan
Robert Emmett Tansey, John Tansey and James Sheridan have Emma Tansey as a parent
Robert Emmett Tansey John Tansey James Sheridan
action filter_type
action find_reverse
entity Emma Tansey
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Emma Tansey']
SELECT DISTINCT ?v WHERE { ?v property:mother resource:Emma_Tansey . ?v rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3182563
P7
Q502895
USER
Which people had that one as brother ?
(c(Q502895),P7,Q3182563)
action filter_type
action find
entity Q3182563
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q3182563']
SELECT DISTINCT ?f WHERE { resource:Q3182563 property:P7 ?f . ?f rdf:type ontology:Q502895 }
John Tansey
action filter_type
action find
entity John Tansey
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'John Tansey']
SELECT DISTINCT ?f WHERE { resource:John_Tansey property:brother ?f . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q15939234
SYSTEM
Did you mean Robert Emmett Tansey ?
Q15939234 Q3182563 Q15939169
(c(Q502895),P7,Q15939234) (c(Q502895),P7,Q3182563) (c(Q502895),P7,Q15939169)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q15939234'] [{'concept': 'Q502895'}, 'P7', 'Q3182563'] [{'concept': 'Q502895'}, 'P7', 'Q15939169']
SELECT DISTINCT ?f WHERE { resource:Q3182563 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Robert Emmett Tansey John Tansey James Sheridan
Did you mean Robert Emmett Tansey ?
Robert Emmett Tansey
[{'concept': 'common name'}, 'brother', 'Robert Emmett Tansey'] [{'concept': 'common name'}, 'brother', 'John Tansey'] [{'concept': 'common name'}, 'brother', 'James Sheridan']
SELECT DISTINCT ?f WHERE { resource:John_Tansey property:brother ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant John Tansey. Could you tell me the answer for that?
(c(Q502895),P7,Q3182563)
Q3182563
[{'concept': 'Q502895'}, 'P7', 'Q3182563']
[{'concept': 'common name'}, 'brother', 'John Tansey']
[]
Q15939234 Q15939169
SYSTEM
Robert Emmett Tansey, James Sheridan
Q15939234 Q15939169
(c(Q502895),P7,Q3182563)
action filter_type
action find
entity Q3182563
relation P7
type Q502895
[ANSWERS] had that one as brother
[{'concept': 'Q502895'}, 'P7', 'Q3182563']
SELECT DISTINCT ?f WHERE { resource:Q3182563 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Robert Emmett Tansey James Sheridan
Robert Emmett Tansey and James Sheridan had that one as brother
Robert Emmett Tansey James Sheridan
action filter_type
action find
entity John Tansey
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'John Tansey']
SELECT DISTINCT ?f WHERE { resource:John_Tansey property:brother ?f . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2312145
P7
Q502895
USER
Are Esther Scheenaard siblings of those ones ?
(Q2312145,P7,Q15939234) (Q2312145,P7,Q15939169)
action is_in
entity prev_answer
action find
entity Q2312145
relation P7
['Q2312145', 'P7', 'Q15939234'] ['Q2312145', 'P7', 'Q15939169']
ASK WHERE { resource:Q2312145 property:P7 ?v . VALUES ( ?v ) { ( resource:Q15939234 ) ( resource:Q15939169 ) } }
Esther Scheenaard
action is_in
entity prev_answer
action find
entity Esther Scheenaard
relation brother
['Esther Scheenaard', 'brother', 'Robert Emmett Tansey'] ['Esther Scheenaard', 'brother', 'James Sheridan']
ASK WHERE { resource:Esther_Scheenaard property:brother ?v . VALUES ( ?v ) { ( resource:Robert_Emmett_Tansey ) ( resource:James_Sheridan ) } }
[]
common name
SYSTEM
NO
(Q2312145,P7,Q15939234) (Q2312145,P7,Q15939169)
action is_in
entity prev_answer
action find
entity Q2312145
relation P7
[ANSWER]
['Q2312145', 'P7', 'Q15939234'] ['Q2312145', 'P7', 'Q15939169']
ASK WHERE { resource:Q2312145 property:P7 ?v . VALUES ( ?v ) { ( resource:Q15939234 ) ( resource:Q15939169 ) } }
No
action is_in
entity prev_answer
action find
entity Esther Scheenaard
relation brother
['Esther Scheenaard', 'brother', 'Robert Emmett Tansey'] ['Esther Scheenaard', 'brother', 'James Sheridan']
ASK WHERE { resource:Esther_Scheenaard property:brother ?v . VALUES ( ?v ) { ( resource:Robert_Emmett_Tansey ) ( resource:James_Sheridan ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15939234
P19
Q56061
USER
Which administrative territory was Robert Emmett Tansey born at ?
(Q15939234,P19,c(Q56061))
action filter_type
action find
entity Q15939234
relation P19
type Q56061
['Q15939234', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q15939234 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Robert Emmett Tansey
action filter_type
action find
entity Robert Emmett Tansey
relation place of birth
type administrative territorial entity
['Robert Emmett Tansey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Robert_Emmett_Tansey property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q18419
SYSTEM
Brooklyn
Q18419
(Q15939234,P19,c(Q56061))
action filter_type
action find
entity Q15939234
relation P19
type Q56061
Robert Emmett Tansey was born in [ANSWER]
['Q15939234', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q15939234 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Brooklyn
Robert Emmett Tansey was born in Brooklyn
Brooklyn
action filter_type
action find
entity Robert Emmett Tansey
relation place of birth
type administrative territorial entity
['Robert Emmett Tansey', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Robert_Emmett_Tansey property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]