Simple Question (Direct)
Simple Question
Q471594
P641
Q349
USER
What did Dražen Ladić participate in ?
(Q471594,P641,c(Q349))
action filter_type
action find
entity Q471594
relation P641
type Q349
['Q471594', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q471594 property:P641 ?q . ?q rdf:type ontology:Q349 }
Dražen Ladić
action filter_type
action find
entity Dražen Ladić
relation sport
type sport
['Dražen Ladić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Dražen_Ladić property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q471594,P641,c(Q349))
action filter_type
action find
entity Q471594
relation P641
type Q349
Dražen Ladić participated in [ANSWER]
['Q471594', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q471594 property:P641 ?q . ?q rdf:type ontology:Q349 }
association football
Dražen Ladić participated in association football
association football
action filter_type
action find
entity Dražen Ladić
relation sport
type sport
['Dražen Ladić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Dražen_Ladić property:sport ?q . ?q rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q471594
P1344
Q1375427
USER
Which European Championship did that person compete in ?
(Q2736,P1344,c(Q1375427))
action filter_type
action find
entity Q471594
relation P1344
type Q1375427
['Q2736', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?x WHERE { resource:Q471594 property:P1344 ?x . ?x rdf:type ontology:Q1375427 }
Dražen Ladić
action filter_type
action find
entity Dražen Ladić
relation participant of
type European Championship
['association football', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?x WHERE { resource:Dražen_Ladić property:participant_of ?x . ?x rdf:type ontology:European_Championship }
[]
European Championship
Q180563
SYSTEM
UEFA Euro 1996
Q180563
(Q2736,P1344,c(Q1375427))
action filter_type
action find
entity Q471594
relation P1344
type Q1375427
That person competed in [ANSWER]
['Q2736', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?x WHERE { resource:Q471594 property:P1344 ?x . ?x rdf:type ontology:Q1375427 }
UEFA Euro 1996
That person competed in UEFA Euro 1996
UEFA Euro 1996
action filter_type
action find
entity Dražen Ladić
relation participant of
type European Championship
['association football', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?x WHERE { resource:Dražen_Ladić property:participant_of ?x . ?x rdf:type ontology:European_Championship }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P608
Q667276 Q33506 Q502895
USER
Which people were exhibited at min number of art exhibitions or museums ?
(c(Q502895),P608,c(Q667276)|c(Q33506))
action argmin
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q33506
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?q ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:Q667276 ) ( ontology:Q33506 ) } . ?l rdf:type ?g } GROUP BY ?e } } . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?t ) WHERE { { ?y property:P608 ?c . ?y rdf:type ontology:Q502895 . ?c rdf:type ontology:Q667276 } UNION { ?c rdf:type ontology:Q33506 . ?y rdf:type ontology:Q502895 . ?y property:P608 ?c } } GROUP BY ?y } . FILTER ( ?t = ?q ) }
action argmin
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?q ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:art_exhibition ) ( ontology:museum ) } . ?l rdf:type ?g } GROUP BY ?e } } . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?t ) WHERE { { ?y property:exhibition_history ?c . ?y rdf:type ontology:common_name . ?c rdf:type ontology:art_exhibition } UNION { ?c rdf:type ontology:museum . ?y rdf:type ontology:common_name . ?y property:exhibition_history ?c } } GROUP BY ?y } . FILTER ( ?t = ?q ) }
[]
art exhibition museum common name
Q15527965 Q55192 Q17455385
SYSTEM
Margaretha Roosenboom, Gertrude Abercrombie, Jerry Cooke
Q70006 Q17455385 Q15734263 Q15734265 Q16858002 Q15991813 Q16062545 Q5671224 Q27505608 Q5248733 Q2824894 Q15734237 Q2965423 Q6687160 Q22815085 Q805807 Q15527965 Q15873898 Q55192
(c(Q502895),P608,c(Q667276)|c(Q33506))
action argmin
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q33506
[ANSWERS] were exhibited at min number of art exhibitions or museums
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?q ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:Q667276 ) ( ontology:Q33506 ) } . ?l rdf:type ?g } GROUP BY ?e } } . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?t ) WHERE { { ?y property:P608 ?c . ?y rdf:type ontology:Q502895 . ?c rdf:type ontology:Q667276 } UNION { ?c rdf:type ontology:Q33506 . ?y rdf:type ontology:Q502895 . ?y property:P608 ?c } } GROUP BY ?y } . FILTER ( ?t = ?q ) }
Lotte Jacobi Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Anne Mee Judie Bamber Alice Havers Pablo Borges Delgado Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Tony van Alphen Christian Lhopital Louis Ferstadt Georges Violet Balto Margaretha Roosenboom Chrisje van der Willigen Gertrude Abercrombie
Margaretha Roosenboom, Gertrude Abercrombie and Jerry Cooke were exhibited at min number of art exhibitions or museums
Margaretha Roosenboom Gertrude Abercrombie Jerry Cooke
action argmin
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?q ) { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?x ) WHERE { VALUES ( ?g ) { ( ontology:art_exhibition ) ( ontology:museum ) } . ?l rdf:type ?g } GROUP BY ?e } } . { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?t ) WHERE { { ?y property:exhibition_history ?c . ?y rdf:type ontology:common_name . ?c rdf:type ontology:art_exhibition } UNION { ?c rdf:type ontology:museum . ?y rdf:type ontology:common_name . ?y property:exhibition_history ?c } } GROUP BY ?y } . FILTER ( ?t = ?q ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15527965 Q55192 Q17455385
P551
Q56061
USER
Where did Margaretha Roosenboom, Gertrude Abercrombie and Jerry Cooke live ?
(Q15527965,P551,c(Q56061)) (Q55192,P551,c(Q56061)) (Q17455385,P551,c(Q56061))
action union
action filter_type
action find
entity Q15527965
relation P551
type Q56061
action filter_type
action find
entity Q55192
relation P551
type Q56061
action filter_type
action find
entity Q17455385
relation P551
type Q56061
['Q15527965', 'P551', {'concept': 'Q56061'}] ['Q55192', 'P551', {'concept': 'Q56061'}] ['Q17455385', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?k ) { ( resource:Q55192 ) ( resource:Q15527965 ) } . ?k property:P551 ?y }
Margaretha Roosenboom Gertrude Abercrombie Jerry Cooke
action union
action filter_type
action find
entity Margaretha Roosenboom
relation residence
type administrative territorial entity
action filter_type
action find
entity Gertrude Abercrombie
relation residence
type administrative territorial entity
action filter_type
action find
entity Jerry Cooke
relation residence
type administrative territorial entity
['Margaretha Roosenboom', 'residence', {'concept': 'administrative territorial entity'}] ['Gertrude Abercrombie', 'residence', {'concept': 'administrative territorial entity'}] ['Jerry Cooke', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?k ) { ( resource:Gertrude_Abercrombie ) ( resource:Margaretha_Roosenboom ) } . ?k property:residence ?y }
[]
administrative territorial entity
Q490 Q64 Q64
SYSTEM
Milan for 1st, Berlin for 2nd, 3rd
Q36600 Q9934 Q809821 Q64 Q576814 Q1297 Q1156 Q5083 Q490 Q64 Q60
(Q15527965,P551,c(Q56061)) (Q55192,P551,c(Q56061)) (Q17455385,P551,c(Q56061))
action union
action filter_type
action find
entity Q15527965
relation P551
type Q56061
action filter_type
action find
entity Q55192
relation P551
type Q56061
action filter_type
action find
entity Q17455385
relation P551
type Q56061
[ANSWERS]
['Q15527965', 'P551', {'concept': 'Q56061'}] ['Q55192', 'P551', {'concept': 'Q56061'}] ['Q17455385', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?k ) { ( resource:Q55192 ) ( resource:Q15527965 ) } . ?k property:P551 ?y }
The Hague Hilversum Voorburg Berlin Aledo Chicago Mumbai Seattle Milan Berlin New York City
Margaretha Roosenboom , Gertrude Abercrombie and Jerry Cooke lived in Milan, Berlin and Berlin
Milan Berlin Berlin
action union
action filter_type
action find
entity Margaretha Roosenboom
relation residence
type administrative territorial entity
action filter_type
action find
entity Gertrude Abercrombie
relation residence
type administrative territorial entity
action filter_type
action find
entity Jerry Cooke
relation residence
type administrative territorial entity
['Margaretha Roosenboom', 'residence', {'concept': 'administrative territorial entity'}] ['Gertrude Abercrombie', 'residence', {'concept': 'administrative territorial entity'}] ['Jerry Cooke', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?k ) { ( resource:Gertrude_Abercrombie ) ( resource:Margaretha_Roosenboom ) } . ?k property:residence ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15527965
P101
Q1792379
USER
Which field do Margaretha Roosenboom belong to ?
(Q15527965,P101,c(Q1792379))
action filter_type
action find
entity Q15527965
relation P101
type Q1792379
['Q15527965', 'P101', {'concept': 'Q1792379'}]
SELECT DISTINCT ?m WHERE { resource:Q15527965 property:P101 ?m . ?m rdf:type ontology:Q1792379 }
Margaretha Roosenboom
action filter_type
action find
entity Margaretha Roosenboom
relation field of work
type art genre
['Margaretha Roosenboom', 'field of work', {'concept': 'art genre'}]
SELECT DISTINCT ?m WHERE { resource:Margaretha_Roosenboom property:field_of_work ?m . ?m rdf:type ontology:art_genre }
[]
art genre
Q170571 Q12303833
SYSTEM
still life, floral painting
Q170571 Q12303833
(Q15527965,P101,c(Q1792379))
action filter_type
action find
entity Q15527965
relation P101
type Q1792379
Margaretha Roosenboom belong to [ANSWERS]
['Q15527965', 'P101', {'concept': 'Q1792379'}]
SELECT DISTINCT ?m WHERE { resource:Q15527965 property:P101 ?m . ?m rdf:type ontology:Q1792379 }
still life floral painting
Margaretha Roosenboom belong to still life and floral painting
still life floral painting
action filter_type
action find
entity Margaretha Roosenboom
relation field of work
type art genre
['Margaretha Roosenboom', 'field of work', {'concept': 'art genre'}]
SELECT DISTINCT ?m WHERE { resource:Margaretha_Roosenboom property:field_of_work ?m . ?m rdf:type ontology:art_genre }
[]
Clarification
Simple Question|Single Entity|Indirect
Q170571
P136
Q838948
USER
Which works of art have that one as genre ?
(c(Q838948),P136,Q170571)
action filter_type
action find_reverse
entity Q170571
relation P136
type Q838948
[{'concept': 'Q838948'}, 'P136', 'Q170571']
SELECT DISTINCT ?g WHERE { ?g property:P136 resource:Q170571 . ?g rdf:type ontology:Q838948 }
still life
action filter_type
action find_reverse
entity still life
relation genre
type work of art
[{'concept': 'work of art'}, 'genre', 'still life']
SELECT DISTINCT ?g WHERE { ?g property:genre resource:still_life . ?g rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q170571
SYSTEM
Did you mean still life ?
Q170571 Q12303833
(c(Q838948),P136,Q170571) (c(Q838948),P136,Q12303833)
[ANSWER]
[{'concept': 'Q838948'}, 'P136', 'Q170571'] [{'concept': 'Q838948'}, 'P136', 'Q12303833']
SELECT DISTINCT ?g WHERE { ?g property:P136 resource:Q170571 . ?g rdf:type ontology:Q838948 }
still life floral painting
Did you mean still life ?
still life
[{'concept': 'work of art'}, 'genre', 'still life'] [{'concept': 'work of art'}, 'genre', 'floral painting']
SELECT DISTINCT ?g WHERE { ?g property:genre resource:still_life . ?g rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P136,Q170571)
[{'concept': 'Q838948'}, 'P136', 'Q170571']
[{'concept': 'work of art'}, 'genre', 'still life']
[]
Q19005056 Q19005808
SYSTEM
Attributes of Painting, Sculpture and Architecture, Attributes of Music
Q19005056 Q19005808
(c(Q838948),P136,Q170571)
action filter_type
action find_reverse
entity Q170571
relation P136
type Q838948
[ANSWERS] have that one as genre
[{'concept': 'Q838948'}, 'P136', 'Q170571']
SELECT DISTINCT ?g WHERE { ?g property:P136 resource:Q170571 . ?g rdf:type ontology:Q838948 }
Attributes of Painting, Sculpture and Architecture Attributes of Music
Attributes of Painting, Sculpture and Architecture and Attributes of Music have that one as genre
Attributes of Painting, Sculpture and Architecture Attributes of Music
action filter_type
action find_reverse
entity still life
relation genre
type work of art
[{'concept': 'work of art'}, 'genre', 'still life']
SELECT DISTINCT ?g WHERE { ?g property:genre resource:still_life . ?g rdf:type ontology:work_of_art }
[]