Simple Question (Direct)
Simple Question
Q2757515
P19
Q56061
USER
Which administrative territory is the birthplace of Jaishankar Bhojak ?
(Q2757515,P19,c(Q56061))
action filter_type
action find
entity Q2757515
relation P19
type Q56061
['Q2757515', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q2757515 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Jaishankar Bhojak
action filter_type
action find
entity Jaishankar Bhojak
relation place of birth
type administrative territorial entity
['Jaishankar Bhojak', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jaishankar_Bhojak property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2452712
SYSTEM
Visnagar
Q2452712
(Q2757515,P19,c(Q56061))
action filter_type
action find
entity Q2757515
relation P19
type Q56061
[ANSWER] is the birthplace of Jaishankar Bhojak
['Q2757515', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q2757515 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Visnagar
Visnagar is the birthplace of Jaishankar Bhojak
Visnagar
action filter_type
action find
entity Jaishankar Bhojak
relation place of birth
type administrative territorial entity
['Jaishankar Bhojak', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jaishankar_Bhojak property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2757515
P106
Q12737077
USER
Which occupations are the professions of Jaishankar Bhojak ?
(Q2757515,P106,c(Q12737077))
action filter_type
action find
entity Q2757515
relation P106
type Q12737077
['Q2757515', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q2757515 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Jaishankar Bhojak
action filter_type
action find
entity Jaishankar Bhojak
relation occupation
type occupation
['Jaishankar Bhojak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Jaishankar_Bhojak property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q2259451 Q3387717
SYSTEM
stage actor, theatre director
Q2259451 Q3387717
(Q2757515,P106,c(Q12737077))
action filter_type
action find
entity Q2757515
relation P106
type Q12737077
The professions of Jaishankar Bhojak are the [ANSWERS]
['Q2757515', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q2757515 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
stage actor theatre director
The professions of Jaishankar Bhojak are the stage actor and theatre director
stage actor theatre director
action filter_type
action find
entity Jaishankar Bhojak
relation occupation
type occupation
['Jaishankar Bhojak', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Jaishankar_Bhojak property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23903070
Q12737077
USER
And also tell me about Louis Léonard Michelet De Villemonteil?
(Q23903070,P106,c(Q12737077))
action filter_type
action find
entity Q23903070
relation P106
type Q12737077
['Q23903070', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q23903070 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Louis Léonard Michelet De Villemonteil
action filter_type
action find
entity Louis Léonard Michelet De Villemonteil
relation occupation
type occupation
['Louis Léonard Michelet De Villemonteil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Louis_Léonard_Michelet_De_Villemonteil property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q23903070,P106,c(Q12737077))
action filter_type
action find
entity Q23903070
relation P106
type Q12737077
[ANSWER]
['Q23903070', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q23903070 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Louis Léonard Michelet De Villemonteil
relation occupation
type occupation
['Louis Léonard Michelet De Villemonteil', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Louis_Léonard_Michelet_De_Villemonteil property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23903070
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q23903070
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q23903070 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Louis Léonard Michelet De Villemonteil
action filter_type
action find
entity Louis Léonard Michelet De Villemonteil
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Louis_Léonard_Michelet_De_Villemonteil property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q23903070
relation P39
type Q12737077
Member of the French National Assembly
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q23903070 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
member of the French National Assembly
Member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Louis Léonard Michelet De Villemonteil
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Louis_Léonard_Michelet_De_Villemonteil property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2452712 Q5465049
P17
Q15617994
USER
How many administrative territories are Visnagar or Fonna Health Trust present in ?
(Q2452712,P17,c(Q15617994)) (Q5465049,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q2452712
relation P17
type Q15617994
action filter_type
action find
entity Q5465049
relation P17
type Q15617994
['Q2452712', 'P17', {'concept': 'Q15617994'}] ['Q5465049', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { ?b rdf:type ontology:Q15617994 . resource:Q2452712 property:P17 ?b } UNION { resource:Q5465049 property:P17 ?b . ?b rdf:type ontology:Q15617994 } }
Visnagar Fonna Health Trust
action count
action union
action filter_type
action find
entity Visnagar
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Fonna Health Trust
relation country
type designation for an administrative territorial entity
['Visnagar', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Fonna Health Trust', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Visnagar property:country ?b } UNION { resource:Fonna_Health_Trust property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q20 Q668
(Q2452712,P17,c(Q15617994)) (Q5465049,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q2452712
relation P17
type Q15617994
action filter_type
action find
entity Q5465049
relation P17
type Q15617994
[ANSWER]
['Q2452712', 'P17', {'concept': 'Q15617994'}] ['Q5465049', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { ?b rdf:type ontology:Q15617994 . resource:Q2452712 property:P17 ?b } UNION { resource:Q5465049 property:P17 ?b . ?b rdf:type ontology:Q15617994 } }
Norway India
2
action count
action union
action filter_type
action find
entity Visnagar
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Fonna Health Trust
relation country
type designation for an administrative territorial entity
['Visnagar', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Fonna Health Trust', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Visnagar property:country ?b } UNION { resource:Fonna_Health_Trust property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2259451 Q3356245
P425
Q1914636
USER
How many activities have stage actor or Civilekonom as thier associated field of occupation ?
(Q2259451,P425,c(Q1914636)) (Q3356245,P425,c(Q1914636))
action count
action union
action filter_type
action find
entity Q2259451
relation P425
type Q1914636
action filter_type
action find
entity Q3356245
relation P425
type Q1914636
['Q2259451', 'P425', {'concept': 'Q1914636'}] ['Q3356245', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { resource:Q3356245 property:P425 ?k . ?k rdf:type ontology:Q1914636 } UNION { resource:Q2259451 property:P425 ?k . ?k rdf:type ontology:Q1914636 } }
stage actor Civilekonom
action count
action union
action filter_type
action find
entity stage actor
relation field of this occupation
type activity
action filter_type
action find
entity Civilekonom
relation field of this occupation
type activity
['stage actor', 'field of this occupation', {'concept': 'activity'}] ['Civilekonom', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { resource:Civilekonom property:field_of_this_occupation ?k . ?k rdf:type ontology:activity } UNION { resource:stage_actor property:field_of_this_occupation ?k . ?k rdf:type ontology:activity } }
[]
activity
SYSTEM
2
Q338754 Q184485
(Q2259451,P425,c(Q1914636)) (Q3356245,P425,c(Q1914636))
action count
action union
action filter_type
action find
entity Q2259451
relation P425
type Q1914636
action filter_type
action find
entity Q3356245
relation P425
type Q1914636
[ANSWER]
['Q2259451', 'P425', {'concept': 'Q1914636'}] ['Q3356245', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { resource:Q3356245 property:P425 ?k . ?k rdf:type ontology:Q1914636 } UNION { resource:Q2259451 property:P425 ?k . ?k rdf:type ontology:Q1914636 } }
control performing arts
2
action count
action union
action filter_type
action find
entity stage actor
relation field of this occupation
type activity
action filter_type
action find
entity Civilekonom
relation field of this occupation
type activity
['stage actor', 'field of this occupation', {'concept': 'activity'}] ['Civilekonom', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { resource:Civilekonom property:field_of_this_occupation ?k . ?k rdf:type ontology:activity } UNION { resource:stage_actor property:field_of_this_occupation ?k . ?k rdf:type ontology:activity } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q128267
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of more number of occupations than Joseph ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q128267
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P417 ?u . ?u rdf:type ontology:Q502895 . ?z rdf:type ontology:Q12737077 } GROUP BY ?u } . FILTER ( ?d > ?w ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q128267 property:P417 ?j . ?j rdf:type ontology:Q502895 } } }
Joseph
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Joseph
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:patron_saint ?u . ?u rdf:type ontology:common_name . ?z rdf:type ontology:occupation } GROUP BY ?u } . FILTER ( ?d > ?w ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Joseph property:patron_saint ?j . ?j rdf:type ontology:common_name } } }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q128267
relation P417
type Q502895
[ANSWERS] are the names of person who are the patron saints of more number of occupations than Joseph
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:P417 ?u . ?u rdf:type ontology:Q502895 . ?z rdf:type ontology:Q12737077 } GROUP BY ?u } . FILTER ( ?d > ?w ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Q128267 property:P417 ?j . ?j rdf:type ontology:Q502895 } } }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the names of person who are the patron saints of more number of occupations than Joseph
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Joseph
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?d ) WHERE { ?z property:patron_saint ?u . ?u rdf:type ontology:common_name . ?z rdf:type ontology:occupation } GROUP BY ?u } . FILTER ( ?d > ?w ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { resource:Joseph property:patron_saint ?j . ?j rdf:type ontology:common_name } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4328853
P674
Q223393
USER
Do Of Missing Persons have the character those people ?
(Q4328853,P674,Q9438) (Q4328853,P674,Q60059) (Q4328853,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q4328853
relation P674
['Q4328853', 'P674', 'Q9438'] ['Q4328853', 'P674', 'Q60059'] ['Q4328853', 'P674', 'Q166876']
ASK WHERE { VALUES ( ?b ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } . resource:Q4328853 property:P674 ?b }
Of Missing Persons
action is_in
entity prev_answer
action find
entity Of Missing Persons
relation characters
['Of Missing Persons', 'characters', 'Thomas Aquinas'] ['Of Missing Persons', 'characters', 'Albertus Magnus'] ['Of Missing Persons', 'characters', 'Isidore of Seville']
ASK WHERE { VALUES ( ?b ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } . resource:Of_Missing_Persons property:characters ?b }
[]
literary genre
SYSTEM
NO
(Q4328853,P674,Q9438) (Q4328853,P674,Q60059) (Q4328853,P674,Q166876)
action is_in
entity prev_answer
action find
entity Q4328853
relation P674
[ANSWER]
['Q4328853', 'P674', 'Q9438'] ['Q4328853', 'P674', 'Q60059'] ['Q4328853', 'P674', 'Q166876']
ASK WHERE { VALUES ( ?b ) { ( resource:Q453698 ) ( resource:Q229190 ) ( resource:Q152457 ) } . resource:Q4328853 property:P674 ?b }
No
action is_in
entity prev_answer
action find
entity Of Missing Persons
relation characters
['Of Missing Persons', 'characters', 'Thomas Aquinas'] ['Of Missing Persons', 'characters', 'Albertus Magnus'] ['Of Missing Persons', 'characters', 'Isidore of Seville']
ASK WHERE { VALUES ( ?b ) { ( resource:Saint_Amand ) ( resource:Catherine_of_Siena ) ( resource:Saint_Roch ) } . resource:Of_Missing_Persons property:characters ?b }
[]