Simple Question (Direct)
Simple Question
Q16583335
P136
Q1792379
USER
What can be considered as category for José Manuel Suárez ?
(Q16583335,P136,c(Q1792379))
action filter_type
action find
entity Q16583335
relation P136
type Q1792379
['Q16583335', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?n WHERE { resource:Q16583335 property:P136 ?n . ?n rdf:type ontology:Q1792379 }
José Manuel Suárez
action filter_type
action find
entity José Manuel Suárez
relation genre
type art genre
['José Manuel Suárez', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?n WHERE { resource:José_Manuel_Suárez property:genre ?n . ?n rdf:type ontology:art_genre }
[]
art genre
Q482
SYSTEM
poetry
Q482
(Q16583335,P136,c(Q1792379))
action filter_type
action find
entity Q16583335
relation P136
type Q1792379
The [ANSWER] can be considered as category for José Manuel Suárez
['Q16583335', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?n WHERE { resource:Q16583335 property:P136 ?n . ?n rdf:type ontology:Q1792379 }
poetry
The poetry can be considered as category for José Manuel Suárez
poetry
action filter_type
action find
entity José Manuel Suárez
relation genre
type art genre
['José Manuel Suárez', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?n WHERE { resource:José_Manuel_Suárez property:genre ?n . ?n rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16583335
P21
Q290
USER
Which sex does that person possess ?
(Q482,P21,c(Q290))
action filter_type
action find
entity Q16583335
relation P21
type Q290
['Q482', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q16583335 property:P21 ?m . ?m rdf:type ontology:Q290 }
José Manuel Suárez
action filter_type
action find
entity José Manuel Suárez
relation gender
type sex
['poetry', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:José_Manuel_Suárez property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q482,P21,c(Q290))
action filter_type
action find
entity Q16583335
relation P21
type Q290
That person possesses a [ANSWER]
['Q482', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q16583335 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity José Manuel Suárez
relation gender
type sex
['poetry', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:José_Manuel_Suárez property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16583335
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q16583335
relation P1412
type Q34770
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q16583335 property:P1412 ?c }
José Manuel Suárez
action filter_type
action find
entity José Manuel Suárez
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:José_Manuel_Suárez property:languages_spoken,_written_or_signed ?c }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q16583335
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q16583335 property:P1412 ?c }
Spanish
Spanish is that person capable of writing
Spanish
action filter_type
action find
entity José Manuel Suárez
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:José_Manuel_Suárez property:languages_spoken,_written_or_signed ?c }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5700619 Q16583335
P27 P17
Q15617994
USER
Which administrative territories are José Manuel Suárez an inhabitant of and are Anuario de Historia del Derecho Español situated in ?
AND((Q16583335,P27,c(Q15617994)), (Q5700619,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16583335
relation P27
action find
entity Q5700619
relation P17
type Q15617994
{'AND': [['Q16583335', 'P27', {'concept': 'Q15617994'}], ['Q5700619', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { resource:Q16583335 property:P27 ?c . resource:Q5700619 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Anuario de Historia del Derecho Español José Manuel Suárez
action filter_type
action intersection
action find
entity José Manuel Suárez
relation country of citizenship
action find
entity Anuario de Historia del Derecho Español
relation country
type designation for an administrative territorial entity
{'AND': [['José Manuel Suárez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Anuario de Historia del Derecho Español', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:José_Manuel_Suárez property:country_of_citizenship ?c . resource:Anuario_de_Historia_del_Derecho_Español property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
AND((Q16583335,P27,c(Q15617994)), (Q5700619,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16583335
relation P27
action find
entity Q5700619
relation P17
type Q15617994
[ANSWER] is José Manuel Suárez an inhabitant of and is Anuario de Historia del Derecho Español situated in
{'AND': [['Q16583335', 'P27', {'concept': 'Q15617994'}], ['Q5700619', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { resource:Q16583335 property:P27 ?c . resource:Q5700619 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Spain
Spain is José Manuel Suárez an inhabitant of and is Anuario de Historia del Derecho Español situated in
Spain
action filter_type
action intersection
action find
entity José Manuel Suárez
relation country of citizenship
action find
entity Anuario de Historia del Derecho Español
relation country
type designation for an administrative territorial entity
{'AND': [['José Manuel Suárez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Anuario de Historia del Derecho Español', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { resource:José_Manuel_Suárez property:country_of_citizenship ?c . resource:Anuario_de_Historia_del_Derecho_Español property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P407
Q34770 Q7725634 Q2031291
USER
How many languages are the languages of work for approximately 2023 literary works and releases ?
(c(Q7725634)|c(Q2031291),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
value 2023
[[{'concept': 'Q7725634'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?z WHERE { VALUES ( ?u ) { ( ontology:Q7725634 ) ( ontology:Q2031291 ) } . ?d rdf:type ?u } GROUP BY ?z } . FILTER ( ?h = 2023 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type release
value 2023
[[{'concept': 'literary work'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?z WHERE { VALUES ( ?u ) { ( ontology:literary_work ) ( ontology:release ) } . ?d rdf:type ?u } GROUP BY ?z } . FILTER ( ?h = 2023 ) }
[]
language literary work release
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q7725634)|c(Q2031291),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
value 2023
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?z WHERE { VALUES ( ?u ) { ( ontology:Q7725634 ) ( ontology:Q2031291 ) } . ?d rdf:type ?u } GROUP BY ?z } . FILTER ( ?h = 2023 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type release
value 2023
[[{'concept': 'literary work'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) ?z WHERE { VALUES ( ?u ) { ( ontology:literary_work ) ( ontology:release ) } . ?d rdf:type ?u } GROUP BY ?z } . FILTER ( ?h = 2023 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16583335
P19
Q102496
USER
Which parish is the birthplace of José Manuel Suárez ?
(Q16583335,P19,c(Q102496))
action filter_type
action find
entity Q16583335
relation P19
type Q102496
['Q16583335', 'P19', {'concept': 'Q102496'}]
SELECT DISTINCT ?s WHERE { resource:Q16583335 property:P19 ?s . ?s rdf:type ontology:Q102496 }
José Manuel Suárez
action filter_type
action find
entity José Manuel Suárez
relation place of birth
type parish
['José Manuel Suárez', 'place of birth', {'concept': 'parish'}]
SELECT DISTINCT ?s WHERE { resource:José_Manuel_Suárez property:place_of_birth ?s . ?s rdf:type ontology:parish }
[]
parish
Q1520366
SYSTEM
Villoria
Q1520366
(Q16583335,P19,c(Q102496))
action filter_type
action find
entity Q16583335
relation P19
type Q102496
[ANSWER] is the birthplace of José Manuel Suárez
['Q16583335', 'P19', {'concept': 'Q102496'}]
SELECT DISTINCT ?s WHERE { resource:Q16583335 property:P19 ?s . ?s rdf:type ontology:Q102496 }
Villoria
Villoria is the birthplace of José Manuel Suárez
Villoria
action filter_type
action find
entity José Manuel Suárez
relation place of birth
type parish
['José Manuel Suárez', 'place of birth', {'concept': 'parish'}]
SELECT DISTINCT ?s WHERE { resource:José_Manuel_Suárez property:place_of_birth ?s . ?s rdf:type ontology:parish }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16583335
P106
Q12737077
USER
Which occupations have José Manuel Suárez as his/her 's career ?
(Q16583335,P106,c(Q12737077))
action filter_type
action find
entity Q16583335
relation P106
type Q12737077
['Q16583335', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q16583335 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
José Manuel Suárez
action filter_type
action find
entity José Manuel Suárez
relation occupation
type occupation
['José Manuel Suárez', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:José_Manuel_Suárez property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q1930187 Q36180
SYSTEM
journalist, writer
Q1930187 Q36180
(Q16583335,P106,c(Q12737077))
action filter_type
action find
entity Q16583335
relation P106
type Q12737077
[ANSWERS] have José Manuel Suárez as his/her 's career
['Q16583335', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q16583335 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
journalist writer
Journalist and writer have José Manuel Suárez as his/her 's career
journalist writer
action filter_type
action find
entity José Manuel Suárez
relation occupation
type occupation
['José Manuel Suárez', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:José_Manuel_Suárez property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2497520
Q12737077
USER
And also tell me about Tochinoshin Tsuyoshi?
(Q2497520,P106,c(Q12737077))
action filter_type
action find
entity Q2497520
relation P106
type Q12737077
['Q2497520', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q2497520 property:P106 ?q }
Tochinoshin Tsuyoshi
action filter_type
action find
entity Tochinoshin Tsuyoshi
relation occupation
type occupation
['Tochinoshin Tsuyoshi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Tochinoshin_Tsuyoshi property:occupation ?q }
[]
occupation
Q2727289
SYSTEM
rikishi
Q2727289
(Q2497520,P106,c(Q12737077))
action filter_type
action find
entity Q2497520
relation P106
type Q12737077
[ANSWER]
['Q2497520', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q2497520 property:P106 ?q }
rikishi
rikishi
action filter_type
action find
entity Tochinoshin Tsuyoshi
relation occupation
type occupation
['Tochinoshin Tsuyoshi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Tochinoshin_Tsuyoshi property:occupation ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2727289 Q12078228
P106
Q502895
USER
Does Andrzej Gołąb have the profession of that occupation ?
(Q12078228,P106,Q2727289)
action is_in
entity Q12078228
action find
entity Q2727289
relation P106
['Q12078228', 'P106', 'Q2727289']
ASK WHERE { resource:Q2727289 property:P106 resource:Q12078228 }
rikishi Andrzej Gołąb
action is_in
entity Andrzej Gołąb
action find
entity rikishi
relation occupation
['Andrzej Gołąb', 'occupation', 'rikishi']
ASK WHERE { resource:rikishi property:occupation resource:Andrzej_Gołąb }
[]
common name
SYSTEM
NO
(Q12078228,P106,Q2727289)
action is_in
entity Q12078228
action find
entity Q2727289
relation P106
[ANSWER]
['Q12078228', 'P106', 'Q2727289']
ASK WHERE { resource:Q2727289 property:P106 resource:Q12078228 }
No
action is_in
entity Andrzej Gołąb
action find
entity rikishi
relation occupation
['Andrzej Gołąb', 'occupation', 'rikishi']
ASK WHERE { resource:rikishi property:occupation resource:Andrzej_Gołąb }
[]