Simple Question (Direct)
Simple Question
Q14967299
P241
Q781132
USER
Which military branch is Henry Gurke affiliated to ?
(Q14967299,P241,c(Q781132))
action filter_type
action find
entity Q14967299
relation P241
type Q781132
['Q14967299', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?b WHERE { resource:Q14967299 property:P241 ?b . ?b rdf:type ontology:Q781132 }
Henry Gurke
action filter_type
action find
entity Henry Gurke
relation military branch
type military branch
['Henry Gurke', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?b WHERE { resource:Henry_Gurke property:military_branch ?b . ?b rdf:type ontology:military_branch }
[]
military branch
Q11218
SYSTEM
United States Marine Corps
Q11218
(Q14967299,P241,c(Q781132))
action filter_type
action find
entity Q14967299
relation P241
type Q781132
Henry Gurke is affiliated with [ANSWER]
['Q14967299', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?b WHERE { resource:Q14967299 property:P241 ?b . ?b rdf:type ontology:Q781132 }
United States Marine Corps
Henry Gurke is affiliated with United States Marine Corps
United States Marine Corps
action filter_type
action find
entity Henry Gurke
relation military branch
type military branch
['Henry Gurke', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?b WHERE { resource:Henry_Gurke property:military_branch ?b . ?b rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11218
P121
Q11436
USER
Which aircraft is operated by that military branch ?
(Q11218,P121,c(Q11436))
action filter_type
action find
entity Q11218
relation P121
type Q11436
['Q11218', 'P121', {'concept': 'Q11436'}]
SELECT DISTINCT ?r WHERE { resource:Q11218 property:P121 ?r . ?r rdf:type ontology:Q11436 }
United States Marine Corps
action filter_type
action find
entity United States Marine Corps
relation item operated
type aircraft
['United States Marine Corps', 'item operated', {'concept': 'aircraft'}]
SELECT DISTINCT ?r WHERE { resource:United_States_Marine_Corps property:item_operated ?r . ?r rdf:type ontology:aircraft }
[]
aircraft
Q11436
SYSTEM
aircraft
Q11436
(Q11218,P121,c(Q11436))
action filter_type
action find
entity Q11218
relation P121
type Q11436
[ANSWER] is operated by that military branch
['Q11218', 'P121', {'concept': 'Q11436'}]
SELECT DISTINCT ?r WHERE { resource:Q11218 property:P121 ?r . ?r rdf:type ontology:Q11436 }
aircraft
Aircraft is operated by that military branch
aircraft
action filter_type
action find
entity United States Marine Corps
relation item operated
type aircraft
['United States Marine Corps', 'item operated', {'concept': 'aircraft'}]
SELECT DISTINCT ?r WHERE { resource:United_States_Marine_Corps property:item_operated ?r . ?r rdf:type ontology:aircraft }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11218
P180
Q2342494
USER
Which collectables depict that military branch ?
(c(Q2342494),P180,Q11436)
action filter_type
action find_reverse
entity Q11218
relation P180
type Q2342494
[{'concept': 'Q2342494'}, 'P180', 'Q11436']
SELECT DISTINCT ?q WHERE { ?q property:P180 resource:Q11218 . ?q rdf:type ontology:Q2342494 }
United States Marine Corps
action filter_type
action find_reverse
entity United States Marine Corps
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'aircraft']
SELECT DISTINCT ?q WHERE { ?q property:depicts resource:United_States_Marine_Corps . ?q rdf:type ontology:collectable }
[]
collectable
Q15054569 Q15055921 Q15054563
SYSTEM
US Marine Corps Pacific Theater of Operations 1941-43, US Navy & Marine Corps Air Power Directory, US Marine Corps Pacific Theater of Operations 1944-45
Q15054569 Q15055921 Q15054563
(c(Q2342494),P180,Q11436)
action filter_type
action find_reverse
entity Q11218
relation P180
type Q2342494
[ANSWERS] depict that military branch
[{'concept': 'Q2342494'}, 'P180', 'Q11436']
SELECT DISTINCT ?q WHERE { ?q property:P180 resource:Q11218 . ?q rdf:type ontology:Q2342494 }
US Marine Corps Pacific Theater of Operations 1941-43 US Navy & Marine Corps Air Power Directory US Marine Corps Pacific Theater of Operations 1944-45
US Marine Corps Pacific Theater of Operations 1941-43, US Navy & Marine Corps Air Power Directory and US Marine Corps Pacific Theater of Operations 1944-45 depict that military branch
US Marine Corps Pacific Theater of Operations 1941-43 US Navy & Marine Corps Air Power Directory US Marine Corps Pacific Theater of Operations 1944-45
action filter_type
action find_reverse
entity United States Marine Corps
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'aircraft']
SELECT DISTINCT ?q WHERE { ?q property:depicts resource:United_States_Marine_Corps . ?q rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q960067 Q14967299
P27
Q15617994
USER
Which administrative territories are Henry Gurke and Emmanuel Chukwudi Eze a civilian of ?
AND((Q14967299,P27,c(Q15617994)), (Q960067,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q14967299
relation P27
action find
entity Q960067
relation P27
type Q15617994
{'AND': [['Q14967299', 'P27', {'concept': 'Q15617994'}], ['Q960067', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { resource:Q960067 property:P27 ?s . resource:Q14967299 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Emmanuel Chukwudi Eze Henry Gurke
action filter_type
action intersection
action find
entity Henry Gurke
relation country of citizenship
action find
entity Emmanuel Chukwudi Eze
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Henry Gurke', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Emmanuel Chukwudi Eze', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { resource:Emmanuel_Chukwudi_Eze property:country_of_citizenship ?s . resource:Henry_Gurke property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
AND((Q14967299,P27,c(Q15617994)), (Q960067,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q14967299
relation P27
action find
entity Q960067
relation P27
type Q15617994
[ANSWER] is Henry Gurke and Emmanuel Chukwudi Eze a civilian of
{'AND': [['Q14967299', 'P27', {'concept': 'Q15617994'}], ['Q960067', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { resource:Q960067 property:P27 ?s . resource:Q14967299 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
United States of America
United States of America is Henry Gurke and Emmanuel Chukwudi Eze a civilian of
United States of America
action filter_type
action intersection
action find
entity Henry Gurke
relation country of citizenship
action find
entity Emmanuel Chukwudi Eze
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Henry Gurke', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Emmanuel Chukwudi Eze', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { resource:Emmanuel_Chukwudi_Eze property:country_of_citizenship ?s . resource:Henry_Gurke property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P859
Q939954
USER
Which Magnetic confinement fusion was sponsored by that administrative territory ?
(c(Q939954),P859,Q30)
action filter_type
action find_reverse
entity Q30
relation P859
type Q939954
[{'concept': 'Q939954'}, 'P859', 'Q30']
SELECT DISTINCT ?l WHERE { ?l property:P859 resource:Q30 . ?l rdf:type ontology:Q939954 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'United States of America']
SELECT DISTINCT ?l WHERE { ?l property:sponsor resource:United_States_of_America . ?l rdf:type ontology:Magnetic_confinement_fusion }
[]
Magnetic confinement fusion
Q191788
SYSTEM
ITER
Q191788
(c(Q939954),P859,Q30)
action filter_type
action find_reverse
entity Q30
relation P859
type Q939954
[ANSWER] was sponsored by that administrative territory
[{'concept': 'Q939954'}, 'P859', 'Q30']
SELECT DISTINCT ?l WHERE { ?l property:P859 resource:Q30 . ?l rdf:type ontology:Q939954 }
ITER
ITER was sponsored by that administrative territory
ITER
action filter_type
action find_reverse
entity United States of America
relation sponsor
type Magnetic confinement fusion
[{'concept': 'Magnetic confinement fusion'}, 'sponsor', 'United States of America']
SELECT DISTINCT ?l WHERE { ?l property:sponsor resource:United_States_of_America . ?l rdf:type ontology:Magnetic_confinement_fusion }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P1376
Q56061
USER
Which administrative territories are the capital of that administrative territory ?
(c(Q56061),P1376,Q191788)
action filter_type
action find_reverse
entity Q30
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q191788']
SELECT DISTINCT ?n WHERE { ?n property:P1376 resource:Q30 . ?n rdf:type ontology:Q56061 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'ITER']
SELECT DISTINCT ?n WHERE { ?n property:capital_of resource:United_States_of_America . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q61
SYSTEM
New York City, Washington, D.C.
Q60 Q61
(c(Q56061),P1376,Q191788)
action filter_type
action find_reverse
entity Q30
relation P1376
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P1376', 'Q191788']
SELECT DISTINCT ?n WHERE { ?n property:P1376 resource:Q30 . ?n rdf:type ontology:Q56061 }
New York City Washington, D.C.
New York City and Washington, D.C. are the capital of that administrative territory
New York City Washington, D.C.
action filter_type
action find_reverse
entity United States of America
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'ITER']
SELECT DISTINCT ?n WHERE { ?n property:capital_of resource:United_States_of_America . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q60 Q61
P17
Q15617994
USER
Which administrative territories are New York City and Washington, D.C. present in ?
(Q60,P17,c(Q15617994)) (Q61,P17,c(Q15617994))
action union
action filter_type
action find
entity Q60
relation P17
type Q15617994
action filter_type
action find
entity Q61
relation P17
type Q15617994
['Q60', 'P17', {'concept': 'Q15617994'}] ['Q61', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { resource:Q61 property:P17 ?k . ?k rdf:type ontology:Q15617994 } UNION { resource:Q60 property:P17 ?k . ?k rdf:type ontology:Q15617994 } }
New York City Washington, D.C.
action union
action filter_type
action find
entity New York City
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Washington, D.C.
relation country
type designation for an administrative territorial entity
['New York City', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Washington, D.C.', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { resource:Washington,_D.C. property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:New_York_City property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q30
SYSTEM
United States of America
Q30 Q30
(Q60,P17,c(Q15617994)) (Q61,P17,c(Q15617994))
action union
action filter_type
action find
entity Q60
relation P17
type Q15617994
action filter_type
action find
entity Q61
relation P17
type Q15617994
Which administrative territories are New York City and Washington, D.C. present in
['Q60', 'P17', {'concept': 'Q15617994'}] ['Q61', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { resource:Q61 property:P17 ?k . ?k rdf:type ontology:Q15617994 } UNION { resource:Q60 property:P17 ?k . ?k rdf:type ontology:Q15617994 } }
United States of America United States of America
Which administrative territories are New York City and Washington, D.C. present in
United States of America United States of America
action union
action filter_type
action find
entity New York City
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Washington, D.C.
relation country
type designation for an administrative territorial entity
['New York City', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Washington, D.C.', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { resource:Washington,_D.C. property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:New_York_City property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P127
Q811979
USER
Which architectural structures are owned by New York City ?
(c(Q811979),P127,Q60)
action filter_type
action find_reverse
entity Q60
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q60']
SELECT DISTINCT ?h WHERE { ?h property:P127 resource:Q60 . ?h rdf:type ontology:Q811979 }
New York City
action filter_type
action find_reverse
entity New York City
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'New York City']
SELECT DISTINCT ?h WHERE { ?h property:owned_by resource:New_York_City . ?h rdf:type ontology:architectural_structure }
[]
architectural structure
Q6715011 Q4596012 Q7603993
SYSTEM
MCU Park, 1 Police Plaza, Staten Island Cricket Club
Q6715011 Q4596012 Q7603993 Q5462917
(c(Q811979),P127,Q60)
action filter_type
action find_reverse
entity Q60
relation P127
type Q811979
[ANSWERS] are owned by New York City
[{'concept': 'Q811979'}, 'P127', 'Q60']
SELECT DISTINCT ?h WHERE { ?h property:P127 resource:Q60 . ?h rdf:type ontology:Q811979 }
MCU Park 1 Police Plaza Staten Island Cricket Club Flushing Meadows Natatorium
MCU Park, 1 Police Plaza and Staten Island Cricket Club are owned by New York City
MCU Park 1 Police Plaza Staten Island Cricket Club
action filter_type
action find_reverse
entity New York City
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'New York City']
SELECT DISTINCT ?h WHERE { ?h property:owned_by resource:New_York_City . ?h rdf:type ontology:architectural_structure }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4596012
P149
Q2198855
USER
Which cultural movement is the architectural style of that one ?
(Q4596012,P149,c(Q2198855))
action filter_type
action find
entity Q4596012
relation P149
type Q2198855
['Q4596012', 'P149', {'concept': 'Q2198855'}]
SELECT DISTINCT ?v WHERE { resource:Q4596012 property:P149 ?v . ?v rdf:type ontology:Q2198855 }
1 Police Plaza
action filter_type
action find
entity 1 Police Plaza
relation architectural style
type cultural movement
['1 Police Plaza', 'architectural style', {'concept': 'cultural movement'}]
SELECT DISTINCT ?v WHERE { resource:1_Police_Plaza property:architectural_style ?v . ?v rdf:type ontology:cultural_movement }
[]
cultural movement
Clarification for simple ques.
Q7603993
SYSTEM
Did you mean Staten Island Cricket Club ?
Q6715011 Q4596012 Q7603993
(Q6715011,P149,c(Q2198855)) (Q4596012,P149,c(Q2198855)) (Q7603993,P149,c(Q2198855))
[ANSWER]
['Q6715011', 'P149', {'concept': 'Q2198855'}] ['Q4596012', 'P149', {'concept': 'Q2198855'}] ['Q7603993', 'P149', {'concept': 'Q2198855'}]
SELECT DISTINCT ?v WHERE { resource:Q4596012 property:P149 ?v . ?v rdf:type ontology:Q2198855 }
MCU Park 1 Police Plaza Staten Island Cricket Club
Did you mean Staten Island Cricket Club ?
Staten Island Cricket Club
['MCU Park', 'architectural style', {'concept': 'cultural movement'}] ['1 Police Plaza', 'architectural style', {'concept': 'cultural movement'}] ['Staten Island Cricket Club', 'architectural style', {'concept': 'cultural movement'}]
SELECT DISTINCT ?v WHERE { resource:1_Police_Plaza property:architectural_style ?v . ?v rdf:type ontology:cultural_movement }
[]
Simple Question (Coreferenced)
USER
No, I meant 1 Police Plaza. Could you tell me the answer for that?
(Q4596012,P149,c(Q2198855))
Q4596012
['Q4596012', 'P149', {'concept': 'Q2198855'}]
['1 Police Plaza', 'architectural style', {'concept': 'cultural movement'}]
[]
Q994776
SYSTEM
brutalism
Q994776
(Q4596012,P149,c(Q2198855))
action filter_type
action find
entity Q4596012
relation P149
type Q2198855
[ANSWER] is the architectural style of that one
['Q4596012', 'P149', {'concept': 'Q2198855'}]
SELECT DISTINCT ?v WHERE { resource:Q4596012 property:P149 ?v . ?v rdf:type ontology:Q2198855 }
brutalism
Brutalism is the architectural style of that one
brutalism
action filter_type
action find
entity 1 Police Plaza
relation architectural style
type cultural movement
['1 Police Plaza', 'architectural style', {'concept': 'cultural movement'}]
SELECT DISTINCT ?v WHERE { resource:1_Police_Plaza property:architectural_style ?v . ?v rdf:type ontology:cultural_movement }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q994776 Q18156788
P149
Q811979
USER
Does Phil G. McDonald Bridge have that cultural movement as architectural style ?
(Q18156788,P149,Q994776)
action is_in
entity Q18156788
action find
entity Q994776
relation P149
['Q18156788', 'P149', 'Q994776']
ASK WHERE { resource:Q994776 property:P149 resource:Q18156788 }
brutalism Phil G. McDonald Bridge
action is_in
entity Phil G. McDonald Bridge
action find
entity brutalism
relation architectural style
['Phil G. McDonald Bridge', 'architectural style', 'brutalism']
ASK WHERE { resource:brutalism property:architectural_style resource:Phil_G._McDonald_Bridge }
[]
architectural structure
SYSTEM
NO
(Q18156788,P149,Q994776)
action is_in
entity Q18156788
action find
entity Q994776
relation P149
[ANSWER]
['Q18156788', 'P149', 'Q994776']
ASK WHERE { resource:Q994776 property:P149 resource:Q18156788 }
No
action is_in
entity Phil G. McDonald Bridge
action find
entity brutalism
relation architectural style
['Phil G. McDonald Bridge', 'architectural style', 'brutalism']
ASK WHERE { resource:brutalism property:architectural_style resource:Phil_G._McDonald_Bridge }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P737
Q2198855 Q2198855
USER
Which cultural movements acted as an inflence on max number of cultural movements ?
(c(Q2198855),P737,Q42934)
action argmax
action find_tuple_counts
relation P737
type Q2198855
type Q2198855
[{'concept': 'Q2198855'}, 'P737', 'Q42934']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?p ) { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?y ) WHERE { ?b property:P737 ?z . ?b rdf:type ontology:Q2198855 . ?z rdf:type ontology:Q2198855 } GROUP BY ?b } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?s ) WHERE { ?m property:P737 ?u . ?m rdf:type ontology:Q2198855 . ?u rdf:type ontology:Q2198855 } GROUP BY ?m } . FILTER ( ?s = ?p ) }
action argmax
action find_tuple_counts
relation influenced by
type cultural movement
type cultural movement
[{'concept': 'cultural movement'}, 'influenced by', 'cubism']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?p ) { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?y ) WHERE { ?b property:influenced_by ?z . ?b rdf:type ontology:cultural_movement . ?z rdf:type ontology:cultural_movement } GROUP BY ?b } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?s ) WHERE { ?m property:influenced_by ?u . ?m rdf:type ontology:cultural_movement . ?u rdf:type ontology:cultural_movement } GROUP BY ?m } . FILTER ( ?s = ?p ) }
[]
cultural movement cultural movement
Q42934
SYSTEM
cubism
Q42934
(c(Q2198855),P737,Q42934)
action argmax
action find_tuple_counts
relation P737
type Q2198855
type Q2198855
[ANSWER] acted as an inflence on max number of cultural movements
[{'concept': 'Q2198855'}, 'P737', 'Q42934']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?p ) { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?y ) WHERE { ?b property:P737 ?z . ?b rdf:type ontology:Q2198855 . ?z rdf:type ontology:Q2198855 } GROUP BY ?b } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?s ) WHERE { ?m property:P737 ?u . ?m rdf:type ontology:Q2198855 . ?u rdf:type ontology:Q2198855 } GROUP BY ?m } . FILTER ( ?s = ?p ) }
cubism
Cubism acted as an inflence on max number of cultural movements
cubism
action argmax
action find_tuple_counts
relation influenced by
type cultural movement
type cultural movement
[{'concept': 'cultural movement'}, 'influenced by', 'cubism']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?p ) { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?y ) WHERE { ?b property:influenced_by ?z . ?b rdf:type ontology:cultural_movement . ?z rdf:type ontology:cultural_movement } GROUP BY ?b } } . { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?s ) WHERE { ?m property:influenced_by ?u . ?m rdf:type ontology:cultural_movement . ?u rdf:type ontology:cultural_movement } GROUP BY ?m } . FILTER ( ?s = ?p ) }
[]