Simple Question (Direct)
Simple Question
Q447941
P27
Q15617994
USER
Which administrative territory is Alioune Badara Bèye a civilian of ?
(Q447941,P27,c(Q15617994))
action filter_type
action find
entity Q447941
relation P27
type Q15617994
['Q447941', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q447941 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Alioune Badara Bèye
action filter_type
action find
entity Alioune Badara Bèye
relation country of citizenship
type designation for an administrative territorial entity
['Alioune Badara Bèye', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Alioune_Badara_Bèye property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1041
SYSTEM
Senegal
Q1041
(Q447941,P27,c(Q15617994))
action filter_type
action find
entity Q447941
relation P27
type Q15617994
[ANSWER] is Alioune Badara Bèye a civilian of
['Q447941', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q447941 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Senegal
Senegal is Alioune Badara Bèye a civilian of
Senegal
action filter_type
action find
entity Alioune Badara Bèye
relation country of citizenship
type designation for an administrative territorial entity
['Alioune Badara Bèye', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Alioune_Badara_Bèye property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1041
P551
Q502895
USER
Which person has residence at that administrative territory ?
(c(Q502895),P551,Q1041)
action filter_type
action find_reverse
entity Q1041
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1041']
SELECT DISTINCT ?g WHERE { ?g property:P551 resource:Q1041 . ?g rdf:type ontology:Q502895 }
Senegal
action filter_type
action find_reverse
entity Senegal
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Senegal']
SELECT DISTINCT ?g WHERE { ?g property:residence resource:Senegal . ?g rdf:type ontology:common_name }
[]
common name
Q2895607
SYSTEM
Ben Zimet
Q2895607
(c(Q502895),P551,Q1041)
action filter_type
action find_reverse
entity Q1041
relation P551
type Q502895
[ANSWER] has residence at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q1041']
SELECT DISTINCT ?g WHERE { ?g property:P551 resource:Q1041 . ?g rdf:type ontology:Q502895 }
Ben Zimet
Ben Zimet has residence at that administrative territory
Ben Zimet
action filter_type
action find_reverse
entity Senegal
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Senegal']
SELECT DISTINCT ?g WHERE { ?g property:residence resource:Senegal . ?g rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1886098
P36
Q20667921 Q56061 Q15617994
USER
How many administrative territories contain greater number of french administrative divisions and administrative territories as their capital than Pixley ka Seme District Municipality ?
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1886098
relation P36
type Q20667921
type Q56061
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?t WHERE { { ?t property:P36 ?v . ?t rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q20667921 } UNION { ?t property:P36 ?v . ?v rdf:type ontology:Q56061 . ?t rdf:type ontology:Q15617994 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q1886098 property:P36 ?c . { { ?c rdf:type ontology:Q20667921 } UNION { ?c rdf:type ontology:Q56061 } } } } . FILTER ( ?s > ?i ) }
Pixley ka Seme District Municipality
action count
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Pixley ka Seme District Municipality
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?t WHERE { { ?t property:capital ?v . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?t property:capital ?v . ?v rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Pixley_ka_Seme_District_Municipality property:capital ?c . { { ?c rdf:type ontology:type_of_french_administrative_division } UNION { ?c rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?s > ?i ) }
[]
type of french administrative division administrative territorial entity designation for an administrative territorial entity
SYSTEM
21
Q2998020 Q258 Q3259 Q12798 Q1020 Q12703 Q12569 Q41 Q30 Q230 Q12730 Q199688 Q3278 Q12772 Q12661 Q12536 Q3164 Q517333 Q17 Q160307 Q12789
(c(Q15617994),P36,c(Q20667921)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
action find_tuple_counts
relation P36
type Q15617994
type Q56061
action count
action filter_multi_types
action find
entity Q1886098
relation P36
type Q20667921
type Q56061
[ANSWER]
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q20667921'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?t WHERE { { ?t property:P36 ?v . ?t rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q20667921 } UNION { ?t property:P36 ?v . ?v rdf:type ontology:Q56061 . ?t rdf:type ontology:Q15617994 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Q1886098 property:P36 ?c . { { ?c rdf:type ontology:Q20667921 } UNION { ?c rdf:type ontology:Q56061 } } } } . FILTER ( ?s > ?i ) }
Corse South Africa Cantal Vendée Malawi Pyrénées-Atlantiques Loire Greece United States of America Georgia Haute-Saône Almohad Charente-Maritime Tarn Nord Abbasid caliphate Ardennes Principality of Polotsk Japan Fatimid caliphate Var
21
action count
action greater
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Pixley ka Seme District Municipality
relation capital
type type of french administrative division
type administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'type of french administrative division'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) ?t WHERE { { ?t property:capital ?v . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?t property:capital ?v . ?v rdf:type ontology:administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?i ) WHERE { resource:Pixley_ka_Seme_District_Municipality property:capital ?c . { { ?c rdf:type ontology:type_of_french_administrative_division } UNION { ?c rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?s > ?i ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1041
P30
Q2221906
USER
Where is Senegal situated ?
(Q1041,P30,c(Q2221906))
action filter_type
action find
entity Q1041
relation P30
type Q2221906
['Q1041', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { resource:Q1041 property:P30 ?f . ?f rdf:type ontology:Q2221906 }
Senegal
action filter_type
action find
entity Senegal
relation continent
type geographic location
['Senegal', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { resource:Senegal property:continent ?f . ?f rdf:type ontology:geographic_location }
[]
geographic location
Q15
SYSTEM
Africa
Q15
(Q1041,P30,c(Q2221906))
action filter_type
action find
entity Q1041
relation P30
type Q2221906
Senegal is situated in [ANSWER]
['Q1041', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?f WHERE { resource:Q1041 property:P30 ?f . ?f rdf:type ontology:Q2221906 }
Africa
Senegal is situated in Africa
Africa
action filter_type
action find
entity Senegal
relation continent
type geographic location
['Senegal', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?f WHERE { resource:Senegal property:continent ?f . ?f rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21490458
Q2221906
USER
And what about Milorgknausane?
(Q21490458,P30,c(Q2221906))
action filter_type
action find
entity Q21490458
relation P30
type Q2221906
['Q21490458', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { resource:Q21490458 property:P30 ?v . ?v rdf:type ontology:Q2221906 }
Milorgknausane
action filter_type
action find
entity Milorgknausane
relation continent
type geographic location
['Milorgknausane', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { resource:Milorgknausane property:continent ?v . ?v rdf:type ontology:geographic_location }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q21490458,P30,c(Q2221906))
action filter_type
action find
entity Q21490458
relation P30
type Q2221906
[ANSWER]
['Q21490458', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?v WHERE { resource:Q21490458 property:P30 ?v . ?v rdf:type ontology:Q2221906 }
Antarctica
Antarctica
action filter_type
action find
entity Milorgknausane
relation continent
type geographic location
['Milorgknausane', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?v WHERE { resource:Milorgknausane property:continent ?v . ?v rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2895607
P106
Q12737077
USER
What are the job of Ben Zimet ?
(Q2895607,P106,c(Q12737077))
action filter_type
action find
entity Q2895607
relation P106
type Q12737077
['Q2895607', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2895607 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Ben Zimet
action filter_type
action find
entity Ben Zimet
relation occupation
type occupation
['Ben Zimet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Ben_Zimet property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q16023925 Q177220
SYSTEM
story-teller, singer
Q16023925 Q177220
(Q2895607,P106,c(Q12737077))
action filter_type
action find
entity Q2895607
relation P106
type Q12737077
The job of Ben Zimet are the [ANSWERS]
['Q2895607', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q2895607 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
story-teller singer
The job of Ben Zimet are the story-teller and singer
story-teller singer
action filter_type
action find
entity Ben Zimet
relation occupation
type occupation
['Ben Zimet', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Ben_Zimet property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3113501
Q12737077
USER
And how about Miwa Yoshida?
(Q3113501,P106,c(Q12737077))
action filter_type
action find
entity Q3113501
relation P106
type Q12737077
['Q3113501', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3113501 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Miwa Yoshida
action filter_type
action find
entity Miwa Yoshida
relation occupation
type occupation
['Miwa Yoshida', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Miwa_Yoshida property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q36834 Q822146 Q15981151
SYSTEM
composer, lyricist, jazz musician
Q36834 Q15981151 Q822146 Q488205 Q177220
(Q3113501,P106,c(Q12737077))
action filter_type
action find
entity Q3113501
relation P106
type Q12737077
[ANSWERS]
['Q3113501', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3113501 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
composer jazz musician lyricist singer-songwriter singer
composer lyricist jazz musician
action filter_type
action find
entity Miwa Yoshida
relation occupation
type occupation
['Miwa Yoshida', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Miwa_Yoshida property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q502895 Q43229
USER
Which occupations are the area of more number of people or organizations than that occupation ?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
occupation common name organization
Comparative|More/Less|Mult. entity type|Clarification
Q822146
SYSTEM
Did you mean lyricist ?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
Did you mean lyricist ?
lyricist
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]
Comparative Reasoning (All)
USER
No, I meant composer. Could you tell me the answer for that?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
Q36834
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
[]
Q16009483 Q201788 Q1028181
SYSTEM
sideshow performer, historian, painter
Q6625963 Q177220 Q39631 Q17156912 Q81096 Q170790 Q2405480 Q1172458 Q169470 Q201788 Q1114448 Q1028181 Q16009483 Q1607826 Q639669 Q11774891
(c(Q502895)|c(Q43229),P101,c(Q12737077))
[ANSWERS] are the area of more number of people or organizations than that occupation
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q43229 }
novelist singer physician malariologist engineer mathematician voice actor muhaddith physicist historian cartoonist painter sideshow performer editor musician ice hockey player
Sideshow performer, historian and painter are the area of more number of people or organizations than that occupation
sideshow performer historian painter
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:occupation . ?x rdf:type ontology:organization }
[]