Simple Question (Direct)
Simple Question
Q4749300
P69
Q163740
USER
Which nonprofit organizations were Amy Malkoff educated at ?
(Q4749300,P69,c(Q163740))
action filter_type
action find
entity Q4749300
relation P69
type Q163740
['Q4749300', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?u WHERE { resource:Q4749300 property:P69 ?u . ?u rdf:type ontology:Q163740 }
Amy Malkoff
action filter_type
action find
entity Amy Malkoff
relation educated at
type nonprofit organization
['Amy Malkoff', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?u WHERE { resource:Amy_Malkoff property:educated_at ?u . ?u rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1797768 Q1347162
SYSTEM
Kenyon College, New England Conservatory of Music
Q1797768 Q1347162
(Q4749300,P69,c(Q163740))
action filter_type
action find
entity Q4749300
relation P69
type Q163740
Amy Malkoff were educated at [ANSWERS]
['Q4749300', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?u WHERE { resource:Q4749300 property:P69 ?u . ?u rdf:type ontology:Q163740 }
Kenyon College New England Conservatory of Music
Amy Malkoff were educated at Kenyon College and New England Conservatory of Music
Kenyon College New England Conservatory of Music
action filter_type
action find
entity Amy Malkoff
relation educated at
type nonprofit organization
['Amy Malkoff', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?u WHERE { resource:Amy_Malkoff property:educated_at ?u . ?u rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1797768
P123
Q21114848
USER
Which magazine genre was issued by Kenyon College ?
(c(Q21114848),P123,Q1797768)
action filter_type
action find_reverse
entity Q1797768
relation P123
type Q21114848
[{'concept': 'Q21114848'}, 'P123', 'Q1797768']
SELECT DISTINCT ?p WHERE { ?p property:P123 resource:Q1797768 . ?p rdf:type ontology:Q21114848 }
Kenyon College
action filter_type
action find_reverse
entity Kenyon College
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Kenyon College']
SELECT DISTINCT ?p WHERE { ?p property:publisher resource:Kenyon_College . ?p rdf:type ontology:magazine_genre }
[]
magazine genre
Q7744133
SYSTEM
The Kenyon Review
Q7744133
(c(Q21114848),P123,Q1797768)
action filter_type
action find_reverse
entity Q1797768
relation P123
type Q21114848
[ANSWER] was issued by Kenyon College
[{'concept': 'Q21114848'}, 'P123', 'Q1797768']
SELECT DISTINCT ?p WHERE { ?p property:P123 resource:Q1797768 . ?p rdf:type ontology:Q21114848 }
The Kenyon Review
The Kenyon Review was issued by Kenyon College
The Kenyon Review
action filter_type
action find_reverse
entity Kenyon College
relation publisher
type magazine genre
[{'concept': 'magazine genre'}, 'publisher', 'Kenyon College']
SELECT DISTINCT ?p WHERE { ?p property:publisher resource:Kenyon_College . ?p rdf:type ontology:magazine_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1797768
P108
Q502895
USER
Which people work for that nonprofit organization ?
(c(Q502895),P108,Q7744133)
action filter_type
action find_reverse
entity Q1797768
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q7744133']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P108 resource:Q1797768 }
Kenyon College
action filter_type
action find_reverse
entity Kenyon College
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'The Kenyon Review']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:employer resource:Kenyon_College }
[]
common name
Q1337955 Q1184545 Q1866952
SYSTEM
John Crowe Ransom, Delmore Schwartz, Lloyd William Daly
Q1337955 Q7964664 Q1184545 Q1866952 Q548156 Q4889212 Q21449658
(c(Q502895),P108,Q7744133)
action filter_type
action find_reverse
entity Q1797768
relation P108
type Q502895
[ANSWERS] work for that nonprofit organization
[{'concept': 'Q502895'}, 'P108', 'Q7744133']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P108 resource:Q1797768 }
John Crowe Ransom Walter Dean Burnham Delmore Schwartz Lloyd William Daly Joan Slonczewski Benjamin Schumacher Clifton Crais
John Crowe Ransom, Delmore Schwartz and Lloyd William Daly work for that nonprofit organization
John Crowe Ransom Delmore Schwartz Lloyd William Daly
action filter_type
action find_reverse
entity Kenyon College
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'The Kenyon Review']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:employer resource:Kenyon_College }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1337955 Q1184545 Q1866952
P19
Q56061
USER
Which administrative territories were those people born in ?
(Q1337955,P19,c(Q56061)) (Q1184545,P19,c(Q56061)) (Q1866952,P19,c(Q56061))
action filter_type
action find
entity prev_answer
relation P19
type Q56061
['Q1337955', 'P19', {'concept': 'Q56061'}] ['Q1184545', 'P19', {'concept': 'Q56061'}] ['Q1866952', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?g ) { ( resource:Q1337955 ) ( resource:Q7964664 ) ( resource:Q1184545 ) } . ?g property:P19 ?t . ?t rdf:type ontology:Q56061 }
John Crowe Ransom Delmore Schwartz Lloyd William Daly
action filter_type
action find
entity prev_answer
relation place of birth
type administrative territorial entity
['John Crowe Ransom', 'place of birth', {'concept': 'administrative territorial entity'}] ['Delmore Schwartz', 'place of birth', {'concept': 'administrative territorial entity'}] ['Lloyd William Daly', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?g ) { ( resource:John_Crowe_Ransom ) ( resource:Walter_Dean_Burnham ) ( resource:Delmore_Schwartz ) } . ?g property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1410885 Q18419 Q575061
SYSTEM
Pulaski, Brooklyn, Plano
Q1410885 Q18419 Q575061
(Q1337955,P19,c(Q56061)) (Q1184545,P19,c(Q56061)) (Q1866952,P19,c(Q56061))
action filter_type
action find
entity prev_answer
relation P19
type Q56061
Those people were born in [ANSWERS]
['Q1337955', 'P19', {'concept': 'Q56061'}] ['Q1184545', 'P19', {'concept': 'Q56061'}] ['Q1866952', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?g ) { ( resource:Q1337955 ) ( resource:Q7964664 ) ( resource:Q1184545 ) } . ?g property:P19 ?t . ?t rdf:type ontology:Q56061 }
Pulaski Brooklyn Plano
Those people were born in Pulaski, Brooklyn and Plano
Pulaski Brooklyn Plano
action filter_type
action find
entity prev_answer
relation place of birth
type administrative territorial entity
['John Crowe Ransom', 'place of birth', {'concept': 'administrative territorial entity'}] ['Delmore Schwartz', 'place of birth', {'concept': 'administrative territorial entity'}] ['Lloyd William Daly', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?g ) { ( resource:John_Crowe_Ransom ) ( resource:Walter_Dean_Burnham ) ( resource:Delmore_Schwartz ) } . ?g property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18419
P190
Q15617994
USER
Which administrative territories are sister town of Brooklyn ?
(c(Q15617994),P190,Q18419)
action filter_type
action find
entity Q18419
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q18419']
SELECT DISTINCT ?o WHERE { resource:Q18419 property:P190 ?o . ?o rdf:type ontology:Q15617994 }
Brooklyn
action filter_type
action find
entity Brooklyn
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Brooklyn']
SELECT DISTINCT ?o WHERE { resource:Brooklyn property:sister_city ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q241717 Q259120 Q394701
SYSTEM
Anzio, Leopoldstadt, Chaoyang District
Q241717 Q259120 Q394701
(c(Q15617994),P190,Q18419)
action filter_type
action find
entity Q18419
relation P190
type Q15617994
[ANSWERS] are sister town of Brooklyn
[{'concept': 'Q15617994'}, 'P190', 'Q18419']
SELECT DISTINCT ?o WHERE { resource:Q18419 property:P190 ?o . ?o rdf:type ontology:Q15617994 }
Anzio Leopoldstadt Chaoyang District
Anzio, Leopoldstadt and Chaoyang District are sister town of Brooklyn
Anzio Leopoldstadt Chaoyang District
action filter_type
action find
entity Brooklyn
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Brooklyn']
SELECT DISTINCT ?o WHERE { resource:Brooklyn property:sister_city ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q241717
P17
Q15617994
USER
Which administrative territory is that one situated in ?
(Q241717,P17,c(Q15617994))
action filter_type
action find
entity Q241717
relation P17
type Q15617994
['Q241717', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q241717 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Anzio
action filter_type
action find
entity Anzio
relation country
type designation for an administrative territorial entity
['Anzio', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Anzio property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q241717
SYSTEM
Did you mean Anzio ?
Q241717 Q259120 Q394701
(Q241717,P17,c(Q15617994)) (Q259120,P17,c(Q15617994)) (Q394701,P17,c(Q15617994))
[ANSWER]
['Q241717', 'P17', {'concept': 'Q15617994'}] ['Q259120', 'P17', {'concept': 'Q15617994'}] ['Q394701', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q241717 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Anzio Leopoldstadt Chaoyang District
Did you mean Anzio ?
Anzio
['Anzio', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Leopoldstadt', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Chaoyang District', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Anzio property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q241717,P17,c(Q15617994))
['Q241717', 'P17', {'concept': 'Q15617994'}]
['Anzio', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q241717,P17,c(Q15617994))
action filter_type
action find
entity Q241717
relation P17
type Q15617994
That one is situated in [ANSWER]
['Q241717', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q241717 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Italy
That one is situated in Italy
Italy
action filter_type
action find
entity Anzio
relation country
type designation for an administrative territorial entity
['Anzio', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Anzio property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1735 Q241717
P190
Q56061
USER
Which administrative territories are sister towns of Anzio or Innsbruck ?
OR((Q241717,P190,c(Q56061)), (Q1735,P190,c(Q56061)))
action filter_type
action union
action find
entity Q241717
relation P190
action find
entity Q1735
relation P190
type Q56061
{'OR': [['Q241717', 'P190', {'concept': 'Q56061'}], ['Q1735', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q241717 property:P190 ?j } UNION { resource:Q1735 property:P190 ?j } } . ?j rdf:type ontology:Q56061 }
Innsbruck Anzio
action filter_type
action union
action find
entity Anzio
relation sister city
action find
entity Innsbruck
relation sister city
type administrative territorial entity
{'OR': [['Anzio', 'sister city', {'concept': 'administrative territorial entity'}], ['Innsbruck', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Anzio property:sister_city ?j } UNION { resource:Innsbruck property:sister_city ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q994 Q34404 Q18419 Q25410 Q1289 Q180918
SYSTEM
Tbilisi, New Orleans, Brooklyn, Aalborg, Grenoble, Paphos
Q994 Q34404 Q18419 Q25410 Q1289 Q180918
OR((Q241717,P190,c(Q56061)), (Q1735,P190,c(Q56061)))
action filter_type
action union
action find
entity Q241717
relation P190
action find
entity Q1735
relation P190
type Q56061
[ANSWERS] are sister towns of Anzio or Innsbruck
{'OR': [['Q241717', 'P190', {'concept': 'Q56061'}], ['Q1735', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q241717 property:P190 ?j } UNION { resource:Q1735 property:P190 ?j } } . ?j rdf:type ontology:Q56061 }
Tbilisi New Orleans Brooklyn Aalborg Grenoble Paphos
Tbilisi, New Orleans, Brooklyn, Aalborg, Grenoble and Paphos are sister towns of Anzio or Innsbruck
Tbilisi New Orleans Brooklyn Aalborg Grenoble Paphos
action filter_type
action union
action find
entity Anzio
relation sister city
action find
entity Innsbruck
relation sister city
type administrative territorial entity
{'OR': [['Anzio', 'sister city', {'concept': 'administrative territorial entity'}], ['Innsbruck', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Anzio property:sister_city ?j } UNION { resource:Innsbruck property:sister_city ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q188161
P137
Q2235308
USER
How many ship types can be described as facility operator of Italy or Dutch East Indies ?
(c(Q2235308),P137,Q38) (c(Q2235308),P137,Q188161)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P137
type Q2235308
action filter_type
action find_reverse
entity Q188161
relation P137
type Q2235308
[{'concept': 'Q2235308'}, 'P137', 'Q38'] [{'concept': 'Q2235308'}, 'P137', 'Q188161']
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?v ) { ( resource:Q38 ) ( resource:Q188161 ) } . ?d property:P137 ?v }
Italy Dutch East Indies
action count
action union
action filter_type
action find_reverse
entity Italy
relation operator
type ship type
action filter_type
action find_reverse
entity Dutch East Indies
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Italy'] [{'concept': 'ship type'}, 'operator', 'Dutch East Indies']
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?v ) { ( resource:Italy ) ( resource:Dutch_East_Indies ) } . ?d property:operator ?v }
[]
ship type
SYSTEM
3
Q11600035 Q11600034 Q11600025
(c(Q2235308),P137,Q38) (c(Q2235308),P137,Q188161)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P137
type Q2235308
action filter_type
action find_reverse
entity Q188161
relation P137
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P137', 'Q38'] [{'concept': 'Q2235308'}, 'P137', 'Q188161']
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?v ) { ( resource:Q38 ) ( resource:Q188161 ) } . ?d property:P137 ?v }
Fazant Patrol Boat No. 108 Patrol Boat No. 104
3
action count
action union
action filter_type
action find_reverse
entity Italy
relation operator
type ship type
action filter_type
action find_reverse
entity Dutch East Indies
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Italy'] [{'concept': 'ship type'}, 'operator', 'Dutch East Indies']
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?v ) { ( resource:Italy ) ( resource:Dutch_East_Indies ) } . ?d property:operator ?v }
[]