Simple Question (Direct)
Simple Question
Q130777
P108
Q3914
USER
Which school employs Kazimir Malevich ?
(Q130777,P108,c(Q3914))
action filter_type
action find
entity Q130777
relation P108
type Q3914
['Q130777', 'P108', {'concept': 'Q3914'}]
SELECT DISTINCT ?w WHERE { resource:Q130777 property:P108 ?w . ?w rdf:type ontology:Q3914 }
Kazimir Malevich
action filter_type
action find
entity Kazimir Malevich
relation employer
type school
['Kazimir Malevich', 'employer', {'concept': 'school'}]
SELECT DISTINCT ?w WHERE { resource:Kazimir_Malevich property:employer ?w . ?w rdf:type ontology:school }
[]
school
Q4112365
SYSTEM
Vitebsk People's Art School
Q4112365
(Q130777,P108,c(Q3914))
action filter_type
action find
entity Q130777
relation P108
type Q3914
[ANSWER] employs Kazimir Malevich
['Q130777', 'P108', {'concept': 'Q3914'}]
SELECT DISTINCT ?w WHERE { resource:Q130777 property:P108 ?w . ?w rdf:type ontology:Q3914 }
Vitebsk People's Art School
Vitebsk People's Art School employs Kazimir Malevich
Vitebsk People's Art School
action filter_type
action find
entity Kazimir Malevich
relation employer
type school
['Kazimir Malevich', 'employer', {'concept': 'school'}]
SELECT DISTINCT ?w WHERE { resource:Kazimir_Malevich property:employer ?w . ?w rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q130777
P737
Q2198855
USER
Which cultural movement was influenced by that person ?
(c(Q2198855),P737,Q4112365)
action filter_type
action find_reverse
entity Q130777
relation P737
type Q2198855
[{'concept': 'Q2198855'}, 'P737', 'Q4112365']
SELECT DISTINCT ?a WHERE { ?a property:P737 resource:Q130777 . ?a rdf:type ontology:Q2198855 }
Kazimir Malevich
action filter_type
action find_reverse
entity Kazimir Malevich
relation influenced by
type cultural movement
[{'concept': 'cultural movement'}, 'influenced by', "Vitebsk People's Art School"]
SELECT DISTINCT ?a WHERE { ?a property:influenced_by resource:Kazimir_Malevich . ?a rdf:type ontology:cultural_movement }
[]
cultural movement
Q207445
SYSTEM
De Stijl
Q207445
(c(Q2198855),P737,Q4112365)
action filter_type
action find_reverse
entity Q130777
relation P737
type Q2198855
[ANSWER] was influenced by that person
[{'concept': 'Q2198855'}, 'P737', 'Q4112365']
SELECT DISTINCT ?a WHERE { ?a property:P737 resource:Q130777 . ?a rdf:type ontology:Q2198855 }
De Stijl
De Stijl was influenced by that person
De Stijl
action filter_type
action find_reverse
entity Kazimir Malevich
relation influenced by
type cultural movement
[{'concept': 'cultural movement'}, 'influenced by', "Vitebsk People's Art School"]
SELECT DISTINCT ?a WHERE { ?a property:influenced_by resource:Kazimir_Malevich . ?a rdf:type ontology:cultural_movement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q207445
P138
Q2031291
USER
Which release is the eponym of that cultural movement ?
(c(Q2031291),P138,Q207445)
action filter_type
action find_reverse
entity Q207445
relation P138
type Q2031291
[{'concept': 'Q2031291'}, 'P138', 'Q207445']
SELECT DISTINCT ?z WHERE { ?z property:P138 resource:Q207445 . ?z rdf:type ontology:Q2031291 }
De Stijl
action filter_type
action find_reverse
entity De Stijl
relation named after
type release
[{'concept': 'release'}, 'named after', 'De Stijl']
SELECT DISTINCT ?z WHERE { ?z property:named_after resource:De_Stijl . ?z rdf:type ontology:release }
[]
release
Q1155719
SYSTEM
De Stijl
Q1155719
(c(Q2031291),P138,Q207445)
action filter_type
action find_reverse
entity Q207445
relation P138
type Q2031291
[ANSWER] is the eponym of that cultural movement
[{'concept': 'Q2031291'}, 'P138', 'Q207445']
SELECT DISTINCT ?z WHERE { ?z property:P138 resource:Q207445 . ?z rdf:type ontology:Q2031291 }
De Stijl
De Stijl is the eponym of that cultural movement
De Stijl
action filter_type
action find_reverse
entity De Stijl
relation named after
type release
[{'concept': 'release'}, 'named after', 'De Stijl']
SELECT DISTINCT ?z WHERE { ?z property:named_after resource:De_Stijl . ?z rdf:type ontology:release }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1155719 Q181689 Q11458465
P825
Q502895
USER
Does that release have a commitment towards Blind Willie McTell and Sentei ?
(Q1155719,P825,Q181689) (Q1155719,P825,Q11458465)
action is_in
entity Q1155719
action intersection
action find_reverse
entity Q181689
relation P825
action find_reverse
entity Q11458465
relation P825
['Q1155719', 'P825', 'Q181689'] ['Q1155719', 'P825', 'Q11458465']
ASK WHERE { resource:Q1155719 property:P825 resource:Q181689 . resource:Q1155719 property:P825 resource:Q11458465 }
De Stijl Blind Willie McTell Sentei
action is_in
entity De Stijl
action intersection
action find_reverse
entity Blind Willie McTell
relation dedicated to
action find_reverse
entity Sentei
relation dedicated to
['De Stijl', 'dedicated to', 'Blind Willie McTell'] ['De Stijl', 'dedicated to', 'Sentei']
ASK WHERE { resource:De_Stijl property:dedicated_to resource:Blind_Willie_McTell . resource:De_Stijl property:dedicated_to resource:Sentei }
[]
common name
SYSTEM
YES and NO respectively
(Q1155719,P825,Q181689) (Q1155719,P825,Q11458465)
action is_in
entity Q1155719
action intersection
action find_reverse
entity Q181689
relation P825
action find_reverse
entity Q11458465
relation P825
[ANSWER]
['Q1155719', 'P825', 'Q181689'] ['Q1155719', 'P825', 'Q11458465']
ASK WHERE { resource:Q1155719 property:P825 resource:Q181689 . resource:Q1155719 property:P825 resource:Q11458465 }
YES and NO respectively
action is_in
entity De Stijl
action intersection
action find_reverse
entity Blind Willie McTell
relation dedicated to
action find_reverse
entity Sentei
relation dedicated to
['De Stijl', 'dedicated to', 'Blind Willie McTell'] ['De Stijl', 'dedicated to', 'Sentei']
ASK WHERE { resource:De_Stijl property:dedicated_to resource:Blind_Willie_McTell . resource:De_Stijl property:dedicated_to resource:Sentei }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q207445 Q160422
P98
Q502895
USER
Is Theo van Doesburg the editor of De Stijl ?
(Q207445,P98,Q160422)
action is_in
entity Q160422
action find
entity Q207445
relation P98
['Q207445', 'P98', 'Q160422']
ASK WHERE { resource:Q207445 property:P98 resource:Q160422 }
De Stijl Theo van Doesburg
action is_in
entity Theo van Doesburg
action find
entity De Stijl
relation editor
['De Stijl', 'editor', 'Theo van Doesburg']
ASK WHERE { resource:De_Stijl property:editor resource:Theo_van_Doesburg }
[]
common name
SYSTEM
YES
(Q207445,P98,Q160422)
action is_in
entity Q160422
action find
entity Q207445
relation P98
[ANSWER]
['Q207445', 'P98', 'Q160422']
ASK WHERE { resource:Q207445 property:P98 resource:Q160422 }
Yes
action is_in
entity Theo van Doesburg
action find
entity De Stijl
relation editor
['De Stijl', 'editor', 'Theo van Doesburg']
ASK WHERE { resource:De_Stijl property:editor resource:Theo_van_Doesburg }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q207445
P112
Q502895
USER
Who founded De Stijl ?
(Q207445,P112,c(Q502895))
action filter_type
action find
entity Q207445
relation P112
type Q502895
['Q207445', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q207445 property:P112 ?r . ?r rdf:type ontology:Q502895 }
De Stijl
action filter_type
action find
entity De Stijl
relation founder
type common name
['De Stijl', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:De_Stijl property:founder ?r . ?r rdf:type ontology:common_name }
[]
common name
Q151803 Q160422
SYSTEM
Piet Mondrian, Theo van Doesburg
Q151803 Q160422
(Q207445,P112,c(Q502895))
action filter_type
action find
entity Q207445
relation P112
type Q502895
[ANSWERS] founded De Stijl
['Q207445', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q207445 property:P112 ?r . ?r rdf:type ontology:Q502895 }
Piet Mondrian Theo van Doesburg
Piet Mondrian and Theo van Doesburg founded De Stijl
Piet Mondrian Theo van Doesburg
action filter_type
action find
entity De Stijl
relation founder
type common name
['De Stijl', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:De_Stijl property:founder ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q151803 Q160422
P106
Q12737077
USER
What are the job of those people ?
(Q151803,P106,c(Q12737077)) (Q160422,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q151803', 'P106', {'concept': 'Q12737077'}] ['Q160422', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . ?y property:P106 ?d . VALUES ( ?y ) { ( resource:Q151803 ) ( resource:Q160422 ) } }
Piet Mondrian Theo van Doesburg
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Piet Mondrian', 'occupation', {'concept': 'occupation'}] ['Theo van Doesburg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . ?y property:occupation ?d . VALUES ( ?y ) { ( resource:Piet_Mondrian ) ( resource:Theo_van_Doesburg ) } }
[]
occupation
Q42973 Q1028181 Q33231
SYSTEM
architect, painter, photographer
Q1028181 Q483501 Q33231 Q42973 Q1028181 Q627325 Q49757 Q36180
(Q151803,P106,c(Q12737077)) (Q160422,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The job of those people are the [ANSWERS]
['Q151803', 'P106', {'concept': 'Q12737077'}] ['Q160422', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q12737077 . ?y property:P106 ?d . VALUES ( ?y ) { ( resource:Q151803 ) ( resource:Q160422 ) } }
painter artist photographer architect painter graphic designer poet writer
The job of those people are the architect, painter and photographer
architect painter photographer
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Piet Mondrian', 'occupation', {'concept': 'occupation'}] ['Theo van Doesburg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:occupation . ?y property:occupation ?d . VALUES ( ?y ) { ( resource:Piet_Mondrian ) ( resource:Theo_van_Doesburg ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q42973 Q1028181 Q33231
P417
Q502895
USER
What people are the patron saint of architect, painter and photographer ?
(Q42973,P417,c(Q502895)) (Q1028181,P417,c(Q502895)) (Q33231,P417,c(Q502895))
action union
action filter_type
action find
entity Q42973
relation P417
type Q502895
action filter_type
action find
entity Q1028181
relation P417
type Q502895
action filter_type
action find
entity Q33231
relation P417
type Q502895
['Q42973', 'P417', {'concept': 'Q502895'}] ['Q1028181', 'P417', {'concept': 'Q502895'}] ['Q33231', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q502895 . resource:Q42973 property:P417 ?a } UNION { resource:Q1028181 property:P417 ?a . ?a rdf:type ontology:Q502895 } }
architect painter photographer
action union
action filter_type
action find
entity architect
relation patron saint
type common name
action filter_type
action find
entity painter
relation patron saint
type common name
action filter_type
action find
entity photographer
relation patron saint
type common name
['architect', 'patron saint', {'concept': 'common name'}] ['painter', 'patron saint', {'concept': 'common name'}] ['photographer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:common_name . resource:architect property:patron_saint ?a } UNION { resource:painter property:patron_saint ?a . ?a rdf:type ontology:common_name } }
[]
common name
Q44265 Q128538 Q43669
SYSTEM
Benedict of Nursia, Luke the Evangelist, Thomas the Apostle
Q43669 Q192816 Q44265 Q128538 Q196653
(Q42973,P417,c(Q502895)) (Q1028181,P417,c(Q502895)) (Q33231,P417,c(Q502895))
action union
action filter_type
action find
entity Q42973
relation P417
type Q502895
action filter_type
action find
entity Q1028181
relation P417
type Q502895
action filter_type
action find
entity Q33231
relation P417
type Q502895
[ANSWERS] are the patron saint of architect, painter and photographer
['Q42973', 'P417', {'concept': 'Q502895'}] ['Q1028181', 'P417', {'concept': 'Q502895'}] ['Q33231', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q502895 . resource:Q42973 property:P417 ?a } UNION { resource:Q1028181 property:P417 ?a . ?a rdf:type ontology:Q502895 } }
Thomas the Apostle Saint Barbara Benedict of Nursia Luke the Evangelist Saint Veronica
Benedict of Nursia, Luke the Evangelist and Thomas the Apostle are the patron saint of architect, painter and photographer
Benedict of Nursia Luke the Evangelist Thomas the Apostle
action union
action filter_type
action find
entity architect
relation patron saint
type common name
action filter_type
action find
entity painter
relation patron saint
type common name
action filter_type
action find
entity photographer
relation patron saint
type common name
['architect', 'patron saint', {'concept': 'common name'}] ['painter', 'patron saint', {'concept': 'common name'}] ['photographer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:common_name . resource:architect property:patron_saint ?a } UNION { resource:painter property:patron_saint ?a . ?a rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33231
P921
Q838948
USER
Which works of art have photographer as their main topic ?
(c(Q838948),P921,Q33231)
action filter_type
action find_reverse
entity Q33231
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q33231']
SELECT DISTINCT ?n WHERE { ?n property:P921 resource:Q33231 . ?n rdf:type ontology:Q838948 }
photographer
action filter_type
action find_reverse
entity photographer
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'photographer']
SELECT DISTINCT ?n WHERE { ?n property:main_subject resource:photographer . ?n rdf:type ontology:work_of_art }
[]
work of art
Q17540704 Q686914 Q2903184
SYSTEM
Finding Vivian Maier, War Photographer, Bill Cunningham New York
Q118707 Q5647115 Q3521968 Q3033870 Q19580745 Q1194510 Q2010678 Q686914 Q17183979 Q5324940 Q1535050 Q7544211 Q4770569 Q5606867 Q7757824 Q2903184 Q4783840 Q6778572 Q18611409 Q7694451 Q7354638 Q7991359 Q7187775 Q7257627 Q17540704 Q14954343 Q8008504 Q5913593
(c(Q838948),P921,Q33231)
action filter_type
action find_reverse
entity Q33231
relation P921
type Q838948
[ANSWERS] have photographer as their main topic
[{'concept': 'Q838948'}, 'P921', 'Q33231']
SELECT DISTINCT ?n WHERE { ?n property:P921 resource:Q33231 . ?n rdf:type ontology:Q838948 }
Passion Despair Hand Held The Naked Eye Dolce Vita Africana Point and Shoot ...More than 1000 Words Manufactured Landscapes War Photographer Through a Lens Darkly: Black Photographers and the Emergence of a People Eadweard Muybridge, Zoopraxographer The Death of Kevin Carter: Casualty of the Bang Bang Club Smash His Camera Ansel Adams: A Documentary Film Gregory Crewdson: Brief Encounters The Portraitist Bill Cunningham New York Arakimentari Marwencol Monk with a Camera Teenage Paparazzo Rock Prophecies What Remains: The Life and Work of Sally Mann Photographic Memory Public Speaking Finding Vivian Maier Isolation William Eggleston in the Real World House Calls
Finding Vivian Maier, War Photographer and Bill Cunningham New York have photographer as their main topic
Finding Vivian Maier War Photographer Bill Cunningham New York
action filter_type
action find_reverse
entity photographer
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'photographer']
SELECT DISTINCT ?n WHERE { ?n property:main_subject resource:photographer . ?n rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17540704
P915
Q56061
USER
Which administrative territory was that work of art filmed at ?
(Q17540704,P915,c(Q56061))
action filter_type
action find
entity Q17540704
relation P915
type Q56061
['Q17540704', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q17540704 property:P915 ?o . ?o rdf:type ontology:Q56061 }
Finding Vivian Maier
action filter_type
action find
entity Finding Vivian Maier
relation filming location
type administrative territorial entity
['Finding Vivian Maier', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Finding_Vivian_Maier property:filming_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q17540704
SYSTEM
Did you mean Finding Vivian Maier ?
Q17540704 Q686914 Q2903184
(Q17540704,P915,c(Q56061)) (Q686914,P915,c(Q56061)) (Q2903184,P915,c(Q56061))
[ANSWER]
['Q17540704', 'P915', {'concept': 'Q56061'}] ['Q686914', 'P915', {'concept': 'Q56061'}] ['Q2903184', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q17540704 property:P915 ?o . ?o rdf:type ontology:Q56061 }
Finding Vivian Maier War Photographer Bill Cunningham New York
Did you mean Finding Vivian Maier ?
Finding Vivian Maier
['Finding Vivian Maier', 'filming location', {'concept': 'administrative territorial entity'}] ['War Photographer', 'filming location', {'concept': 'administrative territorial entity'}] ['Bill Cunningham New York', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Finding_Vivian_Maier property:filming_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q17540704,P915,c(Q56061))
['Q17540704', 'P915', {'concept': 'Q56061'}]
['Finding Vivian Maier', 'filming location', {'concept': 'administrative territorial entity'}]
[]
Q1297
SYSTEM
Chicago
Q1297
(Q17540704,P915,c(Q56061))
action filter_type
action find
entity Q17540704
relation P915
type Q56061
That work of art was filmed in [ANSWER]
['Q17540704', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q17540704 property:P915 ?o . ?o rdf:type ontology:Q56061 }
Chicago
That work of art was filmed in Chicago
Chicago
action filter_type
action find
entity Finding Vivian Maier
relation filming location
type administrative territorial entity
['Finding Vivian Maier', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Finding_Vivian_Maier property:filming_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are the sister cities of that administrative territory ?
(Q1297,P190,c(Q56061))
action count
action filter_type
action find
entity Q1297
relation P190
type Q56061
['Q1297', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q1297 property:P190 ?r . ?r rdf:type ontology:Q56061 }
action count
action filter_type
action find
entity Chicago
relation sister city
type administrative territorial entity
['Chicago', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Chicago property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
21
Q987 Q1353 Q649 Q3761 Q129610 Q1718 Q42800 Q1489 Q1524 Q152406 Q3711 Q174 Q216 Q172 Q270 Q6487 Q490 Q5468 Q190828 Q3805 Q1085
(Q1297,P190,c(Q56061))
action count
action filter_type
action find
entity Q1297
relation P190
type Q56061
[ANSWER]
['Q1297', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Q1297 property:P190 ?r . ?r rdf:type ontology:Q56061 }
New Delhi Delhi Moscow Accra Galway Düsseldorf Belo Horizonte Mexico City Athens Kiryat Gat Belgrade São Paulo Vilnius Toronto Warsaw Antalya Milan Durban Petah Tikva Amman Prague
21
action count
action filter_type
action find
entity Chicago
relation sister city
type administrative territorial entity
['Chicago', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { resource:Chicago property:sister_city ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]