Simple Question (Direct)
Simple Question
Q1162685
P19
Q56061
USER
Which administrative territory is the place of birth of Daniel Serafin ?
(Q1162685,P19,c(Q56061))
action filter_type
action find
entity Q1162685
relation P19
type Q56061
['Q1162685', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1162685 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Daniel Serafin
action filter_type
action find
entity Daniel Serafin
relation place of birth
type administrative territorial entity
['Daniel Serafin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Daniel_Serafin property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q1162685,P19,c(Q56061))
action filter_type
action find
entity Q1162685
relation P19
type Q56061
[ANSWER] is the place of birth of Daniel Serafin
['Q1162685', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1162685 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Vienna
Vienna is the place of birth of Daniel Serafin
Vienna
action filter_type
action find
entity Daniel Serafin
relation place of birth
type administrative territorial entity
['Daniel Serafin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Daniel_Serafin property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1162685
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q1741,P106,c(Q12737077))
action filter_type
action find
entity Q1162685
relation P106
type Q12737077
['Q1741', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1162685 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Daniel Serafin
action filter_type
action find
entity Daniel Serafin
relation occupation
type occupation
['Vienna', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Daniel_Serafin property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q2865819 Q33999 Q177220
SYSTEM
opera singer, actor, singer
Q2865819 Q33999 Q177220
(Q1741,P106,c(Q12737077))
action filter_type
action find
entity Q1162685
relation P106
type Q12737077
[ANSWERS] have that person as his/her 's career
['Q1741', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1162685 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
opera singer actor singer
Opera singer, actor and singer have that person as his/her 's career
opera singer actor singer
action filter_type
action find
entity Daniel Serafin
relation occupation
type occupation
['Vienna', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Daniel_Serafin property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q43229 Q502895
USER
How many occupations do approximately the same number of organizations and people belong to as that occupation ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
occupation organization common name
Comparative|Count over More/Less|Mult. entity type|Clarification
Q33999
SYSTEM
Did you mean actor ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
Did you mean actor ?
actor
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant singer. Could you tell me the answer for that?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
Q177220
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
[]
SYSTEM
114
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q15954519 Q42603 Q3621491 Q11774891 Q6981670
(c(Q43229)|c(Q502895),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
novelist legislator singer business magnate secretary teacher sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer goldsmith art director educationist seiyū bassist wood carver model violinist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer alchemist priest archaeologist ice hockey player Navajo weaving
114
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q33999
P106
Q2088357 Q874405
USER
How many musical ensembles and social groups have actor as his/her means of employment ?
(c(Q2088357),P106,Q33999) (c(Q874405),P106,Q33999)
action count
action union
action filter_type
action find_reverse
entity Q33999
relation P106
type Q2088357
action filter_type
action find_reverse
entity Q33999
relation P106
type Q874405
[{'concept': 'Q2088357'}, 'P106', 'Q33999'] [{'concept': 'Q874405'}, 'P106', 'Q33999']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:P106 resource:Q33999 . ?s rdf:type ontology:Q874405 } UNION { ?s property:P106 resource:Q33999 . ?s rdf:type ontology:Q2088357 } }
actor
action count
action union
action filter_type
action find_reverse
entity actor
relation occupation
type musical ensemble
action filter_type
action find_reverse
entity actor
relation occupation
type social group
[{'concept': 'musical ensemble'}, 'occupation', 'actor'] [{'concept': 'social group'}, 'occupation', 'actor']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:occupation resource:actor . ?s rdf:type ontology:social_group } UNION { ?s property:occupation resource:actor . ?s rdf:type ontology:musical_ensemble } }
[]
musical ensemble social group
SYSTEM
2 musical ensembles and 4 social groups
Q1879868 Q1000219 Q7763441 Q4205938 Q3998446 Q5521269
(c(Q2088357),P106,Q33999) (c(Q874405),P106,Q33999)
action count
action union
action filter_type
action find_reverse
entity Q33999
relation P106
type Q2088357
action filter_type
action find_reverse
entity Q33999
relation P106
type Q874405
[ANSWER]
[{'concept': 'Q2088357'}, 'P106', 'Q33999'] [{'concept': 'Q874405'}, 'P106', 'Q33999']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:P106 resource:Q33999 . ?s rdf:type ontology:Q874405 } UNION { ?s property:P106 resource:Q33999 . ?s rdf:type ontology:Q2088357 } }
Löwe Kapoor family The Seven Little Eatons Dim Sum Dollies Trettré Ganguly family
2 musical ensembles and 4 social groups
action count
action union
action filter_type
action find_reverse
entity actor
relation occupation
type musical ensemble
action filter_type
action find_reverse
entity actor
relation occupation
type social group
[{'concept': 'musical ensemble'}, 'occupation', 'actor'] [{'concept': 'social group'}, 'occupation', 'actor']
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { ?s property:occupation resource:actor . ?s rdf:type ontology:social_group } UNION { ?s property:occupation resource:actor . ?s rdf:type ontology:musical_ensemble } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P276
Q14952
USER
Which headgear is situated at Vienna ?
(c(Q14952),P276,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P276
type Q14952
[{'concept': 'Q14952'}, 'P276', 'Q1741']
SELECT DISTINCT ?c WHERE { ?c property:P276 resource:Q1741 . ?c rdf:type ontology:Q14952 }
Vienna
action filter_type
action find_reverse
entity Vienna
relation location
type headgear
[{'concept': 'headgear'}, 'location', 'Vienna']
SELECT DISTINCT ?c WHERE { ?c property:location resource:Vienna . ?c rdf:type ontology:headgear }
[]
headgear
Q1110169
SYSTEM
Helmet of Skanderbeg
Q1110169
(c(Q14952),P276,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P276
type Q14952
[ANSWER] is situated at Vienna
[{'concept': 'Q14952'}, 'P276', 'Q1741']
SELECT DISTINCT ?c WHERE { ?c property:P276 resource:Q1741 . ?c rdf:type ontology:Q14952 }
Helmet of Skanderbeg
Helmet of Skanderbeg is situated at Vienna
Helmet of Skanderbeg
action filter_type
action find_reverse
entity Vienna
relation location
type headgear
[{'concept': 'headgear'}, 'location', 'Vienna']
SELECT DISTINCT ?c WHERE { ?c property:location resource:Vienna . ?c rdf:type ontology:headgear }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P47
Q486972
USER
Which human settlement is bordered by Vienna ?
(Q1741,P47,c(Q486972))
action filter_type
action find
entity Q1741
relation P47
type Q486972
['Q1741', 'P47', {'concept': 'Q486972'}]
SELECT DISTINCT ?r WHERE { resource:Q1741 property:P47 ?r . ?r rdf:type ontology:Q486972 }
Vienna
action filter_type
action find
entity Vienna
relation shares border with
type human settlement
['Vienna', 'shares border with', {'concept': 'human settlement'}]
SELECT DISTINCT ?r WHERE { resource:Vienna property:shares_border_with ?r . ?r rdf:type ontology:human_settlement }
[]
human settlement
Q590620
SYSTEM
Purkersdorf
Q590620
(Q1741,P47,c(Q486972))
action filter_type
action find
entity Q1741
relation P47
type Q486972
[ANSWER] is bordered by Vienna
['Q1741', 'P47', {'concept': 'Q486972'}]
SELECT DISTINCT ?r WHERE { resource:Q1741 property:P47 ?r . ?r rdf:type ontology:Q486972 }
Purkersdorf
Purkersdorf is bordered by Vienna
Purkersdorf
action filter_type
action find
entity Vienna
relation shares border with
type human settlement
['Vienna', 'shares border with', {'concept': 'human settlement'}]
SELECT DISTINCT ?r WHERE { resource:Vienna property:shares_border_with ?r . ?r rdf:type ontology:human_settlement }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1768676
Q486972
USER
And how about Fuentes de Ayódar?
(Q1768676,P47,c(Q486972))
action filter_type
action find
entity Q1768676
relation P47
type Q486972
['Q1768676', 'P47', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { resource:Q1768676 property:P47 ?f . ?f rdf:type ontology:Q486972 }
Fuentes de Ayódar
action filter_type
action find
entity Fuentes de Ayódar
relation shares border with
type human settlement
['Fuentes de Ayódar', 'shares border with', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { resource:Fuentes_de_Ayódar property:shares_border_with ?f . ?f rdf:type ontology:human_settlement }
[]
human settlement
Q1769924
SYSTEM
Cirat
Q1769924
(Q1768676,P47,c(Q486972))
action filter_type
action find
entity Q1768676
relation P47
type Q486972
[ANSWER]
['Q1768676', 'P47', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { resource:Q1768676 property:P47 ?f . ?f rdf:type ontology:Q486972 }
Cirat
Cirat
action filter_type
action find
entity Fuentes de Ayódar
relation shares border with
type human settlement
['Fuentes de Ayódar', 'shares border with', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { resource:Fuentes_de_Ayódar property:shares_border_with ?f . ?f rdf:type ontology:human_settlement }
[]