Simple Question (Direct)
Simple Question
Q6299395
P39
Q12737077
USER
Which occupation was a position for which Juan Carlos Romero was appointed ?
(Q6299395,P39,c(Q12737077))
action filter_type
action find
entity Q6299395
relation P39
type Q12737077
['Q6299395', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q6299395 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Juan Carlos Romero
action filter_type
action find
entity Juan Carlos Romero
relation position held
type occupation
['Juan Carlos Romero', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Juan_Carlos_Romero property:position_held ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q18711738
SYSTEM
Member of the Argentine Chamber of Senators
Q18711738
(Q6299395,P39,c(Q12737077))
action filter_type
action find
entity Q6299395
relation P39
type Q12737077
[ANSWER] was a position for which Juan Carlos Romero was appointed
['Q6299395', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q6299395 property:P39 ?u . ?u rdf:type ontology:Q12737077 }
Member of the Argentine Chamber of Senators
Member of the Argentine Chamber of Senators was a position for which Juan Carlos Romero was appointed
Member of the Argentine Chamber of Senators
action filter_type
action find
entity Juan Carlos Romero
relation position held
type occupation
['Juan Carlos Romero', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Juan_Carlos_Romero property:position_held ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6299395
P102
Q7210356
USER
Which party does Juan Carlos Romero belong to ?
(Q6299395,P102,c(Q7210356))
action filter_type
action find
entity Q6299395
relation P102
type Q7210356
['Q6299395', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7210356 . resource:Q6299395 property:P102 ?s }
Juan Carlos Romero
action filter_type
action find
entity Juan Carlos Romero
relation member of political party
type political organization
['Juan Carlos Romero', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_organization . resource:Juan_Carlos_Romero property:member_of_political_party ?s }
[]
political organization
Q1053668
SYSTEM
Justicialist Party
Q1053668
(Q6299395,P102,c(Q7210356))
action filter_type
action find
entity Q6299395
relation P102
type Q7210356
Juan Carlos Romero belongs to [ANSWER]
['Q6299395', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7210356 . resource:Q6299395 property:P102 ?s }
Justicialist Party
Juan Carlos Romero belongs to Justicialist Party
Justicialist Party
action filter_type
action find
entity Juan Carlos Romero
relation member of political party
type political organization
['Juan Carlos Romero', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_organization . resource:Juan_Carlos_Romero property:member_of_political_party ?s }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7929168
Q7210356
USER
And what about Vijay Kumar Khandelwal?
(Q7929168,P102,c(Q7210356))
action filter_type
action find
entity Q7929168
relation P102
type Q7210356
['Q7929168', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q7929168 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Vijay Kumar Khandelwal
action filter_type
action find
entity Vijay Kumar Khandelwal
relation member of political party
type political organization
['Vijay Kumar Khandelwal', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Vijay_Kumar_Khandelwal property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q10230
SYSTEM
Bharatiya Janata Party
Q10230
(Q7929168,P102,c(Q7210356))
action filter_type
action find
entity Q7929168
relation P102
type Q7210356
[ANSWER]
['Q7929168', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q7929168 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Bharatiya Janata Party
Bharatiya Janata Party
action filter_type
action find
entity Vijay Kumar Khandelwal
relation member of political party
type political organization
['Vijay Kumar Khandelwal', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Vijay_Kumar_Khandelwal property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12103063 Q18711738
P1001 P17
Q15617994
USER
Which administrative territories belong to jurisdiction of Member of the Argentine Chamber of Senators or are Dealu Glămeia present in ?
OR((Q18711738,P1001,c(Q15617994)), (Q12103063,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18711738
relation P1001
action find
entity Q12103063
relation P17
type Q15617994
{'OR': [['Q18711738', 'P1001', {'concept': 'Q15617994'}], ['Q12103063', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q18711738 property:P1001 ?x } UNION { resource:Q12103063 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Dealu Glămeia Member of the Argentine Chamber of Senators
action filter_type
action union
action find
entity Member of the Argentine Chamber of Senators
relation applies to jurisdiction
action find
entity Dealu Glămeia
relation country
type designation for an administrative territorial entity
{'OR': [['Member of the Argentine Chamber of Senators', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Dealu Glămeia', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Member_of_the_Argentine_Chamber_of_Senators property:applies_to_jurisdiction ?x } UNION { resource:Dealu_Glămeia property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q414
SYSTEM
Romania, Argentina
Q218 Q414
OR((Q18711738,P1001,c(Q15617994)), (Q12103063,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q18711738
relation P1001
action find
entity Q12103063
relation P17
type Q15617994
[ANSWERS] belong to jurisdiction of Member of the Argentine Chamber of Senators or are Dealu Glămeia present in
{'OR': [['Q18711738', 'P1001', {'concept': 'Q15617994'}], ['Q12103063', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q18711738 property:P1001 ?x } UNION { resource:Q12103063 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Romania Argentina
Romania and Argentina belong to jurisdiction of Member of the Argentine Chamber of Senators or are Dealu Glămeia present in
Romania Argentina
action filter_type
action union
action find
entity Member of the Argentine Chamber of Senators
relation applies to jurisdiction
action find
entity Dealu Glămeia
relation country
type designation for an administrative territorial entity
{'OR': [['Member of the Argentine Chamber of Senators', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Dealu Glămeia', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Member_of_the_Argentine_Chamber_of_Senators property:applies_to_jurisdiction ?x } UNION { resource:Dealu_Glămeia property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories did more number of releases originate than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|Count over More/Less|Single entity type|Clarification
Q414
SYSTEM
Did you mean Argentina ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean Argentina ?
Argentina
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
23
Q801 Q668 Q142 Q55 Q145 Q148 Q837 Q159 Q43 Q155 Q884 Q33 Q31 Q30 Q36 Q34 Q38 Q20 Q843 Q17 Q902 Q213 Q29
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Israel India France Netherlands United Kingdom People's Republic of China Nepal Russia Turkey Brazil South Korea Finland Belgium United States of America Poland Sweden Italy Norway Pakistan Japan Bangladesh Czech Republic Spain
23
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q218
P6
Q502895
USER
Which people have Romania as their heads of government ?
(Q218,P6,c(Q502895))
action filter_type
action find
entity Q218
relation P6
type Q502895
['Q218', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q218 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Romania
action filter_type
action find
entity Romania
relation head of government
type common name
['Romania', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Romania property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
Q357004 Q271966 Q255022
SYSTEM
Radu Vasile, Adrian Năstase, Mugur Isărescu
Q57692 Q370856 Q357004 Q929248 Q267857 Q316823 Q255022 Q207473 Q271966 Q126671 Q126660 Q152362
(Q218,P6,c(Q502895))
action filter_type
action find
entity Q218
relation P6
type Q502895
[ANSWERS] have Romania as their heads of government
['Q218', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q218 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Victor Ponta Victor Ciorbea Radu Vasile Dacian Cioloş Emil Boc Petre Roman Mugur Isărescu Călin Popescu-Tăriceanu Adrian Năstase Nicolae Văcăroiu Theodor Stolojan Mihai Răzvan Ungureanu
Radu Vasile, Adrian Năstase and Mugur Isărescu have Romania as their heads of government
Radu Vasile Adrian Năstase Mugur Isărescu
action filter_type
action find
entity Romania
relation head of government
type common name
['Romania', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Romania property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2823956 Q6299395
P27
Q15617994
USER
Which administrative territories are Juan Carlos Romero or Adam Helcelet an inhabitant of ?
OR((Q6299395,P27,c(Q15617994)), (Q2823956,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6299395
relation P27
action find
entity Q2823956
relation P27
type Q15617994
{'OR': [['Q6299395', 'P27', {'concept': 'Q15617994'}], ['Q2823956', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q6299395 property:P27 ?x } UNION { resource:Q2823956 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Adam Helcelet Juan Carlos Romero
action filter_type
action union
action find
entity Juan Carlos Romero
relation country of citizenship
action find
entity Adam Helcelet
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Juan Carlos Romero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Adam Helcelet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Juan_Carlos_Romero property:country_of_citizenship ?x } UNION { resource:Adam_Helcelet property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q414
SYSTEM
Czech Republic, Argentina
Q213 Q414
OR((Q6299395,P27,c(Q15617994)), (Q2823956,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6299395
relation P27
action find
entity Q2823956
relation P27
type Q15617994
[ANSWERS] are Juan Carlos Romero or Adam Helcelet an inhabitant of
{'OR': [['Q6299395', 'P27', {'concept': 'Q15617994'}], ['Q2823956', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q6299395 property:P27 ?x } UNION { resource:Q2823956 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Czech Republic Argentina
Czech Republic and Argentina are Juan Carlos Romero or Adam Helcelet an inhabitant of
Czech Republic Argentina
action filter_type
action union
action find
entity Juan Carlos Romero
relation country of citizenship
action find
entity Adam Helcelet
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Juan Carlos Romero', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Adam Helcelet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Juan_Carlos_Romero property:country_of_citizenship ?x } UNION { resource:Adam_Helcelet property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]