Simple Question (Direct)
Simple Question
Q203806
P7
Q502895
USER
Who is Thomas Gottschalk a sibling of ?
(Q203806,P7,c(Q502895))
action filter_type
action find
entity Q203806
relation P7
type Q502895
['Q203806', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q203806 property:P7 ?o . ?o rdf:type ontology:Q502895 }
Thomas Gottschalk
action filter_type
action find
entity Thomas Gottschalk
relation brother
type common name
['Thomas Gottschalk', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Gottschalk property:brother ?o . ?o rdf:type ontology:common_name }
[]
common name
Q1085010
SYSTEM
Christoph Gottschalk
Q1085010
(Q203806,P7,c(Q502895))
action filter_type
action find
entity Q203806
relation P7
type Q502895
Thomas Gottschalk a sibling of is h [ANSWER]
['Q203806', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q203806 property:P7 ?o . ?o rdf:type ontology:Q502895 }
Christoph Gottschalk
Thomas Gottschalk a sibling of is h Christoph Gottschalk
Christoph Gottschalk
action filter_type
action find
entity Thomas Gottschalk
relation brother
type common name
['Thomas Gottschalk', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Gottschalk property:brother ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1085010
P21
Q290
USER
Which sex does that person have ?
(Q1085010,P21,c(Q290))
action filter_type
action find
entity Q1085010
relation P21
type Q290
['Q1085010', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1085010 property:P21 ?u . ?u rdf:type ontology:Q290 }
Christoph Gottschalk
action filter_type
action find
entity Christoph Gottschalk
relation gender
type sex
['Christoph Gottschalk', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Christoph_Gottschalk property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1085010,P21,c(Q290))
action filter_type
action find
entity Q1085010
relation P21
type Q290
That person has a [ANSWER]
['Q1085010', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q1085010 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Christoph Gottschalk
relation gender
type sex
['Christoph Gottschalk', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Christoph_Gottschalk property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q203806
P108
Q4830453
USER
Who is the employer of Thomas Gottschalk ?
(Q203806,P108,c(Q4830453))
action filter_type
action find
entity Q203806
relation P108
type Q4830453
['Q203806', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?u WHERE { resource:Q203806 property:P108 ?u . ?u rdf:type ontology:Q4830453 }
Thomas Gottschalk
action filter_type
action find
entity Thomas Gottschalk
relation employer
type business enterprise
['Thomas Gottschalk', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?u WHERE { resource:Thomas_Gottschalk property:employer ?u . ?u rdf:type ontology:business_enterprise }
[]
business enterprise
Q48989
SYSTEM
ZDF
Q48989
(Q203806,P108,c(Q4830453))
action filter_type
action find
entity Q203806
relation P108
type Q4830453
The employer of Thomas Gottschalk is the [ANSWER]
['Q203806', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ?u WHERE { resource:Q203806 property:P108 ?u . ?u rdf:type ontology:Q4830453 }
ZDF
The employer of Thomas Gottschalk is the ZDF
ZDF
action filter_type
action find
entity Thomas Gottschalk
relation employer
type business enterprise
['Thomas Gottschalk', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?u WHERE { resource:Thomas_Gottschalk property:employer ?u . ?u rdf:type ontology:business_enterprise }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q48989 Q6705447
P17
Q1048835
USER
Is that business enterprise located in Tarasivka ?
(Q48989,P17,Q6705447)
action is_in
entity Q6705447
action find
entity Q48989
relation P17
['Q48989', 'P17', 'Q6705447']
ASK WHERE { resource:Q48989 property:P17 resource:Q6705447 }
ZDF Tarasivka
action is_in
entity Tarasivka
action find
entity ZDF
relation country
['ZDF', 'country', 'Tarasivka']
ASK WHERE { resource:ZDF property:country resource:Tarasivka }
[]
political territorial entity
SYSTEM
NO
(Q48989,P17,Q6705447)
action is_in
entity Q6705447
action find
entity Q48989
relation P17
[ANSWER]
['Q48989', 'P17', 'Q6705447']
ASK WHERE { resource:Q48989 property:P17 resource:Q6705447 }
No
action is_in
entity Tarasivka
action find
entity ZDF
relation country
['ZDF', 'country', 'Tarasivka']
ASK WHERE { resource:ZDF property:country resource:Tarasivka }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q203806
P161
Q838948
USER
Which works of art have Thomas Gottschalk in their star cast ?
(c(Q838948),P161,Q203806)
action filter_type
action find_reverse
entity Q203806
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q203806']
SELECT DISTINCT ?v WHERE { ?v property:P161 resource:Q203806 . ?v rdf:type ontology:Q838948 }
Thomas Gottschalk
action filter_type
action find_reverse
entity Thomas Gottschalk
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Thomas Gottschalk']
SELECT DISTINCT ?v WHERE { ?v property:cast_member resource:Thomas_Gottschalk . ?v rdf:type ontology:work_of_art }
[]
work of art
Q1140762 Q1031705 Q325077
SYSTEM
Sister Act 2: Back in the Habit, Think Big, 1½ Knights – In Search of the Ravishing Princess Herzelinde
Q232096 Q1216610 Q325077 Q4959494 Q905594 Q1031705 Q1140762
(c(Q838948),P161,Q203806)
action filter_type
action find_reverse
entity Q203806
relation P161
type Q838948
Sister Act 2: Back in the Habit, think Big and 1½ Knights – In Search of the ravishing Princess Herzelinde have Thomas Gottschalk in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q203806']
SELECT DISTINCT ?v WHERE { ?v property:P161 resource:Q203806 . ?v rdf:type ontology:Q838948 }
Zwei Nasen tanken Super Die Supernasen 1½ Knights – In Search of the Ravishing Princess Herzelinde Breakfast with Einstein Trabbi Goes to Hollywood Think Big Sister Act 2: Back in the Habit
Sister Act 2: Back in the Habit, think Big and 1½ Knights – In Search of the ravishing Princess Herzelinde have Thomas Gottschalk in their star cast
Sister Act 2: Back in the Habit Think Big 1½ Knights – In Search of the Ravishing Princess Herzelinde
action filter_type
action find_reverse
entity Thomas Gottschalk
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Thomas Gottschalk']
SELECT DISTINCT ?v WHERE { ?v property:cast_member resource:Thomas_Gottschalk . ?v rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1140762
P1441
Q6619679
USER
Which fictional humanoid is featured in that work of art ?
(c(Q6619679),P1441,Q1140762)
action filter_type
action find_reverse
entity Q1140762
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q1140762']
SELECT DISTINCT ?i WHERE { ?i property:P1441 resource:Q1140762 . ?i rdf:type ontology:Q6619679 }
Sister Act 2: Back in the Habit
action filter_type
action find_reverse
entity Sister Act 2: Back in the Habit
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Sister Act 2: Back in the Habit']
SELECT DISTINCT ?i WHERE { ?i property:present_in_work resource:Sister_Act_2:_Back_in_the_Habit . ?i rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Clarification for simple ques.
Q1140762
SYSTEM
Did you mean Sister Act 2: Back in the Habit ?
Q1140762 Q1031705 Q325077
(c(Q6619679),P1441,Q1140762) (c(Q6619679),P1441,Q1031705) (c(Q6619679),P1441,Q325077)
[ANSWER]
[{'concept': 'Q6619679'}, 'P1441', 'Q1140762'] [{'concept': 'Q6619679'}, 'P1441', 'Q1031705'] [{'concept': 'Q6619679'}, 'P1441', 'Q325077']
SELECT DISTINCT ?i WHERE { ?i property:P1441 resource:Q1140762 . ?i rdf:type ontology:Q6619679 }
Sister Act 2: Back in the Habit Think Big 1½ Knights – In Search of the Ravishing Princess Herzelinde
Did you mean Sister Act 2: Back in the Habit ?
Sister Act 2: Back in the Habit
[{'concept': 'fictional humanoid'}, 'present in work', 'Sister Act 2: Back in the Habit'] [{'concept': 'fictional humanoid'}, 'present in work', 'Think Big'] [{'concept': 'fictional humanoid'}, 'present in work', '1½ Knights – In Search of the Ravishing Princess Herzelinde']
SELECT DISTINCT ?i WHERE { ?i property:present_in_work resource:Sister_Act_2:_Back_in_the_Habit . ?i rdf:type ontology:fictional_humanoid }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q6619679),P1441,Q1140762)
[{'concept': 'Q6619679'}, 'P1441', 'Q1140762']
[{'concept': 'fictional humanoid'}, 'present in work', 'Sister Act 2: Back in the Habit']
[]
Q24573137
SYSTEM
Sister Mary Lazarus
Q24573137
(c(Q6619679),P1441,Q1140762)
action filter_type
action find_reverse
entity Q1140762
relation P1441
type Q6619679
The [ANSWER] is featured in that work of art
[{'concept': 'Q6619679'}, 'P1441', 'Q1140762']
SELECT DISTINCT ?i WHERE { ?i property:P1441 resource:Q1140762 . ?i rdf:type ontology:Q6619679 }
Sister Mary Lazarus
The Sister Mary Lazarus is featured in that work of art
Sister Mary Lazarus
action filter_type
action find_reverse
entity Sister Act 2: Back in the Habit
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Sister Act 2: Back in the Habit']
SELECT DISTINCT ?i WHERE { ?i property:present_in_work resource:Sister_Act_2:_Back_in_the_Habit . ?i rdf:type ontology:fictional_humanoid }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2248965
P157
Q6619679 Q15619164
USER
How many abstract beings were assasinated by approximately the same number of fictional humanoids as Jocasta Nu ?
(c(Q15619164),P157,c(Q6619679))
action count
action approx
action find_tuple_counts
relation P157
type Q15619164
type Q6619679
action count
action filter_type
action find
entity Q2248965
relation P157
type Q15619164
[{'concept': 'Q15619164'}, 'P157', {'concept': 'Q6619679'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?v ) WHERE { ?l property:P157 ?h . ?l rdf:type ontology:Q15619164 . ?h rdf:type ontology:Q6619679 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Q2248965 property:P157 ?d . ?d rdf:type ontology:Q15619164 } } . FILTER ( ?v = ?p ) }
Jocasta Nu
action count
action approx
action find_tuple_counts
relation killed by
type abstract being
type fictional humanoid
action count
action filter_type
action find
entity Jocasta Nu
relation killed by
type abstract being
[{'concept': 'abstract being'}, 'killed by', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?v ) WHERE { ?l property:killed_by ?h . ?l rdf:type ontology:abstract_being . ?h rdf:type ontology:fictional_humanoid } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Jocasta_Nu property:killed_by ?d . ?d rdf:type ontology:abstract_being } } . FILTER ( ?v = ?p ) }
[]
fictional humanoid abstract being
SYSTEM
33
Q868246 Q14166042 Q13882625 Q51339 Q51727 Q51311 Q51725 Q2343363 Q54271 Q14430111 Q7714506 Q1998913 Q14165982 Q9076884 Q671534 Q13882674 Q27614034 Q27614033 Q27642045 Q2846264 Q1059976 Q14175641 Q2248965 Q51795 Q14175717 Q51791 Q2737965 Q26990219 Q14174498 Q932724 Q1077206 Q51740 Q51742
(c(Q15619164),P157,c(Q6619679))
action count
action approx
action find_tuple_counts
relation P157
type Q15619164
type Q6619679
action count
action filter_type
action find
entity Q2248965
relation P157
type Q15619164
[ANSWER]
[{'concept': 'Q15619164'}, 'P157', {'concept': 'Q6619679'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?v ) WHERE { ?l property:P157 ?h . ?l rdf:type ontology:Q15619164 . ?h rdf:type ontology:Q6619679 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Q2248965 property:P157 ?d . ?d rdf:type ontology:Q15619164 } } . FILTER ( ?v = ?p ) }
Coleman Trebor Cashmere Bruno Büring Alex Rousseau Count Dooku John Locke Mace Windu Saesee Tiin Ki-Adi-Mundi Clove Poggle the Lesser Aayla Secura Gloss Shu Mai Karneios Wolf-Dieter Dabelstein Ellis Robinson Sammy Robinson Ritchie Doucet Andre Drazen Sora Bulq Rue Jocasta Nu Jango Fett Marvel Nute Gunray Zam Wesell Vernita Yvonne Green Wiress Kit Fisto Bill Obi-Wan Kenobi Agen Kolar
33
action count
action approx
action find_tuple_counts
relation killed by
type abstract being
type fictional humanoid
action count
action filter_type
action find
entity Jocasta Nu
relation killed by
type abstract being
[{'concept': 'abstract being'}, 'killed by', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?h ) AS ?v ) WHERE { ?l property:killed_by ?h . ?l rdf:type ontology:abstract_being . ?h rdf:type ontology:fictional_humanoid } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Jocasta_Nu property:killed_by ?d . ?d rdf:type ontology:abstract_being } } . FILTER ( ?v = ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6519361
P361
Q838948 Q811979 Q502895
USER
How many works of art are less number of architectural structures or people a portion of than Leif ?
(c(Q811979)|c(Q502895),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 Q502895
action count
action filter_multi_types
action find_reverse
entity Q6519361
relation P361
type Q811979
type Q502895
[[{'concept': 'Q811979'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?l WHERE { { ?a property:P361 ?l . ?a rdf:type ontology:Q811979 . ?l rdf:type ontology:Q838948 } UNION { ?a property:P361 ?l . ?l rdf:type ontology:Q838948 . ?a rdf:type ontology:Q502895 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P361 resource:Q6519361 . { { ?i rdf:type ontology:Q811979 } UNION { ?i rdf:type ontology:Q502895 } } } } . FILTER ( ?n < ?s ) }
Leif
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 common name
action count
action filter_multi_types
action find_reverse
entity Leif
relation part of
type architectural structure
type common name
[[{'concept': 'architectural structure'}, {'concept': 'common name'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?l WHERE { { ?a property:part_of ?l . ?a rdf:type ontology:architectural_structure . ?l rdf:type ontology:work_of_art } UNION { ?a property:part_of ?l . ?l rdf:type ontology:work_of_art . ?a rdf:type ontology:common_name } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:part_of resource:Leif . { { ?i rdf:type ontology:architectural_structure } UNION { ?i rdf:type ontology:common_name } } } } . FILTER ( ?n < ?s ) }
[]
work of art architectural structure common name
SYSTEM
120
Q2312028 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 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 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518
(c(Q811979)|c(Q502895),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 Q502895
action count
action filter_multi_types
action find_reverse
entity Q6519361
relation P361
type Q811979
type Q502895
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?l WHERE { { ?a property:P361 ?l . ?a rdf:type ontology:Q811979 . ?l rdf:type ontology:Q838948 } UNION { ?a property:P361 ?l . ?l rdf:type ontology:Q838948 . ?a rdf:type ontology:Q502895 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:P361 resource:Q6519361 . { { ?i rdf:type ontology:Q811979 } UNION { ?i rdf:type ontology:Q502895 } } } } . FILTER ( ?n < ?s ) }
Star Spangled Rhythm 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 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 Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry 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 Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance 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 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
120
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 common name
action count
action filter_multi_types
action find_reverse
entity Leif
relation part of
type architectural structure
type common name
[[{'concept': 'architectural structure'}, {'concept': 'common name'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?l WHERE { { ?a property:part_of ?l . ?a rdf:type ontology:architectural_structure . ?l rdf:type ontology:work_of_art } UNION { ?a property:part_of ?l . ?l rdf:type ontology:work_of_art . ?a rdf:type ontology:common_name } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?s ) WHERE { ?i property:part_of resource:Leif . { { ?i rdf:type ontology:architectural_structure } UNION { ?i rdf:type ontology:common_name } } } } . FILTER ( ?n < ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q283134
P361
Q838948 Q811979 Q502895
USER
And how about Supergirl?
(c(Q811979)|c(Q502895),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 Q502895
action count
action filter_multi_types
action find_reverse
entity Q283134
relation P361
type Q811979
type Q502895
[[{'concept': 'Q811979'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { FILTER ( ?l < ?u ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:P361 resource:Q283134 . { { ?k rdf:type ontology:Q811979 } UNION { ?k rdf:type ontology:Q502895 } } } } . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?l ) WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:Q811979 ) ( ontology:Q502895 ) } } GROUP BY ?n } }
Supergirl
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 common name
action count
action filter_multi_types
action find_reverse
entity Supergirl
relation part of
type architectural structure
type common name
[[{'concept': 'architectural structure'}, {'concept': 'common name'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { FILTER ( ?l < ?u ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:part_of resource:Supergirl . { { ?k rdf:type ontology:architectural_structure } UNION { ?k rdf:type ontology:common_name } } } } . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?l ) WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:architectural_structure ) ( ontology:common_name ) } } GROUP BY ?n } }
[]
work of art architectural structure common name
SYSTEM
120
Q2312028 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 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 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518
(c(Q811979)|c(Q502895),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 Q502895
action count
action filter_multi_types
action find_reverse
entity Q283134
relation P361
type Q811979
type Q502895
[ANSWER]
[[{'concept': 'Q811979'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { FILTER ( ?l < ?u ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:P361 resource:Q283134 . { { ?k rdf:type ontology:Q811979 } UNION { ?k rdf:type ontology:Q502895 } } } } . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?l ) WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:Q811979 ) ( ontology:Q502895 ) } } GROUP BY ?n } }
Star Spangled Rhythm 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 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 Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry 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 Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance 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 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
120
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 common name
action count
action filter_multi_types
action find_reverse
entity Supergirl
relation part of
type architectural structure
type common name
[[{'concept': 'architectural structure'}, {'concept': 'common name'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { FILTER ( ?l < ?u ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?u ) WHERE { ?k property:part_of resource:Supergirl . { { ?k rdf:type ontology:architectural_structure } UNION { ?k rdf:type ontology:common_name } } } } . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?l ) WHERE { ?q rdf:type ?p . VALUES ( ?p ) { ( ontology:architectural_structure ) ( ontology:common_name ) } } GROUP BY ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P1313
Q895526
USER
What is the authority organ held by United Kingdom ?
(Q145,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
['Q145', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q895526 . resource:Q145 property:P1313 ?l }
United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:authority_organ . resource:United_Kingdom property:office_held_by_head_of_government ?l }
[]
authority organ
Q14211
SYSTEM
Prime Minister of the United Kingdom
Q14211
(Q145,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
The authority organ held by United Kingdom is the [ANSWER]
['Q145', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q895526 . resource:Q145 property:P1313 ?l }
Prime Minister of the United Kingdom
The authority organ held by United Kingdom is the Prime Minister of the United Kingdom
Prime Minister of the United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['United Kingdom', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:authority_organ . resource:United_Kingdom property:office_held_by_head_of_government ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2873545
Q895526
USER
And how about Rurzyca, West Pomeranian Voivodeship?
(Q2873545,P1313,c(Q895526))
action filter_type
action find
entity Q2873545
relation P1313
type Q895526
['Q2873545', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?h WHERE { resource:Q2873545 property:P1313 ?h . ?h rdf:type ontology:Q895526 }
Rurzyca, West Pomeranian Voivodeship
action filter_type
action find
entity Rurzyca, West Pomeranian Voivodeship
relation office held by head of government
type authority organ
['Rurzyca, West Pomeranian Voivodeship', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?h WHERE { resource:Rurzyca,_West_Pomeranian_Voivodeship property:office_held_by_head_of_government ?h . ?h rdf:type ontology:authority_organ }
[]
authority organ
Q690928
SYSTEM
Schultheiß
Q690928
(Q2873545,P1313,c(Q895526))
action filter_type
action find
entity Q2873545
relation P1313
type Q895526
[ANSWER]
['Q2873545', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?h WHERE { resource:Q2873545 property:P1313 ?h . ?h rdf:type ontology:Q895526 }
Schultheiß
Schultheiß
action filter_type
action find
entity Rurzyca, West Pomeranian Voivodeship
relation office held by head of government
type authority organ
['Rurzyca, West Pomeranian Voivodeship', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?h WHERE { resource:Rurzyca,_West_Pomeranian_Voivodeship property:office_held_by_head_of_government ?h . ?h rdf:type ontology:authority_organ }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1763166 Q6519361
P495
Q15617994
USER
Which administrative territories are the countries of origin of Leif or Totally True Love ?
OR((Q6519361,P495,c(Q15617994)), (Q1763166,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q6519361
relation P495
action find
entity Q1763166
relation P495
type Q15617994
{'OR': [['Q6519361', 'P495', {'concept': 'Q15617994'}], ['Q1763166', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { ?m property:P495 ?h . VALUES ( ?m ) { ( resource:Q6519361 ) ( resource:Q1763166 ) } } . ?h rdf:type ontology:Q15617994 }
Totally True Love Leif
action filter_type
action union
action find
entity Leif
relation country of origin
action find
entity Totally True Love
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Leif', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Totally True Love', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { ?m property:country_of_origin ?h . VALUES ( ?m ) { ( resource:Leif ) ( resource:Totally_True_Love ) } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20 Q34
SYSTEM
Norway, Sweden
Q20 Q34
OR((Q6519361,P495,c(Q15617994)), (Q1763166,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q6519361
relation P495
action find
entity Q1763166
relation P495
type Q15617994
[ANSWERS] are the countries of origin of Leif or Totally True Love
{'OR': [['Q6519361', 'P495', {'concept': 'Q15617994'}], ['Q1763166', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { ?m property:P495 ?h . VALUES ( ?m ) { ( resource:Q6519361 ) ( resource:Q1763166 ) } } . ?h rdf:type ontology:Q15617994 }
Norway Sweden
Norway and Sweden are the countries of origin of Leif or Totally True Love
Norway Sweden
action filter_type
action union
action find
entity Leif
relation country of origin
action find
entity Totally True Love
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Leif', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Totally True Love', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { ?m property:country_of_origin ?h . VALUES ( ?m ) { ( resource:Leif ) ( resource:Totally_True_Love ) } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]