Simple Question (Direct)
Simple Question
Q4821050
P19
Q20667921
USER
Where was Auguste Doriot born ?
(Q4821050,P19,c(Q20667921))
action filter_type
action find
entity Q4821050
relation P19
type Q20667921
['Q4821050', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q4821050 property:P19 ?n . ?n rdf:type ontology:Q20667921 }
Auguste Doriot
action filter_type
action find
entity Auguste Doriot
relation place of birth
type type of french administrative division
['Auguste Doriot', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Auguste_Doriot property:place_of_birth ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q905130
SYSTEM
Sainte-Suzanne
Q905130
(Q4821050,P19,c(Q20667921))
action filter_type
action find
entity Q4821050
relation P19
type Q20667921
Auguste Doriot was born à [ANSWER]
['Q4821050', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?n WHERE { resource:Q4821050 property:P19 ?n . ?n rdf:type ontology:Q20667921 }
Sainte-Suzanne
Auguste Doriot was born à Sainte-Suzanne
Sainte-Suzanne
action filter_type
action find
entity Auguste Doriot
relation place of birth
type type of french administrative division
['Auguste Doriot', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?n WHERE { resource:Auguste_Doriot property:place_of_birth ?n . ?n rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4821050
P20
Q20667921
USER
Where did the demise of that person occur ?
(Q905130,P20,c(Q20667921))
action filter_type
action find
entity Q4821050
relation P20
type Q20667921
['Q905130', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q4821050 property:P20 ?d . ?d rdf:type ontology:Q20667921 }
Auguste Doriot
action filter_type
action find
entity Auguste Doriot
relation place of death
type type of french administrative division
['Sainte-Suzanne', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Auguste_Doriot property:place_of_death ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q180083
SYSTEM
Menton
Q180083
(Q905130,P20,c(Q20667921))
action filter_type
action find
entity Q4821050
relation P20
type Q20667921
The demise of that person occurred in [ANSWER]
['Q905130', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { resource:Q4821050 property:P20 ?d . ?d rdf:type ontology:Q20667921 }
Menton
The demise of that person occurred in Menton
Menton
action filter_type
action find
entity Auguste Doriot
relation place of death
type type of french administrative division
['Sainte-Suzanne', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { resource:Auguste_Doriot property:place_of_death ?d . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4821050
P734
Q82799
USER
Who is associated with Auguste Doriot ?
(Q4821050,P734,c(Q82799))
action filter_type
action find
entity Q4821050
relation P734
type Q82799
['Q4821050', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q4821050 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Auguste Doriot
action filter_type
action find
entity Auguste Doriot
relation family name
type name
['Auguste Doriot', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Auguste_Doriot property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q21509966
SYSTEM
Doriot
Q21509966
(Q4821050,P734,c(Q82799))
action filter_type
action find
entity Q4821050
relation P734
type Q82799
De [ANSWER] is associated with Auguste [ANSWER]
['Q4821050', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q4821050 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Doriot
De Doriot is associated with Auguste Doriot
Doriot
action filter_type
action find
entity Auguste Doriot
relation family name
type name
['Auguste Doriot', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Auguste_Doriot property:family_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7499710
Q82799
USER
And what about Sho Uchida?
(Q7499710,P734,c(Q82799))
action filter_type
action find
entity Q7499710
relation P734
type Q82799
['Q7499710', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q7499710 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Sho Uchida
action filter_type
action find
entity Sho Uchida
relation family name
type name
['Sho Uchida', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Sho_Uchida property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q21450181
SYSTEM
Uchida
Q21450181
(Q7499710,P734,c(Q82799))
action filter_type
action find
entity Q7499710
relation P734
type Q82799
[ANSWER]
['Q7499710', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q7499710 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Uchida
Uchida
action filter_type
action find
entity Sho Uchida
relation family name
type name
['Sho Uchida', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Sho_Uchida property:family_name ?i . ?i rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for approximately 25 names ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 25
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P407 ?x . ?x rdf:type ontology:Q34770 . ?p rdf:type ontology:Q82799 } GROUP BY ?x } . FILTER ( ?j = 25 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 25
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:language_of_work_or_name ?x . ?x rdf:type ontology:language . ?p rdf:type ontology:name } GROUP BY ?x } . FILTER ( ?j = 25 ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
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(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 25
[ANSWERS] the languages of work for approximately 25 names
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:P407 ?x . ?x rdf:type ontology:Q34770 . ?p rdf:type ontology:Q82799 } GROUP BY ?x } . FILTER ( ?j = 25 ) }
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
Old Egyptian, Old Church Slavonic and Etruscan the languages of work for approximately 25 names
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 25
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?j ) WHERE { ?p property:language_of_work_or_name ?x . ?x rdf:type ontology:language . ?p rdf:type ontology:name } GROUP BY ?x } . FILTER ( ?j = 25 ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
How many languages are greater number of writing systems the writing system of than that language ?
(c(Q34770),P282,c(Q8192))
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
writing system language
Comparative|Count over More/Less|Single entity type|Clarification
Q35726
SYSTEM
Did you mean Etruscan ?
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
Did you mean Etruscan ?
Etruscan
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q34770),P282,c(Q8192))
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
[]
SYSTEM
2
Q182695 Q1669994
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
Late Old Japanese Minoan language
2
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P407
Q34770 Q1002697 Q7725634
USER
How many languages are the languages of work for exactly 11 periodical literatures and literary works ?
(c(Q1002697)|c(Q7725634),P407,c(Q34770))
action count
action equal
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
value 11
[[{'concept': 'Q1002697'}, {'concept': 'Q7725634'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { FILTER ( ?f = 11 ) . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:P407 ?y . ?e rdf:type ontology:Q1002697 . ?y rdf:type ontology:Q34770 } UNION { ?e property:P407 ?y . ?e rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q34770 } } GROUP BY ?y } }
action count
action equal
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
value 11
[[{'concept': 'periodical literature'}, {'concept': 'literary work'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { FILTER ( ?f = 11 ) . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:language_of_work_or_name ?y . ?e rdf:type ontology:periodical_literature . ?y rdf:type ontology:language } UNION { ?e property:language_of_work_or_name ?y . ?e rdf:type ontology:literary_work . ?y rdf:type ontology:language } } GROUP BY ?y } }
[]
language periodical literature literary work
SYSTEM
2
Q8785 Q9056
(c(Q1002697)|c(Q7725634),P407,c(Q34770))
action count
action equal
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q1002697
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
value 11
[ANSWER]
[[{'concept': 'Q1002697'}, {'concept': 'Q7725634'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { FILTER ( ?f = 11 ) . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:P407 ?y . ?e rdf:type ontology:Q1002697 . ?y rdf:type ontology:Q34770 } UNION { ?e property:P407 ?y . ?e rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q34770 } } GROUP BY ?y } }
Armenian Czech
2
action count
action equal
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type periodical literature
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
value 11
[[{'concept': 'periodical literature'}, {'concept': 'literary work'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?d ) WHERE { FILTER ( ?f = 11 ) . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:language_of_work_or_name ?y . ?e rdf:type ontology:periodical_literature . ?y rdf:type ontology:language } UNION { ?e property:language_of_work_or_name ?y . ?e rdf:type ontology:literary_work . ?y rdf:type ontology:language } } GROUP BY ?y } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q180083
P119
Q502895
USER
Who has Menton as his/her tomb ?
(c(Q502895),P119,Q180083)
action filter_type
action find_reverse
entity Q180083
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q180083']
SELECT DISTINCT ?j WHERE { ?j property:P119 resource:Q180083 . ?j rdf:type ontology:Q502895 }
Menton
action filter_type
action find_reverse
entity Menton
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Menton']
SELECT DISTINCT ?j WHERE { ?j property:place_of_burial resource:Menton . ?j rdf:type ontology:common_name }
[]
common name
Q319318
SYSTEM
William Webb Ellis
Q319318
(c(Q502895),P119,Q180083)
action filter_type
action find_reverse
entity Q180083
relation P119
type Q502895
[ANSWER] has Menton as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q180083']
SELECT DISTINCT ?j WHERE { ?j property:P119 resource:Q180083 . ?j rdf:type ontology:Q502895 }
William Webb Ellis
William Webb Ellis has Menton as his/her tomb
William Webb Ellis
action filter_type
action find_reverse
entity Menton
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Menton']
SELECT DISTINCT ?j WHERE { ?j property:place_of_burial resource:Menton . ?j rdf:type ontology:common_name }
[]