Simple Question (Direct)
Simple Question
Q6264855
P69
Q163740
USER
Which nonprofit organization is John Woodworth an alumni of ?
(Q6264855,P69,c(Q163740))
action filter_type
action find
entity Q6264855
relation P69
type Q163740
['Q6264855', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?t WHERE { resource:Q6264855 property:P69 ?t . ?t rdf:type ontology:Q163740 }
John Woodworth
action filter_type
action find
entity John Woodworth
relation educated at
type nonprofit organization
['John Woodworth', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?t WHERE { resource:John_Woodworth property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q6264855,P69,c(Q163740))
action filter_type
action find
entity Q6264855
relation P69
type Q163740
For [ANSWER] is John Woodworth an alumni of
['Q6264855', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?t WHERE { resource:Q6264855 property:P69 ?t . ?t rdf:type ontology:Q163740 }
Yale University
For Yale University is John Woodworth an alumni of
Yale University
action filter_type
action find
entity John Woodworth
relation educated at
type nonprofit organization
['John Woodworth', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?t WHERE { resource:John_Woodworth property:educated_at ?t . ?t rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6264855
P39
Q12737077
USER
What was the position for which John Woodworth was appointed ?
(Q6264855,P39,c(Q12737077))
action filter_type
action find
entity Q6264855
relation P39
type Q12737077
['Q6264855', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q6264855 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
John Woodworth
action filter_type
action find
entity John Woodworth
relation position held
type occupation
['John Woodworth', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:John_Woodworth property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q18691526
SYSTEM
member of the State Senate of New York
Q18691526
(Q6264855,P39,c(Q12737077))
action filter_type
action find
entity Q6264855
relation P39
type Q12737077
The [ANSWER]
['Q6264855', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q6264855 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
member of the State Senate of New York
The member of the State Senate of New York
member of the State Senate of New York
action filter_type
action find
entity John Woodworth
relation position held
type occupation
['John Woodworth', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:John_Woodworth property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18691526 Q7836432 Q6787994
P1001
Q852446
USER
Does member of the State Senate of New York apply to jurisdiction over Trawick, Texas and Matson, Missouri ?
(Q18691526,P1001,Q7836432) (Q18691526,P1001,Q6787994)
action is_in
entity Q18691526
action intersection
action find_reverse
entity Q7836432
relation P1001
action find_reverse
entity Q6787994
relation P1001
['Q18691526', 'P1001', 'Q7836432'] ['Q18691526', 'P1001', 'Q6787994']
ASK WHERE { resource:Q18691526 property:P1001 resource:Q7836432 . resource:Q18691526 property:P1001 resource:Q6787994 }
member of the State Senate of New York Trawick, Texas Matson, Missouri
action is_in
entity member of the State Senate of New York
action intersection
action find_reverse
entity Trawick, Texas
relation applies to jurisdiction
action find_reverse
entity Matson, Missouri
relation applies to jurisdiction
['member of the State Senate of New York', 'applies to jurisdiction', 'Trawick, Texas'] ['member of the State Senate of New York', 'applies to jurisdiction', 'Matson, Missouri']
ASK WHERE { resource:member_of_the_State_Senate_of_New_York property:applies_to_jurisdiction resource:Trawick,_Texas . resource:member_of_the_State_Senate_of_New_York property:applies_to_jurisdiction resource:Matson,_Missouri }
[]
administrative territorial entity of the United States
SYSTEM
NO
(Q18691526,P1001,Q7836432) (Q18691526,P1001,Q6787994)
action is_in
entity Q18691526
action intersection
action find_reverse
entity Q7836432
relation P1001
action find_reverse
entity Q6787994
relation P1001
[ANSWER]
['Q18691526', 'P1001', 'Q7836432'] ['Q18691526', 'P1001', 'Q6787994']
ASK WHERE { resource:Q18691526 property:P1001 resource:Q7836432 . resource:Q18691526 property:P1001 resource:Q6787994 }
No
action is_in
entity member of the State Senate of New York
action intersection
action find_reverse
entity Trawick, Texas
relation applies to jurisdiction
action find_reverse
entity Matson, Missouri
relation applies to jurisdiction
['member of the State Senate of New York', 'applies to jurisdiction', 'Trawick, Texas'] ['member of the State Senate of New York', 'applies to jurisdiction', 'Matson, Missouri']
ASK WHERE { resource:member_of_the_State_Senate_of_New_York property:applies_to_jurisdiction resource:Trawick,_Texas . resource:member_of_the_State_Senate_of_New_York property:applies_to_jurisdiction resource:Matson,_Missouri }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q20707917 Q6264855
P106
Q12737077
USER
Which occupations have John Woodworth and Donald C. Rubel as his/her as a career ?
AND((Q6264855,P106,c(Q12737077)), (Q20707917,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6264855
relation P106
action find
entity Q20707917
relation P106
type Q12737077
{'AND': [['Q6264855', 'P106', {'concept': 'Q12737077'}], ['Q20707917', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { resource:Q6264855 property:P106 ?q . resource:Q20707917 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Donald C. Rubel John Woodworth
action filter_type
action intersection
action find
entity John Woodworth
relation occupation
action find
entity Donald C. Rubel
relation occupation
type occupation
{'AND': [['John Woodworth', 'occupation', {'concept': 'occupation'}], ['Donald C. Rubel', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { resource:John_Woodworth property:occupation ?q . resource:Donald_C._Rubel property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
AND((Q6264855,P106,c(Q12737077)), (Q20707917,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6264855
relation P106
action find
entity Q20707917
relation P106
type Q12737077
The [ANSWER] have John Woodworth and Donald C. Rubel as his/her as a career
{'AND': [['Q6264855', 'P106', {'concept': 'Q12737077'}], ['Q20707917', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { resource:Q6264855 property:P106 ?q . resource:Q20707917 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
politician
The politician have John Woodworth and Donald C. Rubel as his/her as a career
politician
action filter_type
action intersection
action find
entity John Woodworth
relation occupation
action find
entity Donald C. Rubel
relation occupation
type occupation
{'AND': [['John Woodworth', 'occupation', {'concept': 'occupation'}], ['Donald C. Rubel', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { resource:John_Woodworth property:occupation ?q . resource:Donald_C._Rubel property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q11901537 Q6264855
P106
Q12737077
USER
Which occupations are the professions of John Woodworth and Ville Komu ?
AND((Q6264855,P106,c(Q12737077)), (Q11901537,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6264855
relation P106
action find
entity Q11901537
relation P106
type Q12737077
{'AND': [['Q6264855', 'P106', {'concept': 'Q12737077'}], ['Q11901537', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { resource:Q6264855 property:P106 ?s . resource:Q11901537 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Ville Komu John Woodworth
action filter_type
action intersection
action find
entity John Woodworth
relation occupation
action find
entity Ville Komu
relation occupation
type occupation
{'AND': [['John Woodworth', 'occupation', {'concept': 'occupation'}], ['Ville Komu', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { resource:John_Woodworth property:occupation ?s . resource:Ville_Komu property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
AND((Q6264855,P106,c(Q12737077)), (Q11901537,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q6264855
relation P106
action find
entity Q11901537
relation P106
type Q12737077
The professions of John Woodworth and Ville Komu are a [ANSWER]
{'AND': [['Q6264855', 'P106', {'concept': 'Q12737077'}], ['Q11901537', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { resource:Q6264855 property:P106 ?s . resource:Q11901537 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
politician
The professions of John Woodworth and Ville Komu are a politician
politician
action filter_type
action intersection
action find
entity John Woodworth
relation occupation
action find
entity Ville Komu
relation occupation
type occupation
{'AND': [['John Woodworth', 'occupation', {'concept': 'occupation'}], ['Ville Komu', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { resource:John_Woodworth property:occupation ?s . resource:Ville_Komu property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11901537
P937
Q56061
USER
Which administrative territory is the work location of Ville Komu ?
(Q82955,P937,c(Q56061))
action filter_type
action find
entity Q11901537
relation P937
type Q56061
['Q82955', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q11901537 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Ville Komu
action filter_type
action find
entity Ville Komu
relation work location
type administrative territorial entity
['politician', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ville_Komu property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(Q82955,P937,c(Q56061))
action filter_type
action find
entity Q11901537
relation P937
type Q56061
[ANSWER] is the work location of Ville Komu
['Q82955', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q11901537 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Helsinki
Helsinki is the work location of Ville Komu
Helsinki
action filter_type
action find
entity Ville Komu
relation work location
type administrative territorial entity
['politician', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Ville_Komu property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1757
P206
Q355304
USER
Which watercourse is located next to that administrative territory ?
(Q1757,P206,c(Q355304))
action filter_type
action find
entity Q1757
relation P206
type Q355304
['Q1757', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q355304 . resource:Q1757 property:P206 ?y }
Helsinki
action filter_type
action find
entity Helsinki
relation located next to body of water
type watercourse
['Helsinki', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:watercourse . resource:Helsinki property:located_next_to_body_of_water ?y }
[]
watercourse
Q2092330
SYSTEM
Vantaa River
Q2092330
(Q1757,P206,c(Q355304))
action filter_type
action find
entity Q1757
relation P206
type Q355304
[ANSWER] is located next to that administrative territory
['Q1757', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q355304 . resource:Q1757 property:P206 ?y }
Vantaa River
Vantaa River is located next to that administrative territory
Vantaa River
action filter_type
action find
entity Helsinki
relation located next to body of water
type watercourse
['Helsinki', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:watercourse . resource:Helsinki property:located_next_to_body_of_water ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2092330
P403
Q355304
USER
Which watercourse has that one as its outlet ?
(c(Q355304),P403,Q2092330)
action filter_type
action find_reverse
entity Q2092330
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q2092330']
SELECT DISTINCT ?w WHERE { ?w property:P403 resource:Q2092330 . ?w rdf:type ontology:Q355304 }
Vantaa River
action filter_type
action find_reverse
entity Vantaa River
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Vantaa River']
SELECT DISTINCT ?w WHERE { ?w property:mouth_of_the_watercourse resource:Vantaa_River . ?w rdf:type ontology:watercourse }
[]
watercourse
Q630036
SYSTEM
Keravanjoki
Q630036
(c(Q355304),P403,Q2092330)
action filter_type
action find_reverse
entity Q2092330
relation P403
type Q355304
[ANSWER] has that one as its outlet
[{'concept': 'Q355304'}, 'P403', 'Q2092330']
SELECT DISTINCT ?w WHERE { ?w property:P403 resource:Q2092330 . ?w rdf:type ontology:Q355304 }
Keravanjoki
Keravanjoki has that one as its outlet
Keravanjoki
action filter_type
action find_reverse
entity Vantaa River
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Vantaa River']
SELECT DISTINCT ?w WHERE { ?w property:mouth_of_the_watercourse resource:Vantaa_River . ?w rdf:type ontology:watercourse }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2014575 Q1757
P17
Q15617994
USER
Which administrative territories are Helsinki or Vidiškiai a part of ?
OR((Q1757,P17,c(Q15617994)), (Q2014575,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1757
relation P17
action find
entity Q2014575
relation P17
type Q15617994
{'OR': [['Q1757', 'P17', {'concept': 'Q15617994'}], ['Q2014575', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1757 property:P17 ?g } UNION { resource:Q2014575 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Vidiškiai Helsinki
action filter_type
action union
action find
entity Helsinki
relation country
action find
entity Vidiškiai
relation country
type designation for an administrative territorial entity
{'OR': [['Helsinki', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Vidiškiai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Helsinki property:country ?g } UNION { resource:Vidiškiai property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q37 Q34
SYSTEM
Finland, Lithuania, Sweden
Q33 Q37 Q34
OR((Q1757,P17,c(Q15617994)), (Q2014575,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1757
relation P17
action find
entity Q2014575
relation P17
type Q15617994
[ANSWERS] are Helsinki or Vidiškiai a part of
{'OR': [['Q1757', 'P17', {'concept': 'Q15617994'}], ['Q2014575', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q1757 property:P17 ?g } UNION { resource:Q2014575 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Finland Lithuania Sweden
Finland, Lithuania and Sweden are Helsinki or Vidiškiai a part of
Finland Lithuania Sweden
action filter_type
action union
action find
entity Helsinki
relation country
action find
entity Vidiškiai
relation country
type designation for an administrative territorial entity
{'OR': [['Helsinki', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Vidiškiai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Helsinki property:country ?g } UNION { resource:Vidiškiai property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q184
P530
Q15617994
USER
Do Belarus have ambassadorial relations with those ones ?
(Q184,P530,Q33) (Q184,P530,Q37) (Q184,P530,Q34)
action is_in
entity prev_answer
action find
entity Q184
relation P530
['Q184', 'P530', 'Q33'] ['Q184', 'P530', 'Q37'] ['Q184', 'P530', 'Q34']
ASK WHERE { resource:Q184 property:P530 ?g . VALUES ( ?g ) { ( resource:Q33 ) ( resource:Q37 ) ( resource:Q34 ) } }
Belarus
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Finland'] ['Belarus', 'diplomatic relation', 'Lithuania'] ['Belarus', 'diplomatic relation', 'Sweden']
ASK WHERE { resource:Belarus property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Finland ) ( resource:Lithuania ) ( resource:Sweden ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q184,P530,Q33) (Q184,P530,Q37) (Q184,P530,Q34)
action is_in
entity prev_answer
action find
entity Q184
relation P530
[ANSWER]
['Q184', 'P530', 'Q33'] ['Q184', 'P530', 'Q37'] ['Q184', 'P530', 'Q34']
ASK WHERE { resource:Q184 property:P530 ?g . VALUES ( ?g ) { ( resource:Q33 ) ( resource:Q37 ) ( resource:Q34 ) } }
Yes
action is_in
entity prev_answer
action find
entity Belarus
relation diplomatic relation
['Belarus', 'diplomatic relation', 'Finland'] ['Belarus', 'diplomatic relation', 'Lithuania'] ['Belarus', 'diplomatic relation', 'Sweden']
ASK WHERE { resource:Belarus property:diplomatic_relation ?g . VALUES ( ?g ) { ( resource:Finland ) ( resource:Lithuania ) ( resource:Sweden ) } }
[]