Simple Question (Direct)
Simple Question
Q16963201
P86
Q502895
USER
Who wrote the music for Marito e moglie ?
(Q16963201,P86,c(Q502895))
action filter_type
action find
entity Q16963201
relation P86
type Q502895
['Q16963201', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q16963201 property:P86 ?s . ?s rdf:type ontology:Q502895 }
Marito e moglie
action filter_type
action find
entity Marito e moglie
relation composer
type common name
['Marito e moglie', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Marito_e_moglie property:composer ?s . ?s rdf:type ontology:common_name }
[]
common name
Q214665
SYSTEM
Nino Rota
Q214665
(Q16963201,P86,c(Q502895))
action filter_type
action find
entity Q16963201
relation P86
type Q502895
[ANSWER] wrote the music for Marito e moglie
['Q16963201', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q16963201 property:P86 ?s . ?s rdf:type ontology:Q502895 }
Nino Rota
Nino Rota wrote the music for Marito e moglie
Nino Rota
action filter_type
action find
entity Marito e moglie
relation composer
type common name
['Marito e moglie', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Marito_e_moglie property:composer ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214665
P136
Q2198855
USER
Which cultural movement is the genre for that person ?
(Q214665,P136,c(Q2198855))
action filter_type
action find
entity Q214665
relation P136
type Q2198855
['Q214665', 'P136', {'concept': 'Q2198855'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2198855 . resource:Q214665 property:P136 ?t }
Nino Rota
action filter_type
action find
entity Nino Rota
relation genre
type cultural movement
['Nino Rota', 'genre', {'concept': 'cultural movement'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:cultural_movement . resource:Nino_Rota property:genre ?t }
[]
cultural movement
Q1338153
SYSTEM
20th-century classical music
Q1338153
(Q214665,P136,c(Q2198855))
action filter_type
action find
entity Q214665
relation P136
type Q2198855
[ANSWER] is the genre for that person
['Q214665', 'P136', {'concept': 'Q2198855'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2198855 . resource:Q214665 property:P136 ?t }
20th-century classical music
20th-century classical music is the genre for that person
20th-century classical music
action filter_type
action find
entity Nino Rota
relation genre
type cultural movement
['Nino Rota', 'genre', {'concept': 'cultural movement'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:cultural_movement . resource:Nino_Rota property:genre ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1338153
P170
Q502895
USER
Who is credited with the creation of that cultural movement ?
(Q1338153,P170,c(Q502895))
action filter_type
action find
entity Q1338153
relation P170
type Q502895
['Q1338153', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1338153 property:P170 ?o . ?o rdf:type ontology:Q502895 }
20th-century classical music
action filter_type
action find
entity 20th-century classical music
relation creator
type common name
['20th-century classical music', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:20th-century_classical_music property:creator ?o . ?o rdf:type ontology:common_name }
[]
common name
Q152388
SYSTEM
Theodor W. Adorno
Q152388
(Q1338153,P170,c(Q502895))
action filter_type
action find
entity Q1338153
relation P170
type Q502895
[ANSWER] is credited with the creation of that cultural movement
['Q1338153', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1338153 property:P170 ?o . ?o rdf:type ontology:Q502895 }
Theodor W. Adorno
Theodor W. Adorno is credited with the creation of that cultural movement
Theodor W. Adorno
action filter_type
action find
entity 20th-century classical music
relation creator
type common name
['20th-century classical music', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:20th-century_classical_music property:creator ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P669
Q83620 Q34442 Q838948
USER
Which works of art have their location as around 1 thoroughfares or roads ?
(c(Q838948),P669,c(Q83620)|c(Q34442))
action approx
action union
action find_tuple_counts
relation P669
type Q838948
type Q83620
action find_tuple_counts
relation P669
type Q838948
type Q34442
value 1
[{'concept': 'Q838948'}, 'P669', [{'concept': 'Q83620'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?g ) WHERE { { ?j property:P669 ?b . ?j rdf:type ontology:Q838948 . ?b rdf:type ontology:Q83620 } UNION { ?j property:P669 ?b . ?j rdf:type ontology:Q838948 . ?b rdf:type ontology:Q34442 } } GROUP BY ?j } . FILTER ( ?g = 1 ) }
action approx
action union
action find_tuple_counts
relation located on street
type work of art
type thoroughfare
action find_tuple_counts
relation located on street
type work of art
type road
value 1
[{'concept': 'work of art'}, 'located on street', [{'concept': 'thoroughfare'}, {'concept': 'road'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?g ) WHERE { { ?j property:located_on_street ?b . ?j rdf:type ontology:work_of_art . ?b rdf:type ontology:thoroughfare } UNION { ?j property:located_on_street ?b . ?j rdf:type ontology:work_of_art . ?b rdf:type ontology:road } } GROUP BY ?j } . FILTER ( ?g = 1 ) }
[]
thoroughfare road work of art
Q3076272 Q7604500 Q2654066
SYSTEM
fontaine du Fellah, Statue of Sherlock Holmes, statue of Sacred Heart of Jesus Christ
Q23592836 Q18180812 Q15290943 Q2075865 Q23638024 Q18159872 Q3076272 Q23639898 Q1393016 Q23639892 Q23639893 Q23639894 Q23639895 Q23639896 Q23639897 Q2792521 Q1823877 Q18168653 Q17595202 Q23646423 Q2330521 Q16001962 Q23459719 Q2261297 Q2051365 Q27096149 Q20888406 Q4449970 Q2196230 Q19516037 Q16014280 Q18327733 Q3213106 Q2383458 Q20203154 Q16928450 Q27139393 Q23608326 Q20888393 Q3075996 Q7604500 Q17527162 Q18156540 Q5325895 Q23318218 Q21999382 Q7773304 Q23906039 Q23459618 Q26319458 Q23459612 Q20888410 Q4705940 Q20970320 Q16303789 Q4904900 Q20888411 Q3140573 Q4343203 Q2813480 Q1248701 Q20888386 Q3564171 Q1100798 Q23646414 Q23646419 Q20888390 Q15739656 Q23639916 Q23639913 Q23318379 Q3140571 Q2090597 Q23383295 Q26453081 Q27081628 Q2669373 Q26516071 Q23459636 Q23639899 Q5822058 Q24648846 Q3139725 Q27137629 Q2654066 Q23459725 Q4343423 Q23639903 Q2427190 Q23448433 Q23448400 Q25796522 Q19902765
(c(Q838948),P669,c(Q83620)|c(Q34442))
action approx
action union
action find_tuple_counts
relation P669
type Q838948
type Q83620
action find_tuple_counts
relation P669
type Q838948
type Q34442
value 1
[ANSWERS] have their location as around 1 thoroughfares or roads
[{'concept': 'Q838948'}, 'P669', [{'concept': 'Q83620'}, {'concept': 'Q34442'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?g ) WHERE { { ?j property:P669 ?b . ?j rdf:type ontology:Q838948 . ?b rdf:type ontology:Q83620 } UNION { ?j property:P669 ?b . ?j rdf:type ontology:Q838948 . ?b rdf:type ontology:Q34442 } } GROUP BY ?j } . FILTER ( ?g = 1 ) }
Seèle Mihai Eminescu Monument to Lenin statue of Sacred Heart of Jesus Christ Tu me fais tourner la tête Equestrian statue of the Duke of Wellington fontaine du Fellah Might La Sirena varada Africa North America South America Asia Europe Oceania Untitled statue of Sacred Heart of Jesus Christ Horse with Harrow Saint George and the Dragon Bust of Clotilde de Vaux statue of Sacred Heart of Jesus Christ Aerodynamic Forms in Space Monument to Émile Decroix statue of Sacred Heart of Jesus Christ statue of Sacred Heart of Jesus Christ Memorial to Walter Besant The Husband of the Doll The Secret Bench of Knowledge Emma Monument Equestrian statue of the Duke of Cambridge Hydrorrhage Faceted Column La Terre statue of Sacred Heart of Jesus Christ Stalin Statue fontaine de la rue Cherche-Midi Levensboom, Monument van Besef Monument to Eugène Flachat Hermitage fontaine Charlemagne Statue of Sherlock Holmes Statue of Queen Anne equestrian statue of Étienne Marcel Earl Haig Memorial Knot Girlfriends The Wall Aasiveeraq Johannes Gutenberg Monument To Edward Onslow Ford,Including Pair Of Lamp Standards Day Star Three Columns Alamo Mojžíš La République Big 4 Tor und Stele Horizontal Monument to Sergei Korolev and Yuri Gagarin 1SQMH Statue of John Henry Newman 1989 Vénus des Arts monument to Yuri Gagarin To Albert Camus Répit du travailleur The Knot L’Allumé Monument to Aristide Briand Thomas Jefferson Marines Horizons suspendus statue of Sacred Heart of Jesus Christ Spherical Lantern Lens Trees Memorial To Sir W S Gilbert statue of Sacred Heart of Jesus Christ Meath Memorial Monument to Henry Farman Victory Goslar Warrior Pavillon-Skulptur Hommage to Charlie Parker Zeeuws Slavernijmonument statue of Sacred Heart of Jesus Christ Monument to Francois Barbaud monument to Yuri Gagarin The Messenger statue of Sacred Heart of Jesus Christ La Naissance des formes L'Esprit de la Force Sculpture of stork Equestrian statue of George III
Fontaine du Fellah, Statue of Sherlock Holmes and statue of Sacred Heart of Jesus Christ have their location as around 1 thoroughfares or roads
fontaine du Fellah Statue of Sherlock Holmes statue of Sacred Heart of Jesus Christ
action approx
action union
action find_tuple_counts
relation located on street
type work of art
type thoroughfare
action find_tuple_counts
relation located on street
type work of art
type road
value 1
[{'concept': 'work of art'}, 'located on street', [{'concept': 'thoroughfare'}, {'concept': 'road'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?g ) WHERE { { ?j property:located_on_street ?b . ?j rdf:type ontology:work_of_art . ?b rdf:type ontology:thoroughfare } UNION { ?j property:located_on_street ?b . ?j rdf:type ontology:work_of_art . ?b rdf:type ontology:road } } GROUP BY ?j } . FILTER ( ?g = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3076272
P135
Q2198855
USER
Which cultural movement was that work of art associated with ?
(Q3076272,P135,c(Q2198855))
action filter_type
action find
entity Q3076272
relation P135
type Q2198855
['Q3076272', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?x WHERE { resource:Q3076272 property:P135 ?x . ?x rdf:type ontology:Q2198855 }
fontaine du Fellah
action filter_type
action find
entity fontaine du Fellah
relation movement
type cultural movement
['fontaine du Fellah', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?x WHERE { resource:fontaine_du_Fellah property:movement ?x . ?x rdf:type ontology:cultural_movement }
[]
cultural movement
Clarification for simple ques.
Q2654066
SYSTEM
Did you mean statue of Sacred Heart of Jesus Christ ?
Q3076272 Q7604500 Q2654066
(Q3076272,P135,c(Q2198855)) (Q7604500,P135,c(Q2198855)) (Q2654066,P135,c(Q2198855))
[ANSWER]
['Q3076272', 'P135', {'concept': 'Q2198855'}] ['Q7604500', 'P135', {'concept': 'Q2198855'}] ['Q2654066', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?x WHERE { resource:Q3076272 property:P135 ?x . ?x rdf:type ontology:Q2198855 }
fontaine du Fellah Statue of Sherlock Holmes statue of Sacred Heart of Jesus Christ
Did you mean statue of Sacred Heart of Jesus Christ ?
statue of Sacred Heart of Jesus Christ
['fontaine du Fellah', 'movement', {'concept': 'cultural movement'}] ['Statue of Sherlock Holmes', 'movement', {'concept': 'cultural movement'}] ['statue of Sacred Heart of Jesus Christ', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?x WHERE { resource:fontaine_du_Fellah property:movement ?x . ?x rdf:type ontology:cultural_movement }
[]
Simple Question (Coreferenced)
USER
No, I meant fontaine du Fellah. Could you tell me the answer for that?
(Q3076272,P135,c(Q2198855))
Q3076272
['Q3076272', 'P135', {'concept': 'Q2198855'}]
['fontaine du Fellah', 'movement', {'concept': 'cultural movement'}]
[]
Q18086896
SYSTEM
Egyptian Revival
Q18086896
(Q3076272,P135,c(Q2198855))
action filter_type
action find
entity Q3076272
relation P135
type Q2198855
That work of art was associated with [ANSWER]
['Q3076272', 'P135', {'concept': 'Q2198855'}]
SELECT DISTINCT ?x WHERE { resource:Q3076272 property:P135 ?x . ?x rdf:type ontology:Q2198855 }
Egyptian Revival
That work of art was associated with Egyptian Revival
Egyptian Revival
action filter_type
action find
entity fontaine du Fellah
relation movement
type cultural movement
['fontaine du Fellah', 'movement', {'concept': 'cultural movement'}]
SELECT DISTINCT ?x WHERE { resource:fontaine_du_Fellah property:movement ?x . ?x rdf:type ontology:cultural_movement }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1338153
P136 P21
Q502895
USER
Which people have 20th-century classical music as genre and have the gender as male ?
AND((c(Q502895),P136,Q1338153), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1338153
relation P136
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P136', 'Q1338153'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P136 resource:Q1338153 . ?o property:P21 resource:Q6581097 . ?o rdf:type ontology:Q502895 }
male 20th-century classical music
action filter_type
action intersection
action find_reverse
entity 20th-century classical music
relation genre
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'genre', '20th-century classical music'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:genre resource:20th-century_classical_music . ?o property:gender resource:male . ?o rdf:type ontology:common_name }
[]
common name
Q214665 Q154770 Q158078 Q18415914 Q22998304 Q7314
SYSTEM
Nino Rota, Arnold Schoenberg, Alfred Schnittke, Andrzej Bieżan, Aleksander Atamańczuk, Igor Stravinsky
Q214665 Q154770 Q158078 Q18415914 Q22998304 Q7314
AND((c(Q502895),P136,Q1338153), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1338153
relation P136
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have 20th-century classical music as genre and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P136', 'Q1338153'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?o WHERE { ?o property:P136 resource:Q1338153 . ?o property:P21 resource:Q6581097 . ?o rdf:type ontology:Q502895 }
Nino Rota Arnold Schoenberg Alfred Schnittke Andrzej Bieżan Aleksander Atamańczuk Igor Stravinsky
Nino Rota, Arnold Schoenberg, Alfred Schnittke, Andrzej Bieżan, Aleksander Atamańczuk and Igor Stravinsky have 20th-century classical music as genre and have the gender as male
Nino Rota Arnold Schoenberg Alfred Schnittke Andrzej Bieżan Aleksander Atamańczuk Igor Stravinsky
action filter_type
action intersection
action find_reverse
entity 20th-century classical music
relation genre
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'genre', '20th-century classical music'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?o WHERE { ?o property:genre resource:20th-century_classical_music . ?o property:gender resource:male . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q7314 Q136006
P136
Q5962346
USER
How many classification schemes are the genre of Igor Stravinsky or ZDFmediathek ?
(Q7314,P136,c(Q5962346)) (Q136006,P136,c(Q5962346))
action count
action union
action filter_type
action find
entity Q7314
relation P136
type Q5962346
action filter_type
action find
entity Q136006
relation P136
type Q5962346
['Q7314', 'P136', {'concept': 'Q5962346'}] ['Q136006', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { resource:Q7314 property:P136 ?c . ?c rdf:type ontology:Q5962346 } UNION { resource:Q136006 property:P136 ?c . ?c rdf:type ontology:Q5962346 } }
Igor Stravinsky ZDFmediathek
action count
action union
action filter_type
action find
entity Igor Stravinsky
relation genre
type classification scheme
action filter_type
action find
entity ZDFmediathek
relation genre
type classification scheme
['Igor Stravinsky', 'genre', {'concept': 'classification scheme'}] ['ZDFmediathek', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { resource:Igor_Stravinsky property:genre ?c . ?c rdf:type ontology:classification_scheme } UNION { resource:ZDFmediathek property:genre ?c . ?c rdf:type ontology:classification_scheme } }
[]
classification scheme
SYSTEM
2
Q16894224 Q1407245
(Q7314,P136,c(Q5962346)) (Q136006,P136,c(Q5962346))
action count
action union
action filter_type
action find
entity Q7314
relation P136
type Q5962346
action filter_type
action find
entity Q136006
relation P136
type Q5962346
[ANSWER]
['Q7314', 'P136', {'concept': 'Q5962346'}] ['Q136006', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { resource:Q7314 property:P136 ?c . ?c rdf:type ontology:Q5962346 } UNION { resource:Q136006 property:P136 ?c . ?c rdf:type ontology:Q5962346 } }
sports program television show
2
action count
action union
action filter_type
action find
entity Igor Stravinsky
relation genre
type classification scheme
action filter_type
action find
entity ZDFmediathek
relation genre
type classification scheme
['Igor Stravinsky', 'genre', {'concept': 'classification scheme'}] ['ZDFmediathek', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?y ) WHERE { { resource:Igor_Stravinsky property:genre ?c . ?c rdf:type ontology:classification_scheme } UNION { resource:ZDFmediathek property:genre ?c . ?c rdf:type ontology:classification_scheme } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1338153
P136 P21
Q502895
USER
Which people have 20th-century classical music as their type and have the gender as male ?
AND((c(Q502895),P136,Q1338153), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1338153
relation P136
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P136', 'Q1338153'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P136 resource:Q1338153 . ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 }
male 20th-century classical music
action filter_type
action intersection
action find_reverse
entity 20th-century classical music
relation genre
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'genre', '20th-century classical music'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:genre resource:20th-century_classical_music . ?s property:gender resource:male . ?s rdf:type ontology:common_name }
[]
common name
Q214665 Q154770 Q158078 Q18415914 Q22998304 Q7314
SYSTEM
Nino Rota, Arnold Schoenberg, Alfred Schnittke, Andrzej Bieżan, Aleksander Atamańczuk, Igor Stravinsky
Q214665 Q154770 Q158078 Q18415914 Q22998304 Q7314
AND((c(Q502895),P136,Q1338153), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1338153
relation P136
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have 20th-century classical music as their type and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P136', 'Q1338153'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s property:P136 resource:Q1338153 . ?s property:P21 resource:Q6581097 . ?s rdf:type ontology:Q502895 }
Nino Rota Arnold Schoenberg Alfred Schnittke Andrzej Bieżan Aleksander Atamańczuk Igor Stravinsky
Nino Rota, Arnold Schoenberg, Alfred Schnittke, Andrzej Bieżan, Aleksander Atamańczuk and Igor Stravinsky have 20th-century classical music as their type and have the gender as male
Nino Rota Arnold Schoenberg Alfred Schnittke Andrzej Bieżan Aleksander Atamańczuk Igor Stravinsky
action filter_type
action intersection
action find_reverse
entity 20th-century classical music
relation genre
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'genre', '20th-century classical music'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s property:genre resource:20th-century_classical_music . ?s property:gender resource:male . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1160088 Q22998304
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Aleksander Atamańczuk or András Lánczi ?
OR((Q22998304,P27,c(Q15617994)), (Q1160088,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22998304
relation P27
action find
entity Q1160088
relation P27
type Q15617994
{'OR': [['Q22998304', 'P27', {'concept': 'Q15617994'}], ['Q1160088', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?c ) { ( resource:Q22998304 ) ( resource:Q1160088 ) } . ?c property:P27 ?y } . ?y rdf:type ontology:Q15617994 }
András Lánczi Aleksander Atamańczuk
action filter_type
action union
action find
entity Aleksander Atamańczuk
relation country of citizenship
action find
entity András Lánczi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Aleksander Atamańczuk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['András Lánczi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?c ) { ( resource:Aleksander_Atamańczuk ) ( resource:András_Lánczi ) } . ?c property:country_of_citizenship ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q36
SYSTEM
Hungary, Poland
Q28 Q36
OR((Q22998304,P27,c(Q15617994)), (Q1160088,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22998304
relation P27
action find
entity Q1160088
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Aleksander Atamańczuk or András Lánczi
{'OR': [['Q22998304', 'P27', {'concept': 'Q15617994'}], ['Q1160088', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?c ) { ( resource:Q22998304 ) ( resource:Q1160088 ) } . ?c property:P27 ?y } . ?y rdf:type ontology:Q15617994 }
Hungary Poland
Hungary and Poland are the countries of citizenship of Aleksander Atamańczuk or András Lánczi
Hungary Poland
action filter_type
action union
action find
entity Aleksander Atamańczuk
relation country of citizenship
action find
entity András Lánczi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Aleksander Atamańczuk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['András Lánczi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?c ) { ( resource:Aleksander_Atamańczuk ) ( resource:András_Lánczi ) } . ?c property:country_of_citizenship ?y } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11517136 Q22998304
P27
Q15617994
USER
Which administrative territories are Aleksander Atamańczuk or Kako Mochizuki an inhabitant of ?
OR((Q22998304,P27,c(Q15617994)), (Q11517136,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22998304
relation P27
action find
entity Q11517136
relation P27
type Q15617994
{'OR': [['Q22998304', 'P27', {'concept': 'Q15617994'}], ['Q11517136', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q22998304 property:P27 ?w } UNION { resource:Q11517136 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Kako Mochizuki Aleksander Atamańczuk
action filter_type
action union
action find
entity Aleksander Atamańczuk
relation country of citizenship
action find
entity Kako Mochizuki
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Aleksander Atamańczuk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kako Mochizuki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Aleksander_Atamańczuk property:country_of_citizenship ?w } UNION { resource:Kako_Mochizuki property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q36
SYSTEM
Japan, Poland
Q17 Q36
OR((Q22998304,P27,c(Q15617994)), (Q11517136,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q22998304
relation P27
action find
entity Q11517136
relation P27
type Q15617994
Of [ANSWERS] are Aleksander Atamańczuk or Kako Mochizuki an inhabitant of
{'OR': [['Q22998304', 'P27', {'concept': 'Q15617994'}], ['Q11517136', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q22998304 property:P27 ?w } UNION { resource:Q11517136 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Japan Poland
Of Japan and Poland are Aleksander Atamańczuk or Kako Mochizuki an inhabitant of
Japan Poland
action filter_type
action union
action find
entity Aleksander Atamańczuk
relation country of citizenship
action find
entity Kako Mochizuki
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Aleksander Atamańczuk', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Kako Mochizuki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Aleksander_Atamańczuk property:country_of_citizenship ?w } UNION { resource:Kako_Mochizuki property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11517136
P106
Q12737077
USER
What is the job of Kako Mochizuki ?
(Q11517136,P106,c(Q12737077))
action filter_type
action find
entity Q11517136
relation P106
type Q12737077
['Q11517136', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q11517136 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Kako Mochizuki
action filter_type
action find
entity Kako Mochizuki
relation occupation
type occupation
['Kako Mochizuki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Kako_Mochizuki property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q191633
SYSTEM
mangaka
Q191633
(Q11517136,P106,c(Q12737077))
action filter_type
action find
entity Q11517136
relation P106
type Q12737077
The job of Kako Mochizuki is a [ANSWER]
['Q11517136', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q11517136 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
mangaka
The job of Kako Mochizuki is a mangaka
mangaka
action filter_type
action find
entity Kako Mochizuki
relation occupation
type occupation
['Kako Mochizuki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Kako_Mochizuki property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q191633
P101
Q502895
USER
Which person has field of work as that occupation ?
(c(Q502895),P101,Q191633)
action filter_type
action find_reverse
entity Q191633
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q191633']
SELECT DISTINCT ?y WHERE { ?y property:P101 resource:Q191633 . ?y rdf:type ontology:Q502895 }
mangaka
action filter_type
action find_reverse
entity mangaka
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'mangaka']
SELECT DISTINCT ?y WHERE { ?y property:field_of_work resource:mangaka . ?y rdf:type ontology:common_name }
[]
common name
Q208582
SYSTEM
Akira Toriyama
Q208582
(c(Q502895),P101,Q191633)
action filter_type
action find_reverse
entity Q191633
relation P101
type Q502895
[ANSWER] has field of work as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q191633']
SELECT DISTINCT ?y WHERE { ?y property:P101 resource:Q191633 . ?y rdf:type ontology:Q502895 }
Akira Toriyama
Akira Toriyama has field of work as that occupation
Akira Toriyama
action filter_type
action find_reverse
entity mangaka
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'mangaka']
SELECT DISTINCT ?y WHERE { ?y property:field_of_work resource:mangaka . ?y rdf:type ontology:common_name }
[]