Simple Question (Direct)
Simple Question
Q7597704
P54
Q12973014
USER
Which sports teams are Stan Jefferson a member of ?
(Q7597704,P54,c(Q12973014))
action filter_type
action find
entity Q7597704
relation P54
type Q12973014
['Q7597704', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?m WHERE { resource:Q7597704 property:P54 ?m . ?m rdf:type ontology:Q12973014 }
Stan Jefferson
action filter_type
action find
entity Stan Jefferson
relation member of sports team
type sports team
['Stan Jefferson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?m WHERE { resource:Stan_Jefferson property:member_of_sports_team ?m . ?m rdf:type ontology:sports_team }
[]
sports team
Q650816 Q826751 Q213417
SYSTEM
Baltimore Orioles, Cincinnati Reds, New York Yankees
Q1966948 Q826751 Q2343915 Q692417 Q1779406 Q213417 Q650816 Q642553 Q721134
(Q7597704,P54,c(Q12973014))
action filter_type
action find
entity Q7597704
relation P54
type Q12973014
The [ANSWERS] are Stan Jefferson a member of
['Q7597704', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?m WHERE { resource:Q7597704 property:P54 ?m . ?m rdf:type ontology:Q12973014 }
Rochester Red Wings Cincinnati Reds Nashville Sounds New York Mets Norfolk Tides New York Yankees Baltimore Orioles Cleveland Indians San Diego Padres
The Baltimore Orioles, Cincinnati Reds and New York Yankees are Stan Jefferson a member of
Baltimore Orioles Cincinnati Reds New York Yankees
action filter_type
action find
entity Stan Jefferson
relation member of sports team
type sports team
['Stan Jefferson', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?m WHERE { resource:Stan_Jefferson property:member_of_sports_team ?m . ?m rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q650816 Q826751 Q213417
P17
Q15617994
USER
Which administrative territories are Baltimore Orioles, Cincinnati Reds and New York Yankees situated in ?
(Q650816,P17,c(Q15617994)) (Q826751,P17,c(Q15617994)) (Q213417,P17,c(Q15617994))
action union
action filter_type
action find
entity Q650816
relation P17
type Q15617994
action filter_type
action find
entity Q826751
relation P17
type Q15617994
action filter_type
action find
entity Q213417
relation P17
type Q15617994
['Q650816', 'P17', {'concept': 'Q15617994'}] ['Q826751', 'P17', {'concept': 'Q15617994'}] ['Q213417', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { resource:Q650816 property:P17 ?q . ?q rdf:type ontology:Q15617994 } UNION { resource:Q826751 property:P17 ?q . ?q rdf:type ontology:Q15617994 } }
Baltimore Orioles Cincinnati Reds New York Yankees
action union
action filter_type
action find
entity Baltimore Orioles
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cincinnati Reds
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity New York Yankees
relation country
type designation for an administrative territorial entity
['Baltimore Orioles', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cincinnati Reds', 'country', {'concept': 'designation for an administrative territorial entity'}] ['New York Yankees', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:Baltimore_Orioles property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Cincinnati_Reds property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q30 Q30
SYSTEM
United States of America
Q30 Q30 Q30
(Q650816,P17,c(Q15617994)) (Q826751,P17,c(Q15617994)) (Q213417,P17,c(Q15617994))
action union
action filter_type
action find
entity Q650816
relation P17
type Q15617994
action filter_type
action find
entity Q826751
relation P17
type Q15617994
action filter_type
action find
entity Q213417
relation P17
type Q15617994
Which administrative territories are Baltimore Orioles, Cincinnati Reds and New York Yankees situated in
['Q650816', 'P17', {'concept': 'Q15617994'}] ['Q826751', 'P17', {'concept': 'Q15617994'}] ['Q213417', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { resource:Q650816 property:P17 ?q . ?q rdf:type ontology:Q15617994 } UNION { resource:Q826751 property:P17 ?q . ?q rdf:type ontology:Q15617994 } }
United States of America United States of America United States of America
Which administrative territories are Baltimore Orioles, Cincinnati Reds and New York Yankees situated in
United States of America United States of America United States of America
action union
action filter_type
action find
entity Baltimore Orioles
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Cincinnati Reds
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity New York Yankees
relation country
type designation for an administrative territorial entity
['Baltimore Orioles', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cincinnati Reds', 'country', {'concept': 'designation for an administrative territorial entity'}] ['New York Yankees', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:Baltimore_Orioles property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Cincinnati_Reds property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P194
Q11204
USER
Which legislature represents United States of America ?
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { resource:Q30 property:P194 ?y . ?y rdf:type ontology:Q11204 }
United States of America
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:legislative_body ?y . ?y rdf:type ontology:legislature }
[]
legislature
Q11268
SYSTEM
United States Congress
Q11268
(Q30,P194,c(Q11204))
action filter_type
action find
entity Q30
relation P194
type Q11204
U [ANSWER] represents United States of America
['Q30', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?y WHERE { resource:Q30 property:P194 ?y . ?y rdf:type ontology:Q11204 }
United States Congress
U United States Congress represents United States of America
United States Congress
action filter_type
action find
entity United States of America
relation legislative body
type legislature
['United States of America', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?y WHERE { resource:United_States_of_America property:legislative_body ?y . ?y rdf:type ontology:legislature }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2017330
Q11204
USER
And how about Oklahoma Territory?
(Q2017330,P194,c(Q11204))
action filter_type
action find
entity Q2017330
relation P194
type Q11204
['Q2017330', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?u WHERE { resource:Q2017330 property:P194 ?u . ?u rdf:type ontology:Q11204 }
Oklahoma Territory
action filter_type
action find
entity Oklahoma Territory
relation legislative body
type legislature
['Oklahoma Territory', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?u WHERE { resource:Oklahoma_Territory property:legislative_body ?u . ?u rdf:type ontology:legislature }
[]
legislature
Q7082403
SYSTEM
Oklahoma Territorial Legislature
Q7082403
(Q2017330,P194,c(Q11204))
action filter_type
action find
entity Q2017330
relation P194
type Q11204
[ANSWER]
['Q2017330', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?u WHERE { resource:Q2017330 property:P194 ?u . ?u rdf:type ontology:Q11204 }
Oklahoma Territorial Legislature
Oklahoma Territorial Legislature
action filter_type
action find
entity Oklahoma Territory
relation legislative body
type legislature
['Oklahoma Territory', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?u WHERE { resource:Oklahoma_Territory property:legislative_body ?u . ?u rdf:type ontology:legislature }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P194
Q1048835
USER
How many political territories have that legislature as their representative body ?
(c(Q1048835),P194,Q7082403)
action count
action filter_type
action find_reverse
entity Q7082403
relation P194
type Q1048835
[{'concept': 'Q1048835'}, 'P194', 'Q7082403']
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P194 resource:Q7082403 . ?o rdf:type ontology:Q1048835 }
action count
action filter_type
action find_reverse
entity Oklahoma Territorial Legislature
relation legislative body
type political territorial entity
[{'concept': 'political territorial entity'}, 'legislative body', 'Oklahoma Territorial Legislature']
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:legislative_body resource:Oklahoma_Territorial_Legislature . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q2017330
(c(Q1048835),P194,Q7082403)
action count
action filter_type
action find_reverse
entity Q7082403
relation P194
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P194', 'Q7082403']
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P194 resource:Q7082403 . ?o rdf:type ontology:Q1048835 }
Oklahoma Territory
1
action count
action filter_type
action find_reverse
entity Oklahoma Territorial Legislature
relation legislative body
type political territorial entity
[{'concept': 'political territorial entity'}, 'legislative body', 'Oklahoma Territorial Legislature']
SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:legislative_body resource:Oklahoma_Territorial_Legislature . ?o rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P137
Q749622 Q2424752
USER
How many Antarctic research stations or products are the administrator of United States of America ?
(c(Q749622),P137,Q30) (c(Q2424752),P137,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P137
type Q749622
action filter_type
action find_reverse
entity Q30
relation P137
type Q2424752
[{'concept': 'Q749622'}, 'P137', 'Q30'] [{'concept': 'Q2424752'}, 'P137', 'Q30']
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { ?w property:P137 resource:Q30 . ?w rdf:type ontology:Q749622 } UNION { ?w property:P137 resource:Q30 . ?w rdf:type ontology:Q2424752 } }
United States of America
action count
action union
action filter_type
action find_reverse
entity United States of America
relation operator
type Antarctic research station
action filter_type
action find_reverse
entity United States of America
relation operator
type product
[{'concept': 'Antarctic research station'}, 'operator', 'United States of America'] [{'concept': 'product'}, 'operator', 'United States of America']
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { ?w property:operator resource:United_States_of_America . ?w rdf:type ontology:Antarctic_research_station } UNION { ?w property:operator resource:United_States_of_America . ?w rdf:type ontology:product } }
[]
Antarctic research station product
SYSTEM
13
Q18062054 Q17519101 Q17519103 Q17519093 Q4972874 Q666994 Q18199078 Q17907721 Q3561317 Q18193440 Q18117150 Q3109428 Q18114693
(c(Q749622),P137,Q30) (c(Q2424752),P137,Q30)
action count
action union
action filter_type
action find_reverse
entity Q30
relation P137
type Q749622
action filter_type
action find_reverse
entity Q30
relation P137
type Q2424752
[ANSWER]
[{'concept': 'Q749622'}, 'P137', 'Q30'] [{'concept': 'Q2424752'}, 'P137', 'Q30']
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { ?w property:P137 resource:Q30 . ?w rdf:type ontology:Q749622 } UNION { ?w property:P137 resource:Q30 . ?w rdf:type ontology:Q2424752 } }
P-2F Neptune F-35B Lightning II F-35C Lightning II F-35A Lightning II Brockton Station PC-9 Orion 9D NJ-1 Air Express P-36A Hawk B-17F Flying Fortress A-27 B-17C Flying Fortress
13
action count
action union
action filter_type
action find_reverse
entity United States of America
relation operator
type Antarctic research station
action filter_type
action find_reverse
entity United States of America
relation operator
type product
[{'concept': 'Antarctic research station'}, 'operator', 'United States of America'] [{'concept': 'product'}, 'operator', 'United States of America']
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { ?w property:operator resource:United_States_of_America . ?w rdf:type ontology:Antarctic_research_station } UNION { ?w property:operator resource:United_States_of_America . ?w rdf:type ontology:product } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33999
P39
Q502895
USER
Who were responsible for occupying the position of actor ?
(c(Q502895),P39,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q33999']
SELECT DISTINCT ?j WHERE { ?j property:P39 resource:Q33999 . ?j rdf:type ontology:Q502895 }
actor
action filter_type
action find_reverse
entity actor
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'actor']
SELECT DISTINCT ?j WHERE { ?j property:position_held resource:actor . ?j rdf:type ontology:common_name }
[]
common name
Q3446637 Q19265224
SYSTEM
Ruddy Pomarède, Virginie Kartner
Q3446637 Q19265224
(c(Q502895),P39,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of actor
[{'concept': 'Q502895'}, 'P39', 'Q33999']
SELECT DISTINCT ?j WHERE { ?j property:P39 resource:Q33999 . ?j rdf:type ontology:Q502895 }
Ruddy Pomarède Virginie Kartner
Ruddy Pomarède and Virginie Kartner were responsible for occupying the position of actor
Ruddy Pomarède Virginie Kartner
action filter_type
action find_reverse
entity actor
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'actor']
SELECT DISTINCT ?j WHERE { ?j property:position_held resource:actor . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3446637 Q19265224
P27
Q15617994
USER
Which administrative territories are Ruddy Pomarède and Virginie Kartner an inhabitant of ?
(Q3446637,P27,c(Q15617994)) (Q19265224,P27,c(Q15617994))
action union
action filter_type
action find
entity Q3446637
relation P27
type Q15617994
action filter_type
action find
entity Q19265224
relation P27
type Q15617994
['Q3446637', 'P27', {'concept': 'Q15617994'}] ['Q19265224', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { resource:Q3446637 property:P27 ?l . ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q15617994 . resource:Q19265224 property:P27 ?l } }
Ruddy Pomarède Virginie Kartner
action union
action filter_type
action find
entity Ruddy Pomarède
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Virginie Kartner
relation country of citizenship
type designation for an administrative territorial entity
['Ruddy Pomarède', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Virginie Kartner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { resource:Ruddy_Pomarède property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Virginie_Kartner property:country_of_citizenship ?l } }
[]
designation for an administrative territorial entity
Q142 Q142
SYSTEM
France
Q142 Q142
(Q3446637,P27,c(Q15617994)) (Q19265224,P27,c(Q15617994))
action union
action filter_type
action find
entity Q3446637
relation P27
type Q15617994
action filter_type
action find
entity Q19265224
relation P27
type Q15617994
[ANSWER] and [ANSWER] are Ruddy Pomarède and Virginie Kartner an inhabitant of
['Q3446637', 'P27', {'concept': 'Q15617994'}] ['Q19265224', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { resource:Q3446637 property:P27 ?l . ?l rdf:type ontology:Q15617994 } UNION { ?l rdf:type ontology:Q15617994 . resource:Q19265224 property:P27 ?l } }
France France
France and France are Ruddy Pomarède and Virginie Kartner an inhabitant of
France France
action union
action filter_type
action find
entity Ruddy Pomarède
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Virginie Kartner
relation country of citizenship
type designation for an administrative territorial entity
['Ruddy Pomarède', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Virginie Kartner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { resource:Ruddy_Pomarède property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Virginie_Kartner property:country_of_citizenship ?l } }
[]