Simple Question (Direct)
Simple Question
Q7364073
P19
Q852446
USER
Which US administrative territory was Ron Levy born in ?
(Q7364073,P19,c(Q852446))
action filter_type
action find
entity Q7364073
relation P19
type Q852446
['Q7364073', 'P19', {'concept': 'Q852446'}]
SELECT DISTINCT ?v WHERE { resource:Q7364073 property:P19 ?v . ?v rdf:type ontology:Q852446 }
Ron Levy
action filter_type
action find
entity Ron Levy
relation place of birth
type administrative territorial entity of the United States
['Ron Levy', 'place of birth', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?v WHERE { resource:Ron_Levy property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q49142
SYSTEM
Brookline
Q49142
(Q7364073,P19,c(Q852446))
action filter_type
action find
entity Q7364073
relation P19
type Q852446
Which US administrative territory was Ron Levy born in
['Q7364073', 'P19', {'concept': 'Q852446'}]
SELECT DISTINCT ?v WHERE { resource:Q7364073 property:P19 ?v . ?v rdf:type ontology:Q852446 }
Brookline
Which US administrative territory was Ron Levy born in
Brookline
action filter_type
action find
entity Ron Levy
relation place of birth
type administrative territorial entity of the United States
['Ron Levy', 'place of birth', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?v WHERE { resource:Ron_Levy property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7364073
P21
Q290
USER
Which sex does that person belong to ?
(Q49142,P21,c(Q290))
action filter_type
action find
entity Q7364073
relation P21
type Q290
['Q49142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q7364073 property:P21 ?d . ?d rdf:type ontology:Q290 }
Ron Levy
action filter_type
action find
entity Ron Levy
relation gender
type sex
['Brookline', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Ron_Levy property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q49142,P21,c(Q290))
action filter_type
action find
entity Q7364073
relation P21
type Q290
That person belongs to [ANSWER]
['Q49142', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q7364073 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Ron Levy
relation gender
type sex
['Brookline', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Ron_Levy property:gender ?d . ?d rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20046003
P27
Q15617994
USER
Which administrative territory does Manuel Ortins de Bettencourt belong to ?
(Q20046003,P27,c(Q15617994))
action filter_type
action find
entity Q20046003
relation P27
type Q15617994
['Q20046003', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q20046003 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Manuel Ortins de Bettencourt
action filter_type
action find
entity Manuel Ortins de Bettencourt
relation country of citizenship
type designation for an administrative territorial entity
['Manuel Ortins de Bettencourt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Manuel_Ortins_de_Bettencourt property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45
SYSTEM
Portugal
Q45
(Q20046003,P27,c(Q15617994))
action filter_type
action find
entity Q20046003
relation P27
type Q15617994
Manuel Ortins de Bettencourt belongs to [ANSWER]
['Q20046003', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q20046003 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Portugal
Manuel Ortins de Bettencourt belongs to Portugal
Portugal
action filter_type
action find
entity Manuel Ortins de Bettencourt
relation country of citizenship
type designation for an administrative territorial entity
['Manuel Ortins de Bettencourt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Manuel_Ortins_de_Bettencourt property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q45 Q408 Q183
P530
Q1048835
USER
Does Portugal have diplomatic relations with Australia and Germany ?
(Q45,P530,Q408) (Q45,P530,Q183)
action is_in
entity Q45
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q183
relation P530
['Q45', 'P530', 'Q408'] ['Q45', 'P530', 'Q183']
ASK WHERE { resource:Q45 property:P530 resource:Q183 . resource:Q45 property:P530 resource:Q408 }
Portugal Australia Germany
action is_in
entity Portugal
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Portugal', 'diplomatic relation', 'Australia'] ['Portugal', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Portugal property:diplomatic_relation resource:Germany . resource:Portugal property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
YES
(Q45,P530,Q408) (Q45,P530,Q183)
action is_in
entity Q45
action intersection
action find_reverse
entity Q408
relation P530
action find_reverse
entity Q183
relation P530
[ANSWER]
['Q45', 'P530', 'Q408'] ['Q45', 'P530', 'Q183']
ASK WHERE { resource:Q45 property:P530 resource:Q183 . resource:Q45 property:P530 resource:Q408 }
Yes
action is_in
entity Portugal
action intersection
action find_reverse
entity Australia
relation diplomatic relation
action find_reverse
entity Germany
relation diplomatic relation
['Portugal', 'diplomatic relation', 'Australia'] ['Portugal', 'diplomatic relation', 'Germany']
ASK WHERE { resource:Portugal property:diplomatic_relation resource:Germany . resource:Portugal property:diplomatic_relation resource:Australia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q45
P1001
Q1292279
USER
Which political borders have jurisdiction over that administrative territory ?
action filter_type
action find_reverse
entity Q45
relation P1001
type Q1292279
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1292279 . ?o property:P1001 resource:Q45 }
Portugal
action filter_type
action find_reverse
entity Portugal
relation applies to jurisdiction
type political border
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_border . ?o property:applies_to_jurisdiction resource:Portugal }
[]
political border
Q2699571 Q17351813
SYSTEM
Portugal–Spain border, Morocco–Portugal border
Q2699571 Q17351813
action filter_type
action find_reverse
entity Q45
relation P1001
type Q1292279
[ANSWERS] have jurisdiction over that administrative territory
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1292279 . ?o property:P1001 resource:Q45 }
Portugal–Spain border Morocco–Portugal border
Portugal–Spain border and Morocco–Portugal border have jurisdiction over that administrative territory
Portugal–Spain border Morocco–Portugal border
action filter_type
action find_reverse
entity Portugal
relation applies to jurisdiction
type political border
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_border . ?o property:applies_to_jurisdiction resource:Portugal }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2699571 Q840828
P17
Q15617994
USER
How many administrative territories do Portugal–Spain border and Variscan orogeny belong to ?
(Q2699571,P17,c(Q15617994)) (Q840828,P17,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q2699571
relation P17
type Q15617994
action filter_type
action find
entity Q840828
relation P17
type Q15617994
['Q2699571', 'P17', {'concept': 'Q15617994'}] ['Q840828', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q2699571 property:P17 ?k . ?k rdf:type ontology:Q15617994 . resource:Q840828 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Portugal–Spain border Variscan orogeny
action count
action intersection
action filter_type
action find
entity Portugal–Spain border
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Variscan orogeny
relation country
type designation for an administrative territorial entity
['Portugal–Spain border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Variscan orogeny', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Portugal–Spain_border property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Variscan_orogeny property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q29 Q45
(Q2699571,P17,c(Q15617994)) (Q840828,P17,c(Q15617994))
action count
action intersection
action filter_type
action find
entity Q2699571
relation P17
type Q15617994
action filter_type
action find
entity Q840828
relation P17
type Q15617994
[ANSWER]
['Q2699571', 'P17', {'concept': 'Q15617994'}] ['Q840828', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q2699571 property:P17 ?k . ?k rdf:type ontology:Q15617994 . resource:Q840828 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Spain Portugal
2
action count
action intersection
action filter_type
action find
entity Portugal–Spain border
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Variscan orogeny
relation country
type designation for an administrative territorial entity
['Portugal–Spain border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Variscan orogeny', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Portugal–Spain_border property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Variscan_orogeny property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45
P127
Q44539
USER
Which temple is under posessision of Portugal ?
(c(Q44539),P127,Q45)
action filter_type
action find_reverse
entity Q45
relation P127
type Q44539
[{'concept': 'Q44539'}, 'P127', 'Q45']
SELECT DISTINCT ?y WHERE { ?y property:P127 resource:Q45 . ?y rdf:type ontology:Q44539 }
Portugal
action filter_type
action find_reverse
entity Portugal
relation owned by
type temple
[{'concept': 'temple'}, 'owned by', 'Portugal']
SELECT DISTINCT ?y WHERE { ?y property:owned_by resource:Portugal . ?y rdf:type ontology:temple }
[]
temple
Q5117148
SYSTEM
Church of Santa Catarina
Q5117148
(c(Q44539),P127,Q45)
action filter_type
action find_reverse
entity Q45
relation P127
type Q44539
[ANSWER] is under posessision of Portugal
[{'concept': 'Q44539'}, 'P127', 'Q45']
SELECT DISTINCT ?y WHERE { ?y property:P127 resource:Q45 . ?y rdf:type ontology:Q44539 }
Church of Santa Catarina
Church of Santa Catarina is under posessision of Portugal
Church of Santa Catarina
action filter_type
action find_reverse
entity Portugal
relation owned by
type temple
[{'concept': 'temple'}, 'owned by', 'Portugal']
SELECT DISTINCT ?y WHERE { ?y property:owned_by resource:Portugal . ?y rdf:type ontology:temple }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q45
P840
Q2342494
USER
Which collectable has a setting location of that administrative territory ?
(c(Q2342494),P840,Q5117148)
action filter_type
action find_reverse
entity Q45
relation P840
type Q2342494
[{'concept': 'Q2342494'}, 'P840', 'Q5117148']
SELECT DISTINCT ?y WHERE { ?y property:P840 resource:Q45 . ?y rdf:type ontology:Q2342494 }
Portugal
action filter_type
action find_reverse
entity Portugal
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Church of Santa Catarina']
SELECT DISTINCT ?y WHERE { ?y property:narrative_location resource:Portugal . ?y rdf:type ontology:collectable }
[]
collectable
Q215894
SYSTEM
Candide
Q215894
(c(Q2342494),P840,Q5117148)
action filter_type
action find_reverse
entity Q45
relation P840
type Q2342494
[ANSWER] has a setting location of that administrative territory
[{'concept': 'Q2342494'}, 'P840', 'Q5117148']
SELECT DISTINCT ?y WHERE { ?y property:P840 resource:Q45 . ?y rdf:type ontology:Q2342494 }
Candide
Candide has a setting location of that administrative territory
Candide
action filter_type
action find_reverse
entity Portugal
relation narrative location
type collectable
[{'concept': 'collectable'}, 'narrative location', 'Church of Santa Catarina']
SELECT DISTINCT ?y WHERE { ?y property:narrative_location resource:Portugal . ?y rdf:type ontology:collectable }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P840
Q15617994
USER
How many administrative territories are that collectable set in ?
(Q215894,P840,c(Q15617994))
action count
action filter_type
action find
entity Q215894
relation P840
type Q15617994
['Q215894', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Q215894 property:P840 ?k . ?k rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Candide
relation narrative location
type designation for an administrative territorial entity
['Candide', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Candide property:narrative_location ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
Q45 Q155 Q733
(Q215894,P840,c(Q15617994))
action count
action filter_type
action find
entity Q215894
relation P840
type Q15617994
[ANSWER]
['Q215894', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Q215894 property:P840 ?k . ?k rdf:type ontology:Q15617994 }
Portugal Brazil Paraguay
3
action count
action filter_type
action find
entity Candide
relation narrative location
type designation for an administrative territorial entity
['Candide', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { resource:Candide property:narrative_location ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1649822 Q49142
P17
Q15617994
USER
Which administrative territories are Brookline or Jumirim situated in ?
OR((Q49142,P17,c(Q15617994)), (Q1649822,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q49142
relation P17
action find
entity Q1649822
relation P17
type Q15617994
{'OR': [['Q49142', 'P17', {'concept': 'Q15617994'}], ['Q1649822', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { VALUES ( ?d ) { ( resource:Q1649822 ) ( resource:Q49142 ) } . ?d property:P17 ?e } }
Jumirim Brookline
action filter_type
action union
action find
entity Brookline
relation country
action find
entity Jumirim
relation country
type designation for an administrative territorial entity
{'OR': [['Brookline', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jumirim', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?d ) { ( resource:Jumirim ) ( resource:Brookline ) } . ?d property:country ?e } }
[]
designation for an administrative territorial entity
Q155 Q30
SYSTEM
Brazil, United States of America
Q155 Q30
OR((Q49142,P17,c(Q15617994)), (Q1649822,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q49142
relation P17
action find
entity Q1649822
relation P17
type Q15617994
Brookline or Jumirim are situated in [ANSWERS]
{'OR': [['Q49142', 'P17', {'concept': 'Q15617994'}], ['Q1649822', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { VALUES ( ?d ) { ( resource:Q1649822 ) ( resource:Q49142 ) } . ?d property:P17 ?e } }
Brazil United States of America
Brookline or Jumirim are situated in Brazil and United States of America
Brazil United States of America
action filter_type
action union
action find
entity Brookline
relation country
action find
entity Jumirim
relation country
type designation for an administrative territorial entity
{'OR': [['Brookline', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jumirim', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { VALUES ( ?d ) { ( resource:Jumirim ) ( resource:Brookline ) } . ?d property:country ?e } }
[]