Simple Question (Direct)
Simple Question
Q2750788
P136
Q151885
USER
Which concept can be considered as genre of Mr. Probz ?
(Q2750788,P136,c(Q151885))
action filter_type
action find
entity Q2750788
relation P136
type Q151885
['Q2750788', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?q WHERE { resource:Q2750788 property:P136 ?q . ?q rdf:type ontology:Q151885 }
Mr. Probz
action filter_type
action find
entity Mr. Probz
relation genre
type concept
['Mr. Probz', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?q WHERE { resource:Mr._Probz property:genre ?q . ?q rdf:type ontology:concept }
[]
concept
Q11401
SYSTEM
hip hop
Q11401
(Q2750788,P136,c(Q151885))
action filter_type
action find
entity Q2750788
relation P136
type Q151885
[ANSWER] can be considered as genre of Mr. Probz
['Q2750788', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?q WHERE { resource:Q2750788 property:P136 ?q . ?q rdf:type ontology:Q151885 }
hip hop
Hip hop can be considered as genre of Mr. Probz
hip hop
action filter_type
action find
entity Mr. Probz
relation genre
type concept
['Mr. Probz', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?q WHERE { resource:Mr._Probz property:genre ?q . ?q rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2750788
P161
Q838948
USER
Which work of art has that person as actor ?
(c(Q838948),P161,Q11401)
action filter_type
action find_reverse
entity Q2750788
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q11401']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q2750788 . ?r rdf:type ontology:Q838948 }
Mr. Probz
action filter_type
action find_reverse
entity Mr. Probz
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'hip hop']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Mr._Probz . ?r rdf:type ontology:work_of_art }
[]
work of art
Q3070356
SYSTEM
Bolletjes Blues
Q3070356
(c(Q838948),P161,Q11401)
action filter_type
action find_reverse
entity Q2750788
relation P161
type Q838948
[ANSWER] has that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q11401']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q2750788 . ?r rdf:type ontology:Q838948 }
Bolletjes Blues
Bolletjes Blues has that person as actor
Bolletjes Blues
action filter_type
action find_reverse
entity Mr. Probz
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'hip hop']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Mr._Probz . ?r rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3070356 Q55
P495
Q15617994
USER
Is Netherlands the country of origin of that work of art ?
(Q3070356,P495,Q55)
action is_in
entity Q55
action find
entity Q3070356
relation P495
['Q3070356', 'P495', 'Q55']
ASK WHERE { resource:Q3070356 property:P495 resource:Q55 }
Bolletjes Blues Netherlands
action is_in
entity Netherlands
action find
entity Bolletjes Blues
relation country of origin
['Bolletjes Blues', 'country of origin', 'Netherlands']
ASK WHERE { resource:Bolletjes_Blues property:country_of_origin resource:Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3070356,P495,Q55)
action is_in
entity Q55
action find
entity Q3070356
relation P495
[ANSWER]
['Q3070356', 'P495', 'Q55']
ASK WHERE { resource:Q3070356 property:P495 resource:Q55 }
Yes
action is_in
entity Netherlands
action find
entity Bolletjes Blues
relation country of origin
['Bolletjes Blues', 'country of origin', 'Netherlands']
ASK WHERE { resource:Bolletjes_Blues property:country_of_origin resource:Netherlands }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2750788 Q29999
P27
Q15617994
USER
Does Mr. Probz belong to Kingdom of the Netherlands ?
(Q2750788,P27,Q29999)
action is_in
entity Q29999
action find
entity Q2750788
relation P27
['Q2750788', 'P27', 'Q29999']
ASK WHERE { resource:Q2750788 property:P27 resource:Q29999 }
Mr. Probz Kingdom of the Netherlands
action is_in
entity Kingdom of the Netherlands
action find
entity Mr. Probz
relation country of citizenship
['Mr. Probz', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Mr._Probz property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2750788,P27,Q29999)
action is_in
entity Q29999
action find
entity Q2750788
relation P27
[ANSWER]
['Q2750788', 'P27', 'Q29999']
ASK WHERE { resource:Q2750788 property:P27 resource:Q29999 }
Yes
action is_in
entity Kingdom of the Netherlands
action find
entity Mr. Probz
relation country of citizenship
['Mr. Probz', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Mr._Probz property:country_of_citizenship resource:Kingdom_of_the_Netherlands }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used for the production of max number of works of art ?
(c(Q838948),P2079,Q170593)
action argmax
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:P2079 ?p . ?w rdf:type ontology:Q838948 . ?p rdf:type ontology:Q2695280 } GROUP BY ?p } } . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P2079 ?e . ?e rdf:type ontology:Q2695280 . ?m rdf:type ontology:Q838948 } GROUP BY ?e } . FILTER ( ?o = ?t ) }
action argmax
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:fabrication_method ?p . ?w rdf:type ontology:work_of_art . ?p rdf:type ontology:technics } GROUP BY ?p } } . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:fabrication_method ?e . ?e rdf:type ontology:technics . ?m rdf:type ontology:work_of_art } GROUP BY ?e } . FILTER ( ?o = ?t ) }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,Q170593)
action argmax
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[ANSWERS] are used for the production of max number of works of art
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:P2079 ?p . ?w rdf:type ontology:Q838948 . ?p rdf:type ontology:Q2695280 } GROUP BY ?p } } . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:P2079 ?e . ?e rdf:type ontology:Q2695280 . ?m rdf:type ontology:Q838948 } GROUP BY ?e } . FILTER ( ?o = ?t ) }
gilding collage
Gilding and collage are used for the production of max number of works of art
gilding collage
action argmax
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?z ) WHERE { ?w property:fabrication_method ?p . ?w rdf:type ontology:work_of_art . ?p rdf:type ontology:technics } GROUP BY ?p } } . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?o ) WHERE { ?m property:fabrication_method ?e . ?e rdf:type ontology:technics . ?m rdf:type ontology:work_of_art } GROUP BY ?e } . FILTER ( ?o = ?t ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1811748 Q29999
P276 P36
Q56061
USER
Which administrative territories are the capitals of Kingdom of the Netherlands or are the place where Solna centrum metro station are located ?
OR((Q29999,P36,c(Q56061)), (Q1811748,P276,c(Q56061)))
action filter_type
action union
action find
entity Q29999
relation P36
action find
entity Q1811748
relation P276
type Q56061
{'OR': [['Q29999', 'P36', {'concept': 'Q56061'}], ['Q1811748', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q29999 property:P36 ?i } UNION { resource:Q1811748 property:P276 ?i } } . ?i rdf:type ontology:Q56061 }
Solna centrum metro station Kingdom of the Netherlands
action filter_type
action union
action find
entity Kingdom of the Netherlands
relation capital
action find
entity Solna centrum metro station
relation location
type administrative territorial entity
{'OR': [['Kingdom of the Netherlands', 'capital', {'concept': 'administrative territorial entity'}], ['Solna centrum metro station', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Kingdom_of_the_Netherlands property:capital ?i } UNION { resource:Solna_centrum_metro_station property:location ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727 Q10670862
SYSTEM
Amsterdam, Skytteholm
Q727 Q10670862
OR((Q29999,P36,c(Q56061)), (Q1811748,P276,c(Q56061)))
action filter_type
action union
action find
entity Q29999
relation P36
action find
entity Q1811748
relation P276
type Q56061
[ANSWERS] are the capitals of Kingdom of the Netherlands or are the place where Solna centrum metro station are located
{'OR': [['Q29999', 'P36', {'concept': 'Q56061'}], ['Q1811748', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q29999 property:P36 ?i } UNION { resource:Q1811748 property:P276 ?i } } . ?i rdf:type ontology:Q56061 }
Amsterdam Skytteholm
Amsterdam and Skytteholm are the capitals of Kingdom of the Netherlands or are the place where Solna centrum metro station are located
Amsterdam Skytteholm
action filter_type
action union
action find
entity Kingdom of the Netherlands
relation capital
action find
entity Solna centrum metro station
relation location
type administrative territorial entity
{'OR': [['Kingdom of the Netherlands', 'capital', {'concept': 'administrative territorial entity'}], ['Solna centrum metro station', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Kingdom_of_the_Netherlands property:capital ?i } UNION { resource:Solna_centrum_metro_station property:location ?i } } . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q874405 Q56061 Q838948
USER
How many works of art were commissioned by atmost 1 social groups or administrative territories ?
(c(Q838948),P88,c(Q874405)|c(Q56061))
action count
action atmost
action union
action find_tuple_counts
relation P88
type Q838948
type Q874405
action find_tuple_counts
relation P88
type Q838948
type Q56061
value 1
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q874405'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?o WHERE { VALUES ( ?x ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } . ?e rdf:type ?x } GROUP BY ?o } . FILTER ( ?k <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation commissioned by
type work of art
type social group
action find_tuple_counts
relation commissioned by
type work of art
type administrative territorial entity
value 1
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'social group'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?o WHERE { VALUES ( ?x ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } . ?e rdf:type ?x } GROUP BY ?o } . FILTER ( ?k <= 1 ) }
[]
social group administrative territorial entity work of art
SYSTEM
80
Q5539462 Q4945054 Q952817 Q21856944 Q2887541 Q945850 Q4091869 Q3344733 Q12432989 Q3647650 Q1094083 Q18156247 Q17530350 Q19801071 Q17451496 Q2859883 Q1345100 Q5887388 Q18201640 Q23693632 Q12347248 Q1760522 Q18156272 Q19693349 Q18156279 Q14626964 Q7404187 Q26908500 Q4866787 Q1026644 Q1231464 Q3068259 Q2627551 Q786001 Q20178465 Q17442691 Q7604500 Q15731486 Q16060284 Q2887491 Q2182509 Q3225815 Q1893353 Q3047015 Q2879984 Q18156280 Q3533222 Q27477357 Q2415504 Q18156273 Q766487 Q6572993 Q22330289 Q179900 Q27032019 Q2928781 Q18156282 Q5309288 Q19681517 Q18385381 Q19753109 Q5509283 Q2418237 Q359256 Q2963060 Q826947 Q1093113 Q27477315 Q5002067 Q27525226 Q5447226 Q15716339 Q19421785 Q1988321 Q2659575 Q2352789 Q3206679 Q16014270 Q19243728 Q19730417
(c(Q838948),P88,c(Q874405)|c(Q56061))
action count
action atmost
action union
action find_tuple_counts
relation P88
type Q838948
type Q874405
action find_tuple_counts
relation P88
type Q838948
type Q56061
value 1
[ANSWER]
[{'concept': 'Q838948'}, 'P88', [{'concept': 'Q874405'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?o WHERE { VALUES ( ?x ) { ( ontology:Q874405 ) ( ontology:Q56061 ) } . ?e rdf:type ?x } GROUP BY ?o } . FILTER ( ?k <= 1 ) }
George Frederick Handel Sleeping Hermaphrodite Gefion Fountain Shuttle Dragon Fountain Apollo and Daphne The Big Fish 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 Kryptos Homage Wikipedia Monument Olney Bridge Esperanto memorial Lansdowne portrait Hearing Begegnung Smell Latona Fountain Salem Sue Gun Nation Bashaw Tomb of Francis II, Duke of Brittany Senster Femme piquée par un serpent Brutus Bernward Column Bust of Pope Paul V Neapolitan fisherboy Statue of Sherlock Holmes Voltaire Naked Bust of Cardinal Roberto Bellarmine Neptune Fountain Cristo della Minerva Le Porteur de viande Marcellus as Hermes Logios Odalisque with Slave Baiser Promenade Touch Tour aux figures The Final Siren David Sight David Amphitrite, the wave and the sea birds Gommateshwara statue David Women’s Table Bust of Louis XIV À mon seul désir Drums and Colours Wasserlichtfeldspiegel Benin Pendant Mask Milo of Croton Funky Bones The Kiss Admiralty Arch Marly horses Bernward Doors Venus Victrix Forward Surge Bust of Francesco I d'Este Standing By Tunnerminnerwait​ and Maulboyheenner​ Fields of Sacrifice Chaufferie avec cheminée Lamp with sculpture of St Michael Seven Sorrows Polyptych Broken Chair The Rape of Proserpina La Bicyclette ensevelie fontaines de la place des Vosges Peace Spiegelfaltung
80
action count
action atmost
action union
action find_tuple_counts
relation commissioned by
type work of art
type social group
action find_tuple_counts
relation commissioned by
type work of art
type administrative territorial entity
value 1
[{'concept': 'work of art'}, 'commissioned by', [{'concept': 'social group'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?o WHERE { VALUES ( ?x ) { ( ontology:social_group ) ( ontology:administrative_territorial_entity ) } . ?e rdf:type ?x } GROUP BY ?o } . FILTER ( ?k <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q727
P504
Q2235308
USER
Which ship types have Amsterdam as their home port ?
(c(Q2235308),P504,Q727)
action filter_type
action find_reverse
entity Q727
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q727']
SELECT DISTINCT ?j WHERE { ?j property:P504 resource:Q727 . ?j rdf:type ontology:Q2235308 }
Amsterdam
action filter_type
action find_reverse
entity Amsterdam
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Amsterdam']
SELECT DISTINCT ?j WHERE { ?j property:home_port resource:Amsterdam . ?j rdf:type ontology:ship_type }
[]
ship type
Q1425093 Q168474 Q2296540
SYSTEM
Stad Amsterdam, MV Arctic Sunrise, MS Oranje
Q3130268 Q2296540 Q1425093 Q102382 Q168474 Q1272879 Q1958707 Q567862 Q102441 Q1293488 Q478353 Q3536382
(c(Q2235308),P504,Q727)
action filter_type
action find_reverse
entity Q727
relation P504
type Q2235308
[ANSWERS] have Amsterdam as their home port
[{'concept': 'Q2235308'}, 'P504', 'Q727']
SELECT DISTINCT ?j WHERE { ?j property:P504 resource:Q727 . ?j rdf:type ontology:Q2235308 }
Hendrika Bartelds MS Oranje Stad Amsterdam J. R. Tolkien MV Arctic Sunrise Europa Rainbow Warrior II Rainbow Warrior III Loth Loriën MV Esperanza Amsterdam Tradewind
Stad Amsterdam, MV Arctic Sunrise and MS Oranje have Amsterdam as their home port
Stad Amsterdam MV Arctic Sunrise MS Oranje
action filter_type
action find_reverse
entity Amsterdam
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Amsterdam']
SELECT DISTINCT ?j WHERE { ?j property:home_port resource:Amsterdam . ?j rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q727
P6
Q502895
USER
Which person does Amsterdam serve as the head of government for ?
(Q727,P6,c(Q502895))
action filter_type
action find
entity Q727
relation P6
type Q502895
['Q727', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q727 property:P6 ?p }
Amsterdam
action filter_type
action find
entity Amsterdam
relation head of government
type common name
['Amsterdam', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Amsterdam property:head_of_government ?p }
[]
common name
Q1279554
SYSTEM
Eberhard van der Laan
Q1279554
(Q727,P6,c(Q502895))
action filter_type
action find
entity Q727
relation P6
type Q502895
Amsterdam serves as the head of government [ANSWER]
['Q727', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q727 property:P6 ?p }
Eberhard van der Laan
Amsterdam serves as the head of government Eberhard van der Laan
Eberhard van der Laan
action filter_type
action find
entity Amsterdam
relation head of government
type common name
['Amsterdam', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Amsterdam property:head_of_government ?p }
[]