Simple Question (Direct)
Simple Question
Q3340247
P21
Q290
USER
Which sex does Nicolas Demorand have ?
(Q3340247,P21,c(Q290))
action filter_type
action find
entity Q3340247
relation P21
type Q290
['Q3340247', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3340247 property:P21 ?a . ?a rdf:type ontology:Q290 }
Nicolas Demorand
action filter_type
action find
entity Nicolas Demorand
relation gender
type sex
['Nicolas Demorand', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Nicolas_Demorand property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3340247,P21,c(Q290))
action filter_type
action find
entity Q3340247
relation P21
type Q290
Nicolas Demorand has a [ANSWER]
['Q3340247', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q3340247 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Nicolas Demorand has a male
male
action filter_type
action find
entity Nicolas Demorand
relation gender
type sex
['Nicolas Demorand', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Nicolas_Demorand property:gender ?a . ?a rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P825
Q502895 Q811979 Q7725634
USER
Which people are max number of architectural structures and literary works dedicated to ?
(c(Q811979)|c(Q7725634),P825,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
[[{'concept': 'Q811979'}, {'concept': 'Q7725634'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?x ) { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?q ) { ( ontology:Q811979 ) ( ontology:Q7725634 ) } . ?k rdf:type ?q } GROUP BY ?y } } . { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ?i . VALUES ( ?i ) { ( ontology:Q811979 ) ( ontology:Q7725634 ) } } GROUP BY ?g } . FILTER ( ?c = ?x ) }
action argmax
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
[[{'concept': 'architectural structure'}, {'concept': 'literary work'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?x ) { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?q ) { ( ontology:architectural_structure ) ( ontology:literary_work ) } . ?k rdf:type ?q } GROUP BY ?y } } . { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ?i . VALUES ( ?i ) { ( ontology:architectural_structure ) ( ontology:literary_work ) } } GROUP BY ?g } . FILTER ( ?c = ?x ) }
[]
common name architectural structure literary work
Q534049 Q448890
SYSTEM
Saint Petroc, Charlotte Saunders Cushman
Q534049 Q448890
(c(Q811979)|c(Q7725634),P825,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q811979
action find_reverse_tuple_counts
relation P825
type Q502895
type Q7725634
Max number of architectural structures and literary works are named [ANSWERS]
[[{'concept': 'Q811979'}, {'concept': 'Q7725634'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?x ) { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?q ) { ( ontology:Q811979 ) ( ontology:Q7725634 ) } . ?k rdf:type ?q } GROUP BY ?y } } . { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ?i . VALUES ( ?i ) { ( ontology:Q811979 ) ( ontology:Q7725634 ) } } GROUP BY ?g } . FILTER ( ?c = ?x ) }
Saint Petroc Charlotte Saunders Cushman
Max number of architectural structures and literary works are named Saint Petroc and Charlotte Saunders Cushman
Saint Petroc Charlotte Saunders Cushman
action argmax
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type architectural structure
action find_reverse_tuple_counts
relation dedicated to
type common name
type literary work
[[{'concept': 'architectural structure'}, {'concept': 'literary work'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?x ) { SELECT DISTINCT ?y ( COUNT ( ?k ) AS ?a ) WHERE { VALUES ( ?q ) { ( ontology:architectural_structure ) ( ontology:literary_work ) } . ?k rdf:type ?q } GROUP BY ?y } } . { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?c ) WHERE { ?z rdf:type ?i . VALUES ( ?i ) { ( ontology:architectural_structure ) ( ontology:literary_work ) } } GROUP BY ?g } . FILTER ( ?c = ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3340247
P108
Q4830453
USER
How many business enterprises are the workplaces of Nicolas Demorand ?
(Q3340247,P108,c(Q4830453))
action count
action filter_type
action find
entity Q3340247
relation P108
type Q4830453
['Q3340247', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q3340247 property:P108 ?g . ?g rdf:type ontology:Q4830453 }
Nicolas Demorand
action count
action filter_type
action find
entity Nicolas Demorand
relation employer
type business enterprise
['Nicolas Demorand', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Nicolas_Demorand property:employer ?g . ?g rdf:type ontology:business_enterprise }
[]
business enterprise
SYSTEM
4
Q19905 Q314407 Q19908 Q1351173
(Q3340247,P108,c(Q4830453))
action count
action filter_type
action find
entity Q3340247
relation P108
type Q4830453
[ANSWER]
['Q3340247', 'P108', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q3340247 property:P108 ?g . ?g rdf:type ontology:Q4830453 }
France Inter Europe 1 France Culture RTL
4
action count
action filter_type
action find
entity Nicolas Demorand
relation employer
type business enterprise
['Nicolas Demorand', 'employer', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Nicolas_Demorand property:employer ?g . ?g rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3340247
P734
Q82799
USER
Who is associated with that person ?
action filter_type
action find
entity Q3340247
relation P734
type Q82799
SELECT DISTINCT ?k WHERE { resource:Q3340247 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Nicolas Demorand
action filter_type
action find
entity Nicolas Demorand
relation family name
type name
SELECT DISTINCT ?k WHERE { resource:Nicolas_Demorand property:family_name ?k . ?k rdf:type ontology:name }
[]
name
Q3022235
SYSTEM
Demorand
Q3022235
action filter_type
action find
entity Q3340247
relation P734
type Q82799
[ANSWER] is associated with that person
SELECT DISTINCT ?k WHERE { resource:Q3340247 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Demorand
Demorand is associated with that person
Demorand
action filter_type
action find
entity Nicolas Demorand
relation family name
type name
SELECT DISTINCT ?k WHERE { resource:Nicolas_Demorand property:family_name ?k . ?k rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q37041
P407
Q34770 Q82799
USER
Which languages are the languages of work for more number of names than classical Chinese ?
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q37041
relation P407
type Q34770
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?r ) WHERE { ?t rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 . ?u property:P407 ?t } GROUP BY ?t } . FILTER ( ?r > ?z ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q37041 property:P407 ?y . ?y rdf:type ontology:Q34770 } } }
classical Chinese
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity classical Chinese
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?r ) WHERE { ?t rdf:type ontology:language . ?u rdf:type ontology:name . ?u property:language_of_work_or_name ?t } GROUP BY ?t } . FILTER ( ?r > ?z ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:classical_Chinese property:language_of_work_or_name ?y . ?y rdf:type ontology:language } } }
[]
language name
Q1860 Q397 Q9056
SYSTEM
English, Latin, Czech
Q1860 Q8785 Q1321 Q397 Q9056 Q8752 Q652 Q35505 Q56982 Q35308
(c(Q82799),P407,c(Q34770))
action greater
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find
entity Q37041
relation P407
type Q34770
[ANSWERS] are the languages of work for more number of names than classical Chinese
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?r ) WHERE { ?t rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 . ?u property:P407 ?t } GROUP BY ?t } . FILTER ( ?r > ?z ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q37041 property:P407 ?y . ?y rdf:type ontology:Q34770 } } }
English Armenian Spanish Latin Czech Basque Italian Old Norse language Judaeo-Portuguese Old Irish
English, Latin and Czech are the languages of work for more number of names than classical Chinese
English Latin Czech
action greater
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find
entity classical Chinese
relation language of work or name
type language
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?r ) WHERE { ?t rdf:type ontology:language . ?u rdf:type ontology:name . ?u property:language_of_work_or_name ?t } GROUP BY ?t } . FILTER ( ?r > ?z ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:classical_Chinese property:language_of_work_or_name ?y . ?y rdf:type ontology:language } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are around 61 names composed in ?
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 61
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P407 ?n . ?n rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?n } . FILTER ( ?q = 61 ) }
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 61
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:language_of_work_or_name ?n . ?n rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?n } . FILTER ( ?q = 61 ) }
[]
language name
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(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 61
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P407 ?n . ?n rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?n } . FILTER ( ?q = 61 ) }
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 find_reverse_tuple_counts
relation language of work or name
type language
type name
value 61
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:language_of_work_or_name ?n . ?n rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?n } . FILTER ( ?q = 61 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q448890
P509
Q2057971
USER
How many health problems were the causes of death of Charlotte Saunders Cushman ?
(Q448890,P509,c(Q2057971))
action count
action filter_type
action find
entity Q448890
relation P509
type Q2057971
['Q448890', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Q448890 property:P509 ?l . ?l rdf:type ontology:Q2057971 }
Charlotte Saunders Cushman
action count
action filter_type
action find
entity Charlotte Saunders Cushman
relation cause of death
type health problem
['Charlotte Saunders Cushman', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Charlotte_Saunders_Cushman property:cause_of_death ?l . ?l rdf:type ontology:health_problem }
[]
health problem
SYSTEM
1
Q128581
(Q448890,P509,c(Q2057971))
action count
action filter_type
action find
entity Q448890
relation P509
type Q2057971
[ANSWER]
['Q448890', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Q448890 property:P509 ?l . ?l rdf:type ontology:Q2057971 }
breast cancer
1
action count
action filter_type
action find
entity Charlotte Saunders Cushman
relation cause of death
type health problem
['Charlotte Saunders Cushman', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { resource:Charlotte_Saunders_Cushman property:cause_of_death ?l . ?l rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q455762
P1196
Q1931388
USER
What manner did Willy DeVille die ?
(Q455762,P1196,c(Q1931388))
action filter_type
action find
entity Q455762
relation P1196
type Q1931388
['Q455762', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q455762 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
Willy DeVille
action filter_type
action find
entity Willy DeVille
relation manner of death
type cause of death
['Willy DeVille', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Willy_DeVille property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q455762,P1196,c(Q1931388))
action filter_type
action find
entity Q455762
relation P1196
type Q1931388
Willy DeVille died in [ANSWER]
['Q455762', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q455762 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
natural causes
Willy DeVille died in natural causes
natural causes
action filter_type
action find
entity Willy DeVille
relation manner of death
type cause of death
['Willy DeVille', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Willy_DeVille property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3870713
Q1931388
USER
And what about Nate Hawthorne?
(Q3870713,P1196,c(Q1931388))
action filter_type
action find
entity Q3870713
relation P1196
type Q1931388
['Q3870713', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1931388 . resource:Q3870713 property:P1196 ?n }
Nate Hawthorne
action filter_type
action find
entity Nate Hawthorne
relation manner of death
type cause of death
['Nate Hawthorne', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:cause_of_death . resource:Nate_Hawthorne property:manner_of_death ?n }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q3870713,P1196,c(Q1931388))
action filter_type
action find
entity Q3870713
relation P1196
type Q1931388
[ANSWER]
['Q3870713', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1931388 . resource:Q3870713 property:P1196 ?n }
natural causes
natural causes
action filter_type
action find
entity Nate Hawthorne
relation manner of death
type cause of death
['Nate Hawthorne', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:cause_of_death . resource:Nate_Hawthorne property:manner_of_death ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q534049
P22
Q502895
USER
How many people were the dad of Saint Petroc ?
(Q534049,P22,c(Q502895))
action count
action filter_type
action find
entity Q534049
relation P22
type Q502895
['Q534049', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q534049 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Saint Petroc
action count
action filter_type
action find
entity Saint Petroc
relation father
type common name
['Saint Petroc', 'father', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Saint_Petroc property:father ?r . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q3772557
(Q534049,P22,c(Q502895))
action count
action filter_type
action find
entity Q534049
relation P22
type Q502895
[ANSWER]
['Q534049', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q534049 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Glywys
1
action count
action filter_type
action find
entity Saint Petroc
relation father
type common name
['Saint Petroc', 'father', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Saint_Petroc property:father ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q534049
P921
Q191067
USER
Which article has Saint Petroc as its main topic ?
(c(Q191067),P921,Q534049)
action filter_type
action find_reverse
entity Q534049
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q534049']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q191067 . ?o property:P921 resource:Q534049 }
Saint Petroc
action filter_type
action find_reverse
entity Saint Petroc
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Saint Petroc']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:article . ?o property:main_subject resource:Saint_Petroc }
[]
article
Q19029214
SYSTEM
Pedrog (DNB00)
Q19029214
(c(Q191067),P921,Q534049)
action filter_type
action find_reverse
entity Q534049
relation P921
type Q191067
[ANSWER] has Saint Petroc as its main topic
[{'concept': 'Q191067'}, 'P921', 'Q534049']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q191067 . ?o property:P921 resource:Q534049 }
Pedrog (DNB00)
Pedrog (DNB00) has Saint Petroc as its main topic
Pedrog (DNB00)
action filter_type
action find_reverse
entity Saint Petroc
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Saint Petroc']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:article . ?o property:main_subject resource:Saint_Petroc }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q534049
P411
Q82799
USER
What is the name of Saint Petroc ?
(Q534049,P411,c(Q82799))
action filter_type
action find
entity Q534049
relation P411
type Q82799
['Q534049', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q534049 property:P411 ?x . ?x rdf:type ontology:Q82799 }
Saint Petroc
action filter_type
action find
entity Saint Petroc
relation canonization status
type name
['Saint Petroc', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Saint_Petroc property:canonization_status ?x . ?x rdf:type ontology:name }
[]
name
Q43115
SYSTEM
saint
Q43115
(Q534049,P411,c(Q82799))
action filter_type
action find
entity Q534049
relation P411
type Q82799
The name of [ANSWER] Petroc is a [ANSWER]
['Q534049', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q534049 property:P411 ?x . ?x rdf:type ontology:Q82799 }
saint
The name of Saint Petroc is a saint
saint
action filter_type
action find
entity Saint Petroc
relation canonization status
type name
['Saint Petroc', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Saint_Petroc property:canonization_status ?x . ?x rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q534049
P22
Q502895
USER
Which person was the father of that one ?
(Q43115,P22,c(Q502895))
action filter_type
action find
entity Q534049
relation P22
type Q502895
['Q43115', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q534049 property:P22 ?h . ?h rdf:type ontology:Q502895 }
Saint Petroc
action filter_type
action find
entity Saint Petroc
relation father
type common name
['saint', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Saint_Petroc property:father ?h . ?h rdf:type ontology:common_name }
[]
common name
Q3772557
SYSTEM
Glywys
Q3772557
(Q43115,P22,c(Q502895))
action filter_type
action find
entity Q534049
relation P22
type Q502895
[ANSWER] was the father of that one
['Q43115', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q534049 property:P22 ?h . ?h rdf:type ontology:Q502895 }
Glywys
Glywys was the father of that one
Glywys
action filter_type
action find
entity Saint Petroc
relation father
type common name
['saint', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Saint_Petroc property:father ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q534049
P138
Q20667921
USER
Which french administrative divisions have Saint Petroc as their namesake ?
(c(Q20667921),P138,Q534049)
action filter_type
action find_reverse
entity Q534049
relation P138
type Q20667921
[{'concept': 'Q20667921'}, 'P138', 'Q534049']
SELECT DISTINCT ?f WHERE { ?f property:P138 resource:Q534049 . ?f rdf:type ontology:Q20667921 }
Saint Petroc
action filter_type
action find_reverse
entity Saint Petroc
relation named after
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'named after', 'Saint Petroc']
SELECT DISTINCT ?f WHERE { ?f property:named_after resource:Saint_Petroc . ?f rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q128899 Q475765
SYSTEM
Saint-Perreux, Lopérec
Q128899 Q475765
(c(Q20667921),P138,Q534049)
action filter_type
action find_reverse
entity Q534049
relation P138
type Q20667921
[ANSWERS] have Saint Petroc as their namesake
[{'concept': 'Q20667921'}, 'P138', 'Q534049']
SELECT DISTINCT ?f WHERE { ?f property:P138 resource:Q534049 . ?f rdf:type ontology:Q20667921 }
Saint-Perreux Lopérec
Saint-Perreux and Lopérec have Saint Petroc as their namesake
Saint-Perreux Lopérec
action filter_type
action find_reverse
entity Saint Petroc
relation named after
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'named after', 'Saint Petroc']
SELECT DISTINCT ?f WHERE { ?f property:named_after resource:Saint_Petroc . ?f rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q128899 Q475765
P47
Q20667921
USER
Which french administrative divisions do those ones share a border with ?
(c(Q20667921),P47,Q128899) (c(Q20667921),P47,Q475765)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q128899'] [{'concept': 'Q20667921'}, 'P47', 'Q475765']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . ?w property:P47 ?m . VALUES ( ?w ) { ( resource:Q128899 ) ( resource:Q475765 ) } }
Saint-Perreux Lopérec
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Perreux'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Lopérec']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . ?w property:shares_border_with ?m . VALUES ( ?w ) { ( resource:Saint-Perreux ) ( resource:Lopérec ) } }
[]
type of french administrative division
Q329647 Q206837 Q478231
SYSTEM
Sizun, Redon, Pleyben
Q128853 Q213584 Q128946 Q128174 Q62980 Q206837 Q634033 Q478231 Q383375 Q221894 Q209059 Q329647 Q602550
(c(Q20667921),P47,Q128899) (c(Q20667921),P47,Q475765)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS] those ones share a border with
[{'concept': 'Q20667921'}, 'P47', 'Q128899'] [{'concept': 'Q20667921'}, 'P47', 'Q475765']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . ?w property:P47 ?m . VALUES ( ?w ) { ( resource:Q128899 ) ( resource:Q475765 ) } }
Saint-Jean-la-Poterie Bains-sur-Oust Saint-Vincent-sur-Oust Saint-Jacut-les-Pins Allaire Redon Saint-Rivoal Pleyben Saint-Ségal Brasparts Hanvec Sizun Pont-de-Buis-lès-Quimerch
Sizun, Redon and Pleyben those ones share a border with
Sizun Redon Pleyben
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Perreux'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Lopérec']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . ?w property:shares_border_with ?m . VALUES ( ?w ) { ( resource:Saint-Perreux ) ( resource:Lopérec ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q329647 Q206837 Q478231
P36
Q20667921
USER
Which french administrative divisions contain those ones as their capital ?
(c(Q20667921),P36,Q329647) (c(Q20667921),P36,Q206837) (c(Q20667921),P36,Q478231)
action filter_type
action find_reverse
entity prev_answer
relation P36
type Q20667921
[{'concept': 'Q20667921'}, 'P36', 'Q329647'] [{'concept': 'Q20667921'}, 'P36', 'Q206837'] [{'concept': 'Q20667921'}, 'P36', 'Q478231']
SELECT DISTINCT ?e WHERE { ?e property:P36 ?a . VALUES ( ?a ) { ( resource:Q128853 ) ( resource:Q213584 ) ( resource:Q128946 ) } . ?e rdf:type ontology:Q20667921 }
Sizun Redon Pleyben
action filter_type
action find_reverse
entity prev_answer
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Sizun'] [{'concept': 'type of french administrative division'}, 'capital', 'Redon'] [{'concept': 'type of french administrative division'}, 'capital', 'Pleyben']
SELECT DISTINCT ?e WHERE { ?e property:capital ?a . VALUES ( ?a ) { ( resource:Saint-Jean-la-Poterie ) ( resource:Bains-sur-Oust ) ( resource:Saint-Vincent-sur-Oust ) } . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1727504 Q1726885 Q1726716
SYSTEM
canton of Sizun, canton of Redon, canton of Pleyben
Q1727504 Q1726885 Q1726716
(c(Q20667921),P36,Q329647) (c(Q20667921),P36,Q206837) (c(Q20667921),P36,Q478231)
action filter_type
action find_reverse
entity prev_answer
relation P36
type Q20667921
[ANSWERS] contain those ones as their capital
[{'concept': 'Q20667921'}, 'P36', 'Q329647'] [{'concept': 'Q20667921'}, 'P36', 'Q206837'] [{'concept': 'Q20667921'}, 'P36', 'Q478231']
SELECT DISTINCT ?e WHERE { ?e property:P36 ?a . VALUES ( ?a ) { ( resource:Q128853 ) ( resource:Q213584 ) ( resource:Q128946 ) } . ?e rdf:type ontology:Q20667921 }
canton of Sizun canton of Redon canton of Pleyben
Canton of Sizun, canton of Redon and canton of Pleyben contain those ones as their capital
canton of Sizun canton of Redon canton of Pleyben
action filter_type
action find_reverse
entity prev_answer
relation capital
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital', 'Sizun'] [{'concept': 'type of french administrative division'}, 'capital', 'Redon'] [{'concept': 'type of french administrative division'}, 'capital', 'Pleyben']
SELECT DISTINCT ?e WHERE { ?e property:capital ?a . VALUES ( ?a ) { ( resource:Saint-Jean-la-Poterie ) ( resource:Bains-sur-Oust ) ( resource:Saint-Vincent-sur-Oust ) } . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1727504 Q1726885 Q1726716
P1376
Q20667921
USER
Which french administrative divisions are center of administration for those ones ?
(c(Q20667921),P1376,Q1727504) (c(Q20667921),P1376,Q1726885) (c(Q20667921),P1376,Q1726716)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q1727504'] [{'concept': 'Q20667921'}, 'P1376', 'Q1726885'] [{'concept': 'Q20667921'}, 'P1376', 'Q1726716']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q20667921 . VALUES ( ?e ) { ( resource:Q1727504 ) ( resource:Q1726885 ) ( resource:Q1726716 ) } . ?k property:P1376 ?e }
canton of Sizun canton of Redon canton of Pleyben
action filter_type
action find_reverse
entity prev_answer
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Sizun'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Redon'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Pleyben']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:type_of_french_administrative_division . VALUES ( ?e ) { ( resource:canton_of_Sizun ) ( resource:canton_of_Redon ) ( resource:canton_of_Pleyben ) } . ?k property:capital_of ?e }
[]
type of french administrative division
Q329647 Q206837 Q478231
SYSTEM
Sizun, Redon, Pleyben
Q329647 Q206837 Q478231
(c(Q20667921),P1376,Q1727504) (c(Q20667921),P1376,Q1726885) (c(Q20667921),P1376,Q1726716)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q20667921
[ANSWERS] are center of administration for those ones
[{'concept': 'Q20667921'}, 'P1376', 'Q1727504'] [{'concept': 'Q20667921'}, 'P1376', 'Q1726885'] [{'concept': 'Q20667921'}, 'P1376', 'Q1726716']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q20667921 . VALUES ( ?e ) { ( resource:Q1727504 ) ( resource:Q1726885 ) ( resource:Q1726716 ) } . ?k property:P1376 ?e }
Sizun Redon Pleyben
Sizun, Redon and Pleyben are center of administration for those ones
Sizun Redon Pleyben
action filter_type
action find_reverse
entity prev_answer
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'canton of Sizun'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Redon'] [{'concept': 'type of french administrative division'}, 'capital of', 'canton of Pleyben']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:type_of_french_administrative_division . VALUES ( ?e ) { ( resource:canton_of_Sizun ) ( resource:canton_of_Redon ) ( resource:canton_of_Pleyben ) } . ?k property:capital_of ?e }
[]