Simple Question (Direct)
Simple Question
Q16337923
P106
Q12737077
USER
What does Mauricio Azevedo Alves do for a living ?
(Q16337923,P106,c(Q12737077))
action filter_type
action find
entity Q16337923
relation P106
type Q12737077
['Q16337923', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q16337923 property:P106 ?m }
Mauricio Azevedo Alves
action filter_type
action find
entity Mauricio Azevedo Alves
relation occupation
type occupation
['Mauricio Azevedo Alves', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Mauricio_Azevedo_Alves property:occupation ?m }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16337923,P106,c(Q12737077))
action filter_type
action find
entity Q16337923
relation P106
type Q12737077
[ANSWER] Mauricio Azevedo Alves does for a living
['Q16337923', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q16337923 property:P106 ?m }
association football player
Association football player Mauricio Azevedo Alves does for a living
association football player
action filter_type
action find
entity Mauricio Azevedo Alves
relation occupation
type occupation
['Mauricio Azevedo Alves', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Mauricio_Azevedo_Alves property:occupation ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16337923
P19
Q1048835
USER
Which political territory was that person born in ?
(Q937857,P19,c(Q1048835))
action filter_type
action find
entity Q16337923
relation P19
type Q1048835
['Q937857', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q16337923 property:P19 ?d . ?d rdf:type ontology:Q1048835 }
Mauricio Azevedo Alves
action filter_type
action find
entity Mauricio Azevedo Alves
relation place of birth
type political territorial entity
['association football player', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Mauricio_Azevedo_Alves property:place_of_birth ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1787668
SYSTEM
Rio das Ostras
Q1787668
(Q937857,P19,c(Q1048835))
action filter_type
action find
entity Q16337923
relation P19
type Q1048835
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q16337923 property:P19 ?d . ?d rdf:type ontology:Q1048835 }
Rio das Ostras
That person was born in Rio das Ostras
Rio das Ostras
action filter_type
action find
entity Mauricio Azevedo Alves
relation place of birth
type political territorial entity
['association football player', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Mauricio_Azevedo_Alves property:place_of_birth ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1787668
P17
Q15617994
USER
Which administrative territory is that political territory present in ?
(Q1787668,P17,c(Q15617994))
action filter_type
action find
entity Q1787668
relation P17
type Q15617994
['Q1787668', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q1787668 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Rio das Ostras
action filter_type
action find
entity Rio das Ostras
relation country
type designation for an administrative territorial entity
['Rio das Ostras', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Rio_das_Ostras property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q1787668,P17,c(Q15617994))
action filter_type
action find
entity Q1787668
relation P17
type Q15617994
That political territory is in [ANSWER]
['Q1787668', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q1787668 property:P17 ?p . ?p rdf:type ontology:Q15617994 }
Brazil
That political territory is in Brazil
Brazil
action filter_type
action find
entity Rio das Ostras
relation country
type designation for an administrative territorial entity
['Rio das Ostras', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Rio_das_Ostras property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q306174 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated field of occupation and were ÖFB Ladies Cup a part of ?
AND((Q937857,P425,c(Q349)), (Q306174,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q306174
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q306174', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?v WHERE { resource:Q937857 property:P425 ?v . resource:Q306174 property:P641 ?v . ?v rdf:type ontology:Q349 }
ÖFB Ladies Cup association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity ÖFB Ladies Cup
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['ÖFB Ladies Cup', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?v WHERE { resource:association_football_player property:field_of_this_occupation ?v . resource:ÖFB_Ladies_Cup property:sport ?v . ?v rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q306174,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q306174
relation P641
type Q349
The [ANSWER] have [ANSWER] player as the associated field of occupation and were ÖFB Ladies Cup a part of
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q306174', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?v WHERE { resource:Q937857 property:P425 ?v . resource:Q306174 property:P641 ?v . ?v rdf:type ontology:Q349 }
association football
The association football have association football player as the associated field of occupation and were ÖFB Ladies Cup a part of
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity ÖFB Ladies Cup
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['ÖFB Ladies Cup', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?v WHERE { resource:association_football_player property:field_of_this_occupation ?v . resource:ÖFB_Ladies_Cup property:sport ?v . ?v rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q21529452 Q16337923
P27
Q15617994
USER
Which administrative territories are the native countriesof Mauricio Azevedo Alves and Visconti Coaracy ?
AND((Q16337923,P27,c(Q15617994)), (Q21529452,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16337923
relation P27
action find
entity Q21529452
relation P27
type Q15617994
{'AND': [['Q16337923', 'P27', {'concept': 'Q15617994'}], ['Q21529452', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q21529452 property:P27 ?k . resource:Q16337923 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Visconti Coaracy Mauricio Azevedo Alves
action filter_type
action intersection
action find
entity Mauricio Azevedo Alves
relation country of citizenship
action find
entity Visconti Coaracy
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Mauricio Azevedo Alves', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Visconti Coaracy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Visconti_Coaracy property:country_of_citizenship ?k . resource:Mauricio_Azevedo_Alves property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
AND((Q16337923,P27,c(Q15617994)), (Q21529452,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16337923
relation P27
action find
entity Q21529452
relation P27
type Q15617994
[ANSWER] is the native countriesof Mauricio Azevedo Alves and Visconti Coaracy
{'AND': [['Q16337923', 'P27', {'concept': 'Q15617994'}], ['Q21529452', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q21529452 property:P27 ?k . resource:Q16337923 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Brazil
Brazil is the native countriesof Mauricio Azevedo Alves and Visconti Coaracy
Brazil
action filter_type
action intersection
action find
entity Mauricio Azevedo Alves
relation country of citizenship
action find
entity Visconti Coaracy
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Mauricio Azevedo Alves', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Visconti Coaracy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Visconti_Coaracy property:country_of_citizenship ?k . resource:Mauricio_Azevedo_Alves property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q155 Q1016
P530
Q15617994
USER
Does Libya have diplomatic relations with Brazil ?
(Q155,P530,Q1016)
action is_in
entity Q1016
action find
entity Q155
relation P530
['Q155', 'P530', 'Q1016']
ASK WHERE { resource:Q155 property:P530 resource:Q1016 }
Brazil Libya
action is_in
entity Libya
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Libya']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Libya }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q1016)
action is_in
entity Q1016
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q1016']
ASK WHERE { resource:Q155 property:P530 resource:Q1016 }
Yes
action is_in
entity Libya
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Libya']
ASK WHERE { resource:Brazil property:diplomatic_relation resource:Libya }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q792
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with around the same number of administrative territories as El Salvador ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q792
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { FILTER ( ?x = ?p ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Q792 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?x ) WHERE { ?g property:P530 ?k . ?g rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?g } }
El Salvador
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity El Salvador
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { FILTER ( ?x = ?p ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:El_Salvador property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?x ) WHERE { ?g property:diplomatic_relation ?k . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
147
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q792
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { FILTER ( ?x = ?p ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Q792 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?x ) WHERE { ?g property:P530 ?k . ?g rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?g } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
147
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity El Salvador
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { FILTER ( ?x = ?p ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:El_Salvador property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?x ) WHERE { ?g property:diplomatic_relation ?k . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16337923
P21
Q290
USER
Which sex does Mauricio Azevedo Alves belong to ?
(Q16337923,P21,c(Q290))
action filter_type
action find
entity Q16337923
relation P21
type Q290
['Q16337923', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q16337923 property:P21 ?a . ?a rdf:type ontology:Q290 }
Mauricio Azevedo Alves
action filter_type
action find
entity Mauricio Azevedo Alves
relation gender
type sex
['Mauricio Azevedo Alves', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Mauricio_Azevedo_Alves property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16337923,P21,c(Q290))
action filter_type
action find
entity Q16337923
relation P21
type Q290
Mauricio Azevedo Alves belongs to [ANSWER]
['Q16337923', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q16337923 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Mauricio Azevedo Alves belongs to male
male
action filter_type
action find
entity Mauricio Azevedo Alves
relation gender
type sex
['Mauricio Azevedo Alves', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Mauricio_Azevedo_Alves property:gender ?a . ?a rdf:type ontology:sex }
[]