Simple Question (Direct)
Simple Question
Q642140
P195
Q33506
USER
Which museum has Victorious Youth in it ?
(Q642140,P195,c(Q33506))
action filter_type
action find
entity Q642140
relation P195
type Q33506
['Q642140', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?f WHERE { resource:Q642140 property:P195 ?f . ?f rdf:type ontology:Q33506 }
Victorious Youth
action filter_type
action find
entity Victorious Youth
relation collection
type museum
['Victorious Youth', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?f WHERE { resource:Victorious_Youth property:collection ?f . ?f rdf:type ontology:museum }
[]
museum
Q731126
SYSTEM
J. Paul Getty Museum
Q731126
(Q642140,P195,c(Q33506))
action filter_type
action find
entity Q642140
relation P195
type Q33506
[ANSWER] has Victorious Youth in it
['Q642140', 'P195', {'concept': 'Q33506'}]
SELECT DISTINCT ?f WHERE { resource:Q642140 property:P195 ?f . ?f rdf:type ontology:Q33506 }
J. Paul Getty Museum
J. Paul Getty Museum has Victorious Youth in it
J. Paul Getty Museum
action filter_type
action find
entity Victorious Youth
relation collection
type museum
['Victorious Youth', 'collection', {'concept': 'museum'}]
SELECT DISTINCT ?f WHERE { resource:Victorious_Youth property:collection ?f . ?f rdf:type ontology:museum }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q642140
P170
Q502895
USER
Who is the creator of that work of art ?
(Q731126,P170,c(Q502895))
action filter_type
action find
entity Q642140
relation P170
type Q502895
['Q731126', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q642140 property:P170 ?u . ?u rdf:type ontology:Q502895 }
Victorious Youth
action filter_type
action find
entity Victorious Youth
relation creator
type common name
['J. Paul Getty Museum', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Victorious_Youth property:creator ?u . ?u rdf:type ontology:common_name }
[]
common name
Q192222
SYSTEM
Lysippos
Q192222
(Q731126,P170,c(Q502895))
action filter_type
action find
entity Q642140
relation P170
type Q502895
The creator of that work of art is Lord [ANSWER]
['Q731126', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q642140 property:P170 ?u . ?u rdf:type ontology:Q502895 }
Lysippos
The creator of that work of art is Lord Lysippos
Lysippos
action filter_type
action find
entity Victorious Youth
relation creator
type common name
['J. Paul Getty Museum', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Victorious_Youth property:creator ?u . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8004568 Q642140
P136
Q483394
USER
What are the genre for Victorious Youth or William Artaud ?
OR((Q642140,P136,c(Q483394)), (Q8004568,P136,c(Q483394)))
action filter_type
action union
action find
entity Q642140
relation P136
action find
entity Q8004568
relation P136
type Q483394
{'OR': [['Q642140', 'P136', {'concept': 'Q483394'}], ['Q8004568', 'P136', {'concept': 'Q483394'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q642140 property:P136 ?o } UNION { resource:Q8004568 property:P136 ?o } } . ?o rdf:type ontology:Q483394 }
William Artaud Victorious Youth
action filter_type
action union
action find
entity Victorious Youth
relation genre
action find
entity William Artaud
relation genre
type genre
{'OR': [['Victorious Youth', 'genre', {'concept': 'genre'}], ['William Artaud', 'genre', {'concept': 'genre'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Victorious_Youth property:genre ?o } UNION { resource:William_Artaud property:genre ?o } } . ?o rdf:type ontology:genre }
[]
genre
Q3064465 Q134307
SYSTEM
heroic nudity, portrait
Q3064465 Q134307
OR((Q642140,P136,c(Q483394)), (Q8004568,P136,c(Q483394)))
action filter_type
action union
action find
entity Q642140
relation P136
action find
entity Q8004568
relation P136
type Q483394
The genre for Victorious Youth or William Artaud are of [ANSWERS]
{'OR': [['Q642140', 'P136', {'concept': 'Q483394'}], ['Q8004568', 'P136', {'concept': 'Q483394'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q642140 property:P136 ?o } UNION { resource:Q8004568 property:P136 ?o } } . ?o rdf:type ontology:Q483394 }
heroic nudity portrait
The genre for Victorious Youth or William Artaud are of heroic nudity and portrait
heroic nudity portrait
action filter_type
action union
action find
entity Victorious Youth
relation genre
action find
entity William Artaud
relation genre
type genre
{'OR': [['Victorious Youth', 'genre', {'concept': 'genre'}], ['William Artaud', 'genre', {'concept': 'genre'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Victorious_Youth property:genre ?o } UNION { resource:William_Artaud property:genre ?o } } . ?o rdf:type ontology:genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q192222
P22
Q502895
USER
How many people are the offspring of Lysippos ?
(c(Q502895),P22,Q192222)
action count
action filter_type
action find_reverse
entity Q192222
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q192222']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { ?i property:P22 resource:Q192222 . ?i rdf:type ontology:Q502895 }
Lysippos
action count
action filter_type
action find_reverse
entity Lysippos
relation father
type common name
[{'concept': 'common name'}, 'father', 'Lysippos']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { ?i property:father resource:Lysippos . ?i rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q11908903 Q20742896 Q11916492
(c(Q502895),P22,Q192222)
action count
action filter_type
action find_reverse
entity Q192222
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q192222']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { ?i property:P22 resource:Q192222 . ?i rdf:type ontology:Q502895 }
Bedes Euthycrates Daippus
3
action count
action filter_type
action find_reverse
entity Lysippos
relation father
type common name
[{'concept': 'common name'}, 'father', 'Lysippos']
SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) WHERE { ?i property:father resource:Lysippos . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192222
P1066
Q502895
USER
Who is a pupil of Lysippos ?
(c(Q502895),P1066,Q192222)
action filter_type
action find_reverse
entity Q192222
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q192222']
SELECT DISTINCT ?h WHERE { ?h property:P1066 resource:Q192222 . ?h rdf:type ontology:Q502895 }
Lysippos
action filter_type
action find_reverse
entity Lysippos
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Lysippos']
SELECT DISTINCT ?h WHERE { ?h property:student_of resource:Lysippos . ?h rdf:type ontology:common_name }
[]
common name
Q449057
SYSTEM
Chares of Lindos
Q449057
(c(Q502895),P1066,Q192222)
action filter_type
action find_reverse
entity Q192222
relation P1066
type Q502895
A pupil of Lysippos is called [ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q192222']
SELECT DISTINCT ?h WHERE { ?h property:P1066 resource:Q192222 . ?h rdf:type ontology:Q502895 }
Chares of Lindos
A pupil of Lysippos is called Chares of Lindos
Chares of Lindos
action filter_type
action find_reverse
entity Lysippos
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Lysippos']
SELECT DISTINCT ?h WHERE { ?h property:student_of resource:Lysippos . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q192222
P40
Q502895
USER
Which people are a successors of Lysippos ?
(Q192222,P40,c(Q502895))
action filter_type
action find
entity Q192222
relation P40
type Q502895
['Q192222', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q192222 property:P40 ?b . ?b rdf:type ontology:Q502895 }
Lysippos
action filter_type
action find
entity Lysippos
relation child
type common name
['Lysippos', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Lysippos property:child ?b . ?b rdf:type ontology:common_name }
[]
common name
Q11916492 Q20742896 Q11908903
SYSTEM
Daippus, Euthycrates, Bedes
Q11916492 Q20742896 Q11908903
(Q192222,P40,c(Q502895))
action filter_type
action find
entity Q192222
relation P40
type Q502895
[ANSWERS] are a successors of Lysippos
['Q192222', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q192222 property:P40 ?b . ?b rdf:type ontology:Q502895 }
Daippus Euthycrates Bedes
Daippus, Euthycrates and Bedes are a successors of Lysippos
Daippus Euthycrates Bedes
action filter_type
action find
entity Lysippos
relation child
type common name
['Lysippos', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Lysippos property:child ?b . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20742896
P7
Q502895
USER
Which people have that one as their brother ?
(c(Q502895),P7,Q20742896)
action filter_type
action find
entity Q20742896
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q20742896']
SELECT DISTINCT ?r WHERE { resource:Q20742896 property:P7 ?r . ?r rdf:type ontology:Q502895 }
Euthycrates
action filter_type
action find
entity Euthycrates
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Euthycrates']
SELECT DISTINCT ?r WHERE { resource:Euthycrates property:brother ?r . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q11916492
SYSTEM
Did you mean Daippus ?
Q11916492 Q20742896 Q11908903
(c(Q502895),P7,Q11916492) (c(Q502895),P7,Q20742896) (c(Q502895),P7,Q11908903)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q11916492'] [{'concept': 'Q502895'}, 'P7', 'Q20742896'] [{'concept': 'Q502895'}, 'P7', 'Q11908903']
SELECT DISTINCT ?r WHERE { resource:Q20742896 property:P7 ?r . ?r rdf:type ontology:Q502895 }
Daippus Euthycrates Bedes
Did you mean Daippus ?
Daippus
[{'concept': 'common name'}, 'brother', 'Daippus'] [{'concept': 'common name'}, 'brother', 'Euthycrates'] [{'concept': 'common name'}, 'brother', 'Bedes']
SELECT DISTINCT ?r WHERE { resource:Euthycrates property:brother ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Euthycrates. Could you tell me the answer for that?
(c(Q502895),P7,Q20742896)
Q20742896
[{'concept': 'Q502895'}, 'P7', 'Q20742896']
[{'concept': 'common name'}, 'brother', 'Euthycrates']
[]
Q11908903 Q11916492
SYSTEM
Bedes, Daippus
Q11916492 Q11908903
(c(Q502895),P7,Q20742896)
action filter_type
action find
entity Q20742896
relation P7
type Q502895
[ANSWERS] have that one as their brother
[{'concept': 'Q502895'}, 'P7', 'Q20742896']
SELECT DISTINCT ?r WHERE { resource:Q20742896 property:P7 ?r . ?r rdf:type ontology:Q502895 }
Daippus Bedes
Bedes and Daippus have that one as their brother
Bedes Daippus
action filter_type
action find
entity Euthycrates
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Euthycrates']
SELECT DISTINCT ?r WHERE { resource:Euthycrates property:brother ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q11908903 Q11916492
P7
Q502895
USER
Who have Bedes and Daippus as their brother ?
(Q11908903,P7,c(Q502895)) (Q11916492,P7,c(Q502895))
action union
action filter_type
action find
entity Q11908903
relation P7
type Q502895
action filter_type
action find
entity Q11916492
relation P7
type Q502895
['Q11908903', 'P7', {'concept': 'Q502895'}] ['Q11916492', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:Q502895 . resource:Q11908903 property:P7 ?n } UNION { resource:Q11916492 property:P7 ?n . ?n rdf:type ontology:Q502895 } }
Bedes Daippus
action union
action filter_type
action find
entity Bedes
relation brother
type common name
action filter_type
action find
entity Daippus
relation brother
type common name
['Bedes', 'brother', {'concept': 'common name'}] ['Daippus', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:common_name . resource:Bedes property:brother ?n } UNION { resource:Daippus property:brother ?n . ?n rdf:type ontology:common_name } }
[]
common name
Q20742896 Q20742896 Q11916492
SYSTEM
Euthycrates for 1st, 2nd, Daippus for 3rd
Q20742896 Q11916492 Q20742896 Q11908903
(Q11908903,P7,c(Q502895)) (Q11916492,P7,c(Q502895))
action union
action filter_type
action find
entity Q11908903
relation P7
type Q502895
action filter_type
action find
entity Q11916492
relation P7
type Q502895
[ANSWERS]
['Q11908903', 'P7', {'concept': 'Q502895'}] ['Q11916492', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:Q502895 . resource:Q11908903 property:P7 ?n } UNION { resource:Q11916492 property:P7 ?n . ?n rdf:type ontology:Q502895 } }
Euthycrates Daippus Euthycrates Bedes
Euthycrates, Euthycrates and Daippus have Bedes and Daippus as their brother
Euthycrates Euthycrates Daippus
action union
action filter_type
action find
entity Bedes
relation brother
type common name
action filter_type
action find
entity Daippus
relation brother
type common name
['Bedes', 'brother', {'concept': 'common name'}] ['Daippus', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:common_name . resource:Bedes property:brother ?n } UNION { resource:Daippus property:brother ?n . ?n rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20742896
P19
Q14601169
USER
Which human fortified settlement is the place of birth of Euthycrates ?
(Q20742896,P19,c(Q14601169))
action filter_type
action find
entity Q20742896
relation P19
type Q14601169
['Q20742896', 'P19', {'concept': 'Q14601169'}]
SELECT DISTINCT ?y WHERE { resource:Q20742896 property:P19 ?y . ?y rdf:type ontology:Q14601169 }
Euthycrates
action filter_type
action find
entity Euthycrates
relation place of birth
type human fortified settlement
['Euthycrates', 'place of birth', {'concept': 'human fortified settlement'}]
SELECT DISTINCT ?y WHERE { resource:Euthycrates property:place_of_birth ?y . ?y rdf:type ontology:human_fortified_settlement }
[]
human fortified settlement
Q368628
SYSTEM
Sicyon
Q368628
(Q20742896,P19,c(Q14601169))
action filter_type
action find
entity Q20742896
relation P19
type Q14601169
[ANSWER] is the place of birth of Euthycrates
['Q20742896', 'P19', {'concept': 'Q14601169'}]
SELECT DISTINCT ?y WHERE { resource:Q20742896 property:P19 ?y . ?y rdf:type ontology:Q14601169 }
Sicyon
Sicyon is the place of birth of Euthycrates
Sicyon
action filter_type
action find
entity Euthycrates
relation place of birth
type human fortified settlement
['Euthycrates', 'place of birth', {'concept': 'human fortified settlement'}]
SELECT DISTINCT ?y WHERE { resource:Euthycrates property:place_of_birth ?y . ?y rdf:type ontology:human_fortified_settlement }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2466903 Q20742896
P40
Q502895
USER
Which people have Euthycrates or Hannibal Sehested as an offspring ?
OR((c(Q502895),P40,Q20742896), (c(Q502895),P40,Q2466903))
action filter_type
action union
action find_reverse
entity Q20742896
relation P40
action find_reverse
entity Q2466903
relation P40
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q20742896'], [{'concept': 'Q502895'}, 'P40', 'Q2466903']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . { VALUES ( ?m ) { ( resource:Q2466903 ) ( resource:Q20742896 ) } . ?y property:P40 ?m } }
Hannibal Sehested Euthycrates
action filter_type
action union
action find_reverse
entity Euthycrates
relation child
action find_reverse
entity Hannibal Sehested
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Euthycrates'], [{'concept': 'common name'}, 'child', 'Hannibal Sehested']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . { VALUES ( ?m ) { ( resource:Hannibal_Sehested ) ( resource:Euthycrates ) } . ?y property:child ?m } }
[]
common name
Q192222 Q11963900
SYSTEM
Lysippos, Claus Maltesen Sehested
Q192222 Q11963900
OR((c(Q502895),P40,Q20742896), (c(Q502895),P40,Q2466903))
action filter_type
action union
action find_reverse
entity Q20742896
relation P40
action find_reverse
entity Q2466903
relation P40
type Q502895
[ANSWERS] have Euthycrates or Hannibal Sehested as an offspring
{'OR': [[{'concept': 'Q502895'}, 'P40', 'Q20742896'], [{'concept': 'Q502895'}, 'P40', 'Q2466903']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . { VALUES ( ?m ) { ( resource:Q2466903 ) ( resource:Q20742896 ) } . ?y property:P40 ?m } }
Lysippos Claus Maltesen Sehested
Lysippos and Claus Maltesen Sehested have Euthycrates or Hannibal Sehested as an offspring
Lysippos Claus Maltesen Sehested
action filter_type
action union
action find_reverse
entity Euthycrates
relation child
action find_reverse
entity Hannibal Sehested
relation child
type common name
{'OR': [[{'concept': 'common name'}, 'child', 'Euthycrates'], [{'concept': 'common name'}, 'child', 'Hannibal Sehested']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . { VALUES ( ?m ) { ( resource:Hannibal_Sehested ) ( resource:Euthycrates ) } . ?y property:child ?m } }
[]