Simple Question (Direct)
Simple Question
Q4712023
P21
Q290
USER
Which sex does Alberto Fernández possess ?
(Q4712023,P21,c(Q290))
action filter_type
action find
entity Q4712023
relation P21
type Q290
['Q4712023', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q4712023 property:P21 ?c . ?c rdf:type ontology:Q290 }
Alberto Fernández
action filter_type
action find
entity Alberto Fernández
relation gender
type sex
['Alberto Fernández', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Alberto_Fernández property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4712023,P21,c(Q290))
action filter_type
action find
entity Q4712023
relation P21
type Q290
Alberto Fernández possesses a [ANSWER]
['Q4712023', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q4712023 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Alberto Fernández possesses a male
male
action filter_type
action find
entity Alberto Fernández
relation gender
type sex
['Alberto Fernández', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Alberto_Fernández property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4712023
P1412
Q34770
USER
Which language can Alberto Fernández read ?
(Q4712023,P1412,c(Q34770))
action filter_type
action find
entity Q4712023
relation P1412
type Q34770
['Q4712023', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q4712023 property:P1412 ?h . ?h rdf:type ontology:Q34770 }
Alberto Fernández
action filter_type
action find
entity Alberto Fernández
relation languages spoken, written or signed
type language
['Alberto Fernández', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Alberto_Fernández property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q4712023,P1412,c(Q34770))
action filter_type
action find
entity Q4712023
relation P1412
type Q34770
Alberto Fernández can read in [ANSWER]
['Q4712023', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q4712023 property:P1412 ?h . ?h rdf:type ontology:Q34770 }
Spanish
Alberto Fernández can read in Spanish
Spanish
action filter_type
action find
entity Alberto Fernández
relation languages spoken, written or signed
type language
['Alberto Fernández', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Alberto_Fernández property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4712023
P27
Q15617994
USER
Which administrative territory is Alberto Fernández a civilian of ?
(Q4712023,P27,c(Q15617994))
action filter_type
action find
entity Q4712023
relation P27
type Q15617994
['Q4712023', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q4712023 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Alberto Fernández
action filter_type
action find
entity Alberto Fernández
relation country of citizenship
type designation for an administrative territorial entity
['Alberto Fernández', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Alberto_Fernández property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q4712023,P27,c(Q15617994))
action filter_type
action find
entity Q4712023
relation P27
type Q15617994
[ANSWER] is Alberto Fernández a civilian of
['Q4712023', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q4712023 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Spain
Spain is Alberto Fernández a civilian of
Spain
action filter_type
action find
entity Alberto Fernández
relation country of citizenship
type designation for an administrative territorial entity
['Alberto Fernández', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Alberto_Fernández property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4712023
P106
Q12737077
USER
What is the profession of that person ?
(Q29,P106,c(Q12737077))
action filter_type
action find
entity Q4712023
relation P106
type Q12737077
['Q29', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q4712023 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Alberto Fernández
action filter_type
action find
entity Alberto Fernández
relation occupation
type occupation
['Spain', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Alberto_Fernández property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q17486376
SYSTEM
sport shooter
Q17486376
(Q29,P106,c(Q12737077))
action filter_type
action find
entity Q4712023
relation P106
type Q12737077
The profession of that person is a [ANSWER]
['Q29', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q4712023 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
sport shooter
The profession of that person is a sport shooter
sport shooter
action filter_type
action find
entity Alberto Fernández
relation occupation
type occupation
['Spain', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Alberto_Fernández property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2078900 Q4712023
P106
Q12737077
USER
Or Peter Weber?
OR((Q4712023,P106,c(Q12737077)), (Q2078900,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4712023
relation P106
action find
entity Q2078900
relation P106
type Q12737077
{'OR': [['Q4712023', 'P106', {'concept': 'Q12737077'}], ['Q2078900', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q4712023 property:P106 ?l } UNION { resource:Q2078900 property:P106 ?l } } . ?l rdf:type ontology:Q12737077 }
Peter Weber Alberto Fernández
action filter_type
action union
action find
entity Alberto Fernández
relation occupation
action find
entity Peter Weber
relation occupation
type occupation
{'OR': [['Alberto Fernández', 'occupation', {'concept': 'occupation'}], ['Peter Weber', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Alberto_Fernández property:occupation ?l } UNION { resource:Peter_Weber property:occupation ?l } } . ?l rdf:type ontology:occupation }
[]
occupation
Q16849727 Q17486376 Q1622272
SYSTEM
business consultant, sport shooter, university teacher
Q16849727 Q17486376 Q1622272
OR((Q4712023,P106,c(Q12737077)), (Q2078900,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q4712023
relation P106
action find
entity Q2078900
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q4712023', 'P106', {'concept': 'Q12737077'}], ['Q2078900', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q4712023 property:P106 ?l } UNION { resource:Q2078900 property:P106 ?l } } . ?l rdf:type ontology:Q12737077 }
business consultant sport shooter university teacher
business consultant sport shooter university teacher
action filter_type
action union
action find
entity Alberto Fernández
relation occupation
action find
entity Peter Weber
relation occupation
type occupation
{'OR': [['Alberto Fernández', 'occupation', {'concept': 'occupation'}], ['Peter Weber', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Alberto_Fernández property:occupation ?l } UNION { resource:Peter_Weber property:occupation ?l } } . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17486376
P425
Q349
USER
Which sport is associated with the field of occupation sport shooter ?
(Q17486376,P425,c(Q349))
action filter_type
action find
entity Q17486376
relation P425
type Q349
['Q17486376', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q17486376 property:P425 ?r . ?r rdf:type ontology:Q349 }
sport shooter
action filter_type
action find
entity sport shooter
relation field of this occupation
type sport
['sport shooter', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:sport_shooter property:field_of_this_occupation ?r . ?r rdf:type ontology:sport }
[]
sport
Q206989
SYSTEM
shooting sport
Q206989
(Q17486376,P425,c(Q349))
action filter_type
action find
entity Q17486376
relation P425
type Q349
Sport [ANSWER] is associated with the field of occupation sport shooter
['Q17486376', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q17486376 property:P425 ?r . ?r rdf:type ontology:Q349 }
shooting sport
Sport shooting sport is associated with the field of occupation sport shooter
shooting sport
action filter_type
action find
entity sport shooter
relation field of this occupation
type sport
['sport shooter', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:sport_shooter property:field_of_this_occupation ?r . ?r rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2512117 Q4712023
P1344
Q2312410
USER
Which sport disciplines did Alberto Fernández or Lia Neal participate in ?
OR((Q4712023,P1344,c(Q2312410)), (Q2512117,P1344,c(Q2312410)))
action filter_type
action union
action find
entity Q4712023
relation P1344
action find
entity Q2512117
relation P1344
type Q2312410
{'OR': [['Q4712023', 'P1344', {'concept': 'Q2312410'}], ['Q2512117', 'P1344', {'concept': 'Q2312410'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2312410 . { VALUES ( ?j ) { ( resource:Q4712023 ) ( resource:Q2512117 ) } . ?j property:P1344 ?e } }
Lia Neal Alberto Fernández
action filter_type
action union
action find
entity Alberto Fernández
relation participant of
action find
entity Lia Neal
relation participant of
type sport discipline
{'OR': [['Alberto Fernández', 'participant of', {'concept': 'sport discipline'}], ['Lia Neal', 'participant of', {'concept': 'sport discipline'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport_discipline . { VALUES ( ?j ) { ( resource:Alberto_Fernández ) ( resource:Lia_Neal ) } . ?j property:participant_of ?e } }
[]
sport discipline
Q8022145 Q18020584
SYSTEM
swimming at the 2016 Summer Olympics, shooting at the 2016 Summer Olympics
Q8022145 Q18020584
OR((Q4712023,P1344,c(Q2312410)), (Q2512117,P1344,c(Q2312410)))
action filter_type
action union
action find
entity Q4712023
relation P1344
action find
entity Q2512117
relation P1344
type Q2312410
Alberto Fernández or Lia Neal participated in [ANSWERS]
{'OR': [['Q4712023', 'P1344', {'concept': 'Q2312410'}], ['Q2512117', 'P1344', {'concept': 'Q2312410'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2312410 . { VALUES ( ?j ) { ( resource:Q4712023 ) ( resource:Q2512117 ) } . ?j property:P1344 ?e } }
swimming at the 2016 Summer Olympics shooting at the 2016 Summer Olympics
Alberto Fernández or Lia Neal participated in swimming at the 2016 Summer Olympics and shooting at the 2016 Summer Olympics
swimming at the 2016 Summer Olympics shooting at the 2016 Summer Olympics
action filter_type
action union
action find
entity Alberto Fernández
relation participant of
action find
entity Lia Neal
relation participant of
type sport discipline
{'OR': [['Alberto Fernández', 'participant of', {'concept': 'sport discipline'}], ['Lia Neal', 'participant of', {'concept': 'sport discipline'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport_discipline . { VALUES ( ?j ) { ( resource:Alberto_Fernández ) ( resource:Lia_Neal ) } . ?j property:participant_of ?e } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q1048835 Q56061
USER
Which languages are the official languages of approximately 1 political territories and administrative territories ?
(c(Q1048835)|c(Q56061),P37,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
value 1
[[{'concept': 'Q1048835'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:P37 ?f . ?f rdf:type ontology:Q34770 . ?r rdf:type ontology:Q56061 } UNION { ?r property:P37 ?f . ?f rdf:type ontology:Q34770 . ?r rdf:type ontology:Q1048835 } } GROUP BY ?f } }
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
value 1
[[{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:official_language ?f . ?f rdf:type ontology:language . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r property:official_language ?f . ?f rdf:type ontology:language . ?r rdf:type ontology:political_territorial_entity } } GROUP BY ?f } }
[]
language political territorial entity administrative territorial entity
Q9056 Q33251 Q8752
SYSTEM
Czech, Church Slavonic, Basque
Q9056 Q33251 Q13211 Q3110592 Q36206 Q8752 Q36880 Q33976 Q35499 Q397 Q35726 Q8785 Q25164
(c(Q1048835)|c(Q56061),P37,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
value 1
[ANSWERS] are the official languages of approximately 1 political territories and administrative territories
[[{'concept': 'Q1048835'}, {'concept': 'Q56061'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:P37 ?f . ?f rdf:type ontology:Q34770 . ?r rdf:type ontology:Q56061 } UNION { ?r property:P37 ?f . ?f rdf:type ontology:Q34770 . ?r rdf:type ontology:Q1048835 } } GROUP BY ?f } }
Czech Church Slavonic Ruthenian written Chinese Lak Basque Bulgar language Sardinian language Old Church Slavonic Latin Etruscan Armenian Nynorsk
Czech, Church Slavonic and Basque are the official languages of approximately 1 political territories and administrative territories
Czech Church Slavonic Basque
action approx
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
value 1
[[{'concept': 'political territorial entity'}, {'concept': 'administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?a ) WHERE { { ?r property:official_language ?f . ?f rdf:type ontology:language . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r property:official_language ?f . ?f rdf:type ontology:language . ?r rdf:type ontology:political_territorial_entity } } GROUP BY ?f } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q2001982 Q34770
USER
Which notations are used as the alphabet set for atleast 1 language ?
(c(Q34770),P282,c(Q2001982))
action atleast
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P282 ?w . ?w rdf:type ontology:Q2001982 . ?k rdf:type ontology:Q34770 } GROUP BY ?w } . FILTER ( ?o >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:writing_system ?w . ?w rdf:type ontology:notation . ?k rdf:type ontology:language } GROUP BY ?w } . FILTER ( ?o >= 1 ) }
[]
notation language
Q82772 Q790681 Q401
SYSTEM
kanji, Avestan alphabet, cuneiform
Q82772 Q8216 Q1771716 Q3322653 Q790681 Q401
(c(Q34770),P282,c(Q2001982))
action atleast
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
value 1
[ANSWERS] are used as the alphabet set for atleast 1 language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:P282 ?w . ?w rdf:type ontology:Q2001982 . ?k rdf:type ontology:Q34770 } GROUP BY ?w } . FILTER ( ?o >= 1 ) }
kanji Greek alphabet Pahlavi scripts Southwest Paleohispanic script Avestan alphabet cuneiform
Kanji, Avestan alphabet and cuneiform are used as the alphabet set for atleast 1 language
kanji Avestan alphabet cuneiform
action atleast
action find_reverse_tuple_counts
relation writing system
type notation
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?k ) AS ?o ) WHERE { ?k property:writing_system ?w . ?w rdf:type ontology:notation . ?k rdf:type ontology:language } GROUP BY ?w } . FILTER ( ?o >= 1 ) }
[]