Simple Question (Direct)
Simple Question
Q2071894
P21
Q290
USER
What is the sex of Domingo de Andrade ?
(Q2071894,P21,c(Q290))
action filter_type
action find
entity Q2071894
relation P21
type Q290
['Q2071894', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q2071894 property:P21 ?e . ?e rdf:type ontology:Q290 }
Domingo de Andrade
action filter_type
action find
entity Domingo de Andrade
relation gender
type sex
['Domingo de Andrade', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Domingo_de_Andrade property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2071894,P21,c(Q290))
action filter_type
action find
entity Q2071894
relation P21
type Q290
The sex of Domingo de Andrade is the [ANSWER]
['Q2071894', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q2071894 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
The sex of Domingo de Andrade is the male
male
action filter_type
action find
entity Domingo de Andrade
relation gender
type sex
['Domingo de Andrade', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Domingo_de_Andrade property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2071894
P1412
Q34770
USER
Which language is Domingo de Andrade capable of writing ?
(Q2071894,P1412,c(Q34770))
action filter_type
action find
entity Q2071894
relation P1412
type Q34770
['Q2071894', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q34770 . resource:Q2071894 property:P1412 ?h }
Domingo de Andrade
action filter_type
action find
entity Domingo de Andrade
relation languages spoken, written or signed
type language
['Domingo de Andrade', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:language . resource:Domingo_de_Andrade property:languages_spoken,_written_or_signed ?h }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2071894,P1412,c(Q34770))
action filter_type
action find
entity Q2071894
relation P1412
type Q34770
[ANSWER] is Domingo de Andrade capable of writing
['Q2071894', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q34770 . resource:Q2071894 property:P1412 ?h }
Spanish
Spanish is Domingo de Andrade capable of writing
Spanish
action filter_type
action find
entity Domingo de Andrade
relation languages spoken, written or signed
type language
['Domingo de Andrade', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:language . resource:Domingo_de_Andrade property:languages_spoken,_written_or_signed ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2071894
P106
Q12737077
USER
What is the job of Domingo de Andrade ?
(Q2071894,P106,c(Q12737077))
action filter_type
action find
entity Q2071894
relation P106
type Q12737077
['Q2071894', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2071894 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Domingo de Andrade
action filter_type
action find
entity Domingo de Andrade
relation occupation
type occupation
['Domingo de Andrade', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Domingo_de_Andrade property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q42973
SYSTEM
architect
Q42973
(Q2071894,P106,c(Q12737077))
action filter_type
action find
entity Q2071894
relation P106
type Q12737077
The job of Domingo de Andrade is an [ANSWER]
['Q2071894', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q2071894 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
architect
The job of Domingo de Andrade is an architect
architect
action filter_type
action find
entity Domingo de Andrade
relation occupation
type occupation
['Domingo de Andrade', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Domingo_de_Andrade property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2071894
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q42973,P20,c(Q56061))
action filter_type
action find
entity Q2071894
relation P20
type Q56061
['Q42973', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q2071894 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Domingo de Andrade
action filter_type
action find
entity Domingo de Andrade
relation place of death
type administrative territorial entity
['architect', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Domingo_de_Andrade property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q14314
SYSTEM
Santiago de Compostela
Q14314
(Q42973,P20,c(Q56061))
action filter_type
action find
entity Q2071894
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q42973', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q2071894 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Santiago de Compostela
The expiration of that person occurred in Santiago de Compostela
Santiago de Compostela
action filter_type
action find
entity Domingo de Andrade
relation place of death
type administrative territorial entity
['architect', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Domingo_de_Andrade property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q33976
P407
Q34770 Q7725634 Q2031291
USER
Which languages are the languages of work for greater number of literary works and releases than Sardinian language ?
(c(Q7725634)|c(Q2031291),P407,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q33976
relation P407
type Q7725634
type Q2031291
[[{'concept': 'Q7725634'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?h ) WHERE { { ?i property:P407 ?p . ?p rdf:type ontology:Q34770 . ?i rdf:type ontology:Q7725634 } UNION { ?i property:P407 ?p . ?p rdf:type ontology:Q34770 . ?i rdf:type ontology:Q2031291 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P407 resource:Q33976 . { ?f rdf:type ?k . VALUES ( ?k ) { ( ontology:Q7725634 ) ( ontology:Q2031291 ) } } } } . FILTER ( ?h > ?x ) }
Sardinian language
action greater
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
action count
action filter_multi_types
action find_reverse
entity Sardinian language
relation language of work or name
type literary work
type release
[[{'concept': 'literary work'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?h ) WHERE { { ?i property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?i rdf:type ontology:literary_work } UNION { ?i property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?i rdf:type ontology:release } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:language_of_work_or_name resource:Sardinian_language . { ?f rdf:type ?k . VALUES ( ?k ) { ( ontology:literary_work ) ( ontology:release ) } } } } . FILTER ( ?h > ?x ) }
[]
language literary work release
Q1860 Q397 Q9056
SYSTEM
English, Latin, Czech
Q1860 Q8785 Q1321 Q397 Q9056 Q37041 Q652
(c(Q7725634)|c(Q2031291),P407,c(Q34770))
action greater
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q33976
relation P407
type Q7725634
type Q2031291
[ANSWERS] are the languages of work for greater number of literary works and releases than Sardinian language
[[{'concept': 'Q7725634'}, {'concept': 'Q2031291'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?h ) WHERE { { ?i property:P407 ?p . ?p rdf:type ontology:Q34770 . ?i rdf:type ontology:Q7725634 } UNION { ?i property:P407 ?p . ?p rdf:type ontology:Q34770 . ?i rdf:type ontology:Q2031291 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:P407 resource:Q33976 . { ?f rdf:type ?k . VALUES ( ?k ) { ( ontology:Q7725634 ) ( ontology:Q2031291 ) } } } } . FILTER ( ?h > ?x ) }
English Armenian Spanish Latin Czech classical Chinese Italian
English, Latin and Czech are the languages of work for greater number of literary works and releases than Sardinian language
English Latin Czech
action greater
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
action count
action filter_multi_types
action find_reverse
entity Sardinian language
relation language of work or name
type literary work
type release
[[{'concept': 'literary work'}, {'concept': 'release'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?i ) AS ?h ) WHERE { { ?i property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?i rdf:type ontology:literary_work } UNION { ?i property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?i rdf:type ontology:release } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { ?f property:language_of_work_or_name resource:Sardinian_language . { ?f rdf:type ?k . VALUES ( ?k ) { ( ontology:literary_work ) ( ontology:release ) } } } } . FILTER ( ?h > ?x ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9056
P361
Q5962346
USER
What is that language a portion of ?
(Q9056,P361,c(Q5962346))
action filter_type
action find
entity Q9056
relation P361
type Q5962346
['Q9056', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { resource:Q9056 property:P361 ?u . ?u rdf:type ontology:Q5962346 }
Czech
action filter_type
action find
entity Czech
relation part of
type classification scheme
['Czech', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { resource:Czech property:part_of ?u . ?u rdf:type ontology:classification_scheme }
[]
classification scheme
Clarification for simple ques.
Q1860
SYSTEM
Did you mean English ?
Q1860 Q397 Q9056
(Q1860,P361,c(Q5962346)) (Q397,P361,c(Q5962346)) (Q9056,P361,c(Q5962346))
[ANSWER]
['Q1860', 'P361', {'concept': 'Q5962346'}] ['Q397', 'P361', {'concept': 'Q5962346'}] ['Q9056', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { resource:Q9056 property:P361 ?u . ?u rdf:type ontology:Q5962346 }
English Latin Czech
Did you mean English ?
English
['English', 'part of', {'concept': 'classification scheme'}] ['Latin', 'part of', {'concept': 'classification scheme'}] ['Czech', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { resource:Czech property:part_of ?u . ?u rdf:type ontology:classification_scheme }
[]
Simple Question (Coreferenced)
USER
No, I meant Czech. Could you tell me the answer for that?
(Q9056,P361,c(Q5962346))
Q9056
['Q9056', 'P361', {'concept': 'Q5962346'}]
['Czech', 'part of', {'concept': 'classification scheme'}]
[]
Q145852
SYSTEM
West Slavic languages
Q145852
(Q9056,P361,c(Q5962346))
action filter_type
action find
entity Q9056
relation P361
type Q5962346
That language a portion of is in [ANSWER]
['Q9056', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?u WHERE { resource:Q9056 property:P361 ?u . ?u rdf:type ontology:Q5962346 }
West Slavic languages
That language a portion of is in West Slavic languages
West Slavic languages
action filter_type
action find
entity Czech
relation part of
type classification scheme
['Czech', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?u WHERE { resource:Czech property:part_of ?u . ?u rdf:type ontology:classification_scheme }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145852
P144
Q34770
USER
Which language is that classification scheme considered a copy of ?
(Q145852,P144,c(Q34770))
action filter_type
action find
entity Q145852
relation P144
type Q34770
['Q145852', 'P144', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q145852 property:P144 ?p . ?p rdf:type ontology:Q34770 }
West Slavic languages
action filter_type
action find
entity West Slavic languages
relation based on
type language
['West Slavic languages', 'based on', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:West_Slavic_languages property:based_on ?p . ?p rdf:type ontology:language }
[]
language
Q35499
SYSTEM
Old Church Slavonic
Q35499
(Q145852,P144,c(Q34770))
action filter_type
action find
entity Q145852
relation P144
type Q34770
[ANSWER] is that classification scheme considered a copy of
['Q145852', 'P144', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q145852 property:P144 ?p . ?p rdf:type ontology:Q34770 }
Old Church Slavonic
Old Church Slavonic is that classification scheme considered a copy of
Old Church Slavonic
action filter_type
action find
entity West Slavic languages
relation based on
type language
['West Slavic languages', 'based on', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:West_Slavic_languages property:based_on ?p . ?p rdf:type ontology:language }
[]