Simple Question (Direct)
Simple Question
Q1972714
P19
Q13220204
USER
Which administrative country subdivision is the birthplace of Lolita Milyavskaya ?
(Q1972714,P19,c(Q13220204))
action filter_type
action find
entity Q1972714
relation P19
type Q13220204
['Q1972714', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q13220204 . resource:Q1972714 property:P19 ?v }
Lolita Milyavskaya
action filter_type
action find
entity Lolita Milyavskaya
relation place of birth
type second-level administrative country subdivision
['Lolita Milyavskaya', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:second-level_administrative_country_subdivision . resource:Lolita_Milyavskaya property:place_of_birth ?v }
[]
second-level administrative country subdivision
Q146456
SYSTEM
Mukacheve
Q146456
(Q1972714,P19,c(Q13220204))
action filter_type
action find
entity Q1972714
relation P19
type Q13220204
[ANSWER] is the birthplace of Lolita Milyavskaya
['Q1972714', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q13220204 . resource:Q1972714 property:P19 ?v }
Mukacheve
Mukacheve is the birthplace of Lolita Milyavskaya
Mukacheve
action filter_type
action find
entity Lolita Milyavskaya
relation place of birth
type second-level administrative country subdivision
['Lolita Milyavskaya', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:second-level_administrative_country_subdivision . resource:Lolita_Milyavskaya property:place_of_birth ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1972714
P21
Q290
USER
Which sex does that person possess ?
(Q146456,P21,c(Q290))
action filter_type
action find
entity Q1972714
relation P21
type Q290
['Q146456', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1972714 property:P21 ?o . ?o rdf:type ontology:Q290 }
Lolita Milyavskaya
action filter_type
action find
entity Lolita Milyavskaya
relation gender
type sex
['Mukacheve', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Lolita_Milyavskaya property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q146456,P21,c(Q290))
action filter_type
action find
entity Q1972714
relation P21
type Q290
That person possesses the [ANSWER]
['Q146456', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q1972714 property:P21 ?o . ?o rdf:type ontology:Q290 }
female
That person possesses the female
female
action filter_type
action find
entity Lolita Milyavskaya
relation gender
type sex
['Mukacheve', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Lolita_Milyavskaya property:gender ?o . ?o rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581072 Q23678500
P21
Q502895
USER
Is Joan Dunlop a that sex ?
(Q23678500,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q23678500
relation P21
['Q23678500', 'P21', 'Q6581072']
ASK WHERE { resource:Q23678500 property:P21 resource:Q6581072 }
female Joan Dunlop
action is_in
entity female
action find
entity Joan Dunlop
relation gender
['Joan Dunlop', 'gender', 'female']
ASK WHERE { resource:Joan_Dunlop property:gender resource:female }
[]
common name
SYSTEM
YES
(Q23678500,P21,Q6581072)
action is_in
entity Q6581072
action find
entity Q23678500
relation P21
[ANSWER]
['Q23678500', 'P21', 'Q6581072']
ASK WHERE { resource:Q23678500 property:P21 resource:Q6581072 }
Yes
action is_in
entity female
action find
entity Joan Dunlop
relation gender
['Joan Dunlop', 'gender', 'female']
ASK WHERE { resource:Joan_Dunlop property:gender resource:female }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1972714
P161
Q838948
USER
What is the name of work of art starring Lolita Milyavskaya ?
(c(Q838948),P161,Q1972714)
action filter_type
action find_reverse
entity Q1972714
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1972714']
SELECT DISTINCT ?f WHERE { ?f property:P161 resource:Q1972714 . ?f rdf:type ontology:Q838948 }
Lolita Milyavskaya
action filter_type
action find_reverse
entity Lolita Milyavskaya
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Lolita Milyavskaya']
SELECT DISTINCT ?f WHERE { ?f property:cast_member resource:Lolita_Milyavskaya . ?f rdf:type ontology:work_of_art }
[]
work of art
Q4193712
SYSTEM
Cinderella
Q4193712
(c(Q838948),P161,Q1972714)
action filter_type
action find_reverse
entity Q1972714
relation P161
type Q838948
The name of work of art starring Lolita Milyavskaya is [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q1972714']
SELECT DISTINCT ?f WHERE { ?f property:P161 resource:Q1972714 . ?f rdf:type ontology:Q838948 }
Cinderella
The name of work of art starring Lolita Milyavskaya is Cinderella
Cinderella
action filter_type
action find_reverse
entity Lolita Milyavskaya
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Lolita Milyavskaya']
SELECT DISTINCT ?f WHERE { ?f property:cast_member resource:Lolita_Milyavskaya . ?f rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1972714
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Lolita Milyavskaya ?
(Q1972714,P27,c(Q15617994))
action filter_type
action find
entity Q1972714
relation P27
type Q15617994
['Q1972714', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1972714 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Lolita Milyavskaya
action filter_type
action find
entity Lolita Milyavskaya
relation country of citizenship
type designation for an administrative territorial entity
['Lolita Milyavskaya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Lolita_Milyavskaya property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q1972714,P27,c(Q15617994))
action filter_type
action find
entity Q1972714
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Lolita Milyavskaya
['Q1972714', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q1972714 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Russia
Russia is the country of citizenship of Lolita Milyavskaya
Russia
action filter_type
action find
entity Lolita Milyavskaya
relation country of citizenship
type designation for an administrative territorial entity
['Lolita Milyavskaya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Lolita_Milyavskaya property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q469809
Q15617994
USER
And what about Gustaf Wingren?
(Q469809,P27,c(Q15617994))
action filter_type
action find
entity Q469809
relation P27
type Q15617994
['Q469809', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q469809 property:P27 ?i }
Gustaf Wingren
action filter_type
action find
entity Gustaf Wingren
relation country of citizenship
type designation for an administrative territorial entity
['Gustaf Wingren', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gustaf_Wingren property:country_of_citizenship ?i }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q469809,P27,c(Q15617994))
action filter_type
action find
entity Q469809
relation P27
type Q15617994
[ANSWER]
['Q469809', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q469809 property:P27 ?i }
Sweden
Sweden
action filter_type
action find
entity Gustaf Wingren
relation country of citizenship
type designation for an administrative territorial entity
['Gustaf Wingren', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gustaf_Wingren property:country_of_citizenship ?i }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q34 Q4438988
P530
Q1048835
USER
Does Stavriv have diplomatic relationships with that administrative territory ?
(Q34,P530,Q4438988)
action is_in
entity Q4438988
action find
entity Q34
relation P530
['Q34', 'P530', 'Q4438988']
ASK WHERE { resource:Q34 property:P530 resource:Q4438988 }
Sweden Stavriv
action is_in
entity Stavriv
action find
entity Sweden
relation diplomatic relation
['Sweden', 'diplomatic relation', 'Stavriv']
ASK WHERE { resource:Sweden property:diplomatic_relation resource:Stavriv }
[]
political territorial entity
SYSTEM
NO
(Q34,P530,Q4438988)
action is_in
entity Q4438988
action find
entity Q34
relation P530
[ANSWER]
['Q34', 'P530', 'Q4438988']
ASK WHERE { resource:Q34 property:P530 resource:Q4438988 }
No
action is_in
entity Stavriv
action find
entity Sweden
relation diplomatic relation
['Sweden', 'diplomatic relation', 'Stavriv']
ASK WHERE { resource:Sweden property:diplomatic_relation resource:Stavriv }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7130133 Q34
P530 P17
Q15617994
USER
Which administrative territories holds diplomatic relationship with Sweden or are Panawelulla located in ?
OR((Q34,P530,c(Q15617994)), (Q7130133,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q34
relation P530
action find
entity Q7130133
relation P17
type Q15617994
{'OR': [['Q34', 'P530', {'concept': 'Q15617994'}], ['Q7130133', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q34 property:P530 ?v } UNION { resource:Q7130133 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Panawelulla Sweden
action filter_type
action union
action find
entity Sweden
relation diplomatic relation
action find
entity Panawelulla
relation country
type designation for an administrative territorial entity
{'OR': [['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Panawelulla', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Sweden property:diplomatic_relation ?v } UNION { resource:Panawelulla property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928 Q38 Q854
SYSTEM
Philippines, Italy, Sri Lanka
Q928 Q38 Q854
OR((Q34,P530,c(Q15617994)), (Q7130133,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q34
relation P530
action find
entity Q7130133
relation P17
type Q15617994
[ANSWERS] hold diplomatic relationship with Sweden or are Panawelulla located in
{'OR': [['Q34', 'P530', {'concept': 'Q15617994'}], ['Q7130133', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q34 property:P530 ?v } UNION { resource:Q7130133 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Philippines Italy Sri Lanka
Philippines, Italy and Sri Lanka hold diplomatic relationship with Sweden or are Panawelulla located in
Philippines Italy Sri Lanka
action filter_type
action union
action find
entity Sweden
relation diplomatic relation
action find
entity Panawelulla
relation country
type designation for an administrative territorial entity
{'OR': [['Sweden', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Panawelulla', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Sweden property:diplomatic_relation ?v } UNION { resource:Panawelulla property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q22785757
P17
Q15617994
USER
How many administrative territories do Children Of Living Hope belong to ?
(Q22785757,P17,c(Q15617994))
action count
action filter_type
action find
entity Q22785757
relation P17
type Q15617994
['Q22785757', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q22785757 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Children Of Living Hope
action count
action filter_type
action find
entity Children Of Living Hope
relation country
type designation for an administrative territorial entity
['Children Of Living Hope', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Children_Of_Living_Hope property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q1036
(Q22785757,P17,c(Q15617994))
action count
action filter_type
action find
entity Q22785757
relation P17
type Q15617994
[ANSWER]
['Q22785757', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q22785757 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Uganda
1
action count
action filter_type
action find
entity Children Of Living Hope
relation country
type designation for an administrative territorial entity
['Children Of Living Hope', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Children_Of_Living_Hope property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q287633
Q15617994
USER
And how about Changchun–Jilin Intercity Railway?
(Q287633,P17,c(Q15617994))
action count
action filter_type
action find
entity Q287633
relation P17
type Q15617994
['Q287633', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q287633 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Changchun–Jilin Intercity Railway
action count
action filter_type
action find
entity Changchun–Jilin Intercity Railway
relation country
type designation for an administrative territorial entity
['Changchun–Jilin Intercity Railway', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Changchun–Jilin_Intercity_Railway property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q287633,P17,c(Q15617994))
action count
action filter_type
action find
entity Q287633
relation P17
type Q15617994
[ANSWER]
['Q287633', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Q287633 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Changchun–Jilin Intercity Railway
relation country
type designation for an administrative territorial entity
['Changchun–Jilin Intercity Railway', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { resource:Changchun–Jilin_Intercity_Railway property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P530
Q1048835 Q515
USER
How many political territories and cities have diplomatic relationships with Italy ?
(Q38,P530,c(Q1048835)) (Q38,P530,c(Q515))
action count
action union
action filter_type
action find
entity Q38
relation P530
type Q1048835
action filter_type
action find
entity Q38
relation P530
type Q515
['Q38', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { resource:Q38 property:P530 ?t . ?t rdf:type ontology:Q515 } UNION { resource:Q38 property:P530 ?t . ?t rdf:type ontology:Q1048835 } }
Italy
action count
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Italy
relation diplomatic relation
type city
['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { resource:Italy property:diplomatic_relation ?t . ?t rdf:type ontology:city } UNION { resource:Italy property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } }
[]
political territorial entity city
SYSTEM
6 political territories and 1 cities
Q235 Q408 Q35 Q40 Q16 Q664 Q183
(Q38,P530,c(Q1048835)) (Q38,P530,c(Q515))
action count
action union
action filter_type
action find
entity Q38
relation P530
type Q1048835
action filter_type
action find
entity Q38
relation P530
type Q515
[ANSWER]
['Q38', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { resource:Q38 property:P530 ?t . ?t rdf:type ontology:Q515 } UNION { resource:Q38 property:P530 ?t . ?t rdf:type ontology:Q1048835 } }
Monaco Australia Denmark Austria Canada New Zealand Germany
6 political territories and 1 cities
action count
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Italy
relation diplomatic relation
type city
['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { resource:Italy property:diplomatic_relation ?t . ?t rdf:type ontology:city } UNION { resource:Italy property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q159
P47
Q183366
USER
Which territory does Russia share a border with ?
(c(Q183366),P47,Q159)
action filter_type
action find
entity Q159
relation P47
type Q183366
[{'concept': 'Q183366'}, 'P47', 'Q159']
SELECT DISTINCT ?w WHERE { resource:Q159 property:P47 ?w . ?w rdf:type ontology:Q183366 }
Russia
action filter_type
action find
entity Russia
relation shares border with
type territory
[{'concept': 'territory'}, 'shares border with', 'Russia']
SELECT DISTINCT ?w WHERE { resource:Russia property:shares_border_with ?w . ?w rdf:type ontology:territory }
[]
territory
Q23334
SYSTEM
Abkhazia
Q23334
(c(Q183366),P47,Q159)
action filter_type
action find
entity Q159
relation P47
type Q183366
Russia shares a border with [ANSWER]
[{'concept': 'Q183366'}, 'P47', 'Q159']
SELECT DISTINCT ?w WHERE { resource:Q159 property:P47 ?w . ?w rdf:type ontology:Q183366 }
Abkhazia
Russia shares a border with Abkhazia
Abkhazia
action filter_type
action find
entity Russia
relation shares border with
type territory
[{'concept': 'territory'}, 'shares border with', 'Russia']
SELECT DISTINCT ?w WHERE { resource:Russia property:shares_border_with ?w . ?w rdf:type ontology:territory }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23334
P163
Q14660
USER
What is associated with that territory ?
(Q23334,P163,c(Q14660))
action filter_type
action find
entity Q23334
relation P163
type Q14660
['Q23334', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { resource:Q23334 property:P163 ?g . ?g rdf:type ontology:Q14660 }
Abkhazia
action filter_type
action find
entity Abkhazia
relation flag
type flag
['Abkhazia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { resource:Abkhazia property:flag ?g . ?g rdf:type ontology:flag }
[]
flag
Q199621
SYSTEM
Flag of Abkhazia
Q199621
(Q23334,P163,c(Q14660))
action filter_type
action find
entity Q23334
relation P163
type Q14660
Union [ANSWER] is associated with that territory
['Q23334', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?g WHERE { resource:Q23334 property:P163 ?g . ?g rdf:type ontology:Q14660 }
Flag of Abkhazia
Union Flag of Abkhazia is associated with that territory
Flag of Abkhazia
action filter_type
action find
entity Abkhazia
relation flag
type flag
['Abkhazia', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?g WHERE { resource:Abkhazia property:flag ?g . ?g rdf:type ontology:flag }
[]