Simple Question (Direct)
Simple Question
Q388095
P21
Q290
USER
Which sex does Şahinali Terzi have ?
(Q388095,P21,c(Q290))
action filter_type
action find
entity Q388095
relation P21
type Q290
['Q388095', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q388095 property:P21 ?r . ?r rdf:type ontology:Q290 }
Şahinali Terzi
action filter_type
action find
entity Şahinali Terzi
relation gender
type sex
['Şahinali Terzi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Şahinali_Terzi property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q388095,P21,c(Q290))
action filter_type
action find
entity Q388095
relation P21
type Q290
Şahinali Terzi has the [ANSWER]
['Q388095', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q388095 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
Şahinali Terzi has the male
male
action filter_type
action find
entity Şahinali Terzi
relation gender
type sex
['Şahinali Terzi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Şahinali_Terzi property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q388095
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q388095
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q388095 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Şahinali Terzi
action filter_type
action find
entity Şahinali Terzi
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Şahinali_Terzi property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q388095
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q388095 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
Player association football player has that person as his/her 's career
association football player
action filter_type
action find
entity Şahinali Terzi
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Şahinali_Terzi property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q5375139
P608
Q464980 Q33506 Q502895
USER
Which people were displayed at less number of exhibitions or museums than Ena Swansea ?
(c(Q502895),P608,c(Q464980)|c(Q33506))
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q5375139
relation P608
type Q464980
type Q33506
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?v WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q5375139 property:P608 ?p . { ?p rdf:type ?a . VALUES ( ?a ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } } } . FILTER ( ?j < ?h ) }
Ena Swansea
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity Ena Swansea
relation exhibition history
type exhibition
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?v WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:exhibition ) ( ontology:museum ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Ena_Swansea property:exhibition_history ?p . { ?p rdf:type ?a . VALUES ( ?a ) { ( ontology:exhibition ) ( ontology:museum ) } } } } . FILTER ( ?j < ?h ) }
[]
exhibition museum common name
Q15527965 Q55192 Q17455385
SYSTEM
Margaretha Roosenboom, Gertrude Abercrombie, Jerry Cooke
Q17455385 Q15734263 Q15734265 Q16858002 Q15991813 Q16062545 Q5671224 Q16005428 Q27505608 Q5248733 Q2824894 Q15734237 Q2965423 Q6687160 Q22815085 Q9015308 Q805807 Q15527965 Q15873898 Q55192 Q3335569
(c(Q502895),P608,c(Q464980)|c(Q33506))
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q5375139
relation P608
type Q464980
type Q33506
[ANSWERS] were displayed at less number of exhibitions or museums than Ena Swansea
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?v WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q5375139 property:P608 ?p . { ?p rdf:type ?a . VALUES ( ?a ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } } } . FILTER ( ?j < ?h ) }
Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Anne Mee Judie Bamber Alice Havers Pablo Borges Delgado Andrea Bowers Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Tony van Alphen Christian Lhopital Louis Ferstadt Georges Violet Juan Carlos Alom Balto Margaretha Roosenboom Chrisje van der Willigen Gertrude Abercrombie Nancy Elizabeth Prophet
Margaretha Roosenboom, Gertrude Abercrombie and Jerry Cooke were displayed at less number of exhibitions or museums than Ena Swansea
Margaretha Roosenboom Gertrude Abercrombie Jerry Cooke
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity Ena Swansea
relation exhibition history
type exhibition
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) ?v WHERE { ?e rdf:type ?i . VALUES ( ?i ) { ( ontology:exhibition ) ( ontology:museum ) } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Ena_Swansea property:exhibition_history ?p . { ?p rdf:type ?a . VALUES ( ?a ) { ( ontology:exhibition ) ( ontology:museum ) } } } } . FILTER ( ?j < ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1964408
P608
Q464980 Q33506 Q502895
USER
And also tell me about Nan Hoover?
(c(Q502895),P608,c(Q464980)|c(Q33506))
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q1964408
relation P608
type Q464980
type Q33506
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?p WHERE { { ?p property:P608 ?m . ?p rdf:type ontology:Q502895 . ?m rdf:type ontology:Q464980 } UNION { ?p rdf:type ontology:Q502895 . ?m rdf:type ontology:Q33506 . ?p property:P608 ?m } } GROUP BY ?p } . FILTER ( ?h < ?f ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Q1964408 property:P608 ?c . { VALUES ( ?j ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } . ?c rdf:type ?j } } } }
Nan Hoover
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity Nan Hoover
relation exhibition history
type exhibition
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?p WHERE { { ?p property:exhibition_history ?m . ?p rdf:type ontology:common_name . ?m rdf:type ontology:exhibition } UNION { ?p rdf:type ontology:common_name . ?m rdf:type ontology:museum . ?p property:exhibition_history ?m } } GROUP BY ?p } . FILTER ( ?h < ?f ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Nan_Hoover property:exhibition_history ?c . { VALUES ( ?j ) { ( ontology:exhibition ) ( ontology:museum ) } . ?c rdf:type ?j } } } }
[]
exhibition museum common name
Q15527965 Q55192 Q17455385
SYSTEM
Margaretha Roosenboom, Gertrude Abercrombie, Jerry Cooke
Q17455385 Q15734263 Q15734265 Q16858002 Q15991813 Q16062545 Q5671224 Q16005428 Q27505608 Q5248733 Q2824894 Q15734237 Q2965423 Q6687160 Q22815085 Q9015308 Q805807 Q15527965 Q15873898 Q55192 Q3335569
(c(Q502895),P608,c(Q464980)|c(Q33506))
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q1964408
relation P608
type Q464980
type Q33506
[ANSWERS]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?p WHERE { { ?p property:P608 ?m . ?p rdf:type ontology:Q502895 . ?m rdf:type ontology:Q464980 } UNION { ?p rdf:type ontology:Q502895 . ?m rdf:type ontology:Q33506 . ?p property:P608 ?m } } GROUP BY ?p } . FILTER ( ?h < ?f ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Q1964408 property:P608 ?c . { VALUES ( ?j ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } . ?c rdf:type ?j } } } }
Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Anne Mee Judie Bamber Alice Havers Pablo Borges Delgado Andrea Bowers Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Tony van Alphen Christian Lhopital Louis Ferstadt Georges Violet Juan Carlos Alom Balto Margaretha Roosenboom Chrisje van der Willigen Gertrude Abercrombie Nancy Elizabeth Prophet
Margaretha Roosenboom Gertrude Abercrombie Jerry Cooke
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity Nan Hoover
relation exhibition history
type exhibition
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?p WHERE { { ?p property:exhibition_history ?m . ?p rdf:type ontology:common_name . ?m rdf:type ontology:exhibition } UNION { ?p rdf:type ontology:common_name . ?m rdf:type ontology:museum . ?p property:exhibition_history ?m } } GROUP BY ?p } . FILTER ( ?h < ?f ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { resource:Nan_Hoover property:exhibition_history ?c . { VALUES ( ?j ) { ( ontology:exhibition ) ( ontology:museum ) } . ?c rdf:type ?j } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17455385
P802
Q502895
USER
Who was a notable student of Jerry Cooke ?
(c(Q502895),P802,Q17455385)
action filter_type
action find_reverse
entity Q17455385
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q17455385']
SELECT DISTINCT ?g WHERE { ?g property:P802 resource:Q17455385 . ?g rdf:type ontology:Q502895 }
Jerry Cooke
action filter_type
action find_reverse
entity Jerry Cooke
relation student
type common name
[{'concept': 'common name'}, 'student', 'Jerry Cooke']
SELECT DISTINCT ?g WHERE { ?g property:student resource:Jerry_Cooke . ?g rdf:type ontology:common_name }
[]
common name
Q62081
SYSTEM
Alfred Eisenstaedt
Q62081
(c(Q502895),P802,Q17455385)
action filter_type
action find_reverse
entity Q17455385
relation P802
type Q502895
A notable student of Jerry Cooke was the [ANSWER]
[{'concept': 'Q502895'}, 'P802', 'Q17455385']
SELECT DISTINCT ?g WHERE { ?g property:P802 resource:Q17455385 . ?g rdf:type ontology:Q502895 }
Alfred Eisenstaedt
A notable student of Jerry Cooke was the Alfred Eisenstaedt
Alfred Eisenstaedt
action filter_type
action find_reverse
entity Jerry Cooke
relation student
type common name
[{'concept': 'common name'}, 'student', 'Jerry Cooke']
SELECT DISTINCT ?g WHERE { ?g property:student resource:Jerry_Cooke . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q62081
P1066
Q502895
USER
Which person is a pupil of that one ?
(c(Q502895),P1066,Q62081)
action filter_type
action find_reverse
entity Q62081
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q62081']
SELECT DISTINCT ?z WHERE { ?z property:P1066 resource:Q62081 . ?z rdf:type ontology:Q502895 }
Alfred Eisenstaedt
action filter_type
action find_reverse
entity Alfred Eisenstaedt
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Alfred Eisenstaedt']
SELECT DISTINCT ?z WHERE { ?z property:student_of resource:Alfred_Eisenstaedt . ?z rdf:type ontology:common_name }
[]
common name
Q17455385
SYSTEM
Jerry Cooke
Q17455385
(c(Q502895),P1066,Q62081)
action filter_type
action find_reverse
entity Q62081
relation P1066
type Q502895
[ANSWER] is a pupil of that one
[{'concept': 'Q502895'}, 'P1066', 'Q62081']
SELECT DISTINCT ?z WHERE { ?z property:P1066 resource:Q62081 . ?z rdf:type ontology:Q502895 }
Jerry Cooke
Jerry Cooke is a pupil of that one
Jerry Cooke
action filter_type
action find_reverse
entity Alfred Eisenstaedt
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Alfred Eisenstaedt']
SELECT DISTINCT ?z WHERE { ?z property:student_of resource:Alfred_Eisenstaedt . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17455385
P108
Q1002697
USER
Which periodical literatures are the employers of that person ?
(Q17455385,P108,c(Q1002697))
action filter_type
action find
entity Q17455385
relation P108
type Q1002697
['Q17455385', 'P108', {'concept': 'Q1002697'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1002697 . resource:Q17455385 property:P108 ?c }
Jerry Cooke
action filter_type
action find
entity Jerry Cooke
relation employer
type periodical literature
['Jerry Cooke', 'employer', {'concept': 'periodical literature'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:periodical_literature . resource:Jerry_Cooke property:employer ?c }
[]
periodical literature
Q463198 Q372989 Q275837
SYSTEM
Life, Fortune, Sports Illustrated
Q1109549 Q463198 Q372989 Q275837 Q2394235
(Q17455385,P108,c(Q1002697))
action filter_type
action find
entity Q17455385
relation P108
type Q1002697
[ANSWERS] are the employers of that person
['Q17455385', 'P108', {'concept': 'Q1002697'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1002697 . resource:Q17455385 property:P108 ?c }
Collier's Life Fortune Sports Illustrated Ladies' Home Journal
Life, Fortune and Sports Illustrated are the employers of that person
Life Fortune Sports Illustrated
action filter_type
action find
entity Jerry Cooke
relation employer
type periodical literature
['Jerry Cooke', 'employer', {'concept': 'periodical literature'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:periodical_literature . resource:Jerry_Cooke property:employer ?c }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1022831 Q17455385
P551 P1383
Q56061
USER
Which administrative territories were the place of residence of Jerry Cooke or are contained in Sântămăria-Orlea ?
OR((Q17455385,P551,c(Q56061)), (Q1022831,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q17455385
relation P551
action find
entity Q1022831
relation P1383
type Q56061
{'OR': [['Q17455385', 'P551', {'concept': 'Q56061'}], ['Q1022831', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1022831 property:P1383 ?h } UNION { resource:Q17455385 property:P551 ?h } } . ?h rdf:type ontology:Q56061 }
Sântămăria-Orlea Jerry Cooke
action filter_type
action union
action find
entity Jerry Cooke
relation residence
action find
entity Sântămăria-Orlea
relation contains settlement
type administrative territorial entity
{'OR': [['Jerry Cooke', 'residence', {'concept': 'administrative territorial entity'}], ['Sântămăria-Orlea', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Sântămăria-Orlea property:contains_settlement ?h } UNION { resource:Jerry_Cooke property:residence ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q693233 Q3178687 Q60 Q5083 Q790406 Q290353 Q5060225 Q726368 Q64 Q490
SYSTEM
Some of them are Subcetate, Bucium-Orlea, New York City, Seattle, Bărăștii Hațegului, Balomir, Sântămăria-Orlea, Sânpetru, Berlin, Milan
Q790406 Q1156 Q693233 Q726368 Q3178675 Q3179132 Q749705 Q5083 Q3178687 Q490 Q5060225 Q64 Q60 Q290353
OR((Q17455385,P551,c(Q56061)), (Q1022831,P1383,c(Q56061)))
action filter_type
action union
action find
entity Q17455385
relation P551
action find
entity Q1022831
relation P1383
type Q56061
[ANSWERS] were the place of residence of Jerry Cooke or are contained in Sântămăria-Orlea
{'OR': [['Q17455385', 'P551', {'concept': 'Q56061'}], ['Q1022831', 'P1383', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q1022831 property:P1383 ?h } UNION { resource:Q17455385 property:P551 ?h } } . ?h rdf:type ontology:Q56061 }
Bărăștii Hațegului Mumbai Subcetate Sânpetru Vadu Ciopeia Săcel Seattle Bucium-Orlea Milan Sântămăria-Orlea Berlin New York City Balomir
Subcetate, Bucium-Orlea, New York City, Seattle, Bărăștii Hațegului, Balomir, Sântămăria-Orlea, Sânpetru, Berlin and Milan were the place of residence of Jerry Cooke or are contained in Sântămăria-Orlea
Subcetate Bucium-Orlea New York City Seattle Bărăștii Hațegului Balomir Sântămăria-Orlea Sânpetru Berlin Milan
action filter_type
action union
action find
entity Jerry Cooke
relation residence
action find
entity Sântămăria-Orlea
relation contains settlement
type administrative territorial entity
{'OR': [['Jerry Cooke', 'residence', {'concept': 'administrative territorial entity'}], ['Sântămăria-Orlea', 'contains settlement', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Sântămăria-Orlea property:contains_settlement ?h } UNION { resource:Jerry_Cooke property:residence ?h } } . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q693233 Q3178687 Q60 Q5083 Q790406 Q290353 Q5060225 Q726368 Q64 Q490
P17
Q15617994
USER
Which administrative territories are Subcetate, Bucium-Orlea, New York City, Seattle, Bărăștii Hațegului, Balomir, Sântămăria-Orlea, Sânpetru, Berlin and Milan located in ?
(Q693233,P17,c(Q15617994)) (Q3178687,P17,c(Q15617994)) (Q60,P17,c(Q15617994)) (Q5083,P17,c(Q15617994)) (Q790406,P17,c(Q15617994)) (Q290353,P17,c(Q15617994)) (Q5060225,P17,c(Q15617994)) (Q726368,P17,c(Q15617994)) (Q64,P17,c(Q15617994)) (Q490,P17,c(Q15617994))
action union
action filter_type
action find
entity Q693233
relation P17
type Q15617994
action filter_type
action find
entity Q3178687
relation P17
type Q15617994
action filter_type
action find
entity Q60
relation P17
type Q15617994
action filter_type
action find
entity Q5083
relation P17
type Q15617994
action filter_type
action find
entity Q790406
relation P17
type Q15617994
action filter_type
action find
entity Q290353
relation P17
type Q15617994
action filter_type
action find
entity Q5060225
relation P17
type Q15617994
action filter_type
action find
entity Q726368
relation P17
type Q15617994
action filter_type
action find
entity Q64
relation P17
type Q15617994
action filter_type
action find
entity Q490
relation P17
type Q15617994
['Q693233', 'P17', {'concept': 'Q15617994'}] ['Q3178687', 'P17', {'concept': 'Q15617994'}] ['Q60', 'P17', {'concept': 'Q15617994'}] ['Q5083', 'P17', {'concept': 'Q15617994'}] ['Q790406', 'P17', {'concept': 'Q15617994'}] ['Q290353', 'P17', {'concept': 'Q15617994'}] ['Q5060225', 'P17', {'concept': 'Q15617994'}] ['Q726368', 'P17', {'concept': 'Q15617994'}] ['Q64', 'P17', {'concept': 'Q15617994'}] ['Q490', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?k property:P17 ?y . VALUES ( ?k ) { ( resource:Q693233 ) ( resource:Q3178687 ) } }
Subcetate Bucium-Orlea New York City Seattle Bărăștii Hațegului Balomir Sântămăria-Orlea Sânpetru Berlin Milan
action union
action filter_type
action find
entity Subcetate
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Bucium-Orlea
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity New York City
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Seattle
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Bărăștii Hațegului
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Balomir
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sântămăria-Orlea
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sânpetru
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Berlin
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Milan
relation country
type designation for an administrative territorial entity
['Subcetate', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bucium-Orlea', 'country', {'concept': 'designation for an administrative territorial entity'}] ['New York City', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Seattle', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bărăștii Hațegului', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Balomir', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sântămăria-Orlea', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sânpetru', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Berlin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Milan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?k property:country ?y . VALUES ( ?k ) { ( resource:Subcetate ) ( resource:Bucium-Orlea ) } }
[]
designation for an administrative territorial entity
Q38 Q30 Q30
SYSTEM
Italy for 1st, United States of America for 2nd, 3rd
Q218 Q218 Q30 Q30 Q218 Q218 Q218 Q218 Q148499 Q153529 Q38
(Q693233,P17,c(Q15617994)) (Q3178687,P17,c(Q15617994)) (Q60,P17,c(Q15617994)) (Q5083,P17,c(Q15617994)) (Q790406,P17,c(Q15617994)) (Q290353,P17,c(Q15617994)) (Q5060225,P17,c(Q15617994)) (Q726368,P17,c(Q15617994)) (Q64,P17,c(Q15617994)) (Q490,P17,c(Q15617994))
action union
action filter_type
action find
entity Q693233
relation P17
type Q15617994
action filter_type
action find
entity Q3178687
relation P17
type Q15617994
action filter_type
action find
entity Q60
relation P17
type Q15617994
action filter_type
action find
entity Q5083
relation P17
type Q15617994
action filter_type
action find
entity Q790406
relation P17
type Q15617994
action filter_type
action find
entity Q290353
relation P17
type Q15617994
action filter_type
action find
entity Q5060225
relation P17
type Q15617994
action filter_type
action find
entity Q726368
relation P17
type Q15617994
action filter_type
action find
entity Q64
relation P17
type Q15617994
action filter_type
action find
entity Q490
relation P17
type Q15617994
[ANSWERS]
['Q693233', 'P17', {'concept': 'Q15617994'}] ['Q3178687', 'P17', {'concept': 'Q15617994'}] ['Q60', 'P17', {'concept': 'Q15617994'}] ['Q5083', 'P17', {'concept': 'Q15617994'}] ['Q790406', 'P17', {'concept': 'Q15617994'}] ['Q290353', 'P17', {'concept': 'Q15617994'}] ['Q5060225', 'P17', {'concept': 'Q15617994'}] ['Q726368', 'P17', {'concept': 'Q15617994'}] ['Q64', 'P17', {'concept': 'Q15617994'}] ['Q490', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?k property:P17 ?y . VALUES ( ?k ) { ( resource:Q693233 ) ( resource:Q3178687 ) } }
Romania Romania United States of America United States of America Romania Romania Romania Romania Margraviate of Brandenburg Duchy of Milan Italy
Italy, United States of America and United States of America are Subcetate, Bucium-Orlea, New York City, Seattle, Bărăștii Hațegului, Balomir, Sântămăria-Orlea, Sânpetru, Berlin and Milan located in
Italy United States of America United States of America
action union
action filter_type
action find
entity Subcetate
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Bucium-Orlea
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity New York City
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Seattle
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Bărăștii Hațegului
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Balomir
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sântămăria-Orlea
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Sânpetru
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Berlin
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Milan
relation country
type designation for an administrative territorial entity
['Subcetate', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bucium-Orlea', 'country', {'concept': 'designation for an administrative territorial entity'}] ['New York City', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Seattle', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Bărăștii Hațegului', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Balomir', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sântămăria-Orlea', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Sânpetru', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Berlin', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Milan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?k property:country ?y . VALUES ( ?k ) { ( resource:Subcetate ) ( resource:Bucium-Orlea ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P138
Q79007
USER
Which street has New York City as its toponym ?
(c(Q79007),P138,Q60)
action filter_type
action find_reverse
entity Q60
relation P138
type Q79007
[{'concept': 'Q79007'}, 'P138', 'Q60']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q60 . ?l rdf:type ontology:Q79007 }
New York City
action filter_type
action find_reverse
entity New York City
relation named after
type street
[{'concept': 'street'}, 'named after', 'New York City']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:New_York_City . ?l rdf:type ontology:street }
[]
street
Q2873938
SYSTEM
avenue de New-York
Q2873938
(c(Q79007),P138,Q60)
action filter_type
action find_reverse
entity Q60
relation P138
type Q79007
[ANSWER] has New York City as its toponym
[{'concept': 'Q79007'}, 'P138', 'Q60']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q60 . ?l rdf:type ontology:Q79007 }
avenue de New-York
Avenue de New-York has New York City as its toponym
avenue de New-York
action filter_type
action find_reverse
entity New York City
relation named after
type street
[{'concept': 'street'}, 'named after', 'New York City']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:New_York_City . ?l rdf:type ontology:street }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2873938
P47
Q811979
USER
Which architectural structures are bordered by that street ?
(Q2873938,P47,c(Q811979))
action filter_type
action find
entity Q2873938
relation P47
type Q811979
['Q2873938', 'P47', {'concept': 'Q811979'}]
SELECT DISTINCT ?t WHERE { resource:Q2873938 property:P47 ?t . ?t rdf:type ontology:Q811979 }
avenue de New-York
action filter_type
action find
entity avenue de New-York
relation shares border with
type architectural structure
['avenue de New-York', 'shares border with', {'concept': 'architectural structure'}]
SELECT DISTINCT ?t WHERE { resource:avenue_de_New-York property:shares_border_with ?t . ?t rdf:type ontology:architectural_structure }
[]
architectural structure
Q1037637 Q3390275
SYSTEM
place de l'Alma, place de Varsovie
Q1037637 Q3390275
(Q2873938,P47,c(Q811979))
action filter_type
action find
entity Q2873938
relation P47
type Q811979
[ANSWERS] are bordered by that street
['Q2873938', 'P47', {'concept': 'Q811979'}]
SELECT DISTINCT ?t WHERE { resource:Q2873938 property:P47 ?t . ?t rdf:type ontology:Q811979 }
place de l'Alma place de Varsovie
Place de l'Alma and place de Varsovie are bordered by that street
place de l'Alma place de Varsovie
action filter_type
action find
entity avenue de New-York
relation shares border with
type architectural structure
['avenue de New-York', 'shares border with', {'concept': 'architectural structure'}]
SELECT DISTINCT ?t WHERE { resource:avenue_de_New-York property:shares_border_with ?t . ?t rdf:type ontology:architectural_structure }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1007082
P47
Q79007
USER
Are Bundesstraße 415 next to the border of those architectural structures ?
(Q1007082,P47,Q1037637) (Q1007082,P47,Q3390275)
action is_in
entity prev_answer
action find
entity Q1007082
relation P47
['Q1007082', 'P47', 'Q1037637'] ['Q1007082', 'P47', 'Q3390275']
ASK WHERE { VALUES ( ?k ) { ( resource:Q1037637 ) ( resource:Q3390275 ) } . resource:Q1007082 property:P47 ?k }
Bundesstraße 415
action is_in
entity prev_answer
action find
entity Bundesstraße 415
relation shares border with
['Bundesstraße 415', 'shares border with', "place de l'Alma"] ['Bundesstraße 415', 'shares border with', 'place de Varsovie']
ASK WHERE { VALUES ( ?k ) { ( resource:place_de_l'Alma ) ( resource:place_de_Varsovie ) } . resource:Bundesstraße_415 property:shares_border_with ?k }
[]
street
SYSTEM
NO
(Q1007082,P47,Q1037637) (Q1007082,P47,Q3390275)
action is_in
entity prev_answer
action find
entity Q1007082
relation P47
[ANSWER]
['Q1007082', 'P47', 'Q1037637'] ['Q1007082', 'P47', 'Q3390275']
ASK WHERE { VALUES ( ?k ) { ( resource:Q1037637 ) ( resource:Q3390275 ) } . resource:Q1007082 property:P47 ?k }
No
action is_in
entity prev_answer
action find
entity Bundesstraße 415
relation shares border with
['Bundesstraße 415', 'shares border with', "place de l'Alma"] ['Bundesstraße 415', 'shares border with', 'place de Varsovie']
ASK WHERE { VALUES ( ?k ) { ( resource:place_de_l'Alma ) ( resource:place_de_Varsovie ) } . resource:Bundesstraße_415 property:shares_border_with ?k }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6931923 Q17455385
P551 P17
Q15617994
USER
Which administrative territories did Jerry Cooke live or are Mueang Pon located in ?
OR((Q17455385,P551,c(Q15617994)), (Q6931923,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q17455385
relation P551
action find
entity Q6931923
relation P17
type Q15617994
{'OR': [['Q17455385', 'P551', {'concept': 'Q15617994'}], ['Q6931923', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q17455385 property:P551 ?o } UNION { resource:Q6931923 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Mueang Pon Jerry Cooke
action filter_type
action union
action find
entity Jerry Cooke
relation residence
action find
entity Mueang Pon
relation country
type designation for an administrative territorial entity
{'OR': [['Jerry Cooke', 'residence', {'concept': 'designation for an administrative territorial entity'}], ['Mueang Pon', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Jerry_Cooke property:residence ?o } UNION { resource:Mueang_Pon property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869 Q38
SYSTEM
Thailand, Italy
Q869 Q38
OR((Q17455385,P551,c(Q15617994)), (Q6931923,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q17455385
relation P551
action find
entity Q6931923
relation P17
type Q15617994
Jerry Cooke lived in [ANSWERS]
{'OR': [['Q17455385', 'P551', {'concept': 'Q15617994'}], ['Q6931923', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q17455385 property:P551 ?o } UNION { resource:Q6931923 property:P17 ?o } } . ?o rdf:type ontology:Q15617994 }
Thailand Italy
Jerry Cooke lived in Thailand and Italy
Thailand Italy
action filter_type
action union
action find
entity Jerry Cooke
relation residence
action find
entity Mueang Pon
relation country
type designation for an administrative territorial entity
{'OR': [['Jerry Cooke', 'residence', {'concept': 'designation for an administrative territorial entity'}], ['Mueang Pon', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Jerry_Cooke property:residence ?o } UNION { resource:Mueang_Pon property:country ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6931923
P17
Q15617994
USER
How many administrative territories do Mueang Pon belong to ?
(Q6931923,P17,c(Q15617994))
action count
action filter_type
action find
entity Q6931923
relation P17
type Q15617994
['Q6931923', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q6931923 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Mueang Pon
action count
action filter_type
action find
entity Mueang Pon
relation country
type designation for an administrative territorial entity
['Mueang Pon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Mueang_Pon property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q869
(Q6931923,P17,c(Q15617994))
action count
action filter_type
action find
entity Q6931923
relation P17
type Q15617994
[ANSWER]
['Q6931923', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q6931923 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Thailand
1
action count
action filter_type
action find
entity Mueang Pon
relation country
type designation for an administrative territorial entity
['Mueang Pon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Mueang_Pon property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]