Simple Question (Direct)
Simple Question
Q4900138
P364
Q34770
USER
Which language was used originally for the creation of Beyond the Gates of Splendor ?
(Q4900138,P364,c(Q34770))
action filter_type
action find
entity Q4900138
relation P364
type Q34770
['Q4900138', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q34770 . resource:Q4900138 property:P364 ?z }
Beyond the Gates of Splendor
action filter_type
action find
entity Beyond the Gates of Splendor
relation original language of work
type language
['Beyond the Gates of Splendor', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:language . resource:Beyond_the_Gates_of_Splendor property:original_language_of_work ?z }
[]
language
Q1860
SYSTEM
English
Q1860
(Q4900138,P364,c(Q34770))
action filter_type
action find
entity Q4900138
relation P364
type Q34770
In [ANSWER] was used originally for the creation of Beyond the Gates of Splendor
['Q4900138', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q34770 . resource:Q4900138 property:P364 ?z }
English
In English was used originally for the creation of Beyond the Gates of Splendor
English
action filter_type
action find
entity Beyond the Gates of Splendor
relation original language of work
type language
['Beyond the Gates of Splendor', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:language . resource:Beyond_the_Gates_of_Splendor property:original_language_of_work ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4900138
P161
Q502895
USER
Who were casted in Beyond the Gates of Splendor ?
(Q4900138,P161,c(Q502895))
action filter_type
action find
entity Q4900138
relation P161
type Q502895
['Q4900138', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q4900138 property:P161 ?s . ?s rdf:type ontology:Q502895 }
Beyond the Gates of Splendor
action filter_type
action find
entity Beyond the Gates of Splendor
relation cast member
type common name
['Beyond the Gates of Splendor', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Beyond_the_Gates_of_Splendor property:cast_member ?s . ?s rdf:type ontology:common_name }
[]
common name
Q194614 Q7613835 Q5486306
SYSTEM
Elisabeth Elliot, Steve Saint, Frank Drown
Q194614 Q7613835 Q5486306 Q6863315
(Q4900138,P161,c(Q502895))
action filter_type
action find
entity Q4900138
relation P161
type Q502895
[ANSWERS] were casted in Beyond the Gates of Splendor
['Q4900138', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q4900138 property:P161 ?s . ?s rdf:type ontology:Q502895 }
Elisabeth Elliot Steve Saint Frank Drown Mincaye
Elisabeth Elliot, Steve Saint and Frank Drown were casted in Beyond the Gates of Splendor
Elisabeth Elliot Steve Saint Frank Drown
action filter_type
action find
entity Beyond the Gates of Splendor
relation cast member
type common name
['Beyond the Gates of Splendor', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Beyond_the_Gates_of_Splendor property:cast_member ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q194614 Q7613835 Q5486306
P21
Q290
USER
What are the sex of those people ?
(Q194614,P21,c(Q290)) (Q7613835,P21,c(Q290)) (Q5486306,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q194614', 'P21', {'concept': 'Q290'}] ['Q7613835', 'P21', {'concept': 'Q290'}] ['Q5486306', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . ?n property:P21 ?s . VALUES ( ?n ) { ( resource:Q194614 ) ( resource:Q7613835 ) ( resource:Q5486306 ) } }
Elisabeth Elliot Steve Saint Frank Drown
action filter_type
action find
entity prev_answer
relation gender
type sex
['Elisabeth Elliot', 'gender', {'concept': 'sex'}] ['Steve Saint', 'gender', {'concept': 'sex'}] ['Frank Drown', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . ?n property:gender ?s . VALUES ( ?n ) { ( resource:Elisabeth_Elliot ) ( resource:Steve_Saint ) ( resource:Frank_Drown ) } }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097
(Q194614,P21,c(Q290)) (Q7613835,P21,c(Q290)) (Q5486306,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q194614', 'P21', {'concept': 'Q290'}] ['Q7613835', 'P21', {'concept': 'Q290'}] ['Q5486306', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . ?n property:P21 ?s . VALUES ( ?n ) { ( resource:Q194614 ) ( resource:Q7613835 ) ( resource:Q5486306 ) } }
female male male
The sex of those people are female, male and male
female male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Elisabeth Elliot', 'gender', {'concept': 'sex'}] ['Steve Saint', 'gender', {'concept': 'sex'}] ['Frank Drown', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . ?n property:gender ?s . VALUES ( ?n ) { ( resource:Elisabeth_Elliot ) ( resource:Steve_Saint ) ( resource:Frank_Drown ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q194614
P50
Q2342494
USER
Which collectables have Elisabeth Elliot as their author ?
(c(Q2342494),P50,Q194614)
action filter_type
action find_reverse
entity Q194614
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q194614']
SELECT DISTINCT ?v WHERE { ?v property:P50 resource:Q194614 . ?v rdf:type ontology:Q2342494 }
Elisabeth Elliot
action filter_type
action find_reverse
entity Elisabeth Elliot
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Elisabeth Elliot']
SELECT DISTINCT ?v WHERE { ?v property:author resource:Elisabeth_Elliot . ?v rdf:type ontology:collectable }
[]
collectable
Q16386657 Q7142744 Q7798397
SYSTEM
Let Me Be a Woman, Passion and Purity, Through Gates of Splendor
Q16386657 Q7142744 Q7798397
(c(Q2342494),P50,Q194614)
action filter_type
action find_reverse
entity Q194614
relation P50
type Q2342494
[ANSWERS] have Elisabeth Elliot as their author
[{'concept': 'Q2342494'}, 'P50', 'Q194614']
SELECT DISTINCT ?v WHERE { ?v property:P50 resource:Q194614 . ?v rdf:type ontology:Q2342494 }
Let Me Be a Woman Passion and Purity Through Gates of Splendor
Let Me Be a Woman, Passion and Purity and Through Gates of Splendor have Elisabeth Elliot as their author
Let Me Be a Woman Passion and Purity Through Gates of Splendor
action filter_type
action find_reverse
entity Elisabeth Elliot
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Elisabeth Elliot']
SELECT DISTINCT ?v WHERE { ?v property:author resource:Elisabeth_Elliot . ?v rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q194614
P26
Q502895
USER
Which person is married to Elisabeth Elliot ?
(c(Q502895),P26,Q194614)
action filter_type
action find
entity Q194614
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q194614']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q194614 property:P26 ?w }
Elisabeth Elliot
action filter_type
action find
entity Elisabeth Elliot
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Elisabeth Elliot']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Elisabeth_Elliot property:spouse ?w }
[]
common name
Q220458
SYSTEM
Jim Elliot
Q220458
(c(Q502895),P26,Q194614)
action filter_type
action find
entity Q194614
relation P26
type Q502895
He [ANSWER] is married to Elisabeth Elliot
[{'concept': 'Q502895'}, 'P26', 'Q194614']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q194614 property:P26 ?w }
Jim Elliot
He Jim Elliot is married to Elisabeth Elliot
Jim Elliot
action filter_type
action find
entity Elisabeth Elliot
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Elisabeth Elliot']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Elisabeth_Elliot property:spouse ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220458
P1196
Q1914636
USER
Which activity best describes with circumstances of death of that person ?
(Q220458,P1196,c(Q1914636))
action filter_type
action find
entity Q220458
relation P1196
type Q1914636
['Q220458', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?j WHERE { resource:Q220458 property:P1196 ?j . ?j rdf:type ontology:Q1914636 }
Jim Elliot
action filter_type
action find
entity Jim Elliot
relation manner of death
type activity
['Jim Elliot', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?j WHERE { resource:Jim_Elliot property:manner_of_death ?j . ?j rdf:type ontology:activity }
[]
activity
Q149086
SYSTEM
homicide
Q149086
(Q220458,P1196,c(Q1914636))
action filter_type
action find
entity Q220458
relation P1196
type Q1914636
The [ANSWER] best describes with circumstances of death of that person
['Q220458', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?j WHERE { resource:Q220458 property:P1196 ?j . ?j rdf:type ontology:Q1914636 }
homicide
The homicide best describes with circumstances of death of that person
homicide
action filter_type
action find
entity Jim Elliot
relation manner of death
type activity
['Jim Elliot', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?j WHERE { resource:Jim_Elliot property:manner_of_death ?j . ?j rdf:type ontology:activity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P1196
Q1914636 Q502895
USER
How many activities best describe with type of death of greater number of people than that activity ?
(c(Q502895),P1196,c(Q1914636))
action count
action greater
action find_reverse_tuple_counts
relation P1196
type Q1914636
type Q502895
action count
action filter_type
action find
entity Q149086
relation P1196
type Q1914636
[{'concept': 'Q502895'}, 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1914636 . ?p property:P1196 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g rdf:type ontology:Q1914636 . resource:Q149086 property:P1196 ?g } } . FILTER ( ?b > ?z ) }
action count
action greater
action find_reverse_tuple_counts
relation manner of death
type activity
type common name
action count
action filter_type
action find
entity homicide
relation manner of death
type activity
[{'concept': 'common name'}, 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ontology:common_name . ?j rdf:type ontology:activity . ?p property:manner_of_death ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g rdf:type ontology:activity . resource:homicide property:manner_of_death ?g } } . FILTER ( ?b > ?z ) }
[]
activity common name
SYSTEM
1
Q10737
(c(Q502895),P1196,c(Q1914636))
action count
action greater
action find_reverse_tuple_counts
relation P1196
type Q1914636
type Q502895
action count
action filter_type
action find
entity Q149086
relation P1196
type Q1914636
[ANSWER]
[{'concept': 'Q502895'}, 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1914636 . ?p property:P1196 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g rdf:type ontology:Q1914636 . resource:Q149086 property:P1196 ?g } } . FILTER ( ?b > ?z ) }
suicide
1
action count
action greater
action find_reverse_tuple_counts
relation manner of death
type activity
type common name
action count
action filter_type
action find
entity homicide
relation manner of death
type activity
[{'concept': 'common name'}, 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?k ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ontology:common_name . ?j rdf:type ontology:activity . ?p property:manner_of_death ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g rdf:type ontology:activity . resource:homicide property:manner_of_death ?g } } . FILTER ( ?b > ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q82042
USER
Which parts of speech are a portion of English ?
(c(Q82042),P361,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P361
type Q82042
[{'concept': 'Q82042'}, 'P361', 'Q1860']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q1860 . ?b rdf:type ontology:Q82042 }
English
action filter_type
action find_reverse
entity English
relation part of
type part of speech
[{'concept': 'part of speech'}, 'part of', 'English']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:English . ?b rdf:type ontology:part_of_speech }
[]
part of speech
Q5574688 Q5348553
SYSTEM
go, Eh
Q5574688 Q5348553
(c(Q82042),P361,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P361
type Q82042
[ANSWERS] are a portion of English
[{'concept': 'Q82042'}, 'P361', 'Q1860']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q1860 . ?b rdf:type ontology:Q82042 }
go Eh
Go and Eh are a portion of English
go Eh
action filter_type
action find_reverse
entity English
relation part of
type part of speech
[{'concept': 'part of speech'}, 'part of', 'English']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:English . ?b rdf:type ontology:part_of_speech }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220458
P19
Q56061
USER
Where was Jim Elliot born ?
(Q220458,P19,c(Q56061))
action filter_type
action find
entity Q220458
relation P19
type Q56061
['Q220458', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q220458 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Jim Elliot
action filter_type
action find
entity Jim Elliot
relation place of birth
type administrative territorial entity
['Jim Elliot', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jim_Elliot property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q6106
SYSTEM
Portland
Q6106
(Q220458,P19,c(Q56061))
action filter_type
action find
entity Q220458
relation P19
type Q56061
Jim Elliot was born in [ANSWER]
['Q220458', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q220458 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Portland
Jim Elliot was born in Portland
Portland
action filter_type
action find
entity Jim Elliot
relation place of birth
type administrative territorial entity
['Jim Elliot', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Jim_Elliot property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q1914636 Q5962346 Q811430
USER
Which activities are max number of classification schemes and constructions a part of ?
(c(Q5962346)|c(Q811430),P361,c(Q1914636))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q5962346
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q811430
[[{'concept': 'Q5962346'}, {'concept': 'Q811430'}], 'P361', {'concept': 'Q1914636'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?h ) { ( ontology:Q5962346 ) ( ontology:Q811430 ) } . ?k rdf:type ?h } GROUP BY ?f } } . { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?q ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q5962346 ) ( ontology:Q811430 ) } } GROUP BY ?s } . FILTER ( ?q = ?x ) }
action argmax
action union
action find_reverse_tuple_counts
relation part of
type activity
type classification scheme
action find_reverse_tuple_counts
relation part of
type activity
type construction
[[{'concept': 'classification scheme'}, {'concept': 'construction'}], 'part of', {'concept': 'activity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?h ) { ( ontology:classification_scheme ) ( ontology:construction ) } . ?k rdf:type ?h } GROUP BY ?f } } . { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?q ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:classification_scheme ) ( ontology:construction ) } } GROUP BY ?s } . FILTER ( ?q = ?x ) }
[]
activity classification scheme construction
Q12271
SYSTEM
architecture
Q12271
(c(Q5962346)|c(Q811430),P361,c(Q1914636))
action argmax
action union
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q5962346
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q811430
[ANSWER] is max number of classification schemes and constructions a part of
[[{'concept': 'Q5962346'}, {'concept': 'Q811430'}], 'P361', {'concept': 'Q1914636'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?h ) { ( ontology:Q5962346 ) ( ontology:Q811430 ) } . ?k rdf:type ?h } GROUP BY ?f } } . { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?q ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:Q5962346 ) ( ontology:Q811430 ) } } GROUP BY ?s } . FILTER ( ?q = ?x ) }
architecture
Architecture is max number of classification schemes and constructions a part of
architecture
action argmax
action union
action find_reverse_tuple_counts
relation part of
type activity
type classification scheme
action find_reverse_tuple_counts
relation part of
type activity
type construction
[[{'concept': 'classification scheme'}, {'concept': 'construction'}], 'part of', {'concept': 'activity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?h ) { ( ontology:classification_scheme ) ( ontology:construction ) } . ?k rdf:type ?h } GROUP BY ?f } } . { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?q ) WHERE { ?u rdf:type ?i . VALUES ( ?i ) { ( ontology:classification_scheme ) ( ontology:construction ) } } GROUP BY ?s } . FILTER ( ?q = ?x ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6106 Q3029690
P6
Q502895
USER
How many people are Portland or EUROKKA the head of goverment of ?
(Q6106,P6,c(Q502895)) (Q3029690,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q6106
relation P6
type Q502895
action filter_type
action find
entity Q3029690
relation P6
type Q502895
['Q6106', 'P6', {'concept': 'Q502895'}] ['Q3029690', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { resource:Q6106 property:P6 ?n . ?n rdf:type ontology:Q502895 } UNION { ?n rdf:type ontology:Q502895 . resource:Q3029690 property:P6 ?n } }
Portland EUROKKA
action count
action union
action filter_type
action find
entity Portland
relation head of government
type common name
action filter_type
action find
entity EUROKKA
relation head of government
type common name
['Portland', 'head of government', {'concept': 'common name'}] ['EUROKKA', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { resource:Portland property:head_of_government ?n . ?n rdf:type ontology:common_name } UNION { ?n rdf:type ontology:common_name . resource:EUROKKA property:head_of_government ?n } }
[]
common name
SYSTEM
2
Q5084966 Q2253931
(Q6106,P6,c(Q502895)) (Q3029690,P6,c(Q502895))
action count
action union
action filter_type
action find
entity Q6106
relation P6
type Q502895
action filter_type
action find
entity Q3029690
relation P6
type Q502895
[ANSWER]
['Q6106', 'P6', {'concept': 'Q502895'}] ['Q3029690', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { resource:Q6106 property:P6 ?n . ?n rdf:type ontology:Q502895 } UNION { ?n rdf:type ontology:Q502895 . resource:Q3029690 property:P6 ?n } }
Charlie Hales Floréal Martorell
2
action count
action union
action filter_type
action find
entity Portland
relation head of government
type common name
action filter_type
action find
entity EUROKKA
relation head of government
type common name
['Portland', 'head of government', {'concept': 'common name'}] ['EUROKKA', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { { resource:Portland property:head_of_government ?n . ?n rdf:type ontology:common_name } UNION { ?n rdf:type ontology:common_name . resource:EUROKKA property:head_of_government ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6106
P163
Q17335294
USER
What has Portland as its flag
(Q6106,P163,c(Q17335294))
action filter_type
action find
entity Q6106
relation P163
type Q17335294
['Q6106', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?k WHERE { resource:Q6106 property:P163 ?k . ?k rdf:type ontology:Q17335294 }
Portland
action filter_type
action find
entity Portland
relation flag
type flag or coat of arms
['Portland', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?k WHERE { resource:Portland property:flag ?k . ?k rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q5456804
SYSTEM
Flag of Portland
Q5456804
(Q6106,P163,c(Q17335294))
action filter_type
action find
entity Q6106
relation P163
type Q17335294
The [ANSWER] has Portland as its flag
['Q6106', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?k WHERE { resource:Q6106 property:P163 ?k . ?k rdf:type ontology:Q17335294 }
Flag of Portland
The Flag of Portland has Portland as its flag
Flag of Portland
action filter_type
action find
entity Portland
relation flag
type flag or coat of arms
['Portland', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?k WHERE { resource:Portland property:flag ?k . ?k rdf:type ontology:flag_or_coat_of_arms }
[]