Simple Question (Direct)
Simple Question
Q4759735
P21
Q290
USER
Which sex does Andrzej Zabawa belong to ?
(Q4759735,P21,c(Q290))
action filter_type
action find
entity Q4759735
relation P21
type Q290
['Q4759735', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q4759735 property:P21 ?n . ?n rdf:type ontology:Q290 }
Andrzej Zabawa
action filter_type
action find
entity Andrzej Zabawa
relation gender
type sex
['Andrzej Zabawa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Andrzej_Zabawa property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4759735,P21,c(Q290))
action filter_type
action find
entity Q4759735
relation P21
type Q290
Andrzej Zabawa belongs to [ANSWER]
['Q4759735', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q4759735 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Andrzej Zabawa belongs to male
male
action filter_type
action find
entity Andrzej Zabawa
relation gender
type sex
['Andrzej Zabawa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Andrzej_Zabawa property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4759735
P106
Q12737077
USER
Which occupation is the profession of Andrzej Zabawa ?
(Q4759735,P106,c(Q12737077))
action filter_type
action find
entity Q4759735
relation P106
type Q12737077
['Q4759735', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q4759735 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Andrzej Zabawa
action filter_type
action find
entity Andrzej Zabawa
relation occupation
type occupation
['Andrzej Zabawa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Andrzej_Zabawa property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q11774891
SYSTEM
ice hockey player
Q11774891
(Q4759735,P106,c(Q12737077))
action filter_type
action find
entity Q4759735
relation P106
type Q12737077
The [ANSWER] is the profession of Andrzej Zabawa
['Q4759735', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q4759735 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
ice hockey player
The ice hockey player is the profession of Andrzej Zabawa
ice hockey player
action filter_type
action find
entity Andrzej Zabawa
relation occupation
type occupation
['Andrzej Zabawa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Andrzej_Zabawa property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4759735
P54
Q12973014
USER
What is that person a member of ?
(Q11774891,P54,c(Q12973014))
action filter_type
action find
entity Q4759735
relation P54
type Q12973014
['Q11774891', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12973014 . resource:Q4759735 property:P54 ?s }
Andrzej Zabawa
action filter_type
action find
entity Andrzej Zabawa
relation member of sports team
type sports team
['ice hockey player', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sports_team . resource:Andrzej_Zabawa property:member_of_sports_team ?s }
[]
sports team
Q421361
SYSTEM
TH Unia Oświęcim
Q421361
(Q11774891,P54,c(Q12973014))
action filter_type
action find
entity Q4759735
relation P54
type Q12973014
That person a member of is the [ANSWER]
['Q11774891', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12973014 . resource:Q4759735 property:P54 ?s }
TH Unia Oświęcim
That person a member of is the TH Unia Oświęcim
TH Unia Oświęcim
action filter_type
action find
entity Andrzej Zabawa
relation member of sports team
type sports team
['ice hockey player', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sports_team . resource:Andrzej_Zabawa property:member_of_sports_team ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4759735
P1344
Q15900616
USER
Which event sequences did that person participate in ?
(Q421361,P1344,c(Q15900616))
action filter_type
action find
entity Q4759735
relation P1344
type Q15900616
['Q421361', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?s WHERE { resource:Q4759735 property:P1344 ?s . ?s rdf:type ontology:Q15900616 }
Andrzej Zabawa
action filter_type
action find
entity Andrzej Zabawa
relation participant of
type event sequence
['TH Unia Oświęcim', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?s WHERE { resource:Andrzej_Zabawa property:participant_of ?s . ?s rdf:type ontology:event_sequence }
[]
event sequence
Q9652 Q9651 Q9657
SYSTEM
1980 Winter Olympics, 1976 Winter Olympics, 1984 Winter Olympics
Q9652 Q9651 Q9657
(Q421361,P1344,c(Q15900616))
action filter_type
action find
entity Q4759735
relation P1344
type Q15900616
That person participated in [ANSWERS]
['Q421361', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?s WHERE { resource:Q4759735 property:P1344 ?s . ?s rdf:type ontology:Q15900616 }
1980 Winter Olympics 1976 Winter Olympics 1984 Winter Olympics
That person participated in 1980 Winter Olympics, 1976 Winter Olympics and 1984 Winter Olympics
1980 Winter Olympics 1976 Winter Olympics 1984 Winter Olympics
action filter_type
action find
entity Andrzej Zabawa
relation participant of
type event sequence
['TH Unia Oświęcim', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?s WHERE { resource:Andrzej_Zabawa property:participant_of ?s . ?s rdf:type ontology:event_sequence }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q131512
P921
Q12737077 Q838948 Q732577
USER
Which occupations were the main subjects of more number of works of art and publications 's work than farmer ?
(c(Q838948)|c(Q732577),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q131512
relation P921
type Q838948
type Q732577
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?h WHERE { { ?h rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q838948 . ?k property:P921 ?h } UNION { ?h rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q732577 . ?k property:P921 ?h } } GROUP BY ?h } . FILTER ( ?e > ?m ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:P921 resource:Q131512 . { { ?o rdf:type ontology:Q838948 } UNION { ?o rdf:type ontology:Q732577 } } } } }
farmer
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity farmer
relation main subject
type work of art
type publication
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?h WHERE { { ?h rdf:type ontology:occupation . ?k rdf:type ontology:work_of_art . ?k property:main_subject ?h } UNION { ?h rdf:type ontology:occupation . ?k rdf:type ontology:publication . ?k property:main_subject ?h } } GROUP BY ?h } . FILTER ( ?e > ?m ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:main_subject resource:farmer . { { ?o rdf:type ontology:work_of_art } UNION { ?o rdf:type ontology:publication } } } } }
[]
occupation work of art publication
Q15637082 Q1930187 Q16746569
SYSTEM
industrialist, journalist, high school student
Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q3809586 Q7358 Q2094335 Q1930187 Q9402 Q2961580 Q101539 Q205375 Q164236 Q936969 Q16746569 Q15320003 Q16003605 Q245068 Q33231 Q2095549 Q1674312 Q16003532
(c(Q838948)|c(Q732577),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action count
action filter_multi_types
action find_reverse
entity Q131512
relation P921
type Q838948
type Q732577
And [ANSWERS] were the main subjects of more number of works of art and publications 's work than farmer
[[{'concept': 'Q838948'}, {'concept': 'Q732577'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?h WHERE { { ?h rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q838948 . ?k property:P921 ?h } UNION { ?h rdf:type ontology:Q12737077 . ?k rdf:type ontology:Q732577 . ?k property:P921 ?h } } GROUP BY ?h } . FILTER ( ?e > ?m ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:P921 resource:Q131512 . { { ?o rdf:type ontology:Q838948 } UNION { ?o rdf:type ontology:Q732577 } } } } }
industrialist business magnate physician lumberjack astronaut actor writer Wikipedian in Residence clown United States Attorney journalist ninja taxi driver flight attendant inventor war correspondent nanny high school student migrant worker elementary school student comedian photographer aviator rag-and-bone man middle school student
And industrialist, journalist and high school student were the main subjects of more number of works of art and publications 's work than farmer
industrialist journalist high school student
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action count
action filter_multi_types
action find_reverse
entity farmer
relation main subject
type work of art
type publication
[[{'concept': 'work of art'}, {'concept': 'publication'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?h WHERE { { ?h rdf:type ontology:occupation . ?k rdf:type ontology:work_of_art . ?k property:main_subject ?h } UNION { ?h rdf:type ontology:occupation . ?k rdf:type ontology:publication . ?k property:main_subject ?h } } GROUP BY ?h } . FILTER ( ?e > ?m ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:main_subject resource:farmer . { { ?o rdf:type ontology:work_of_art } UNION { ?o rdf:type ontology:publication } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5935583 Q131512
P161 P417
Q502895
USER
Which people are the names of the patron saint of farmer or were casted in Hulchul ?
OR((Q131512,P417,c(Q502895)), (Q5935583,P161,c(Q502895)))
action filter_type
action union
action find
entity Q131512
relation P417
action find
entity Q5935583
relation P161
type Q502895
{'OR': [['Q131512', 'P417', {'concept': 'Q502895'}], ['Q5935583', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q131512 property:P417 ?q } UNION { resource:Q5935583 property:P161 ?q } } . ?q rdf:type ontology:Q502895 }
Hulchul farmer
action filter_type
action union
action find
entity farmer
relation patron saint
action find
entity Hulchul
relation cast member
type common name
{'OR': [['farmer', 'patron saint', {'concept': 'common name'}], ['Hulchul', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:farmer property:patron_saint ?q } UNION { resource:Hulchul property:cast_member ?q } } . ?q rdf:type ontology:common_name }
[]
common name
Q12445067 Q16013934 Q467223 Q5071457 Q12423015 Q20685609 Q312719 Q7289393 Q3401588 Q7421131
SYSTEM
Some of them are Madan Puri, O. P. Ralhan, Helen, Chandrashekhar, Gajanan Jagirdar, Sonia Sahni, Kabir Bedi, Ramesh Deo, Prem Chopra, Sapru
Q119289 Q12423015 Q3401588 Q12445067 Q467223 Q20685609 Q44265 Q166876 Q7289393 Q151967 Q16013934 Q5071457 Q312719 Q7421131 Q333443 Q43982
OR((Q131512,P417,c(Q502895)), (Q5935583,P161,c(Q502895)))
action filter_type
action union
action find
entity Q131512
relation P417
action find
entity Q5935583
relation P161
type Q502895
[ANSWERS] are the names of the patron saint of farmer or were casted in Hulchul
{'OR': [['Q131512', 'P417', {'concept': 'Q502895'}], ['Q5935583', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q131512 property:P417 ?q } UNION { resource:Q5935583 property:P161 ?q } } . ?q rdf:type ontology:Q502895 }
Leonard of Port Maurice Gajanan Jagirdar Prem Chopra Madan Puri Helen Sonia Sahni Benedict of Nursia Isidore of Seville Ramesh Deo Saint Blaise O. P. Ralhan Chandrashekhar Kabir Bedi Sapru Amrish Puri Bartholomew the Apostle
Madan Puri, O. P. Ralhan, Helen, Chandrashekhar, Gajanan Jagirdar, Sonia Sahni, Kabir Bedi, Ramesh Deo, Prem Chopra and Sapru are the names of the patron saint of farmer or were casted in Hulchul
Madan Puri O. P. Ralhan Helen Chandrashekhar Gajanan Jagirdar Sonia Sahni Kabir Bedi Ramesh Deo Prem Chopra Sapru
action filter_type
action union
action find
entity farmer
relation patron saint
action find
entity Hulchul
relation cast member
type common name
{'OR': [['farmer', 'patron saint', {'concept': 'common name'}], ['Hulchul', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:farmer property:patron_saint ?q } UNION { resource:Hulchul property:cast_member ?q } } . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q6298761 Q5071457
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Chandrashekhar or do Juan Adrián belong to ?
OR((Q5071457,P27,c(Q15617994)), (Q6298761,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5071457
relation P27
action find
entity Q6298761
relation P17
type Q15617994
{'OR': [['Q5071457', 'P27', {'concept': 'Q15617994'}], ['Q6298761', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q6298761 property:P17 ?z } UNION { resource:Q5071457 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Juan Adrián Chandrashekhar
action filter_type
action union
action find
entity Chandrashekhar
relation country of citizenship
action find
entity Juan Adrián
relation country
type designation for an administrative territorial entity
{'OR': [['Chandrashekhar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Juan Adrián', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Juan_Adrián property:country ?z } UNION { resource:Chandrashekhar property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q786 Q668
SYSTEM
Dominican Republic, India
Q786 Q668
OR((Q5071457,P27,c(Q15617994)), (Q6298761,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5071457
relation P27
action find
entity Q6298761
relation P17
type Q15617994
[ANSWERS] are the native countriesof Chandrashekhar or do Juan Adrián belong to
{'OR': [['Q5071457', 'P27', {'concept': 'Q15617994'}], ['Q6298761', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q6298761 property:P17 ?z } UNION { resource:Q5071457 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Dominican Republic India
Dominican Republic and India are the native countriesof Chandrashekhar or do Juan Adrián belong to
Dominican Republic India
action filter_type
action union
action find
entity Chandrashekhar
relation country of citizenship
action find
entity Juan Adrián
relation country
type designation for an administrative territorial entity
{'OR': [['Chandrashekhar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Juan Adrián', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Juan_Adrián property:country ?z } UNION { resource:Chandrashekhar property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P495
Q41176 Q17853087
USER
How many buildings or merges have that administrative territory as their place of origin ?
(c(Q41176),P495,Q668) (c(Q17853087),P495,Q668) (c(Q41176),P495,Q786) (c(Q17853087),P495,Q786) (c(Q41176),P495,Q668) (c(Q17853087),P495,Q668)
[{'concept': 'Q41176'}, 'P495', 'Q668'] [{'concept': 'Q17853087'}, 'P495', 'Q668'] [{'concept': 'Q41176'}, 'P495', 'Q786'] [{'concept': 'Q17853087'}, 'P495', 'Q786'] [{'concept': 'Q41176'}, 'P495', 'Q668'] [{'concept': 'Q17853087'}, 'P495', 'Q668']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q1488929 } UNION { ?y property:P495 resource:Q1488929 } UNION { ?z property:P495 resource:Q786 } UNION { ?y property:P495 resource:Q786 } UNION { ?z property:P495 resource:Q1488929 } UNION { ?y property:P495 resource:Q1488929 } } . ?z rdf:type ontology:Q41176 . ?y rdf:type ontology:Q17853087 }
[{'concept': 'building'}, 'country of origin', 'India'] [{'concept': 'merge'}, 'country of origin', 'India'] [{'concept': 'building'}, 'country of origin', 'Dominican Republic'] [{'concept': 'merge'}, 'country of origin', 'Dominican Republic'] [{'concept': 'building'}, 'country of origin', 'India'] [{'concept': 'merge'}, 'country of origin', 'India']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:India } UNION { ?y property:country_of_origin resource:India } UNION { ?z property:country_of_origin resource:Dominican_Republic } UNION { ?y property:country_of_origin resource:Dominican_Republic } UNION { ?z property:country_of_origin resource:India } UNION { ?y property:country_of_origin resource:India } } . ?z rdf:type ontology:building . ?y rdf:type ontology:merge }
[]
building merge
Quantitative|Count|Mult. entity type|Clarification
Q786
SYSTEM
Did you mean Dominican Republic ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q1488929 } UNION { ?y property:P495 resource:Q1488929 } UNION { ?z property:P495 resource:Q786 } UNION { ?y property:P495 resource:Q786 } UNION { ?z property:P495 resource:Q1488929 } UNION { ?y property:P495 resource:Q1488929 } } . ?z rdf:type ontology:Q41176 . ?y rdf:type ontology:Q17853087 }
Did you mean Dominican Republic ?
Dominican Republic
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:India } UNION { ?y property:country_of_origin resource:India } UNION { ?z property:country_of_origin resource:Dominican_Republic } UNION { ?y property:country_of_origin resource:Dominican_Republic } UNION { ?z property:country_of_origin resource:India } UNION { ?y property:country_of_origin resource:India } } . ?z rdf:type ontology:building . ?y rdf:type ontology:merge }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant India. Could you tell me the answer for that?
(c(Q41176),P495,Q668) (c(Q17853087),P495,Q668) (c(Q41176),P495,Q786) (c(Q17853087),P495,Q786) (c(Q41176),P495,Q668) (c(Q17853087),P495,Q668)
Q668
[{'concept': 'Q41176'}, 'P495', 'Q668'] [{'concept': 'Q17853087'}, 'P495', 'Q668'] [{'concept': 'Q41176'}, 'P495', 'Q786'] [{'concept': 'Q17853087'}, 'P495', 'Q786'] [{'concept': 'Q41176'}, 'P495', 'Q668'] [{'concept': 'Q17853087'}, 'P495', 'Q668']
[{'concept': 'building'}, 'country of origin', 'India'] [{'concept': 'merge'}, 'country of origin', 'India'] [{'concept': 'building'}, 'country of origin', 'Dominican Republic'] [{'concept': 'merge'}, 'country of origin', 'Dominican Republic'] [{'concept': 'building'}, 'country of origin', 'India'] [{'concept': 'merge'}, 'country of origin', 'India']
[]
SYSTEM
2
Q14624 Q18124909
(c(Q41176),P495,Q668) (c(Q17853087),P495,Q668) (c(Q41176),P495,Q786) (c(Q17853087),P495,Q786) (c(Q41176),P495,Q668) (c(Q17853087),P495,Q668)
[ANSWER]
[{'concept': 'Q41176'}, 'P495', 'Q668'] [{'concept': 'Q17853087'}, 'P495', 'Q668'] [{'concept': 'Q41176'}, 'P495', 'Q786'] [{'concept': 'Q17853087'}, 'P495', 'Q786'] [{'concept': 'Q41176'}, 'P495', 'Q668'] [{'concept': 'Q17853087'}, 'P495', 'Q668']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P495 resource:Q1488929 } UNION { ?y property:P495 resource:Q1488929 } UNION { ?z property:P495 resource:Q786 } UNION { ?y property:P495 resource:Q786 } UNION { ?z property:P495 resource:Q1488929 } UNION { ?y property:P495 resource:Q1488929 } } . ?z rdf:type ontology:Q41176 . ?y rdf:type ontology:Q17853087 }
garam masala Four Seasons Wines
2
[{'concept': 'building'}, 'country of origin', 'India'] [{'concept': 'merge'}, 'country of origin', 'India'] [{'concept': 'building'}, 'country of origin', 'Dominican Republic'] [{'concept': 'merge'}, 'country of origin', 'Dominican Republic'] [{'concept': 'building'}, 'country of origin', 'India'] [{'concept': 'merge'}, 'country of origin', 'India']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:country_of_origin resource:India } UNION { ?y property:country_of_origin resource:India } UNION { ?z property:country_of_origin resource:Dominican_Republic } UNION { ?y property:country_of_origin resource:Dominican_Republic } UNION { ?z property:country_of_origin resource:India } UNION { ?y property:country_of_origin resource:India } } . ?z rdf:type ontology:building . ?y rdf:type ontology:merge }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P159
Q2668072
USER
Which collections have the principal seat at India ?
(c(Q2668072),P159,Q668)
action filter_type
action find_reverse
entity Q668
relation P159
type Q2668072
[{'concept': 'Q2668072'}, 'P159', 'Q668']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q668 . ?i rdf:type ontology:Q2668072 }
India
action filter_type
action find_reverse
entity India
relation headquarters location
type collection
[{'concept': 'collection'}, 'headquarters location', 'India']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:India . ?i rdf:type ontology:collection }
[]
collection
Q3532605 Q7433497 Q7290805
SYSTEM
Birla Industrial & Technological Museum, Science City Kolkata, Ranchi Science Centre
Q3532605 Q7433497 Q7290805
(c(Q2668072),P159,Q668)
action filter_type
action find_reverse
entity Q668
relation P159
type Q2668072
[ANSWERS] have the principal seat at India
[{'concept': 'Q2668072'}, 'P159', 'Q668']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q668 . ?i rdf:type ontology:Q2668072 }
Birla Industrial & Technological Museum Science City Kolkata Ranchi Science Centre
Birla Industrial & Technological Museum, Science City Kolkata and Ranchi Science Centre have the principal seat at India
Birla Industrial & Technological Museum Science City Kolkata Ranchi Science Centre
action filter_type
action find_reverse
entity India
relation headquarters location
type collection
[{'concept': 'collection'}, 'headquarters location', 'India']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:India . ?i rdf:type ontology:collection }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P1532
Q502895
USER
Whose people are India ?
(c(Q502895),P1532,Q668)
action filter_type
action find_reverse
entity Q668
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q668']
SELECT DISTINCT ?e WHERE { ?e property:P1532 resource:Q668 . ?e rdf:type ontology:Q502895 }
India
action filter_type
action find_reverse
entity India
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'India']
SELECT DISTINCT ?e WHERE { ?e property:country_for_sport resource:India . ?e rdf:type ontology:common_name }
[]
common name
Q6323562 Q4978587 Q6712524
SYSTEM
K. M. Beenamol, Jyotirmoyee Sikdar, M. D. Valsamma
Q6712524 Q6323562 Q25118998 Q4806202 Q4978587 Q24955843 Q24885488 Q25997905 Q20630274 Q22668325 Q16212236 Q20972823
(c(Q502895),P1532,Q668)
action filter_type
action find_reverse
entity Q668
relation P1532
type Q502895
[ANSWERS] are India
[{'concept': 'Q502895'}, 'P1532', 'Q668']
SELECT DISTINCT ?e WHERE { ?e property:P1532 resource:Q668 . ?e rdf:type ontology:Q502895 }
M. D. Valsamma K. M. Beenamol Ankit Sharma Ashwini Chidananda Akkunji Jyotirmoyee Sikdar Neeraj Chopra Akash Antil Madan Singh Somayya A. G. Dharambir Singh Sunita Rani Sapana Sapana
K. M. Beenamol, Jyotirmoyee Sikdar and M. D. Valsamma are India
K. M. Beenamol Jyotirmoyee Sikdar M. D. Valsamma
action filter_type
action find_reverse
entity India
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'India']
SELECT DISTINCT ?e WHERE { ?e property:country_for_sport resource:India . ?e rdf:type ontology:common_name }
[]