Simple Question (Direct)
Simple Question
Q3082553
P734
Q82799
USER
Who has the surname Frank Conroy ?
(Q3082553,P734,c(Q82799))
action filter_type
action find
entity Q3082553
relation P734
type Q82799
['Q3082553', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q3082553 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Frank Conroy
action filter_type
action find
entity Frank Conroy
relation family name
type name
['Frank Conroy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Frank_Conroy property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q21448928
SYSTEM
Conroy
Q21448928
(Q3082553,P734,c(Q82799))
action filter_type
action find
entity Q3082553
relation P734
type Q82799
As [ANSWER] has the surname Frank [ANSWER]
['Q3082553', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q3082553 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Conroy
As Conroy has the surname Frank Conroy
Conroy
action filter_type
action find
entity Frank Conroy
relation family name
type name
['Frank Conroy', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Frank_Conroy property:family_name ?q . ?q rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3082553
P161
Q838948
USER
Which works of art stars Frank Conroy as actor ?
(c(Q838948),P161,Q3082553)
action filter_type
action find_reverse
entity Q3082553
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3082553']
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q3082553 . ?d rdf:type ontology:Q838948 }
Frank Conroy
action filter_type
action find_reverse
entity Frank Conroy
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Frank Conroy']
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Frank_Conroy . ?d rdf:type ontology:work_of_art }
[]
work of art
Q1294711 Q1056225 Q246656
SYSTEM
The Gorgeous Hussy, The Last Days of Pompeii, Grand Hotel
Q425992 Q904666 Q1446533 Q3988126 Q3201871 Q3731068 Q1790093 Q2421627 Q1294711 Q533902 Q1426269 Q2358112 Q1932023 Q3285825 Q3100955 Q3460360 Q2112932 Q1144006 Q1056225 Q3009061 Q2006667 Q3815017 Q1587353 Q1066860 Q1392828 Q246656 Q3285133
(c(Q838948),P161,Q3082553)
action filter_type
action find_reverse
entity Q3082553
relation P161
type Q838948
[ANSWERS] star Frank Conroy as actor
[{'concept': 'Q838948'}, 'P161', 'Q3082553']
SELECT DISTINCT ?d WHERE { ?d property:P161 resource:Q3082553 . ?d rdf:type ontology:Q838948 }
The Day the Earth Stood Still I Live My Life The Young Philadelphians The Loves of Edgar Allan Poe Love Is News All My Sons The Royal Family of Broadway The Little Minister The Gorgeous Hussy Manhattan Melodrama The Ox-Bow Incident The Call of the Wild Midnight Mary Manhattan Parade Lady of Burlesque This Is My Affair Night Flight The White Parade The Last Days of Pompeii The Last Gangster Possessed Charlie Chan at the Opera The Naked City Charlie Chan in Egypt Meet Nero Wolfe Grand Hotel Wells Fargo
The Gorgeous Hussy, The Last Days of Pompeii and Grand Hotel star Frank Conroy as actor
The Gorgeous Hussy The Last Days of Pompeii Grand Hotel
action filter_type
action find_reverse
entity Frank Conroy
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Frank Conroy']
SELECT DISTINCT ?d WHERE { ?d property:cast_member resource:Frank_Conroy . ?d rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3082553
P21
Q290
USER
What is the sex of Frank Conroy ?
(Q3082553,P21,c(Q290))
action filter_type
action find
entity Q3082553
relation P21
type Q290
['Q3082553', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q3082553 property:P21 ?n }
Frank Conroy
action filter_type
action find
entity Frank Conroy
relation gender
type sex
['Frank Conroy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Frank_Conroy property:gender ?n }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3082553,P21,c(Q290))
action filter_type
action find
entity Q3082553
relation P21
type Q290
The sex of Frank Conroy is the [ANSWER]
['Q3082553', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q290 . resource:Q3082553 property:P21 ?n }
male
The sex of Frank Conroy is the male
male
action filter_type
action find
entity Frank Conroy
relation gender
type sex
['Frank Conroy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sex . resource:Frank_Conroy property:gender ?n }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q133036
P2079
Q2695280 Q838948
USER
How many technicss are used to fabricate greater number of works of art than lithography ?
(c(Q838948),P2079,c(Q2695280))
action count
action greater
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q133036
relation P2079
type Q2695280
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:P2079 ?t . ?t rdf:type ontology:Q2695280 . ?r rdf:type ontology:Q838948 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Q133036 property:P2079 ?i . ?i rdf:type ontology:Q2695280 } } . FILTER ( ?n > ?u ) }
lithography
action count
action greater
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity lithography
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:fabrication_method ?t . ?t rdf:type ontology:technics . ?r rdf:type ontology:work_of_art } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:lithography property:fabrication_method ?i . ?i rdf:type ontology:technics } } . FILTER ( ?n > ?u ) }
[]
technics work of art
SYSTEM
2
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action count
action greater
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q133036
relation P2079
type Q2695280
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:P2079 ?t . ?t rdf:type ontology:Q2695280 . ?r rdf:type ontology:Q838948 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:Q133036 property:P2079 ?i . ?i rdf:type ontology:Q2695280 } } . FILTER ( ?n > ?u ) }
gilding collage
2
action count
action greater
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity lithography
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?y ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?n ) WHERE { ?r property:fabrication_method ?t . ?t rdf:type ontology:technics . ?r rdf:type ontology:work_of_art } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { resource:lithography property:fabrication_method ?i . ?i rdf:type ontology:technics } } . FILTER ( ?n > ?u ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20742293 Q3082553
P27
Q15617994
USER
Which administrative territories are the native countriesof Frank Conroy or Jānis Viļķins ?
OR((Q3082553,P27,c(Q15617994)), (Q20742293,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3082553
relation P27
action find
entity Q20742293
relation P27
type Q15617994
{'OR': [['Q3082553', 'P27', {'concept': 'Q15617994'}], ['Q20742293', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3082553 property:P27 ?r } UNION { resource:Q20742293 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Jānis Viļķins Frank Conroy
action filter_type
action union
action find
entity Frank Conroy
relation country of citizenship
action find
entity Jānis Viļķins
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Frank Conroy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jānis Viļķins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Frank_Conroy property:country_of_citizenship ?r } UNION { resource:Jānis_Viļķins property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q211 Q145
SYSTEM
Latvia, United Kingdom
Q211 Q145
OR((Q3082553,P27,c(Q15617994)), (Q20742293,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3082553
relation P27
action find
entity Q20742293
relation P27
type Q15617994
[ANSWERS] are the native countriesof Frank Conroy or Jānis Viļķins
{'OR': [['Q3082553', 'P27', {'concept': 'Q15617994'}], ['Q20742293', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3082553 property:P27 ?r } UNION { resource:Q20742293 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Latvia United Kingdom
Latvia and United Kingdom are the native countriesof Frank Conroy or Jānis Viļķins
Latvia United Kingdom
action filter_type
action union
action find
entity Frank Conroy
relation country of citizenship
action find
entity Jānis Viļķins
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Frank Conroy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jānis Viļķins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Frank_Conroy property:country_of_citizenship ?r } UNION { resource:Jānis_Viļķins property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q489772
P361
Q838948 Q811979 Q15619164
USER
How many works of art are lesser number of architectural structures and abstract beings a portion of than Seven Wonders of the Ancient World ?
(c(Q811979)|c(Q15619164),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q811979
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q489772
relation P361
type Q811979
type Q15619164
[[{'concept': 'Q811979'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?z ) WHERE { { ?n property:P361 ?f . ?f rdf:type ontology:Q838948 . ?n rdf:type ontology:Q811979 } UNION { ?n property:P361 ?f . ?f rdf:type ontology:Q838948 . ?n rdf:type ontology:Q15619164 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { VALUES ( ?g ) { ( ontology:Q811979 ) ( ontology:Q15619164 ) } . ?r rdf:type ?g } . ?r property:P361 resource:Q489772 } } . FILTER ( ?z < ?q ) }
Seven Wonders of the Ancient World
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type architectural structure
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action count
action filter_multi_types
action find_reverse
entity Seven Wonders of the Ancient World
relation part of
type architectural structure
type abstract being
[[{'concept': 'architectural structure'}, {'concept': 'abstract being'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?z ) WHERE { { ?n property:part_of ?f . ?f rdf:type ontology:work_of_art . ?n rdf:type ontology:architectural_structure } UNION { ?n property:part_of ?f . ?f rdf:type ontology:work_of_art . ?n rdf:type ontology:abstract_being } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { VALUES ( ?g ) { ( ontology:architectural_structure ) ( ontology:abstract_being ) } . ?r rdf:type ?g } . ?r property:part_of resource:Seven_Wonders_of_the_Ancient_World } } . FILTER ( ?z < ?q ) }
[]
work of art architectural structure abstract being
SYSTEM
128
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q811979)|c(Q15619164),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q811979
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q489772
relation P361
type Q811979
type Q15619164
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?z ) WHERE { { ?n property:P361 ?f . ?f rdf:type ontology:Q838948 . ?n rdf:type ontology:Q811979 } UNION { ?n property:P361 ?f . ?f rdf:type ontology:Q838948 . ?n rdf:type ontology:Q15619164 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { VALUES ( ?g ) { ( ontology:Q811979 ) ( ontology:Q15619164 ) } . ?r rdf:type ?g } . ?r property:P361 resource:Q489772 } } . FILTER ( ?z < ?q ) }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Hamlet Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Playing for Keeps Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
128
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type architectural structure
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action count
action filter_multi_types
action find_reverse
entity Seven Wonders of the Ancient World
relation part of
type architectural structure
type abstract being
[[{'concept': 'architectural structure'}, {'concept': 'abstract being'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?z ) WHERE { { ?n property:part_of ?f . ?f rdf:type ontology:work_of_art . ?n rdf:type ontology:architectural_structure } UNION { ?n property:part_of ?f . ?f rdf:type ontology:work_of_art . ?n rdf:type ontology:abstract_being } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { { VALUES ( ?g ) { ( ontology:architectural_structure ) ( ontology:abstract_being ) } . ?r rdf:type ?g } . ?r property:part_of resource:Seven_Wonders_of_the_Ancient_World } } . FILTER ( ?z < ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q18547944
P361
Q838948 Q811979 Q15619164
USER
And how about The Martian?
(c(Q811979)|c(Q15619164),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q811979
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q18547944
relation P361
type Q811979
type Q15619164
[[{'concept': 'Q811979'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?z ) WHERE { { ?n property:P361 ?h . ?n rdf:type ontology:Q15619164 . ?h rdf:type ontology:Q838948 } UNION { ?h rdf:type ontology:Q838948 . ?n rdf:type ontology:Q811979 . ?n property:P361 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P361 resource:Q18547944 . { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:Q811979 ) ( ontology:Q15619164 ) } } } } . FILTER ( ?z < ?y ) }
The Martian
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type architectural structure
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action count
action filter_multi_types
action find_reverse
entity The Martian
relation part of
type architectural structure
type abstract being
[[{'concept': 'architectural structure'}, {'concept': 'abstract being'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?z ) WHERE { { ?n property:part_of ?h . ?n rdf:type ontology:abstract_being . ?h rdf:type ontology:work_of_art } UNION { ?h rdf:type ontology:work_of_art . ?n rdf:type ontology:architectural_structure . ?n property:part_of ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:part_of resource:The_Martian . { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:architectural_structure ) ( ontology:abstract_being ) } } } } . FILTER ( ?z < ?y ) }
[]
work of art architectural structure abstract being
SYSTEM
126
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q811979)|c(Q15619164),P361,c(Q838948))
action count
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q811979
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q18547944
relation P361
type Q811979
type Q15619164
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?z ) WHERE { { ?n property:P361 ?h . ?n rdf:type ontology:Q15619164 . ?h rdf:type ontology:Q838948 } UNION { ?h rdf:type ontology:Q838948 . ?n rdf:type ontology:Q811979 . ?n property:P361 ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P361 resource:Q18547944 . { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:Q811979 ) ( ontology:Q15619164 ) } } } } . FILTER ( ?z < ?y ) }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Hamlet Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Supergirl drawing Meditation Playing for Keeps Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
126
action count
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type architectural structure
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action count
action filter_multi_types
action find_reverse
entity The Martian
relation part of
type architectural structure
type abstract being
[[{'concept': 'architectural structure'}, {'concept': 'abstract being'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?z ) WHERE { { ?n property:part_of ?h . ?n rdf:type ontology:abstract_being . ?h rdf:type ontology:work_of_art } UNION { ?h rdf:type ontology:work_of_art . ?n rdf:type ontology:architectural_structure . ?n property:part_of ?h } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:part_of resource:The_Martian . { ?m rdf:type ?u . VALUES ( ?u ) { ( ontology:architectural_structure ) ( ontology:abstract_being ) } } } } . FILTER ( ?z < ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q211
P530
Q1048835
USER
Which political territory has ambassadorial relations with Latvia ?
(c(Q1048835),P530,Q211)
action filter_type
action find
entity Q211
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q211']
SELECT DISTINCT ?m WHERE { resource:Q211 property:P530 ?m . ?m rdf:type ontology:Q1048835 }
Latvia
action filter_type
action find
entity Latvia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Latvia']
SELECT DISTINCT ?m WHERE { resource:Latvia property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(c(Q1048835),P530,Q211)
action filter_type
action find
entity Q211
relation P530
type Q1048835
[ANSWER] has ambassadorial relations with Latvia
[{'concept': 'Q1048835'}, 'P530', 'Q211']
SELECT DISTINCT ?m WHERE { resource:Q211 property:P530 ?m . ?m rdf:type ontology:Q1048835 }
Australia
Australia has ambassadorial relations with Latvia
Australia
action filter_type
action find
entity Latvia
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Latvia']
SELECT DISTINCT ?m WHERE { resource:Latvia property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q211
P1001
Q12737077
USER
Which occupations have jurisdiction over Latvia ?
(c(Q12737077),P1001,Q211)
action filter_type
action find_reverse
entity Q211
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q211']
SELECT DISTINCT ?f WHERE { ?f property:P1001 resource:Q211 . ?f rdf:type ontology:Q12737077 }
Latvia
action filter_type
action find_reverse
entity Latvia
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Latvia']
SELECT DISTINCT ?f WHERE { ?f property:applies_to_jurisdiction resource:Latvia . ?f rdf:type ontology:occupation }
[]
occupation
Q6590389 Q21191589 Q369500
SYSTEM
Minister of Finance, deputy of Saeima, Prime Minister of Latvia
Q16361617 Q21191589 Q369500 Q6590389 Q218014
(c(Q12737077),P1001,Q211)
action filter_type
action find_reverse
entity Q211
relation P1001
type Q12737077
The [ANSWERS] have jurisdiction over Latvia
[{'concept': 'Q12737077'}, 'P1001', 'Q211']
SELECT DISTINCT ?f WHERE { ?f property:P1001 resource:Q211 . ?f rdf:type ontology:Q12737077 }
Minister for the Environmental Protection and Regional Development of Latvia deputy of Saeima Prime Minister of Latvia Minister of Finance President of Latvia
The Minister of Finance, deputy of Saeima and Prime Minister of Latvia have jurisdiction over Latvia
Minister of Finance deputy of Saeima Prime Minister of Latvia
action filter_type
action find_reverse
entity Latvia
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Latvia']
SELECT DISTINCT ?f WHERE { ?f property:applies_to_jurisdiction resource:Latvia . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q211
P1376
Q515
USER
Which city is center of administration for Latvia ?
(c(Q515),P1376,Q211)
action filter_type
action find_reverse
entity Q211
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q211']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q515 . ?f property:P1376 resource:Q211 }
Latvia
action filter_type
action find_reverse
entity Latvia
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Latvia']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:city . ?f property:capital_of resource:Latvia }
[]
city
Q1773
SYSTEM
Riga
Q1773
(c(Q515),P1376,Q211)
action filter_type
action find_reverse
entity Q211
relation P1376
type Q515
[ANSWER] is center of administration for Latvia
[{'concept': 'Q515'}, 'P1376', 'Q211']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q515 . ?f property:P1376 resource:Q211 }
Riga
Riga is center of administration for Latvia
Riga
action filter_type
action find_reverse
entity Latvia
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Latvia']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:city . ?f property:capital_of resource:Latvia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q211
P276
Q1190554
USER
Which events are located at Latvia ?
(c(Q1190554),P276,Q211)
action filter_type
action find_reverse
entity Q211
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q211']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q211 . ?v rdf:type ontology:Q1190554 }
Latvia
action filter_type
action find_reverse
entity Latvia
relation location
type event
[{'concept': 'event'}, 'location', 'Latvia']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Latvia . ?v rdf:type ontology:event }
[]
event
Q853754 Q4296566 Q83055
SYSTEM
Battle of Saule, Christmas Battles, Operation Barbarossa
Q853754 Q4296566 Q83055
(c(Q1190554),P276,Q211)
action filter_type
action find_reverse
entity Q211
relation P276
type Q1190554
[ANSWERS] are located at Latvia
[{'concept': 'Q1190554'}, 'P276', 'Q211']
SELECT DISTINCT ?v WHERE { ?v property:P276 resource:Q211 . ?v rdf:type ontology:Q1190554 }
Battle of Saule Christmas Battles Operation Barbarossa
Battle of Saule, Christmas Battles and Operation Barbarossa are located at Latvia
Battle of Saule Christmas Battles Operation Barbarossa
action filter_type
action find_reverse
entity Latvia
relation location
type event
[{'concept': 'event'}, 'location', 'Latvia']
SELECT DISTINCT ?v WHERE { ?v property:location resource:Latvia . ?v rdf:type ontology:event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q83055
P607
Q502895
USER
Which people did that event participate in ?
(c(Q502895),P607,Q83055)
action filter_type
action find_reverse
entity Q83055
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q83055']
SELECT DISTINCT ?k WHERE { ?k property:P607 resource:Q83055 . ?k rdf:type ontology:Q502895 }
Operation Barbarossa
action filter_type
action find_reverse
entity Operation Barbarossa
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Operation Barbarossa']
SELECT DISTINCT ?k WHERE { ?k property:conflict resource:Operation_Barbarossa . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q83055
SYSTEM
Did you mean Operation Barbarossa ?
Q853754 Q4296566 Q83055
(c(Q502895),P607,Q853754) (c(Q502895),P607,Q4296566) (c(Q502895),P607,Q83055)
[ANSWER]
[{'concept': 'Q502895'}, 'P607', 'Q853754'] [{'concept': 'Q502895'}, 'P607', 'Q4296566'] [{'concept': 'Q502895'}, 'P607', 'Q83055']
SELECT DISTINCT ?k WHERE { ?k property:P607 resource:Q83055 . ?k rdf:type ontology:Q502895 }
Battle of Saule Christmas Battles Operation Barbarossa
Did you mean Operation Barbarossa ?
Operation Barbarossa
[{'concept': 'common name'}, 'conflict', 'Battle of Saule'] [{'concept': 'common name'}, 'conflict', 'Christmas Battles'] [{'concept': 'common name'}, 'conflict', 'Operation Barbarossa']
SELECT DISTINCT ?k WHERE { ?k property:conflict resource:Operation_Barbarossa . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P607,Q83055)
[{'concept': 'Q502895'}, 'P607', 'Q83055']
[{'concept': 'common name'}, 'conflict', 'Operation Barbarossa']
[]
Q13471578 Q2567 Q88663
SYSTEM
Hans Redl, Richard von Weizsäcker, Alexander von Hartmann
Q13471578 Q88663 Q2567
(c(Q502895),P607,Q83055)
action filter_type
action find_reverse
entity Q83055
relation P607
type Q502895
That event participated [ANSWERS]
[{'concept': 'Q502895'}, 'P607', 'Q83055']
SELECT DISTINCT ?k WHERE { ?k property:P607 resource:Q83055 . ?k rdf:type ontology:Q502895 }
Hans Redl Alexander von Hartmann Richard von Weizsäcker
That event participated Hans Redl, Richard von Weizsäcker and Alexander von Hartmann
Hans Redl Richard von Weizsäcker Alexander von Hartmann
action filter_type
action find_reverse
entity Operation Barbarossa
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Operation Barbarossa']
SELECT DISTINCT ?k WHERE { ?k property:conflict resource:Operation_Barbarossa . ?k rdf:type ontology:common_name }
[]