Simple Question (Direct)
Simple Question
Q4678772
P106
Q12737077
USER
What does Adam Braidwood do for a living ?
(Q4678772,P106,c(Q12737077))
action filter_type
action find
entity Q4678772
relation P106
type Q12737077
['Q4678772', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q4678772 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Adam Braidwood
action filter_type
action find
entity Adam Braidwood
relation occupation
type occupation
['Adam Braidwood', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Adam_Braidwood property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q11607585
SYSTEM
mixed martial artist
Q11607585
(Q4678772,P106,c(Q12737077))
action filter_type
action find
entity Q4678772
relation P106
type Q12737077
Adam Braidwood does for a living as [ANSWER]
['Q4678772', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q4678772 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
mixed martial artist
Adam Braidwood does for a living as mixed martial artist
mixed martial artist
action filter_type
action find
entity Adam Braidwood
relation occupation
type occupation
['Adam Braidwood', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Adam_Braidwood property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11607585
P425
Q349
USER
Which sport is associated with the field of occupation that one ?
(Q11607585,P425,c(Q349))
action filter_type
action find
entity Q11607585
relation P425
type Q349
['Q11607585', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q11607585 property:P425 ?y . ?y rdf:type ontology:Q349 }
mixed martial artist
action filter_type
action find
entity mixed martial artist
relation field of this occupation
type sport
['mixed martial artist', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:mixed_martial_artist property:field_of_this_occupation ?y . ?y rdf:type ontology:sport }
[]
sport
Q114466
SYSTEM
mixed martial arts
Q114466
(Q11607585,P425,c(Q349))
action filter_type
action find
entity Q11607585
relation P425
type Q349
Arts [ANSWER] is associated with the field of occupation that one
['Q11607585', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q11607585 property:P425 ?y . ?y rdf:type ontology:Q349 }
mixed martial arts
Arts mixed martial arts is associated with the field of occupation that one
mixed martial arts
action filter_type
action find
entity mixed martial artist
relation field of this occupation
type sport
['mixed martial artist', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:mixed_martial_artist property:field_of_this_occupation ?y . ?y rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q114466 Q15987784
P641
Q502895
USER
Is Julianna Peña involved in playing that sport ?
(Q15987784,P641,Q114466)
action is_in
entity Q114466
action find
entity Q15987784
relation P641
['Q15987784', 'P641', 'Q114466']
ASK WHERE { resource:Q15987784 property:P641 resource:Q114466 }
mixed martial arts Julianna Peña
action is_in
entity mixed martial arts
action find
entity Julianna Peña
relation sport
['Julianna Peña', 'sport', 'mixed martial arts']
ASK WHERE { resource:Julianna_Peña property:sport resource:mixed_martial_arts }
[]
common name
SYSTEM
YES
(Q15987784,P641,Q114466)
action is_in
entity Q114466
action find
entity Q15987784
relation P641
[ANSWER]
['Q15987784', 'P641', 'Q114466']
ASK WHERE { resource:Q15987784 property:P641 resource:Q114466 }
Yes
action is_in
entity mixed martial arts
action find
entity Julianna Peña
relation sport
['Julianna Peña', 'sport', 'mixed martial arts']
ASK WHERE { resource:Julianna_Peña property:sport resource:mixed_martial_arts }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4678772 Q16
P27
Q1048835
USER
Does Adam Braidwood belong to Canada ?
(Q4678772,P27,Q16)
action is_in
entity Q16
action find
entity Q4678772
relation P27
['Q4678772', 'P27', 'Q16']
ASK WHERE { resource:Q4678772 property:P27 resource:Q16 }
Adam Braidwood Canada
action is_in
entity Canada
action find
entity Adam Braidwood
relation country of citizenship
['Adam Braidwood', 'country of citizenship', 'Canada']
ASK WHERE { resource:Adam_Braidwood property:country_of_citizenship resource:Canada }
[]
political territorial entity
SYSTEM
YES
(Q4678772,P27,Q16)
action is_in
entity Q16
action find
entity Q4678772
relation P27
[ANSWER]
['Q4678772', 'P27', 'Q16']
ASK WHERE { resource:Q4678772 property:P27 resource:Q16 }
Yes
action is_in
entity Canada
action find
entity Adam Braidwood
relation country of citizenship
['Adam Braidwood', 'country of citizenship', 'Canada']
ASK WHERE { resource:Adam_Braidwood property:country_of_citizenship resource:Canada }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4678772
P19
Q56061
USER
Which administrative territory was Adam Braidwood born in ?
(Q4678772,P19,c(Q56061))
action filter_type
action find
entity Q4678772
relation P19
type Q56061
['Q4678772', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q4678772 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Adam Braidwood
action filter_type
action find
entity Adam Braidwood
relation place of birth
type administrative territorial entity
['Adam Braidwood', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Adam_Braidwood property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q851838
SYSTEM
Delta, British Columbia
Q851838
(Q4678772,P19,c(Q56061))
action filter_type
action find
entity Q4678772
relation P19
type Q56061
Adam Braidwood was born in [ANSWER]
['Q4678772', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q4678772 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Delta, British Columbia
Adam Braidwood was born in Delta, British Columbia
Delta, British Columbia
action filter_type
action find
entity Adam Braidwood
relation place of birth
type administrative territorial entity
['Adam Braidwood', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Adam_Braidwood property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20745360
Q56061
USER
And how about Anggie Avegno?
(Q20745360,P19,c(Q56061))
action filter_type
action find
entity Q20745360
relation P19
type Q56061
['Q20745360', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q20745360 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Anggie Avegno
action filter_type
action find
entity Anggie Avegno
relation place of birth
type administrative territorial entity
['Anggie Avegno', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Anggie_Avegno property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q43509
SYSTEM
Guayaquil
Q43509
(Q20745360,P19,c(Q56061))
action filter_type
action find
entity Q20745360
relation P19
type Q56061
[ANSWER]
['Q20745360', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q20745360 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Guayaquil
Guayaquil
action filter_type
action find
entity Anggie Avegno
relation place of birth
type administrative territorial entity
['Anggie Avegno', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Anggie_Avegno property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q56061 Q13220204
USER
How many administrative territories or administrative country subdivisions are sister towns of that administrative territory ?
(Q43509,P190,c(Q56061)) (Q43509,P190,c(Q13220204)) (Q43509,P190,c(Q56061)) (Q43509,P190,c(Q13220204))
action count
action union
action filter_type
action find
entity Q43509
relation P190
type Q56061
action filter_type
action find
entity Q43509
relation P190
type Q13220204
['Q43509', 'P190', {'concept': 'Q56061'}] ['Q43509', 'P190', {'concept': 'Q13220204'}] ['Q43509', 'P190', {'concept': 'Q56061'}] ['Q43509', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { resource:Q43509 property:P190 ?k . ?k rdf:type ontology:Q56061 } UNION { resource:Q43509 property:P190 ?k . ?k rdf:type ontology:Q13220204 } }
action count
action union
action filter_type
action find
entity Guayaquil
relation sister city
type administrative territorial entity
action filter_type
action find
entity Guayaquil
relation sister city
type second-level administrative country subdivision
['Guayaquil', 'sister city', {'concept': 'administrative territorial entity'}] ['Guayaquil', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Guayaquil', 'sister city', {'concept': 'administrative territorial entity'}] ['Guayaquil', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { resource:Guayaquil property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity } UNION { resource:Guayaquil property:sister_city ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision } }
[]
administrative territorial entity second-level administrative country subdivision
SYSTEM
7
Q41621 Q8686 Q62823 Q56069 Q51103 Q16555 Q1026270
(Q43509,P190,c(Q56061)) (Q43509,P190,c(Q13220204)) (Q43509,P190,c(Q56061)) (Q43509,P190,c(Q13220204))
action count
action union
action filter_type
action find
entity Q43509
relation P190
type Q56061
action filter_type
action find
entity Q43509
relation P190
type Q13220204
[ANSWER]
['Q43509', 'P190', {'concept': 'Q56061'}] ['Q43509', 'P190', {'concept': 'Q13220204'}] ['Q43509', 'P190', {'concept': 'Q56061'}] ['Q43509', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { resource:Q43509 property:P190 ?k . ?k rdf:type ontology:Q56061 } UNION { resource:Q43509 property:P190 ?k . ?k rdf:type ontology:Q13220204 } }
Haifa Shanghai Barranquilla Punta del Este Cali Houston Paita
7
action count
action union
action filter_type
action find
entity Guayaquil
relation sister city
type administrative territorial entity
action filter_type
action find
entity Guayaquil
relation sister city
type second-level administrative country subdivision
['Guayaquil', 'sister city', {'concept': 'administrative territorial entity'}] ['Guayaquil', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Guayaquil', 'sister city', {'concept': 'administrative territorial entity'}] ['Guayaquil', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { resource:Guayaquil property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity } UNION { resource:Guayaquil property:sister_city ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2159571 Q16
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Canada or are the native countriesof Samantha ?
OR((Q16,P530,c(Q15617994)), (Q2159571,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16
relation P530
action find
entity Q2159571
relation P27
type Q15617994
{'OR': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q2159571', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q16 property:P530 ?n } UNION { resource:Q2159571 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Samantha Canada
action filter_type
action union
action find
entity Canada
relation diplomatic relation
action find
entity Samantha
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Samantha', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Canada property:diplomatic_relation ?n } UNION { resource:Samantha property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q43 Q833 Q31 Q218 Q878 Q928 Q1029 Q884 Q159 Q38
SYSTEM
Some of them are Turkey, Malaysia, Belgium, Romania, United Arab Emirates, Philippines, Mozambique, South Korea, Russia, Italy
Q804 Q801 Q843 Q1029 Q1028 Q145 Q229 Q33 Q31 Q30 Q36 Q79 Q34 Q928 Q39 Q38 Q878 Q739 Q833 Q711 Q1030 Q851 Q29999 Q77 Q115 Q258 Q212 Q159 Q43 Q155 Q218 Q20 Q423 Q252 Q884
OR((Q16,P530,c(Q15617994)), (Q2159571,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16
relation P530
action find
entity Q2159571
relation P27
type Q15617994
[ANSWERS] have diplomatic relationships with Canada or are the native countriesof Samantha
{'OR': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q2159571', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q16 property:P530 ?n } UNION { resource:Q2159571 property:P27 ?n } } . ?n rdf:type ontology:Q15617994 }
Panama Israel Pakistan Mozambique Morocco United Kingdom Cyprus Finland Belgium United States of America Poland Egypt Sweden Philippines Switzerland Italy United Arab Emirates Colombia Malaysia Mongolia Namibia Saudi Arabia Kingdom of the Netherlands Uruguay Ethiopia South Africa Ukraine Russia Turkey Brazil Romania Norway North Korea Indonesia South Korea
Turkey, Malaysia, Belgium, Romania, United Arab Emirates, Philippines, Mozambique, South Korea, Russia and Italy have diplomatic relationships with Canada or are the native countriesof Samantha
Turkey Malaysia Belgium Romania United Arab Emirates Philippines Mozambique South Korea Russia Italy
action filter_type
action union
action find
entity Canada
relation diplomatic relation
action find
entity Samantha
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Samantha', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Canada property:diplomatic_relation ?n } UNION { resource:Samantha property:country_of_citizenship ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]