Simple Question (Direct)
Simple Question
Q1292996
P26
Q502895
USER
Which person is married to Edward Mezvinsky ?
(Q1292996,P26,c(Q502895))
action filter_type
action find
entity Q1292996
relation P26
type Q502895
['Q1292996', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1292996 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Edward Mezvinsky
action filter_type
action find
entity Edward Mezvinsky
relation spouse
type common name
['Edward Mezvinsky', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Edward_Mezvinsky property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q510858
SYSTEM
Marjorie Margolies-Mezvinsky
Q510858
(Q1292996,P26,c(Q502895))
action filter_type
action find
entity Q1292996
relation P26
type Q502895
[ANSWER] is married to Edward Mezvinsky
['Q1292996', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q1292996 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Marjorie Margolies-Mezvinsky
Marjorie Margolies-Mezvinsky is married to Edward Mezvinsky
Marjorie Margolies-Mezvinsky
action filter_type
action find
entity Edward Mezvinsky
relation spouse
type common name
['Edward Mezvinsky', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Edward_Mezvinsky property:spouse ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1292996
P22
Q502895
USER
Who is the offspring of Edward Mezvinsky ?
(c(Q502895),P22,Q1292996)
action filter_type
action find_reverse
entity Q1292996
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1292996']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q1292996 . ?o rdf:type ontology:Q502895 }
Edward Mezvinsky
action filter_type
action find_reverse
entity Edward Mezvinsky
relation father
type common name
[{'concept': 'common name'}, 'father', 'Edward Mezvinsky']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Edward_Mezvinsky . ?o rdf:type ontology:common_name }
[]
common name
Q15142858
SYSTEM
Marc Mezvinsky
Q15142858
(c(Q502895),P22,Q1292996)
action filter_type
action find_reverse
entity Q1292996
relation P22
type Q502895
The offspring of Edward Mezvinsky is the [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q1292996']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q1292996 . ?o rdf:type ontology:Q502895 }
Marc Mezvinsky
The offspring of Edward Mezvinsky is the Marc Mezvinsky
Marc Mezvinsky
action filter_type
action find_reverse
entity Edward Mezvinsky
relation father
type common name
[{'concept': 'common name'}, 'father', 'Edward Mezvinsky']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Edward_Mezvinsky . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15142858
P40
Q502895
USER
Whose child are that one ?
(c(Q502895),P40,Q15142858)
action filter_type
action find_reverse
entity Q15142858
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q15142858']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q15142858 . ?w rdf:type ontology:Q502895 }
Marc Mezvinsky
action filter_type
action find_reverse
entity Marc Mezvinsky
relation child
type common name
[{'concept': 'common name'}, 'child', 'Marc Mezvinsky']
SELECT DISTINCT ?w WHERE { ?w property:child resource:Marc_Mezvinsky . ?w rdf:type ontology:common_name }
[]
common name
Q510858 Q1292996
SYSTEM
Marjorie Margolies-Mezvinsky, Edward Mezvinsky
Q510858 Q1292996
(c(Q502895),P40,Q15142858)
action filter_type
action find_reverse
entity Q15142858
relation P40
type Q502895
[ANSWERS] are that one
[{'concept': 'Q502895'}, 'P40', 'Q15142858']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q15142858 . ?w rdf:type ontology:Q502895 }
Marjorie Margolies-Mezvinsky Edward Mezvinsky
Marjorie Margolies-Mezvinsky and Edward Mezvinsky are that one
Marjorie Margolies-Mezvinsky Edward Mezvinsky
action filter_type
action find_reverse
entity Marc Mezvinsky
relation child
type common name
[{'concept': 'common name'}, 'child', 'Marc Mezvinsky']
SELECT DISTINCT ?w WHERE { ?w property:child resource:Marc_Mezvinsky . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15142858
P69
Q163740
USER
Where was Marc Mezvinsky educated ?
(Q15142858,P69,c(Q163740))
action filter_type
action find
entity Q15142858
relation P69
type Q163740
['Q15142858', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?f WHERE { resource:Q15142858 property:P69 ?f . ?f rdf:type ontology:Q163740 }
Marc Mezvinsky
action filter_type
action find
entity Marc Mezvinsky
relation educated at
type nonprofit organization
['Marc Mezvinsky', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?f WHERE { resource:Marc_Mezvinsky property:educated_at ?f . ?f rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q41506
SYSTEM
Stanford University
Q41506
(Q15142858,P69,c(Q163740))
action filter_type
action find
entity Q15142858
relation P69
type Q163740
Marc Mezvinsky was educated at [ANSWER]
['Q15142858', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?f WHERE { resource:Q15142858 property:P69 ?f . ?f rdf:type ontology:Q163740 }
Stanford University
Marc Mezvinsky was educated at Stanford University
Stanford University
action filter_type
action find
entity Marc Mezvinsky
relation educated at
type nonprofit organization
['Marc Mezvinsky', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?f WHERE { resource:Marc_Mezvinsky property:educated_at ?f . ?f rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41506
P127
Q1076486
USER
Which sports venues are under posessision of that nonprofit organization ?
(c(Q1076486),P127,Q41506)
action filter_type
action find_reverse
entity Q41506
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q41506']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1076486 . ?g property:P127 resource:Q41506 }
Stanford University
action filter_type
action find_reverse
entity Stanford University
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Stanford University']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sports_venue . ?g property:owned_by resource:Stanford_University }
[]
sports venue
Q7688646 Q692470
SYSTEM
Taube Tennis Center, Stanford Stadium
Q7688646 Q692470
(c(Q1076486),P127,Q41506)
action filter_type
action find_reverse
entity Q41506
relation P127
type Q1076486
[ANSWERS] are under posessision of that nonprofit organization
[{'concept': 'Q1076486'}, 'P127', 'Q41506']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1076486 . ?g property:P127 resource:Q41506 }
Taube Tennis Center Stanford Stadium
Taube Tennis Center and Stanford Stadium are under posessision of that nonprofit organization
Taube Tennis Center Stanford Stadium
action filter_type
action find_reverse
entity Stanford University
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Stanford University']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sports_venue . ?g property:owned_by resource:Stanford_University }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P276
Q15275719 Q1079023
USER
How many recurring events and championships have their location as that sports venue ?
(c(Q15275719),P276,Q692470) (c(Q1079023),P276,Q692470) (c(Q15275719),P276,Q7688646) (c(Q1079023),P276,Q7688646) (c(Q15275719),P276,Q692470) (c(Q1079023),P276,Q692470)
[{'concept': 'Q15275719'}, 'P276', 'Q692470'] [{'concept': 'Q1079023'}, 'P276', 'Q692470'] [{'concept': 'Q15275719'}, 'P276', 'Q7688646'] [{'concept': 'Q1079023'}, 'P276', 'Q7688646'] [{'concept': 'Q15275719'}, 'P276', 'Q692470'] [{'concept': 'Q1079023'}, 'P276', 'Q692470']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q692470 } UNION { ?y property:Q17334923 resource:Q692470 } UNION { ?z property:Q17334923 resource:Q7688646 } UNION { ?y property:Q17334923 resource:Q7688646 } UNION { ?z property:Q17334923 resource:Q692470 } UNION { ?y property:Q17334923 resource:Q692470 } } . ?z rdf:type ontology:Q15275719 . ?y rdf:type ontology:Q5070105 }
[{'concept': 'recurring event'}, 'location', 'Stanford Stadium'] [{'concept': 'championship'}, 'location', 'Stanford Stadium'] [{'concept': 'recurring event'}, 'location', 'Taube Tennis Center'] [{'concept': 'championship'}, 'location', 'Taube Tennis Center'] [{'concept': 'recurring event'}, 'location', 'Stanford Stadium'] [{'concept': 'championship'}, 'location', 'Stanford Stadium']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Stanford_Stadium } UNION { ?y property:location resource:Stanford_Stadium } UNION { ?z property:location resource:Taube_Tennis_Center } UNION { ?y property:location resource:Taube_Tennis_Center } UNION { ?z property:location resource:Stanford_Stadium } UNION { ?y property:location resource:Stanford_Stadium } } . ?z rdf:type ontology:recurring_event . ?y rdf:type ontology:championship }
[]
recurring event championship
Quantitative|Count|Mult. entity type|Clarification
Q692470
SYSTEM
Did you mean Stanford Stadium ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q692470 } UNION { ?y property:Q17334923 resource:Q692470 } UNION { ?z property:Q17334923 resource:Q7688646 } UNION { ?y property:Q17334923 resource:Q7688646 } UNION { ?z property:Q17334923 resource:Q692470 } UNION { ?y property:Q17334923 resource:Q692470 } } . ?z rdf:type ontology:Q15275719 . ?y rdf:type ontology:Q5070105 }
Did you mean Stanford Stadium ?
Stanford Stadium
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Stanford_Stadium } UNION { ?y property:location resource:Stanford_Stadium } UNION { ?z property:location resource:Taube_Tennis_Center } UNION { ?y property:location resource:Taube_Tennis_Center } UNION { ?z property:location resource:Stanford_Stadium } UNION { ?y property:location resource:Stanford_Stadium } } . ?z rdf:type ontology:recurring_event . ?y rdf:type ontology:championship }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q15275719),P276,Q692470) (c(Q1079023),P276,Q692470) (c(Q15275719),P276,Q7688646) (c(Q1079023),P276,Q7688646) (c(Q15275719),P276,Q692470) (c(Q1079023),P276,Q692470)
[{'concept': 'Q15275719'}, 'P276', 'Q692470'] [{'concept': 'Q1079023'}, 'P276', 'Q692470'] [{'concept': 'Q15275719'}, 'P276', 'Q7688646'] [{'concept': 'Q1079023'}, 'P276', 'Q7688646'] [{'concept': 'Q15275719'}, 'P276', 'Q692470'] [{'concept': 'Q1079023'}, 'P276', 'Q692470']
[{'concept': 'recurring event'}, 'location', 'Stanford Stadium'] [{'concept': 'championship'}, 'location', 'Stanford Stadium'] [{'concept': 'recurring event'}, 'location', 'Taube Tennis Center'] [{'concept': 'championship'}, 'location', 'Taube Tennis Center'] [{'concept': 'recurring event'}, 'location', 'Stanford Stadium'] [{'concept': 'championship'}, 'location', 'Stanford Stadium']
[]
SYSTEM
1 recurring events and 1 championships
Q101751 Q1965838
(c(Q15275719),P276,Q692470) (c(Q1079023),P276,Q692470) (c(Q15275719),P276,Q7688646) (c(Q1079023),P276,Q7688646) (c(Q15275719),P276,Q692470) (c(Q1079023),P276,Q692470)
[ANSWER]
[{'concept': 'Q15275719'}, 'P276', 'Q692470'] [{'concept': 'Q1079023'}, 'P276', 'Q692470'] [{'concept': 'Q15275719'}, 'P276', 'Q7688646'] [{'concept': 'Q1079023'}, 'P276', 'Q7688646'] [{'concept': 'Q15275719'}, 'P276', 'Q692470'] [{'concept': 'Q1079023'}, 'P276', 'Q692470']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q17334923 resource:Q692470 } UNION { ?y property:Q17334923 resource:Q692470 } UNION { ?z property:Q17334923 resource:Q7688646 } UNION { ?y property:Q17334923 resource:Q7688646 } UNION { ?z property:Q17334923 resource:Q692470 } UNION { ?y property:Q17334923 resource:Q692470 } } . ?z rdf:type ontology:Q15275719 . ?y rdf:type ontology:Q5070105 }
1994 FIFA World Cup Super Bowl XIX
1 recurring events and 1 championships
[{'concept': 'recurring event'}, 'location', 'Stanford Stadium'] [{'concept': 'championship'}, 'location', 'Stanford Stadium'] [{'concept': 'recurring event'}, 'location', 'Taube Tennis Center'] [{'concept': 'championship'}, 'location', 'Taube Tennis Center'] [{'concept': 'recurring event'}, 'location', 'Stanford Stadium'] [{'concept': 'championship'}, 'location', 'Stanford Stadium']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:location resource:Stanford_Stadium } UNION { ?y property:location resource:Stanford_Stadium } UNION { ?z property:location resource:Taube_Tennis_Center } UNION { ?y property:location resource:Taube_Tennis_Center } UNION { ?z property:location resource:Stanford_Stadium } UNION { ?y property:location resource:Stanford_Stadium } } . ?z rdf:type ontology:recurring_event . ?y rdf:type ontology:championship }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5661128 Q692470
P69 P127
Q163740
USER
Which nonprofit organizations are the owners of Stanford Stadium or were Harold Huntley Bassett educated ?
OR((Q692470,P127,c(Q163740)), (Q5661128,P69,c(Q163740)))
action filter_type
action union
action find
entity Q692470
relation P127
action find
entity Q5661128
relation P69
type Q163740
{'OR': [['Q692470', 'P127', {'concept': 'Q163740'}], ['Q5661128', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q692470 property:P127 ?t } UNION { resource:Q5661128 property:P69 ?t } } . ?t rdf:type ontology:Q163740 }
Harold Huntley Bassett Stanford Stadium
action filter_type
action union
action find
entity Stanford Stadium
relation owned by
action find
entity Harold Huntley Bassett
relation educated at
type nonprofit organization
{'OR': [['Stanford Stadium', 'owned by', {'concept': 'nonprofit organization'}], ['Harold Huntley Bassett', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Stanford_Stadium property:owned_by ?t } UNION { resource:Harold_Huntley_Bassett property:educated_at ?t } } . ?t rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q41506 Q161562
SYSTEM
Stanford University, California Institute of Technology
Q41506 Q161562
OR((Q692470,P127,c(Q163740)), (Q5661128,P69,c(Q163740)))
action filter_type
action union
action find
entity Q692470
relation P127
action find
entity Q5661128
relation P69
type Q163740
[ANSWERS] are the owners of Stanford Stadium or were Harold Huntley Bassett educated
{'OR': [['Q692470', 'P127', {'concept': 'Q163740'}], ['Q5661128', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q692470 property:P127 ?t } UNION { resource:Q5661128 property:P69 ?t } } . ?t rdf:type ontology:Q163740 }
Stanford University California Institute of Technology
Stanford University and California Institute of Technology are the owners of Stanford Stadium or were Harold Huntley Bassett educated
Stanford University California Institute of Technology
action filter_type
action union
action find
entity Stanford Stadium
relation owned by
action find
entity Harold Huntley Bassett
relation educated at
type nonprofit organization
{'OR': [['Stanford Stadium', 'owned by', {'concept': 'nonprofit organization'}], ['Harold Huntley Bassett', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Stanford_Stadium property:owned_by ?t } UNION { resource:Harold_Huntley_Bassett property:educated_at ?t } } . ?t rdf:type ontology:nonprofit_organization }
[]