Simple Question (Direct)
Simple Question
Q4821297
P19
Q56061
USER
Which administrative territory was Augusto Mainguyague born at ?
(Q4821297,P19,c(Q56061))
action filter_type
action find
entity Q4821297
relation P19
type Q56061
['Q4821297', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q4821297 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Augusto Mainguyague
action filter_type
action find
entity Augusto Mainguyague
relation place of birth
type administrative territorial entity
['Augusto Mainguyague', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Augusto_Mainguyague property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2520086
SYSTEM
Laboulaye
Q2520086
(Q4821297,P19,c(Q56061))
action filter_type
action find
entity Q4821297
relation P19
type Q56061
Augusto Mainguyague was born in [ANSWER]
['Q4821297', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q4821297 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Laboulaye
Augusto Mainguyague was born in Laboulaye
Laboulaye
action filter_type
action find
entity Augusto Mainguyague
relation place of birth
type administrative territorial entity
['Augusto Mainguyague', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Augusto_Mainguyague property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4821297
P21
Q290
USER
What is the sex of Augusto Mainguyague ?
(Q4821297,P21,c(Q290))
action filter_type
action find
entity Q4821297
relation P21
type Q290
['Q4821297', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q4821297 property:P21 ?m . ?m rdf:type ontology:Q290 }
Augusto Mainguyague
action filter_type
action find
entity Augusto Mainguyague
relation gender
type sex
['Augusto Mainguyague', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Augusto_Mainguyague property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4821297,P21,c(Q290))
action filter_type
action find
entity Q4821297
relation P21
type Q290
The sex of Augusto Mainguyague is the [ANSWER]
['Q4821297', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q4821297 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Augusto Mainguyague is the male
male
action filter_type
action find
entity Augusto Mainguyague
relation gender
type sex
['Augusto Mainguyague', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Augusto_Mainguyague property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4821297
P27
Q15617994
USER
Which administrative territory is Augusto Mainguyague an inhabitant of ?
(Q4821297,P27,c(Q15617994))
action filter_type
action find
entity Q4821297
relation P27
type Q15617994
['Q4821297', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q4821297 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Augusto Mainguyague
action filter_type
action find
entity Augusto Mainguyague
relation country of citizenship
type designation for an administrative territorial entity
['Augusto Mainguyague', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Augusto_Mainguyague property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q4821297,P27,c(Q15617994))
action filter_type
action find
entity Q4821297
relation P27
type Q15617994
[ANSWER] is Augusto Mainguyague an inhabitant of
['Q4821297', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q4821297 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Argentina
Argentina is Augusto Mainguyague an inhabitant of
Argentina
action filter_type
action find
entity Augusto Mainguyague
relation country of citizenship
type designation for an administrative territorial entity
['Augusto Mainguyague', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Augusto_Mainguyague property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5407478
Q15617994
USER
And how about Eugene M. Travis?
(Q5407478,P27,c(Q15617994))
action filter_type
action find
entity Q5407478
relation P27
type Q15617994
['Q5407478', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5407478 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Eugene M. Travis
action filter_type
action find
entity Eugene M. Travis
relation country of citizenship
type designation for an administrative territorial entity
['Eugene M. Travis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Eugene_M._Travis property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5407478,P27,c(Q15617994))
action filter_type
action find
entity Q5407478
relation P27
type Q15617994
[ANSWER]
['Q5407478', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5407478 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Eugene M. Travis
relation country of citizenship
type designation for an administrative territorial entity
['Eugene M. Travis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Eugene_M._Travis property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the countries of origin of approximately the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q30
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P495 ?n . ?n rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2031291 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q30 property:P495 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?p = ?f ) }
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity United States of America
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:release } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:United_States_of_America property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p = ?f ) }
[]
designation for an administrative territorial entity release
SYSTEM
1
Q30
(c(Q2031291),P495,c(Q15617994))
action count
action approx
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q30
relation P495
type Q15617994
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:P495 ?n . ?n rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q2031291 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q30 property:P495 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?p = ?f ) }
United States of America
1
action count
action approx
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity United States of America
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?p ) WHERE { ?t property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:release } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:United_States_of_America property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p = ?f ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7182534 Q5407478
P119
Q43229
USER
Which organizations are the tombs of Eugene M. Travis or Phil Weintraub ?
OR((Q5407478,P119,c(Q43229)), (Q7182534,P119,c(Q43229)))
action filter_type
action union
action find
entity Q5407478
relation P119
action find
entity Q7182534
relation P119
type Q43229
{'OR': [['Q5407478', 'P119', {'concept': 'Q43229'}], ['Q7182534', 'P119', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q5407478 property:P119 ?s } UNION { resource:Q7182534 property:P119 ?s } } . ?s rdf:type ontology:Q43229 }
Phil Weintraub Eugene M. Travis
action filter_type
action union
action find
entity Eugene M. Travis
relation place of burial
action find
entity Phil Weintraub
relation place of burial
type organization
{'OR': [['Eugene M. Travis', 'place of burial', {'concept': 'organization'}], ['Phil Weintraub', 'place of burial', {'concept': 'organization'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Eugene_M._Travis property:place_of_burial ?s } UNION { resource:Phil_Weintraub property:place_of_burial ?s } } . ?s rdf:type ontology:organization }
[]
organization
Q2357024 Q239043
SYSTEM
Desert Memorial Park, Green-Wood Cemetery
Q2357024 Q239043
OR((Q5407478,P119,c(Q43229)), (Q7182534,P119,c(Q43229)))
action filter_type
action union
action find
entity Q5407478
relation P119
action find
entity Q7182534
relation P119
type Q43229
Cemetery [ANSWERS] are the tombs of Eugene M. Travis or Phil Weintraub
{'OR': [['Q5407478', 'P119', {'concept': 'Q43229'}], ['Q7182534', 'P119', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q5407478 property:P119 ?s } UNION { resource:Q7182534 property:P119 ?s } } . ?s rdf:type ontology:Q43229 }
Desert Memorial Park Green-Wood Cemetery
Cemetery Desert Memorial Park and Green-Wood Cemetery are the tombs of Eugene M. Travis or Phil Weintraub
Desert Memorial Park Green-Wood Cemetery
action filter_type
action union
action find
entity Eugene M. Travis
relation place of burial
action find
entity Phil Weintraub
relation place of burial
type organization
{'OR': [['Eugene M. Travis', 'place of burial', {'concept': 'organization'}], ['Phil Weintraub', 'place of burial', {'concept': 'organization'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Eugene_M._Travis property:place_of_burial ?s } UNION { resource:Phil_Weintraub property:place_of_burial ?s } } . ?s rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q38 Q414
P530 P47
Q15617994
USER
Which administrative territories have a shared border with Argentina and have diplomatic relationships with Italy ?
AND((Q414,P47,c(Q15617994)), (Q38,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q414
relation P47
action find
entity Q38
relation P530
type Q15617994
{'AND': [['Q414', 'P47', {'concept': 'Q15617994'}], ['Q38', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q414 property:P47 ?j . resource:Q38 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
Italy Argentina
action filter_type
action intersection
action find
entity Argentina
relation shares border with
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Argentina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Argentina property:shares_border_with ?j . resource:Italy property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q77 Q155 Q733 Q298
SYSTEM
Uruguay, Brazil, Paraguay, Chile
Q77 Q155 Q733 Q298
AND((Q414,P47,c(Q15617994)), (Q38,P530,c(Q15617994)))
action filter_type
action intersection
action find
entity Q414
relation P47
action find
entity Q38
relation P530
type Q15617994
[ANSWERS] have a shared border with Argentina and have diplomatic relationships with Italy
{'AND': [['Q414', 'P47', {'concept': 'Q15617994'}], ['Q38', 'P530', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q414 property:P47 ?j . resource:Q38 property:P530 ?j . ?j rdf:type ontology:Q15617994 }
Uruguay Brazil Paraguay Chile
Uruguay, Brazil, Paraguay and Chile have a shared border with Argentina and have diplomatic relationships with Italy
Uruguay Brazil Paraguay Chile
action filter_type
action intersection
action find
entity Argentina
relation shares border with
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
{'AND': [['Argentina', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Argentina property:shares_border_with ?j . resource:Italy property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]