Simple Question (Direct)
Simple Question
Q3083008
P1196
Q1931388
USER
What situation did Veda Ann Borg die in ?
(Q3083008,P1196,c(Q1931388))
action filter_type
action find
entity Q3083008
relation P1196
type Q1931388
['Q3083008', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q3083008 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
Veda Ann Borg
action filter_type
action find
entity Veda Ann Borg
relation manner of death
type cause of death
['Veda Ann Borg', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:Veda_Ann_Borg property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q3083008,P1196,c(Q1931388))
action filter_type
action find
entity Q3083008
relation P1196
type Q1931388
Veda Ann Borg died of [ANSWER]
['Q3083008', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?o WHERE { resource:Q3083008 property:P1196 ?o . ?o rdf:type ontology:Q1931388 }
natural causes
Veda Ann Borg died of natural causes
natural causes
action filter_type
action find
entity Veda Ann Borg
relation manner of death
type cause of death
['Veda Ann Borg', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?o WHERE { resource:Veda_Ann_Borg property:manner_of_death ?o . ?o rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3083008
P26
Q502895
USER
Which person is married to that one ?
(c(Q502895),P26,Q3739104)
action filter_type
action find
entity Q3083008
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3739104']
SELECT DISTINCT ?f WHERE { resource:Q3083008 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Veda Ann Borg
action filter_type
action find
entity Veda Ann Borg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'natural causes']
SELECT DISTINCT ?f WHERE { resource:Veda_Ann_Borg property:spouse ?f . ?f rdf:type ontology:common_name }
[]
common name
Q508248
SYSTEM
Andrew V. McLaglen
Q508248
(c(Q502895),P26,Q3739104)
action filter_type
action find
entity Q3083008
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q3739104']
SELECT DISTINCT ?f WHERE { resource:Q3083008 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Andrew V. McLaglen
Andrew V. McLaglen is married to that one
Andrew V. McLaglen
action filter_type
action find
entity Veda Ann Borg
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'natural causes']
SELECT DISTINCT ?f WHERE { resource:Veda_Ann_Borg property:spouse ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3083008
P161
Q838948
USER
Which works of art do Veda Ann Borg star in ?
(c(Q838948),P161,Q3083008)
action filter_type
action find_reverse
entity Q3083008
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q3083008']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q3083008 . ?r rdf:type ontology:Q838948 }
Veda Ann Borg
action filter_type
action find_reverse
entity Veda Ann Borg
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Veda Ann Borg']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Veda_Ann_Borg . ?r rdf:type ontology:work_of_art }
[]
work of art
Q1621909 Q979726 Q1219711
SYSTEM
The Alamo, Mildred Pierce, Julia Misbehaves
Q4662444 Q15651081 Q1748046 Q2963389 Q3792671 Q2481740 Q2060027 Q12125295 Q4672702 Q2349116 Q3389042 Q979726 Q3212614 Q3847937 Q1621909 Q1813582 Q7799058 Q1219711 Q998321 Q1989142 Q7743960
(c(Q838948),P161,Q3083008)
action filter_type
action find_reverse
entity Q3083008
relation P161
type Q838948
Veda Ann Borg star in [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q3083008']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q3083008 . ?r rdf:type ontology:Q838948 }
Aaron Slick from Punkin Crick Frontier Gambler You're Never Too Young Chicken Every Sunday The Falcon in Hollywood It's Love I'm After The Bachelor and the Bobby-Soxer Jungle Raiders Accomplice Honky Tonk Bitter Sweet Mildred Pierce San Quentin Big Jim McLain The Alamo Guys and Dolls Thunder in the Sun Julia Misbehaves Kid Galahad The Big Noise The Kangaroo Kid
Veda Ann Borg star in The Alamo, Mildred Pierce and Julia Misbehaves
The Alamo Mildred Pierce Julia Misbehaves
action filter_type
action find_reverse
entity Veda Ann Borg
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Veda Ann Borg']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Veda_Ann_Borg . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1621909 Q979726 Q1219711
P136
Q1792379
USER
What can be considered as category for those works of art ?
(Q1621909,P136,c(Q1792379)) (Q979726,P136,c(Q1792379)) (Q1219711,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
['Q1621909', 'P136', {'concept': 'Q1792379'}] ['Q979726', 'P136', {'concept': 'Q1792379'}] ['Q1219711', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1792379 . ?y property:P136 ?o . VALUES ( ?y ) { ( resource:Q4662444 ) ( resource:Q15651081 ) ( resource:Q1748046 ) } }
The Alamo Mildred Pierce Julia Misbehaves
action filter_type
action find
entity prev_answer
relation genre
type art genre
['The Alamo', 'genre', {'concept': 'art genre'}] ['Mildred Pierce', 'genre', {'concept': 'art genre'}] ['Julia Misbehaves', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:art_genre . ?y property:genre ?o . VALUES ( ?y ) { ( resource:Aaron_Slick_from_Punkin_Crick ) ( resource:Frontier_Gambler ) ( resource:You're_Never_Too_Young ) } }
[]
art genre
Q172980 Q1257444 Q185867
SYSTEM
Western, film adaptation, film noir
Q172980 Q1257444 Q185867 Q130232 Q1257444 Q860626
(Q1621909,P136,c(Q1792379)) (Q979726,P136,c(Q1792379)) (Q1219711,P136,c(Q1792379))
action filter_type
action find
entity prev_answer
relation P136
type Q1792379
[ANSWERS] can be considered as category for those works of art
['Q1621909', 'P136', {'concept': 'Q1792379'}] ['Q979726', 'P136', {'concept': 'Q1792379'}] ['Q1219711', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1792379 . ?y property:P136 ?o . VALUES ( ?y ) { ( resource:Q4662444 ) ( resource:Q15651081 ) ( resource:Q1748046 ) } }
Western film adaptation film noir drama film film adaptation romantic comedy
Western, film adaptation and film noir can be considered as category for those works of art
Western film adaptation film noir
action filter_type
action find
entity prev_answer
relation genre
type art genre
['The Alamo', 'genre', {'concept': 'art genre'}] ['Mildred Pierce', 'genre', {'concept': 'art genre'}] ['Julia Misbehaves', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:art_genre . ?y property:genre ?o . VALUES ( ?y ) { ( resource:Aaron_Slick_from_Punkin_Crick ) ( resource:Frontier_Gambler ) ( resource:You're_Never_Too_Young ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q508248
P106
Q12737077
USER
What is the job of Andrew V. McLaglen ?
(Q508248,P106,c(Q12737077))
action filter_type
action find
entity Q508248
relation P106
type Q12737077
['Q508248', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q508248 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Andrew V. McLaglen
action filter_type
action find
entity Andrew V. McLaglen
relation occupation
type occupation
['Andrew V. McLaglen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Andrew_V._McLaglen property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q508248,P106,c(Q12737077))
action filter_type
action find
entity Q508248
relation P106
type Q12737077
[ANSWER] . the job of Andrew V is
['Q508248', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q508248 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
actor
Actor . the job of Andrew V is
actor
action filter_type
action find
entity Andrew V. McLaglen
relation occupation
type occupation
['Andrew V. McLaglen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Andrew_V._McLaglen property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q508248
P162
Q838948
USER
Which work of art created Andrew V. McLaglen ?
(c(Q838948),P162,Q508248)
action filter_type
action find_reverse
entity Q508248
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q508248']
SELECT DISTINCT ?u WHERE { ?u property:P162 resource:Q508248 . ?u rdf:type ontology:Q838948 }
Andrew V. McLaglen
action filter_type
action find_reverse
entity Andrew V. McLaglen
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Andrew V. McLaglen']
SELECT DISTINCT ?u WHERE { ?u property:producer resource:Andrew_V._McLaglen . ?u rdf:type ontology:work_of_art }
[]
work of art
Q677782
SYSTEM
Seven Men from Now
Q677782
(c(Q838948),P162,Q508248)
action filter_type
action find_reverse
entity Q508248
relation P162
type Q838948
[ANSWER] created Andrew V. McLaglen
[{'concept': 'Q838948'}, 'P162', 'Q508248']
SELECT DISTINCT ?u WHERE { ?u property:P162 resource:Q508248 . ?u rdf:type ontology:Q838948 }
Seven Men from Now
Seven Men from Now created Andrew V. McLaglen
Seven Men from Now
action filter_type
action find_reverse
entity Andrew V. McLaglen
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Andrew V. McLaglen']
SELECT DISTINCT ?u WHERE { ?u property:producer resource:Andrew_V._McLaglen . ?u rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q677782
P344
Q502895
USER
Who is the director of photography for that work of art ?
(Q677782,P344,c(Q502895))
action filter_type
action find
entity Q677782
relation P344
type Q502895
['Q677782', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q677782 property:P344 ?e . ?e rdf:type ontology:Q502895 }
Seven Men from Now
action filter_type
action find
entity Seven Men from Now
relation director of photography
type common name
['Seven Men from Now', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Seven_Men_from_Now property:director_of_photography ?e . ?e rdf:type ontology:common_name }
[]
common name
Q369059
SYSTEM
William H. Clothier
Q369059
(Q677782,P344,c(Q502895))
action filter_type
action find
entity Q677782
relation P344
type Q502895
The director of photography for that work of art is the [ANSWER]
['Q677782', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q677782 property:P344 ?e . ?e rdf:type ontology:Q502895 }
William H. Clothier
The director of photography for that work of art is the William H. Clothier
William H. Clothier
action filter_type
action find
entity Seven Men from Now
relation director of photography
type common name
['Seven Men from Now', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Seven_Men_from_Now property:director_of_photography ?e . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q369059
P19
Q56061
USER
How many administrative territories are the places of birth of William H. Clothier ?
(Q369059,P19,c(Q56061))
action count
action filter_type
action find
entity Q369059
relation P19
type Q56061
['Q369059', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n rdf:type ontology:Q56061 . resource:Q369059 property:P19 ?n }
William H. Clothier
action count
action filter_type
action find
entity William H. Clothier
relation place of birth
type administrative territorial entity
['William H. Clothier', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:William_H._Clothier property:place_of_birth ?n }
[]
administrative territorial entity
SYSTEM
1
Q506325
(Q369059,P19,c(Q56061))
action count
action filter_type
action find
entity Q369059
relation P19
type Q56061
[ANSWER]
['Q369059', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n rdf:type ontology:Q56061 . resource:Q369059 property:P19 ?n }
Decatur
1
action count
action filter_type
action find
entity William H. Clothier
relation place of birth
type administrative territorial entity
['William H. Clothier', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:William_H._Clothier property:place_of_birth ?n }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1566315
Q56061
USER
And also tell me about Ján Petráš?
(Q1566315,P19,c(Q56061))
action count
action filter_type
action find
entity Q1566315
relation P19
type Q56061
['Q1566315', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q1566315 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Ján Petráš
action count
action filter_type
action find
entity Ján Petráš
relation place of birth
type administrative territorial entity
['Ján Petráš', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Ján_Petráš property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q1566315,P19,c(Q56061))
action count
action filter_type
action find
entity Q1566315
relation P19
type Q56061
[ANSWER]
['Q1566315', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q1566315 property:P19 ?k . ?k rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Ján Petráš
relation place of birth
type administrative territorial entity
['Ján Petráš', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Ján_Petráš property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1566315
P641
Q349
USER
Which sport did that person participate in ?
action filter_type
action find
entity Q1566315
relation P641
type Q349
SELECT DISTINCT ?c WHERE { resource:Q1566315 property:P641 ?c . ?c rdf:type ontology:Q349 }
Ján Petráš
action filter_type
action find
entity Ján Petráš
relation sport
type sport
SELECT DISTINCT ?c WHERE { resource:Ján_Petráš property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
action filter_type
action find
entity Q1566315
relation P641
type Q349
That person participated in [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q1566315 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Ján Petráš
relation sport
type sport
SELECT DISTINCT ?c WHERE { resource:Ján_Petráš property:sport ?c . ?c rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q15716339
P88
Q11204 Q502895 Q838948
USER
Which works of art have around the same number of legislatures and people as their commisioner as Chaufferie avec cheminée ?
(c(Q838948),P88,c(Q11204)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q11204
action find_tuple_counts
relation P88
type Q838948
type Q502895
action count
action filter_multi_types
action find
entity Q15716339
relation P88
type Q11204
type Q502895
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?n ) WHERE { { ?j rdf:type ontology:Q838948 . ?i rdf:type ontology:Q11204 . ?j property:P88 ?i } UNION { ?j property:P88 ?i . ?i rdf:type ontology:Q502895 . ?j rdf:type ontology:Q838948 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Q15716339 property:P88 ?e . { VALUES ( ?h ) { ( ontology:Q11204 ) ( ontology:Q502895 ) } . ?e rdf:type ?h } } } . FILTER ( ?n = ?l ) }
Chaufferie avec cheminée
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type legislature
action find_tuple_counts
relation commissioned by
type work of art
type common name
action count
action filter_multi_types
action find
entity Chaufferie avec cheminée
relation commissioned by
type legislature
type common name
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?n ) WHERE { { ?j rdf:type ontology:work_of_art . ?i rdf:type ontology:legislature . ?j property:commissioned_by ?i } UNION { ?j property:commissioned_by ?i . ?i rdf:type ontology:common_name . ?j rdf:type ontology:work_of_art } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Chaufferie_avec_cheminée property:commissioned_by ?e . { VALUES ( ?h ) { ( ontology:legislature ) ( ontology:common_name ) } . ?e rdf:type ?h } } } . FILTER ( ?n = ?l ) }
[]
legislature common name work of art
Q3047015 Q17451496 Q3068259
SYSTEM
Odalisque with Slave, Nymph with a Scorpion, Femme piquée par un serpent
Q5539462 Q4945054 Q2887541 Q945850 Q3344733 Q12432989 Q3647650 Q1094083 Q18156247 Q17530350 Q19801071 Q17451496 Q2859883 Q18201640 Q23693632 Q1760522 Q18156272 Q18156279 Q14626964 Q4866787 Q1026644 Q3068259 Q2627551 Q786001 Q20178465 Q15731486 Q2887491 Q1893353 Q3047015 Q18156280 Q18156273 Q766487 Q22330289 Q27032019 Q2928781 Q18156282 Q18385381 Q19753109 Q359256 Q2963060 Q826947 Q1093113 Q5002067 Q15716339 Q19421785 Q1988321 Q2352789 Q16014270 Q19243728
(c(Q838948),P88,c(Q11204)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q11204
action find_tuple_counts
relation P88
type Q838948
type Q502895
action count
action filter_multi_types
action find
entity Q15716339
relation P88
type Q11204
type Q502895
[ANSWERS] have around the same number of legislatures and people as their commisioner as Chaufferie avec cheminée
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?n ) WHERE { { ?j rdf:type ontology:Q838948 . ?i rdf:type ontology:Q11204 . ?j property:P88 ?i } UNION { ?j property:P88 ?i . ?i rdf:type ontology:Q502895 . ?j rdf:type ontology:Q838948 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Q15716339 property:P88 ?e . { VALUES ( ?h ) { ( ontology:Q11204 ) ( ontology:Q502895 ) } . ?e rdf:type ?h } } } . FILTER ( ?n = ?l ) }
George Frederick Handel Sleeping Hermaphrodite Dragon Fountain Apollo and Daphne Notre-Dame du Try-au-Chêne Oscar Wilde's tomb Bust of Cardinal Richelieu Brunswick Monument Taste Perseus and Andromeda Fountain Napoleon Crossing the Alps Nymph with a Scorpion Arco de la Victoria Wikipedia Monument Olney Bridge Lansdowne portrait Hearing Smell Latona Fountain Bashaw Tomb of Francis II, Duke of Brittany Femme piquée par un serpent Brutus Bernward Column Bust of Pope Paul V Voltaire Naked Neptune Fountain Marcellus as Hermes Logios Odalisque with Slave Touch Sight David Gommateshwara statue Women’s Table Bust of Louis XIV À mon seul désir Benin Pendant Mask Milo of Croton Admiralty Arch Marly horses Bernward Doors Venus Victrix Bust of Francesco I d'Este Chaufferie avec cheminée Lamp with sculpture of St Michael Seven Sorrows Polyptych The Rape of Proserpina fontaines de la place des Vosges Peace
Odalisque with Slave, Nymph with a Scorpion and Femme piquée par un serpent have around the same number of legislatures and people as their commisioner as Chaufferie avec cheminée
Odalisque with Slave Nymph with a Scorpion Femme piquée par un serpent
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type legislature
action find_tuple_counts
relation commissioned by
type work of art
type common name
action count
action filter_multi_types
action find
entity Chaufferie avec cheminée
relation commissioned by
type legislature
type common name
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?n ) WHERE { { ?j rdf:type ontology:work_of_art . ?i rdf:type ontology:legislature . ?j property:commissioned_by ?i } UNION { ?j property:commissioned_by ?i . ?i rdf:type ontology:common_name . ?j rdf:type ontology:work_of_art } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { resource:Chaufferie_avec_cheminée property:commissioned_by ?e . { VALUES ( ?h ) { ( ontology:legislature ) ( ontology:common_name ) } . ?e rdf:type ?h } } } . FILTER ( ?n = ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2418237
P88
Q11204 Q502895 Q838948
USER
And what about The Kiss?
(c(Q838948),P88,c(Q11204)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q11204
action find_tuple_counts
relation P88
type Q838948
type Q502895
action count
action filter_multi_types
action find
entity Q2418237
relation P88
type Q11204
type Q502895
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?c ) WHERE { { ?f property:P88 ?g . ?f rdf:type ontology:Q838948 . ?g rdf:type ontology:Q11204 } UNION { ?f property:P88 ?g . ?f rdf:type ontology:Q838948 . ?g rdf:type ontology:Q502895 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q2418237 property:P88 ?a . { { ?a rdf:type ontology:Q11204 } UNION { ?a rdf:type ontology:Q502895 } } } } . FILTER ( ?c = ?t ) }
The Kiss
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type legislature
action find_tuple_counts
relation commissioned by
type work of art
type common name
action count
action filter_multi_types
action find
entity The Kiss
relation commissioned by
type legislature
type common name
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?c ) WHERE { { ?f property:commissioned_by ?g . ?f rdf:type ontology:work_of_art . ?g rdf:type ontology:legislature } UNION { ?f property:commissioned_by ?g . ?f rdf:type ontology:work_of_art . ?g rdf:type ontology:common_name } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:The_Kiss property:commissioned_by ?a . { { ?a rdf:type ontology:legislature } UNION { ?a rdf:type ontology:common_name } } } } . FILTER ( ?c = ?t ) }
[]
legislature common name work of art
Q2418237 Q6572993 Q17442691
SYSTEM
The Kiss, Amphitrite, the wave and the sea birds, Neapolitan fisherboy
Q952817 Q21856944 Q4091869 Q1345100 Q5887388 Q12347248 Q19693349 Q7404187 Q26908500 Q1231464 Q17442691 Q7604500 Q3225815 Q2879984 Q3533222 Q27477357 Q6572993 Q179900 Q5309288 Q19681517 Q5509283 Q2418237 Q27477315 Q27525226 Q5447226 Q2659575 Q3206679 Q19730417
(c(Q838948),P88,c(Q11204)|c(Q502895))
action approx
action union
action find_tuple_counts
relation P88
type Q838948
type Q11204
action find_tuple_counts
relation P88
type Q838948
type Q502895
action count
action filter_multi_types
action find
entity Q2418237
relation P88
type Q11204
type Q502895
[ANSWERS]
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q11204'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?c ) WHERE { { ?f property:P88 ?g . ?f rdf:type ontology:Q838948 . ?g rdf:type ontology:Q11204 } UNION { ?f property:P88 ?g . ?f rdf:type ontology:Q838948 . ?g rdf:type ontology:Q502895 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:Q2418237 property:P88 ?a . { { ?a rdf:type ontology:Q11204 } UNION { ?a rdf:type ontology:Q502895 } } } } . FILTER ( ?c = ?t ) }
Gefion Fountain Shuttle The Big Fish Kryptos Homage Esperanto memorial Begegnung Salem Sue Gun Nation Senster Neapolitan fisherboy Statue of Sherlock Holmes Le Porteur de viande Baiser Promenade Tour aux figures The Final Siren Amphitrite, the wave and the sea birds David Drums and Colours Wasserlichtfeldspiegel Funky Bones The Kiss Forward Surge Standing By Tunnerminnerwait​ and Maulboyheenner​ Fields of Sacrifice Broken Chair La Bicyclette ensevelie Spiegelfaltung
The Kiss Amphitrite, the wave and the sea birds Neapolitan fisherboy
action approx
action union
action find_tuple_counts
relation commissioned by
type work of art
type legislature
action find_tuple_counts
relation commissioned by
type work of art
type common name
action count
action filter_multi_types
action find
entity The Kiss
relation commissioned by
type legislature
type common name
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'legislature'}, {'concept': 'common name'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?c ) WHERE { { ?f property:commissioned_by ?g . ?f rdf:type ontology:work_of_art . ?g rdf:type ontology:legislature } UNION { ?f property:commissioned_by ?g . ?f rdf:type ontology:work_of_art . ?g rdf:type ontology:common_name } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { resource:The_Kiss property:commissioned_by ?a . { { ?a rdf:type ontology:legislature } UNION { ?a rdf:type ontology:common_name } } } } . FILTER ( ?c = ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1445
Q838948 Q386724
USER
Which works represents a fictional universe described in atmost 5 works of art ?
(c(Q386724),P1445,c(Q838948))
action atmost
action find_tuple_counts
relation P1445
type Q386724
type Q838948
value 5
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?s ) WHERE { ?u rdf:type ontology:Q386724 . ?w rdf:type ontology:Q838948 . ?u property:P1445 ?w } GROUP BY ?u } . FILTER ( ?s <= 5 ) }
action atmost
action find_tuple_counts
relation fictional universe described in
type work
type work of art
value 5
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?s ) WHERE { ?u rdf:type ontology:work . ?w rdf:type ontology:work_of_art . ?u property:fictional_universe_described_in ?w } GROUP BY ?u } . FILTER ( ?s <= 5 ) }
[]
work of art work
Q1203222 Q384426 Q15731902
SYSTEM
Shrek, Pirates of the Caribbean, Aladdin media franchise
Q1203222 Q15731902 Q11927 Q3177580 Q384426
(c(Q386724),P1445,c(Q838948))
action atmost
action find_tuple_counts
relation P1445
type Q386724
type Q838948
value 5
[ANSWERS] represent a fictional universe described in atmost 5 works of art
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q838948'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?s ) WHERE { ?u rdf:type ontology:Q386724 . ?w rdf:type ontology:Q838948 . ?u property:P1445 ?w } GROUP BY ?u } . FILTER ( ?s <= 5 ) }
Shrek Aladdin media franchise Stargate The Walking Dead Pirates of the Caribbean
Shrek, Pirates of the Caribbean and Aladdin media franchise represent a fictional universe described in atmost 5 works of art
Shrek Pirates of the Caribbean Aladdin media franchise
action atmost
action find_tuple_counts
relation fictional universe described in
type work
type work of art
value 5
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'work of art'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?w ) AS ?s ) WHERE { ?u rdf:type ontology:work . ?w rdf:type ontology:work_of_art . ?u property:fictional_universe_described_in ?w } GROUP BY ?u } . FILTER ( ?s <= 5 ) }
[]