Simple Question (Direct)
Simple Question
Q3166023
P27
Q15617994
USER
Which administrative territory does Jean-Gabriel de Boissy d'Anglas belong to ?
(Q3166023,P27,c(Q15617994))
action filter_type
action find
entity Q3166023
relation P27
type Q15617994
['Q3166023', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3166023 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Jean-Gabriel de Boissy d'Anglas
action filter_type
action find
entity Jean-Gabriel de Boissy d'Anglas
relation country of citizenship
type designation for an administrative territorial entity
["Jean-Gabriel de Boissy d'Anglas", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jean-Gabriel_de_Boissy_d'Anglas property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3166023,P27,c(Q15617994))
action filter_type
action find
entity Q3166023
relation P27
type Q15617994
Jean-Gabriel de Boissy d' Anglas belongs to the [ANSWER]
['Q3166023', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q3166023 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
France
Jean-Gabriel de Boissy d' Anglas belongs to the France
France
action filter_type
action find
entity Jean-Gabriel de Boissy d'Anglas
relation country of citizenship
type designation for an administrative territorial entity
["Jean-Gabriel de Boissy d'Anglas", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jean-Gabriel_de_Boissy_d'Anglas property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3166023
P39
Q12737077
USER
What was the position held by Jean-Gabriel de Boissy d'Anglas ?
(Q3166023,P39,c(Q12737077))
action filter_type
action find
entity Q3166023
relation P39
type Q12737077
['Q3166023', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q3166023 property:P39 ?b }
Jean-Gabriel de Boissy d'Anglas
action filter_type
action find
entity Jean-Gabriel de Boissy d'Anglas
relation position held
type occupation
["Jean-Gabriel de Boissy d'Anglas", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Jean-Gabriel_de_Boissy_d'Anglas property:position_held ?b }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q3166023,P39,c(Q12737077))
action filter_type
action find
entity Q3166023
relation P39
type Q12737077
The position held by Jean-Gabriel de Boissy d' Anglas was a member of the French National Assembly
['Q3166023', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q12737077 . resource:Q3166023 property:P39 ?b }
member of the French National Assembly
The position held by Jean-Gabriel de Boissy d' Anglas was a member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Jean-Gabriel de Boissy d'Anglas
relation position held
type occupation
["Jean-Gabriel de Boissy d'Anglas", 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:occupation . resource:Jean-Gabriel_de_Boissy_d'Anglas property:position_held ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q975022
Q12737077
USER
And also tell me about Maximilian Runze?
(Q975022,P39,c(Q12737077))
action filter_type
action find
entity Q975022
relation P39
type Q12737077
['Q975022', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q975022 property:P39 ?p }
Maximilian Runze
action filter_type
action find
entity Maximilian Runze
relation position held
type occupation
['Maximilian Runze', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Maximilian_Runze property:position_held ?p }
[]
occupation
Q18627724
SYSTEM
Member of the Prussian House of Representatives
Q18627724
(Q975022,P39,c(Q12737077))
action filter_type
action find
entity Q975022
relation P39
type Q12737077
[ANSWER]
['Q975022', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q975022 property:P39 ?p }
Member of the Prussian House of Representatives
Member of the Prussian House of Representatives
action filter_type
action find
entity Maximilian Runze
relation position held
type occupation
['Maximilian Runze', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Maximilian_Runze property:position_held ?p }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the patron saint of atleast 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { FILTER ( ?b >= 2 ) . { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:P417 ?m . ?x rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q502895 } GROUP BY ?m } }
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { FILTER ( ?b >= 2 ) . { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:patron_saint ?m . ?x rdf:type ontology:occupation . ?m rdf:type ontology:common_name } GROUP BY ?m } }
[]
common name occupation
SYSTEM
16
Q229190 Q328804 Q166876 Q170547 Q128538 Q183240 Q196653 Q44265 Q192816 Q43982 Q179718 Q43600 Q744884 Q151967 Q200895 Q44248
(c(Q12737077),P417,c(Q502895))
action count
action atleast
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { FILTER ( ?b >= 2 ) . { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:P417 ?m . ?x rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q502895 } GROUP BY ?m } }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Luke the Evangelist Saint Lucy Saint Veronica Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Matthew the Apostle Zita Saint Blaise Agatha of Sicily Jerome
16
action count
action atleast
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { FILTER ( ?b >= 2 ) . { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?b ) WHERE { ?x property:patron_saint ?m . ?x rdf:type ontology:occupation . ?m rdf:type ontology:common_name } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P3179
Q7275
USER
Which state has a territorial overlap with France ?
(c(Q7275),P3179,Q142)
action filter_type
action find_reverse
entity Q142
relation P3179
type Q7275
[{'concept': 'Q7275'}, 'P3179', 'Q142']
SELECT DISTINCT ?e WHERE { ?e property:P3179 resource:Q142 . ?e rdf:type ontology:Q7275 }
France
action filter_type
action find_reverse
entity France
relation territory overlaps
type state
[{'concept': 'state'}, 'territory overlaps', 'France']
SELECT DISTINCT ?e WHERE { ?e property:territory_overlaps resource:France . ?e rdf:type ontology:state }
[]
state
Q70972
SYSTEM
Kingdom of France
Q70972
(c(Q7275),P3179,Q142)
action filter_type
action find_reverse
entity Q142
relation P3179
type Q7275
France [ANSWER] has a territorial overlap with France
[{'concept': 'Q7275'}, 'P3179', 'Q142']
SELECT DISTINCT ?e WHERE { ?e property:P3179 resource:Q142 . ?e rdf:type ontology:Q7275 }
Kingdom of France
France Kingdom of France has a territorial overlap with France
Kingdom of France
action filter_type
action find_reverse
entity France
relation territory overlaps
type state
[{'concept': 'state'}, 'territory overlaps', 'France']
SELECT DISTINCT ?e WHERE { ?e property:territory_overlaps resource:France . ?e rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q70972
P19
Q502895
USER
Who were born at that state ?
(c(Q502895),P19,Q70972)
action filter_type
action find_reverse
entity Q70972
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q70972']
SELECT DISTINCT ?t WHERE { ?t property:P19 resource:Q70972 . ?t rdf:type ontology:Q502895 }
Kingdom of France
action filter_type
action find_reverse
entity Kingdom of France
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kingdom of France']
SELECT DISTINCT ?t WHERE { ?t property:place_of_birth resource:Kingdom_of_France . ?t rdf:type ontology:common_name }
[]
common name
Q236293 Q2785535 Q5077816
SYSTEM
Marie of France, Countess of Champagne, Rabia Sultan, Charles François de Mondion
Q942269 Q2785535 Q377338 Q658756 Q5077816 Q236293
(c(Q502895),P19,Q70972)
action filter_type
action find_reverse
entity Q70972
relation P19
type Q502895
[ANSWERS] were born at that state
[{'concept': 'Q502895'}, 'P19', 'Q70972']
SELECT DISTINCT ?t WHERE { ?t property:P19 resource:Q70972 . ?t rdf:type ontology:Q502895 }
Maud de Braose Rabia Sultan Adrienne de Wignacourt Alof de Wignacourt Charles François de Mondion Marie of France, Countess of Champagne
Marie of France, Countess of Champagne, Rabia Sultan and Charles François de Mondion were born at that state
Marie of France, Countess of Champagne Rabia Sultan Charles François de Mondion
action filter_type
action find_reverse
entity Kingdom of France
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Kingdom of France']
SELECT DISTINCT ?t WHERE { ?t property:place_of_birth resource:Kingdom_of_France . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q236293 Q2785535 Q5077816
P21
Q290
USER
What are the sex of those people ?
(Q236293,P21,c(Q290)) (Q2785535,P21,c(Q290)) (Q5077816,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q236293', 'P21', {'concept': 'Q290'}] ['Q2785535', 'P21', {'concept': 'Q290'}] ['Q5077816', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?m ) { ( resource:Q942269 ) ( resource:Q2785535 ) ( resource:Q377338 ) } . ?m property:P21 ?v . ?v rdf:type ontology:Q290 }
Marie of France, Countess of Champagne Rabia Sultan Charles François de Mondion
action filter_type
action find
entity prev_answer
relation gender
type sex
['Marie of France, Countess of Champagne', 'gender', {'concept': 'sex'}] ['Rabia Sultan', 'gender', {'concept': 'sex'}] ['Charles François de Mondion', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?m ) { ( resource:Maud_de_Braose ) ( resource:Rabia_Sultan ) ( resource:Adrienne_de_Wignacourt ) } . ?m property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581072 Q6581072 Q6581097
SYSTEM
male for 3rd, female for 1st, 2nd
Q6581072 Q6581072 Q6581097
(Q236293,P21,c(Q290)) (Q2785535,P21,c(Q290)) (Q5077816,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q236293', 'P21', {'concept': 'Q290'}] ['Q2785535', 'P21', {'concept': 'Q290'}] ['Q5077816', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?m ) { ( resource:Q942269 ) ( resource:Q2785535 ) ( resource:Q377338 ) } . ?m property:P21 ?v . ?v rdf:type ontology:Q290 }
female female male
The sex of those people are female, female and male
female female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Marie of France, Countess of Champagne', 'gender', {'concept': 'sex'}] ['Rabia Sultan', 'gender', {'concept': 'sex'}] ['Charles François de Mondion', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { VALUES ( ?m ) { ( resource:Maud_de_Braose ) ( resource:Rabia_Sultan ) ( resource:Adrienne_de_Wignacourt ) } . ?m property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q70972
P85
Q7725634
USER
Which is the national anthem of Kingdom of France ?
(Q70972,P85,c(Q7725634))
action filter_type
action find
entity Q70972
relation P85
type Q7725634
['Q70972', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?y WHERE { resource:Q70972 property:P85 ?y . ?y rdf:type ontology:Q7725634 }
Kingdom of France
action filter_type
action find
entity Kingdom of France
relation anthem
type literary work
['Kingdom of France', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?y WHERE { resource:Kingdom_of_France property:anthem ?y . ?y rdf:type ontology:literary_work }
[]
literary work
Q1136397
SYSTEM
Marche Henri IV
Q1136397
(Q70972,P85,c(Q7725634))
action filter_type
action find
entity Q70972
relation P85
type Q7725634
The national anthem of Kingdom of France is the [ANSWER]
['Q70972', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?y WHERE { resource:Q70972 property:P85 ?y . ?y rdf:type ontology:Q7725634 }
Marche Henri IV
The national anthem of Kingdom of France is the Marche Henri IV
Marche Henri IV
action filter_type
action find
entity Kingdom of France
relation anthem
type literary work
['Kingdom of France', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?y WHERE { resource:Kingdom_of_France property:anthem ?y . ?y rdf:type ontology:literary_work }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1136397 Q4820251 Q142
P495
Q15617994
USER
Does that literary work originates at Audubon School District and France ?
(Q1136397,P495,Q4820251) (Q1136397,P495,Q142)
action is_in
entity Q1136397
action intersection
action find_reverse
entity Q4820251
relation P495
action find_reverse
entity Q142
relation P495
['Q1136397', 'P495', 'Q4820251'] ['Q1136397', 'P495', 'Q142']
ASK WHERE { resource:Q1136397 property:P495 resource:Q4820251 . resource:Q1136397 property:P495 resource:Q142 }
Marche Henri IV Audubon School District France
action is_in
entity Marche Henri IV
action intersection
action find_reverse
entity Audubon School District
relation country of origin
action find_reverse
entity France
relation country of origin
['Marche Henri IV', 'country of origin', 'Audubon School District'] ['Marche Henri IV', 'country of origin', 'France']
ASK WHERE { resource:Marche_Henri_IV property:country_of_origin resource:Audubon_School_District . resource:Marche_Henri_IV property:country_of_origin resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q1136397,P495,Q4820251) (Q1136397,P495,Q142)
action is_in
entity Q1136397
action intersection
action find_reverse
entity Q4820251
relation P495
action find_reverse
entity Q142
relation P495
[ANSWER]
['Q1136397', 'P495', 'Q4820251'] ['Q1136397', 'P495', 'Q142']
ASK WHERE { resource:Q1136397 property:P495 resource:Q4820251 . resource:Q1136397 property:P495 resource:Q142 }
NO and YES respectively
action is_in
entity Marche Henri IV
action intersection
action find_reverse
entity Audubon School District
relation country of origin
action find_reverse
entity France
relation country of origin
['Marche Henri IV', 'country of origin', 'Audubon School District'] ['Marche Henri IV', 'country of origin', 'France']
ASK WHERE { resource:Marche_Henri_IV property:country_of_origin resource:Audubon_School_District . resource:Marche_Henri_IV property:country_of_origin resource:France }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q70972 Q90
P36
Q56061
USER
Is Paris associated to Kingdom of France as the capital ?
(Q70972,P36,Q90)
action is_in
entity Q90
action find
entity Q70972
relation P36
['Q70972', 'P36', 'Q90']
ASK WHERE { resource:Q70972 property:P36 resource:Q90 }
Kingdom of France Paris
action is_in
entity Paris
action find
entity Kingdom of France
relation capital
['Kingdom of France', 'capital', 'Paris']
ASK WHERE { resource:Kingdom_of_France property:capital resource:Paris }
[]
administrative territorial entity
SYSTEM
YES
(Q70972,P36,Q90)
action is_in
entity Q90
action find
entity Q70972
relation P36
[ANSWER]
['Q70972', 'P36', 'Q90']
ASK WHERE { resource:Q70972 property:P36 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity Kingdom of France
relation capital
['Kingdom of France', 'capital', 'Paris']
ASK WHERE { resource:Kingdom_of_France property:capital resource:Paris }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q7725634
USER
Which languages are min number of literary works composed in ?
(c(Q7725634),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
[{'concept': 'Q7725634'}, 'P407', 'Q447117']
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?g ) { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P407 ?h . ?e rdf:type ontology:Q7725634 . ?h rdf:type ontology:Q34770 } GROUP BY ?h } } . { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P407 ?c . ?x rdf:type ontology:Q7725634 . ?c rdf:type ontology:Q34770 } GROUP BY ?c } . FILTER ( ?d = ?g ) }
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
[{'concept': 'literary work'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?g ) { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:language_of_work_or_name ?h . ?e rdf:type ontology:literary_work . ?h rdf:type ontology:language } GROUP BY ?h } } . { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:language_of_work_or_name ?c . ?x rdf:type ontology:literary_work . ?c rdf:type ontology:language } GROUP BY ?c } . FILTER ( ?d = ?g ) }
[]
language literary work
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q8752 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q7725634),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
[ANSWERS] are min number of literary works composed in
[{'concept': 'Q7725634'}, 'P407', 'Q447117']
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?g ) { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P407 ?h . ?e rdf:type ontology:Q7725634 . ?h rdf:type ontology:Q34770 } GROUP BY ?h } } . { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:P407 ?c . ?x rdf:type ontology:Q7725634 . ?c rdf:type ontology:Q34770 } GROUP BY ?c } . FILTER ( ?d = ?g ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Basque Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are min number of literary works composed in
Old Egyptian Old Church Slavonic Etruscan
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
[{'concept': 'literary work'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?p ) AS ?g ) { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:language_of_work_or_name ?h . ?e rdf:type ontology:literary_work . ?h rdf:type ontology:language } GROUP BY ?h } } . { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?d ) WHERE { ?x property:language_of_work_or_name ?c . ?x rdf:type ontology:literary_work . ?c rdf:type ontology:language } GROUP BY ?c } . FILTER ( ?d = ?g ) }
[]