Simple Question (Direct)
Simple Question
Q3914748
P69
Q3918
USER
What is the university where Raghunath Vinayak Dhulekar was educated ?
(Q3914748,P69,c(Q3918))
action filter_type
action find
entity Q3914748
relation P69
type Q3918
['Q3914748', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q3918 . resource:Q3914748 property:P69 ?k }
Raghunath Vinayak Dhulekar
action filter_type
action find
entity Raghunath Vinayak Dhulekar
relation educated at
type university
['Raghunath Vinayak Dhulekar', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:university . resource:Raghunath_Vinayak_Dhulekar property:educated_at ?k }
[]
university
Q1145306
SYSTEM
University of Calcutta
Q1145306
(Q3914748,P69,c(Q3918))
action filter_type
action find
entity Q3914748
relation P69
type Q3918
The university Raghunath Vinayak Dhulekar was educated is the [ANSWER]
['Q3914748', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q3918 . resource:Q3914748 property:P69 ?k }
University of Calcutta
The university Raghunath Vinayak Dhulekar was educated is the University of Calcutta
University of Calcutta
action filter_type
action find
entity Raghunath Vinayak Dhulekar
relation educated at
type university
['Raghunath Vinayak Dhulekar', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:university . resource:Raghunath_Vinayak_Dhulekar property:educated_at ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3914748
P27
Q15617994
USER
Which administrative territory does Raghunath Vinayak Dhulekar belong to ?
(Q3914748,P27,c(Q15617994))
action filter_type
action find
entity Q3914748
relation P27
type Q15617994
['Q3914748', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3914748 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Raghunath Vinayak Dhulekar
action filter_type
action find
entity Raghunath Vinayak Dhulekar
relation country of citizenship
type designation for an administrative territorial entity
['Raghunath Vinayak Dhulekar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Raghunath_Vinayak_Dhulekar property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q3914748,P27,c(Q15617994))
action filter_type
action find
entity Q3914748
relation P27
type Q15617994
Raghunath Vinayak Dhulekar belongs to [ANSWER]
['Q3914748', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q3914748 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
India
Raghunath Vinayak Dhulekar belongs to India
India
action filter_type
action find
entity Raghunath Vinayak Dhulekar
relation country of citizenship
type designation for an administrative territorial entity
['Raghunath Vinayak Dhulekar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Raghunath_Vinayak_Dhulekar property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3914748
P39
Q12737077
USER
What were the positions for which Raghunath Vinayak Dhulekar were appointed ?
(Q3914748,P39,c(Q12737077))
action filter_type
action find
entity Q3914748
relation P39
type Q12737077
['Q3914748', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q3914748 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Raghunath Vinayak Dhulekar
action filter_type
action find
entity Raghunath Vinayak Dhulekar
relation position held
type occupation
['Raghunath Vinayak Dhulekar', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Raghunath_Vinayak_Dhulekar property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q18039836 Q16556694
SYSTEM
Member of the Uttar Pradesh Legislative Assembly, member of the Lok Sabha
Q18039836 Q16556694
(Q3914748,P39,c(Q12737077))
action filter_type
action find
entity Q3914748
relation P39
type Q12737077
[ANSWERS]
['Q3914748', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q3914748 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Member of the Uttar Pradesh Legislative Assembly member of the Lok Sabha
Member of the Uttar Pradesh Legislative Assembly and member of the Lok Sabha
Member of the Uttar Pradesh Legislative Assembly member of the Lok Sabha
action filter_type
action find
entity Raghunath Vinayak Dhulekar
relation position held
type occupation
['Raghunath Vinayak Dhulekar', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Raghunath_Vinayak_Dhulekar property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5812893
Q12737077
USER
And also tell me about Domingo Roncancio Jiménez?
(Q5812893,P39,c(Q12737077))
action filter_type
action find
entity Q5812893
relation P39
type Q12737077
['Q5812893', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q5812893 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
Domingo Roncancio Jiménez
action filter_type
action find
entity Domingo Roncancio Jiménez
relation position held
type occupation
['Domingo Roncancio Jiménez', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Domingo_Roncancio_Jiménez property:position_held ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q19254253
SYSTEM
member of the Senate of Colombia
Q19254253
(Q5812893,P39,c(Q12737077))
action filter_type
action find
entity Q5812893
relation P39
type Q12737077
[ANSWER]
['Q5812893', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q5812893 property:P39 ?i . ?i rdf:type ontology:Q12737077 }
member of the Senate of Colombia
member of the Senate of Colombia
action filter_type
action find
entity Domingo Roncancio Jiménez
relation position held
type occupation
['Domingo Roncancio Jiménez', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Domingo_Roncancio_Jiménez property:position_held ?i . ?i rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1042506 Q3914748
P106
Q12737077
USER
Which occupations are the professions of Raghunath Vinayak Dhulekar and Prosper Duvergier de Hauranne ?
AND((Q3914748,P106,c(Q12737077)), (Q1042506,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q3914748
relation P106
action find
entity Q1042506
relation P106
type Q12737077
{'AND': [['Q3914748', 'P106', {'concept': 'Q12737077'}], ['Q1042506', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q3914748 property:P106 ?o . resource:Q1042506 property:P106 ?o }
Prosper Duvergier de Hauranne Raghunath Vinayak Dhulekar
action filter_type
action intersection
action find
entity Raghunath Vinayak Dhulekar
relation occupation
action find
entity Prosper Duvergier de Hauranne
relation occupation
type occupation
{'AND': [['Raghunath Vinayak Dhulekar', 'occupation', {'concept': 'occupation'}], ['Prosper Duvergier de Hauranne', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Raghunath_Vinayak_Dhulekar property:occupation ?o . resource:Prosper_Duvergier_de_Hauranne property:occupation ?o }
[]
occupation
Q82955
SYSTEM
politician
Q82955
AND((Q3914748,P106,c(Q12737077)), (Q1042506,P106,c(Q12737077)))
action filter_type
action intersection
action find
entity Q3914748
relation P106
action find
entity Q1042506
relation P106
type Q12737077
So [ANSWER] is the professions of Raghunath Vinayak Dhulekar and Prosper Duvergier de Hauranne
{'AND': [['Q3914748', 'P106', {'concept': 'Q12737077'}], ['Q1042506', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q3914748 property:P106 ?o . resource:Q1042506 property:P106 ?o }
politician
So politician is the professions of Raghunath Vinayak Dhulekar and Prosper Duvergier de Hauranne
politician
action filter_type
action intersection
action find
entity Raghunath Vinayak Dhulekar
relation occupation
action find
entity Prosper Duvergier de Hauranne
relation occupation
type occupation
{'AND': [['Raghunath Vinayak Dhulekar', 'occupation', {'concept': 'occupation'}], ['Prosper Duvergier de Hauranne', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Raghunath_Vinayak_Dhulekar property:occupation ?o . resource:Prosper_Duvergier_de_Hauranne property:occupation ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16556694
P361
Q1752346
USER
What is member of the Lok Sabha a part of ?
(Q16556694,P361,c(Q1752346))
action filter_type
action find
entity Q16556694
relation P361
type Q1752346
['Q16556694', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?q WHERE { resource:Q16556694 property:P361 ?q . ?q rdf:type ontology:Q1752346 }
member of the Lok Sabha
action filter_type
action find
entity member of the Lok Sabha
relation part of
type assembly
['member of the Lok Sabha', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?q WHERE { resource:member_of_the_Lok_Sabha property:part_of ?q . ?q rdf:type ontology:assembly }
[]
assembly
Q230003
SYSTEM
Lok Sabha
Q230003
(Q16556694,P361,c(Q1752346))
action filter_type
action find
entity Q16556694
relation P361
type Q1752346
Member of the [ANSWER] a part of is the [ANSWER]
['Q16556694', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?q WHERE { resource:Q16556694 property:P361 ?q . ?q rdf:type ontology:Q1752346 }
Lok Sabha
Member of the Lok Sabha a part of is the Lok Sabha
Lok Sabha
action filter_type
action find
entity member of the Lok Sabha
relation part of
type assembly
['member of the Lok Sabha', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?q WHERE { resource:member_of_the_Lok_Sabha property:part_of ?q . ?q rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16556694
P17
Q15617994
USER
Which administrative territory is that occupation situated in ?
(Q230003,P17,c(Q15617994))
action filter_type
action find
entity Q16556694
relation P17
type Q15617994
['Q230003', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q16556694 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
member of the Lok Sabha
action filter_type
action find
entity member of the Lok Sabha
relation country
type designation for an administrative territorial entity
['Lok Sabha', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:member_of_the_Lok_Sabha property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q230003,P17,c(Q15617994))
action filter_type
action find
entity Q16556694
relation P17
type Q15617994
That occupation is situated in [ANSWER]
['Q230003', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q16556694 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
India
That occupation is situated in India
India
action filter_type
action find
entity member of the Lok Sabha
relation country
type designation for an administrative territorial entity
['Lok Sabha', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:member_of_the_Lok_Sabha property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16556694
P1001
Q15617994
USER
Which administrative territory comes under the jurisdiction of member of the Lok Sabha ?
(Q16556694,P1001,c(Q15617994))
action filter_type
action find
entity Q16556694
relation P1001
type Q15617994
['Q16556694', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q16556694 property:P1001 ?s }
member of the Lok Sabha
action filter_type
action find
entity member of the Lok Sabha
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Lok Sabha', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_Lok_Sabha property:applies_to_jurisdiction ?s }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q16556694,P1001,c(Q15617994))
action filter_type
action find
entity Q16556694
relation P1001
type Q15617994
Of [ANSWER] comes under the jurisdiction of member of the Lok Sabha
['Q16556694', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q16556694 property:P1001 ?s }
India
Of India comes under the jurisdiction of member of the Lok Sabha
India
action filter_type
action find
entity member of the Lok Sabha
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the Lok Sabha', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_Lok_Sabha property:applies_to_jurisdiction ?s }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q668 Q923358 Q4440630
P530
Q1048835
USER
Does that administrative territory have ambassadorial relations with Mascaraque and Starosillia ?
(Q668,P530,Q923358) (Q668,P530,Q4440630)
action is_in
entity Q668
action intersection
action find_reverse
entity Q923358
relation P530
action find_reverse
entity Q4440630
relation P530
['Q668', 'P530', 'Q923358'] ['Q668', 'P530', 'Q4440630']
ASK WHERE { resource:Q668 property:P530 resource:Q923358 . resource:Q668 property:P530 resource:Q4440630 }
India Mascaraque Starosillia
action is_in
entity India
action intersection
action find_reverse
entity Mascaraque
relation diplomatic relation
action find_reverse
entity Starosillia
relation diplomatic relation
['India', 'diplomatic relation', 'Mascaraque'] ['India', 'diplomatic relation', 'Starosillia']
ASK WHERE { resource:India property:diplomatic_relation resource:Mascaraque . resource:India property:diplomatic_relation resource:Starosillia }
[]
political territorial entity
SYSTEM
NO
(Q668,P530,Q923358) (Q668,P530,Q4440630)
action is_in
entity Q668
action intersection
action find_reverse
entity Q923358
relation P530
action find_reverse
entity Q4440630
relation P530
[ANSWER]
['Q668', 'P530', 'Q923358'] ['Q668', 'P530', 'Q4440630']
ASK WHERE { resource:Q668 property:P530 resource:Q923358 . resource:Q668 property:P530 resource:Q4440630 }
No
action is_in
entity India
action intersection
action find_reverse
entity Mascaraque
relation diplomatic relation
action find_reverse
entity Starosillia
relation diplomatic relation
['India', 'diplomatic relation', 'Mascaraque'] ['India', 'diplomatic relation', 'Starosillia']
ASK WHERE { resource:India property:diplomatic_relation resource:Mascaraque . resource:India property:diplomatic_relation resource:Starosillia }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q230003 Q668
P1001
Q15617994
USER
Does India apply to jurisdiction of Lok Sabha ?
(Q230003,P1001,Q668)
action is_in
entity Q668
action find
entity Q230003
relation P1001
['Q230003', 'P1001', 'Q668']
ASK WHERE { resource:Q230003 property:P1001 resource:Q668 }
Lok Sabha India
action is_in
entity India
action find
entity Lok Sabha
relation applies to jurisdiction
['Lok Sabha', 'applies to jurisdiction', 'India']
ASK WHERE { resource:Lok_Sabha property:applies_to_jurisdiction resource:India }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230003,P1001,Q668)
action is_in
entity Q668
action find
entity Q230003
relation P1001
[ANSWER]
['Q230003', 'P1001', 'Q668']
ASK WHERE { resource:Q230003 property:P1001 resource:Q668 }
Yes
action is_in
entity India
action find
entity Lok Sabha
relation applies to jurisdiction
['Lok Sabha', 'applies to jurisdiction', 'India']
ASK WHERE { resource:Lok_Sabha property:applies_to_jurisdiction resource:India }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q486972 Q7946
USER
How many administrative territories are exactly 1 human settlements and minerals named after ?
(c(Q486972)|c(Q7946),P138,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q7946
value 1
[[{'concept': 'Q486972'}, {'concept': 'Q7946'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?v WHERE { { ?h property:P138 ?v . ?v rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q486972 } UNION { ?h property:P138 ?v . ?v rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q7946 } } GROUP BY ?v } . FILTER ( ?n = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type mineral
value 1
[[{'concept': 'human settlement'}, {'concept': 'mineral'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?v WHERE { { ?h property:named_after ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:human_settlement } UNION { ?h property:named_after ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:mineral } } GROUP BY ?v } . FILTER ( ?n = 1 ) }
[]
designation for an administrative territorial entity human settlement mineral
SYSTEM
12
Q243474 Q1028 Q794 Q889 Q221 Q81740 Q1948 Q10312 Q854 Q2139159 Q42668 Q645340
(c(Q486972)|c(Q7946),P138,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q486972
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q7946
value 1
[ANSWER]
[[{'concept': 'Q486972'}, {'concept': 'Q7946'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?v WHERE { { ?h property:P138 ?v . ?v rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q486972 } UNION { ?h property:P138 ?v . ?v rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q7946 } } GROUP BY ?v } . FILTER ( ?n = 1 ) }
Rees Morocco Iran Afghanistan Republic of Macedonia Lauta Manitoba Tavagnasco Sri Lanka Reichenbach Pudost Brenk
12
action count
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type mineral
value 1
[[{'concept': 'human settlement'}, {'concept': 'mineral'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) ?v WHERE { { ?h property:named_after ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:human_settlement } UNION { ?h property:named_after ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:mineral } } GROUP BY ?v } . FILTER ( ?n = 1 ) }
[]