Simple Question (Direct)
Simple Question
Q5112169
P19
Q56061
USER
Which administrative territory was Christopher Cristaldo born in ?
(Q5112169,P19,c(Q56061))
action filter_type
action find
entity Q5112169
relation P19
type Q56061
['Q5112169', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q5112169 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Christopher Cristaldo
action filter_type
action find
entity Christopher Cristaldo
relation place of birth
type administrative territorial entity
['Christopher Cristaldo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Christopher_Cristaldo property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3141
SYSTEM
Melbourne
Q3141
(Q5112169,P19,c(Q56061))
action filter_type
action find
entity Q5112169
relation P19
type Q56061
Christopher Cristaldo was born in [ANSWER]
['Q5112169', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q5112169 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Melbourne
Christopher Cristaldo was born in Melbourne
Melbourne
action filter_type
action find
entity Christopher Cristaldo
relation place of birth
type administrative territorial entity
['Christopher Cristaldo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Christopher_Cristaldo property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5112169
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q3141,P27,c(Q1048835))
action filter_type
action find
entity Q5112169
relation P27
type Q1048835
['Q3141', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q5112169 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Christopher Cristaldo
action filter_type
action find
entity Christopher Cristaldo
relation country of citizenship
type political territorial entity
['Melbourne', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Christopher_Cristaldo property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q3141,P27,c(Q1048835))
action filter_type
action find
entity Q5112169
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q3141', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q5112169 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Australia
Australia is that person an inhabitant of
Australia
action filter_type
action find
entity Christopher Cristaldo
relation country of citizenship
type political territorial entity
['Melbourne', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Christopher_Cristaldo property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q408 Q19878059
P27
Q502895
USER
Is Florence Aline Rodway a civilian of that political territory ?
(Q19878059,P27,Q408)
action is_in
entity Q408
action find
entity Q19878059
relation P27
['Q19878059', 'P27', 'Q408']
ASK WHERE { resource:Q19878059 property:P27 resource:Q408 }
Australia Florence Aline Rodway
action is_in
entity Australia
action find
entity Florence Aline Rodway
relation country of citizenship
['Florence Aline Rodway', 'country of citizenship', 'Australia']
ASK WHERE { resource:Florence_Aline_Rodway property:country_of_citizenship resource:Australia }
[]
common name
SYSTEM
YES
(Q19878059,P27,Q408)
action is_in
entity Q408
action find
entity Q19878059
relation P27
[ANSWER]
['Q19878059', 'P27', 'Q408']
ASK WHERE { resource:Q19878059 property:P27 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity Florence Aline Rodway
relation country of citizenship
['Florence Aline Rodway', 'country of citizenship', 'Australia']
ASK WHERE { resource:Florence_Aline_Rodway property:country_of_citizenship resource:Australia }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q5112169 Q937857
P106
Q12737077
USER
Does that person do for a living association football player ?
(Q5112169,P106,Q937857)
action is_in
entity Q937857
action find
entity Q5112169
relation P106
['Q5112169', 'P106', 'Q937857']
ASK WHERE { resource:Q5112169 property:P106 resource:Q937857 }
Christopher Cristaldo association football player
action is_in
entity association football player
action find
entity Christopher Cristaldo
relation occupation
['Christopher Cristaldo', 'occupation', 'association football player']
ASK WHERE { resource:Christopher_Cristaldo property:occupation resource:association_football_player }
[]
occupation
SYSTEM
YES
(Q5112169,P106,Q937857)
action is_in
entity Q937857
action find
entity Q5112169
relation P106
[ANSWER]
['Q5112169', 'P106', 'Q937857']
ASK WHERE { resource:Q5112169 property:P106 resource:Q937857 }
Yes
action is_in
entity association football player
action find
entity Christopher Cristaldo
relation occupation
['Christopher Cristaldo', 'occupation', 'association football player']
ASK WHERE { resource:Christopher_Cristaldo property:occupation resource:association_football_player }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3141 Q312567 Q22108367
P138
Q502895
USER
Is Melbourne the eponym of William Lamb, 2nd Viscount Melbourne and Gustavo L. Hirose ?
(Q3141,P138,Q312567) (Q3141,P138,Q22108367)
action is_in
entity Q3141
action intersection
action find_reverse
entity Q312567
relation P138
action find_reverse
entity Q22108367
relation P138
['Q3141', 'P138', 'Q312567'] ['Q3141', 'P138', 'Q22108367']
ASK WHERE { resource:Q3141 property:P138 resource:Q312567 . resource:Q3141 property:P138 resource:Q22108367 }
Melbourne William Lamb, 2nd Viscount Melbourne Gustavo L. Hirose
action is_in
entity Melbourne
action intersection
action find_reverse
entity William Lamb, 2nd Viscount Melbourne
relation named after
action find_reverse
entity Gustavo L. Hirose
relation named after
['Melbourne', 'named after', 'William Lamb, 2nd Viscount Melbourne'] ['Melbourne', 'named after', 'Gustavo L. Hirose']
ASK WHERE { resource:Melbourne property:named_after resource:William_Lamb,_2nd_Viscount_Melbourne . resource:Melbourne property:named_after resource:Gustavo_L._Hirose }
[]
common name
SYSTEM
YES and NO respectively
(Q3141,P138,Q312567) (Q3141,P138,Q22108367)
action is_in
entity Q3141
action intersection
action find_reverse
entity Q312567
relation P138
action find_reverse
entity Q22108367
relation P138
[ANSWER]
['Q3141', 'P138', 'Q312567'] ['Q3141', 'P138', 'Q22108367']
ASK WHERE { resource:Q3141 property:P138 resource:Q312567 . resource:Q3141 property:P138 resource:Q22108367 }
YES and NO respectively
action is_in
entity Melbourne
action intersection
action find_reverse
entity William Lamb, 2nd Viscount Melbourne
relation named after
action find_reverse
entity Gustavo L. Hirose
relation named after
['Melbourne', 'named after', 'William Lamb, 2nd Viscount Melbourne'] ['Melbourne', 'named after', 'Gustavo L. Hirose']
ASK WHERE { resource:Melbourne property:named_after resource:William_Lamb,_2nd_Viscount_Melbourne . resource:Melbourne property:named_after resource:Gustavo_L._Hirose }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5112169 Q3020561 Q937857
P106
Q12737077
USER
Does Christopher Cristaldo have a job as ski patroller and association football player ?
(Q5112169,P106,Q3020561) (Q5112169,P106,Q937857)
action is_in
entity Q5112169
action intersection
action find_reverse
entity Q3020561
relation P106
action find_reverse
entity Q937857
relation P106
['Q5112169', 'P106', 'Q3020561'] ['Q5112169', 'P106', 'Q937857']
ASK WHERE { resource:Q5112169 property:P106 resource:Q3020561 . resource:Q5112169 property:P106 resource:Q937857 }
Christopher Cristaldo ski patroller association football player
action is_in
entity Christopher Cristaldo
action intersection
action find_reverse
entity ski patroller
relation occupation
action find_reverse
entity association football player
relation occupation
['Christopher Cristaldo', 'occupation', 'ski patroller'] ['Christopher Cristaldo', 'occupation', 'association football player']
ASK WHERE { resource:Christopher_Cristaldo property:occupation resource:ski_patroller . resource:Christopher_Cristaldo property:occupation resource:association_football_player }
[]
occupation
SYSTEM
NO and YES respectively
(Q5112169,P106,Q3020561) (Q5112169,P106,Q937857)
action is_in
entity Q5112169
action intersection
action find_reverse
entity Q3020561
relation P106
action find_reverse
entity Q937857
relation P106
[ANSWER]
['Q5112169', 'P106', 'Q3020561'] ['Q5112169', 'P106', 'Q937857']
ASK WHERE { resource:Q5112169 property:P106 resource:Q3020561 . resource:Q5112169 property:P106 resource:Q937857 }
NO and YES respectively
action is_in
entity Christopher Cristaldo
action intersection
action find_reverse
entity ski patroller
relation occupation
action find_reverse
entity association football player
relation occupation
['Christopher Cristaldo', 'occupation', 'ski patroller'] ['Christopher Cristaldo', 'occupation', 'association football player']
ASK WHERE { resource:Christopher_Cristaldo property:occupation resource:ski_patroller . resource:Christopher_Cristaldo property:occupation resource:association_football_player }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q408 Q1773369
P530
Q1048835
USER
Does Amaporã have diplomatic relations with Australia ?
(Q408,P530,Q1773369)
action is_in
entity Q1773369
action find
entity Q408
relation P530
['Q408', 'P530', 'Q1773369']
ASK WHERE { resource:Q408 property:P530 resource:Q1773369 }
Australia Amaporã
action is_in
entity Amaporã
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Amaporã']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Amaporã }
[]
political territorial entity
SYSTEM
NO
(Q408,P530,Q1773369)
action is_in
entity Q1773369
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q1773369']
ASK WHERE { resource:Q408 property:P530 resource:Q1773369 }
No
action is_in
entity Amaporã
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Amaporã']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Amaporã }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3141
P706
Q476300
USER
What is located in Melbourne ?
(c(Q476300),P706,Q3141)
action filter_type
action find_reverse
entity Q3141
relation P706
type Q476300
[{'concept': 'Q476300'}, 'P706', 'Q3141']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q476300 . ?s property:P706 resource:Q3141 }
Melbourne
action filter_type
action find_reverse
entity Melbourne
relation located on terrain feature
type competition
[{'concept': 'competition'}, 'located on terrain feature', 'Melbourne']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:competition . ?s property:located_on_terrain_feature resource:Melbourne }
[]
competition
Q7926674
SYSTEM
Victoria Cup
Q7926674
(c(Q476300),P706,Q3141)
action filter_type
action find_reverse
entity Q3141
relation P706
type Q476300
[ANSWER] is located in Melbourne
[{'concept': 'Q476300'}, 'P706', 'Q3141']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q476300 . ?s property:P706 resource:Q3141 }
Victoria Cup
Victoria Cup is located in Melbourne
Victoria Cup
action filter_type
action find_reverse
entity Melbourne
relation located on terrain feature
type competition
[{'concept': 'competition'}, 'located on terrain feature', 'Melbourne']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:competition . ?s property:located_on_terrain_feature resource:Melbourne }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q3141
P190
Q56061 Q515
USER
How many administrative territories and cities are twin cities of Melbourne ?
(Q3141,P190,c(Q56061)) (Q3141,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q3141
relation P190
type Q56061
action filter_type
action find
entity Q3141
relation P190
type Q515
['Q3141', 'P190', {'concept': 'Q56061'}] ['Q3141', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { resource:Q3141 property:P190 ?o . ?o rdf:type ontology:Q56061 } UNION { resource:Q3141 property:P190 ?o . ?o rdf:type ontology:Q515 } }
Melbourne
action count
action union
action filter_type
action find
entity Melbourne
relation sister city
type administrative territorial entity
action filter_type
action find
entity Melbourne
relation sister city
type city
['Melbourne', 'sister city', {'concept': 'administrative territorial entity'}] ['Melbourne', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { resource:Melbourne property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity } UNION { resource:Melbourne property:sister_city ?o . ?o rdf:type ontology:city } }
[]
administrative territorial entity city
SYSTEM
3 administrative territories and 1 cities
Q490 Q100 Q17151 Q11736
(Q3141,P190,c(Q56061)) (Q3141,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q3141
relation P190
type Q56061
action filter_type
action find
entity Q3141
relation P190
type Q515
[ANSWER]
['Q3141', 'P190', {'concept': 'Q56061'}] ['Q3141', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { resource:Q3141 property:P190 ?o . ?o rdf:type ontology:Q56061 } UNION { resource:Q3141 property:P190 ?o . ?o rdf:type ontology:Q515 } }
Milan Boston Thessaloniki Tianjin
3 administrative territories and 1 cities
action count
action union
action filter_type
action find
entity Melbourne
relation sister city
type administrative territorial entity
action filter_type
action find
entity Melbourne
relation sister city
type city
['Melbourne', 'sister city', {'concept': 'administrative territorial entity'}] ['Melbourne', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?f ) WHERE { { resource:Melbourne property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity } UNION { resource:Melbourne property:sister_city ?o . ?o rdf:type ontology:city } }
[]