Simple Question (Direct)
Simple Question
Q2713229
P106
Q12737077
USER
What are the professions of Lo Bosworth ?
(Q2713229,P106,c(Q12737077))
action filter_type
action find
entity Q2713229
relation P106
type Q12737077
['Q2713229', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2713229 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Lo Bosworth
action filter_type
action find
entity Lo Bosworth
relation occupation
type occupation
['Lo Bosworth', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Lo_Bosworth property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q33999 Q36180 Q131524
SYSTEM
actor, writer, entrepreneur
Q33999 Q36180 Q131524
(Q2713229,P106,c(Q12737077))
action filter_type
action find
entity Q2713229
relation P106
type Q12737077
The professions of Lo Bosworth are the [ANSWERS]
['Q2713229', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q2713229 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
actor writer entrepreneur
The professions of Lo Bosworth are the actor, writer and entrepreneur
actor writer entrepreneur
action filter_type
action find
entity Lo Bosworth
relation occupation
type occupation
['Lo Bosworth', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Lo_Bosworth property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q131524
P425
Q9332
USER
Which behavior has that one as thier associated field of occupation ?
(Q131524,P425,c(Q9332))
action filter_type
action find
entity Q131524
relation P425
type Q9332
['Q131524', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?q WHERE { resource:Q131524 property:P425 ?q . ?q rdf:type ontology:Q9332 }
entrepreneur
action filter_type
action find
entity entrepreneur
relation field of this occupation
type behavior
['entrepreneur', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?q WHERE { resource:entrepreneur property:field_of_this_occupation ?q . ?q rdf:type ontology:behavior }
[]
behavior
Clarification for simple ques.
Q36180
SYSTEM
Did you mean writer ?
Q33999 Q36180 Q131524
(Q33999,P425,c(Q9332)) (Q36180,P425,c(Q9332)) (Q131524,P425,c(Q9332))
[ANSWER]
['Q33999', 'P425', {'concept': 'Q9332'}] ['Q36180', 'P425', {'concept': 'Q9332'}] ['Q131524', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?q WHERE { resource:Q131524 property:P425 ?q . ?q rdf:type ontology:Q9332 }
actor writer entrepreneur
Did you mean writer ?
writer
['actor', 'field of this occupation', {'concept': 'behavior'}] ['writer', 'field of this occupation', {'concept': 'behavior'}] ['entrepreneur', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?q WHERE { resource:entrepreneur property:field_of_this_occupation ?q . ?q rdf:type ontology:behavior }
[]
Simple Question (Coreferenced)
USER
No, I meant entrepreneur. Could you tell me the answer for that?
(Q131524,P425,c(Q9332))
Q131524
['Q131524', 'P425', {'concept': 'Q9332'}]
['entrepreneur', 'field of this occupation', {'concept': 'behavior'}]
[]
Q3908516
SYSTEM
entrepreneurship
Q3908516
(Q131524,P425,c(Q9332))
action filter_type
action find
entity Q131524
relation P425
type Q9332
The [ANSWER] has that one as thier associated field of occupation
['Q131524', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?q WHERE { resource:Q131524 property:P425 ?q . ?q rdf:type ontology:Q9332 }
entrepreneurship
The entrepreneurship has that one as thier associated field of occupation
entrepreneurship
action filter_type
action find
entity entrepreneur
relation field of this occupation
type behavior
['entrepreneur', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?q WHERE { resource:entrepreneur property:field_of_this_occupation ?q . ?q rdf:type ontology:behavior }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P101
Q9332 Q21114848 Q502895
USER
How many behaviors are the field of work of around 13 magazine genres or people ?
(c(Q21114848)|c(Q502895),P101,c(Q9332))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q9332
type Q21114848
action find_reverse_tuple_counts
relation P101
type Q9332
type Q502895
value 13
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?z ) WHERE { { ?b property:P101 ?y . ?y rdf:type ontology:Q9332 . ?b rdf:type ontology:Q21114848 } UNION { ?y rdf:type ontology:Q9332 . ?b rdf:type ontology:Q502895 . ?b property:P101 ?y } } GROUP BY ?y } . FILTER ( ?z = 13 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type behavior
type magazine genre
action find_reverse_tuple_counts
relation field of work
type behavior
type common name
value 13
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?z ) WHERE { { ?b property:field_of_work ?y . ?y rdf:type ontology:behavior . ?b rdf:type ontology:magazine_genre } UNION { ?y rdf:type ontology:behavior . ?b rdf:type ontology:common_name . ?b property:field_of_work ?y } } GROUP BY ?y } . FILTER ( ?z = 13 ) }
[]
behavior magazine genre common name
SYSTEM
3
Q8434 Q735 Q11030
(c(Q21114848)|c(Q502895),P101,c(Q9332))
action count
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q9332
type Q21114848
action find_reverse_tuple_counts
relation P101
type Q9332
type Q502895
value 13
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?z ) WHERE { { ?b property:P101 ?y . ?y rdf:type ontology:Q9332 . ?b rdf:type ontology:Q21114848 } UNION { ?y rdf:type ontology:Q9332 . ?b rdf:type ontology:Q502895 . ?b property:P101 ?y } } GROUP BY ?y } . FILTER ( ?z = 13 ) }
education art journalism
3
action count
action approx
action union
action find_reverse_tuple_counts
relation field of work
type behavior
type magazine genre
action find_reverse_tuple_counts
relation field of work
type behavior
type common name
value 13
[[{'concept': 'magazine genre'}, {'concept': 'common name'}], 'field of work', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?b ) AS ?z ) WHERE { { ?b property:field_of_work ?y . ?y rdf:type ontology:behavior . ?b rdf:type ontology:magazine_genre } UNION { ?y rdf:type ontology:behavior . ?b rdf:type ontology:common_name . ?b property:field_of_work ?y } } GROUP BY ?y } . FILTER ( ?z = 13 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33999
P69
Q502895
USER
Which people were educated at actor ?
(c(Q502895),P69,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q33999']
SELECT DISTINCT ?x WHERE { ?x property:P69 resource:Q33999 . ?x rdf:type ontology:Q502895 }
actor
action filter_type
action find_reverse
entity actor
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'actor']
SELECT DISTINCT ?x WHERE { ?x property:educated_at resource:actor . ?x rdf:type ontology:common_name }
[]
common name
Q6302799 Q6688701
SYSTEM
Judi Connelli, Louise Currie
Q6302799 Q6688701
(c(Q502895),P69,Q33999)
action filter_type
action find_reverse
entity Q33999
relation P69
type Q502895
And [ANSWERS] were educated at actor
[{'concept': 'Q502895'}, 'P69', 'Q33999']
SELECT DISTINCT ?x WHERE { ?x property:P69 resource:Q33999 . ?x rdf:type ontology:Q502895 }
Judi Connelli Louise Currie
And Judi Connelli and Louise Currie were educated at actor
Judi Connelli Louise Currie
action filter_type
action find_reverse
entity actor
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'actor']
SELECT DISTINCT ?x WHERE { ?x property:educated_at resource:actor . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6302799 Q6688701
P21
Q290
USER
Which sexes do Judi Connelli and Louise Currie belong to ?
(Q6302799,P21,c(Q290)) (Q6688701,P21,c(Q290))
action union
action filter_type
action find
entity Q6302799
relation P21
type Q290
action filter_type
action find
entity Q6688701
relation P21
type Q290
['Q6302799', 'P21', {'concept': 'Q290'}] ['Q6688701', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { { resource:Q6302799 property:P21 ?v . ?v rdf:type ontology:Q290 } UNION { resource:Q6688701 property:P21 ?v . ?v rdf:type ontology:Q290 } }
Judi Connelli Louise Currie
action union
action filter_type
action find
entity Judi Connelli
relation gender
type sex
action filter_type
action find
entity Louise Currie
relation gender
type sex
['Judi Connelli', 'gender', {'concept': 'sex'}] ['Louise Currie', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { { resource:Judi_Connelli property:gender ?v . ?v rdf:type ontology:sex } UNION { resource:Louise_Currie property:gender ?v . ?v rdf:type ontology:sex } }
[]
sex
Q6581072 Q6581072
SYSTEM
female
Q6581072 Q6581072
(Q6302799,P21,c(Q290)) (Q6688701,P21,c(Q290))
action union
action filter_type
action find
entity Q6302799
relation P21
type Q290
action filter_type
action find
entity Q6688701
relation P21
type Q290
Judi Connelli and Louise Currie belong to the [ANSWER] and [ANSWER]
['Q6302799', 'P21', {'concept': 'Q290'}] ['Q6688701', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { { resource:Q6302799 property:P21 ?v . ?v rdf:type ontology:Q290 } UNION { resource:Q6688701 property:P21 ?v . ?v rdf:type ontology:Q290 } }
female female
Judi Connelli and Louise Currie belong to the female and female
female female
action union
action filter_type
action find
entity Judi Connelli
relation gender
type sex
action filter_type
action find
entity Louise Currie
relation gender
type sex
['Judi Connelli', 'gender', {'concept': 'sex'}] ['Louise Currie', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { { resource:Judi_Connelli property:gender ?v . ?v rdf:type ontology:sex } UNION { resource:Louise_Currie property:gender ?v . ?v rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6688701
P161
Q838948
USER
Which works of art stars Louise Currie as actor ?
(c(Q838948),P161,Q6688701)
action filter_type
action find_reverse
entity Q6688701
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q6688701']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q838948 . ?j property:P161 resource:Q6688701 }
Louise Currie
action filter_type
action find_reverse
entity Louise Currie
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Louise Currie']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:work_of_art . ?j property:cast_member resource:Louise_Currie }
[]
work of art
Q3519798 Q7750532 Q1607114
SYSTEM
The Ape Man, The Masked Marvel, Adventures of Captain Marvel
Q3519798 Q7750532 Q1607114
(c(Q838948),P161,Q6688701)
action filter_type
action find_reverse
entity Q6688701
relation P161
type Q838948
[ANSWERS] star Louise Currie as actor
[{'concept': 'Q838948'}, 'P161', 'Q6688701']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q838948 . ?j property:P161 resource:Q6688701 }
The Ape Man The Masked Marvel Adventures of Captain Marvel
The Ape Man, The Masked Marvel and Adventures of Captain Marvel star Louise Currie as actor
The Ape Man The Masked Marvel Adventures of Captain Marvel
action filter_type
action find_reverse
entity Louise Currie
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Louise Currie']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:work_of_art . ?j property:cast_member resource:Louise_Currie }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3519798 Q7750532 Q1607114
P57
Q502895
USER
Who directed those works of art ?
(Q3519798,P57,c(Q502895)) (Q7750532,P57,c(Q502895)) (Q1607114,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
['Q3519798', 'P57', {'concept': 'Q502895'}] ['Q7750532', 'P57', {'concept': 'Q502895'}] ['Q1607114', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?d property:P57 ?c . ?c rdf:type ontology:Q502895 . VALUES ( ?d ) { ( resource:Q3519798 ) ( resource:Q7750532 ) ( resource:Q1607114 ) } }
The Ape Man The Masked Marvel Adventures of Captain Marvel
action filter_type
action find
entity prev_answer
relation director
type common name
['The Ape Man', 'director', {'concept': 'common name'}] ['The Masked Marvel', 'director', {'concept': 'common name'}] ['Adventures of Captain Marvel', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?d property:director ?c . ?c rdf:type ontology:common_name . VALUES ( ?d ) { ( resource:The_Ape_Man ) ( resource:The_Masked_Marvel ) ( resource:Adventures_of_Captain_Marvel ) } }
[]
common name
Q1365729 Q2064707 Q7576059
SYSTEM
William Beaudine, William Witney, Spencer Gordon Bennet
Q1365729 Q7576059 Q3181440 Q2064707
(Q3519798,P57,c(Q502895)) (Q7750532,P57,c(Q502895)) (Q1607114,P57,c(Q502895))
action filter_type
action find
entity prev_answer
relation P57
type Q502895
[ANSWERS] directed those works of art
['Q3519798', 'P57', {'concept': 'Q502895'}] ['Q7750532', 'P57', {'concept': 'Q502895'}] ['Q1607114', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?d property:P57 ?c . ?c rdf:type ontology:Q502895 . VALUES ( ?d ) { ( resource:Q3519798 ) ( resource:Q7750532 ) ( resource:Q1607114 ) } }
William Beaudine Spencer Gordon Bennet John English William Witney
William Beaudine, William Witney and Spencer Gordon Bennet directed those works of art
William Beaudine William Witney Spencer Gordon Bennet
action filter_type
action find
entity prev_answer
relation director
type common name
['The Ape Man', 'director', {'concept': 'common name'}] ['The Masked Marvel', 'director', {'concept': 'common name'}] ['Adventures of Captain Marvel', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?d property:director ?c . ?c rdf:type ontology:common_name . VALUES ( ?d ) { ( resource:The_Ape_Man ) ( resource:The_Masked_Marvel ) ( resource:Adventures_of_Captain_Marvel ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3519798
P86
Q502895
USER
Who composed The Ape Man ?
(Q3519798,P86,c(Q502895))
action filter_type
action find
entity Q3519798
relation P86
type Q502895
['Q3519798', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q3519798 property:P86 ?v . ?v rdf:type ontology:Q502895 }
The Ape Man
action filter_type
action find
entity The Ape Man
relation composer
type common name
['The Ape Man', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Ape_Man property:composer ?v . ?v rdf:type ontology:common_name }
[]
common name
Q1292620
SYSTEM
Edward J. Kay
Q1292620
(Q3519798,P86,c(Q502895))
action filter_type
action find
entity Q3519798
relation P86
type Q502895
[ANSWER] composed The Ape Man
['Q3519798', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q3519798 property:P86 ?v . ?v rdf:type ontology:Q502895 }
Edward J. Kay
Edward J. Kay composed The Ape Man
Edward J. Kay
action filter_type
action find
entity The Ape Man
relation composer
type common name
['The Ape Man', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:The_Ape_Man property:composer ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3519798
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q1292620,P364,c(Q34770))
action filter_type
action find
entity Q3519798
relation P364
type Q34770
['Q1292620', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q3519798 property:P364 ?l }
The Ape Man
action filter_type
action find
entity The Ape Man
relation original language of work
type language
['Edward J. Kay', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:The_Ape_Man property:original_language_of_work ?l }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1292620,P364,c(Q34770))
action filter_type
action find
entity Q3519798
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q1292620', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q3519798 property:P364 ?l }
English
English was used originally for the creation of that work of art
English
action filter_type
action find
entity The Ape Man
relation original language of work
type language
['Edward J. Kay', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:The_Ape_Man property:original_language_of_work ?l }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q5329170 Q637228
P361
Q5962346
USER
Is that language a component of Anglo-Frisian languages and Kalenjin languages ?
(Q1860,P361,Q5329170) (Q1860,P361,Q637228)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q637228
relation P361
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q637228']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 . resource:Q1860 property:P361 resource:Q637228 }
English Anglo-Frisian languages Kalenjin languages
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Kalenjin languages
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Kalenjin languages']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages . resource:English property:part_of resource:Kalenjin_languages }
[]
classification scheme
SYSTEM
YES and NO respectively
(Q1860,P361,Q5329170) (Q1860,P361,Q637228)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q637228
relation P361
[ANSWER]
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q637228']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 . resource:Q1860 property:P361 resource:Q637228 }
YES and NO respectively
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Kalenjin languages
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Kalenjin languages']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages . resource:English property:part_of resource:Kalenjin_languages }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P37
Q852446
USER
Which US administrative territories are that one associated to as the official language ?
action filter_type
action find_reverse
entity Q1860
relation P37
type Q852446
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q852446 . ?z property:P37 resource:Q1860 }
English
action filter_type
action find_reverse
entity English
relation official language
type administrative territorial entity of the United States
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?z property:official_language resource:English }
[]
administrative territorial entity of the United States
Q1428 Q1415 Q1204
SYSTEM
Georgia, Indiana, Illinois
Q829 Q759 Q1370 Q1612 Q1454 Q1456 Q1415 Q99 Q782 Q1546 Q1204 Q1207 Q1221 Q816 Q812 Q1509 Q1261 Q1408 Q1649 Q1428 Q1603 Q173 Q797 Q1212 Q1553 Q1211 Q1214 Q1558 Q1494
action filter_type
action find_reverse
entity Q1860
relation P37
type Q852446
[ANSWERS] are that one associated to as the official language
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q852446 . ?z property:P37 resource:Q1860 }
Utah New Hampshire Virginia Arkansas North Carolina South Carolina Indiana California Hawaii Iowa Illinois North Dakota Idaho Arizona Florida Tennessee Colorado New Jersey Oklahoma Georgia Kentucky Alabama Alaska Montana Nebraska South Dakota Wyoming Kansas Mississippi
Georgia, Indiana and Illinois are that one associated to as the official language
Georgia Indiana Illinois
action filter_type
action find_reverse
entity English
relation official language
type administrative territorial entity of the United States
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?z property:official_language resource:English }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P163
Q17335294 Q14660 Q852446
USER
How many US administrative territories can be described by less number of coats of arms or flags than that US administrative territory ?
(c(Q852446),P163,c(Q17335294)|c(Q14660))
[{'concept': 'Q852446'}, 'P163', [{'concept': 'Q17335294'}, {'concept': 'Q14660'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:Q14660 ?y } UNION { ?z property:Q14660 ?x } } . ?z rdf:type ontology:Q852446 . ?y rdf:type ontology:Q17335294 . ?x rdf:type ontology:Q14660 }
[{'concept': 'administrative territorial entity of the United States'}, 'flag', [{'concept': 'flag or coat of arms'}, {'concept': 'flag'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:flag ?y } UNION { ?z property:flag ?x } } . ?z rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?y rdf:type ontology:flag_or_coat_of_arms . ?x rdf:type ontology:flag }
[]
flag or coat of arms flag administrative territorial entity of the United States
Comparative|Count over More/Less|Mult. entity type|Clarification
Q1204
SYSTEM
Did you mean Illinois ?
(c(Q852446),P163,c(Q17335294)|c(Q14660))
[ANSWER]
[{'concept': 'Q852446'}, 'P163', [{'concept': 'Q17335294'}, {'concept': 'Q14660'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:Q14660 ?y } UNION { ?z property:Q14660 ?x } } . ?z rdf:type ontology:Q852446 . ?y rdf:type ontology:Q17335294 . ?x rdf:type ontology:Q14660 }
Did you mean Illinois ?
Illinois
[{'concept': 'administrative territorial entity of the United States'}, 'flag', [{'concept': 'flag or coat of arms'}, {'concept': 'flag'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:flag ?y } UNION { ?z property:flag ?x } } . ?z rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?y rdf:type ontology:flag_or_coat_of_arms . ?x rdf:type ontology:flag }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Indiana. Could you tell me the answer for that?
(c(Q852446),P163,c(Q17335294)|c(Q14660))
Q1415
[{'concept': 'Q852446'}, 'P163', [{'concept': 'Q17335294'}, {'concept': 'Q14660'}]]
[{'concept': 'administrative territorial entity of the United States'}, 'flag', [{'concept': 'flag or coat of arms'}, {'concept': 'flag'}]]
[]
SYSTEM
1
Q1537
(c(Q852446),P163,c(Q17335294)|c(Q14660))
[ANSWER]
[{'concept': 'Q852446'}, 'P163', [{'concept': 'Q17335294'}, {'concept': 'Q14660'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:Q14660 ?y } UNION { ?z property:Q14660 ?x } } . ?z rdf:type ontology:Q852446 . ?y rdf:type ontology:Q17335294 . ?x rdf:type ontology:Q14660 }
Wisconsin
1
[{'concept': 'administrative territorial entity of the United States'}, 'flag', [{'concept': 'flag or coat of arms'}, {'concept': 'flag'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:flag ?y } UNION { ?z property:flag ?x } } . ?z rdf:type ontology:administrative_territorial_entity_of_the_United_States . ?y rdf:type ontology:flag_or_coat_of_arms . ?x rdf:type ontology:flag }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1428
P47
Q852446
USER
Which US administrative territories are next to the border of Georgia ?
(c(Q852446),P47,Q1428)
action filter_type
action find
entity Q1428
relation P47
type Q852446
[{'concept': 'Q852446'}, 'P47', 'Q1428']
SELECT DISTINCT ?u WHERE { resource:Q1428 property:P47 ?u . ?u rdf:type ontology:Q852446 }
Georgia
action filter_type
action find
entity Georgia
relation shares border with
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'shares border with', 'Georgia']
SELECT DISTINCT ?u WHERE { resource:Georgia property:shares_border_with ?u . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q1509 Q173 Q812
SYSTEM
Tennessee, Alabama, Florida
Q1454 Q1456 Q173 Q812 Q1509
(c(Q852446),P47,Q1428)
action filter_type
action find
entity Q1428
relation P47
type Q852446
Georgia [ANSWERS] are next to the border of Georgia
[{'concept': 'Q852446'}, 'P47', 'Q1428']
SELECT DISTINCT ?u WHERE { resource:Q1428 property:P47 ?u . ?u rdf:type ontology:Q852446 }
North Carolina South Carolina Alabama Florida Tennessee
Georgia Tennessee, Alabama and Florida are next to the border of Georgia
Tennessee Alabama Florida
action filter_type
action find
entity Georgia
relation shares border with
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'shares border with', 'Georgia']
SELECT DISTINCT ?u WHERE { resource:Georgia property:shares_border_with ?u . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]