Simple Question (Direct)
Simple Question
Q17411799
P410
Q56019
USER
What is the military rank conferred upon Marc Houmard ?
(Q17411799,P410,c(Q56019))
action filter_type
action find
entity Q17411799
relation P410
type Q56019
['Q17411799', 'P410', {'concept': 'Q56019'}]
SELECT DISTINCT ?y WHERE { resource:Q17411799 property:P410 ?y . ?y rdf:type ontology:Q56019 }
Marc Houmard
action filter_type
action find
entity Marc Houmard
relation military rank
type military rank
['Marc Houmard', 'military rank', {'concept': 'military rank'}]
SELECT DISTINCT ?y WHERE { resource:Marc_Houmard property:military_rank ?y . ?y rdf:type ontology:military_rank }
[]
military rank
Q17411803
SYSTEM
colonel
Q17411803
(Q17411799,P410,c(Q56019))
action filter_type
action find
entity Q17411799
relation P410
type Q56019
The military rank conferred upon Marc Houmard is a [ANSWER]
['Q17411799', 'P410', {'concept': 'Q56019'}]
SELECT DISTINCT ?y WHERE { resource:Q17411799 property:P410 ?y . ?y rdf:type ontology:Q56019 }
colonel
The military rank conferred upon Marc Houmard is a colonel
colonel
action filter_type
action find
entity Marc Houmard
relation military rank
type military rank
['Marc Houmard', 'military rank', {'concept': 'military rank'}]
SELECT DISTINCT ?y WHERE { resource:Marc_Houmard property:military_rank ?y . ?y rdf:type ontology:military_rank }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17411799
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q17411803,P27,c(Q15617994))
action filter_type
action find
entity Q17411799
relation P27
type Q15617994
['Q17411803', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q17411799 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Marc Houmard
action filter_type
action find
entity Marc Houmard
relation country of citizenship
type designation for an administrative territorial entity
['colonel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Marc_Houmard property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q17411803,P27,c(Q15617994))
action filter_type
action find
entity Q17411799
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q17411803', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q17411799 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Switzerland
Switzerland is the native country of that person
Switzerland
action filter_type
action find
entity Marc Houmard
relation country of citizenship
type designation for an administrative territorial entity
['colonel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Marc_Houmard property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q39
P463
Q43229 Q484652
USER
How many organizations and international organizations were Switzerland a member of ?
(Q39,P463,c(Q43229)) (Q39,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q39
relation P463
type Q43229
action filter_type
action find
entity Q39
relation P463
type Q484652
['Q39', 'P463', {'concept': 'Q43229'}] ['Q39', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { resource:Q39 property:P463 ?g . ?g rdf:type ontology:Q43229 } UNION { resource:Q39 property:P463 ?g . ?g rdf:type ontology:Q484652 } }
Switzerland
action count
action union
action filter_type
action find
entity Switzerland
relation member of
type organization
action filter_type
action find
entity Switzerland
relation member of
type international organization
['Switzerland', 'member of', {'concept': 'organization'}] ['Switzerland', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { resource:Switzerland property:member_of ?g . ?g rdf:type ontology:organization } UNION { resource:Switzerland property:member_of ?g . ?g rdf:type ontology:international_organization } }
[]
organization international organization
SYSTEM
8 organizations and 6 international organizations
Q340195 Q81299 Q191384 Q899770 Q1065 Q41550 Q188822 Q166546 Q656801 Q151991 Q7825 Q1043527 Q42262 Q827525
(Q39,P463,c(Q43229)) (Q39,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q39
relation P463
type Q43229
action filter_type
action find
entity Q39
relation P463
type Q484652
[ANSWER]
['Q39', 'P463', {'concept': 'Q43229'}] ['Q39', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { resource:Q39 property:P463 ?g . ?g rdf:type ontology:Q43229 } UNION { resource:Q39 property:P463 ?g . ?g rdf:type ontology:Q484652 } }
African Development Bank Organization for Security and Co-operation in Europe International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes United Nations Organisation for Economic Co-operation and Development Asian Development Bank European Free Trade Association International Finance Corporation European Southern Observatory World Trade Organization Multilateral Investment Guarantee Agency European Space Agency International Development Association
8 organizations and 6 international organizations
action count
action union
action filter_type
action find
entity Switzerland
relation member of
type organization
action filter_type
action find
entity Switzerland
relation member of
type international organization
['Switzerland', 'member of', {'concept': 'organization'}] ['Switzerland', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { { resource:Switzerland property:member_of ?g . ?g rdf:type ontology:organization } UNION { resource:Switzerland property:member_of ?g . ?g rdf:type ontology:international_organization } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39
P530
Q1048835
USER
What political territories have diplomatic relationships with that administrative territory ?
action filter_type
action find
entity Q39
relation P530
type Q1048835
SELECT DISTINCT ?x WHERE { resource:Q39 property:P530 ?x . ?x rdf:type ontology:Q1048835 }
Switzerland
action filter_type
action find
entity Switzerland
relation diplomatic relation
type political territorial entity
SELECT DISTINCT ?x WHERE { resource:Switzerland property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q408 Q183
SYSTEM
Canada, Australia, Germany
Q16 Q408 Q183
action filter_type
action find
entity Q39
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with that administrative territory
SELECT DISTINCT ?x WHERE { resource:Q39 property:P530 ?x . ?x rdf:type ontology:Q1048835 }
Canada Australia Germany
Canada, Australia and Germany have diplomatic relationships with that administrative territory
Canada Australia Germany
action filter_type
action find
entity Switzerland
relation diplomatic relation
type political territorial entity
SELECT DISTINCT ?x WHERE { resource:Switzerland property:diplomatic_relation ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P36
Q56061
USER
Which administrative territories are called the capital of Germany ?
(Q183,P36,c(Q56061))
action filter_type
action find
entity Q183
relation P36
type Q56061
['Q183', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q183 property:P36 ?d . ?d rdf:type ontology:Q56061 }
Germany
action filter_type
action find
entity Germany
relation capital
type administrative territorial entity
['Germany', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Germany property:capital ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q586
SYSTEM
Berlin, Bonn
Q64 Q586
(Q183,P36,c(Q56061))
action filter_type
action find
entity Q183
relation P36
type Q56061
[ANSWERS] are called the capital of Germany
['Q183', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q183 property:P36 ?d . ?d rdf:type ontology:Q56061 }
Berlin Bonn
Berlin and Bonn are called the capital of Germany
Berlin Bonn
action filter_type
action find
entity Germany
relation capital
type administrative territorial entity
['Germany', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Germany property:capital ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P137
Q15056995
USER
Which aircraft model was operated by Germany ?
(c(Q15056995),P137,Q183)
action filter_type
action find_reverse
entity Q183
relation P137
type Q15056995
[{'concept': 'Q15056995'}, 'P137', 'Q183']
SELECT DISTINCT ?s WHERE { ?s property:P137 resource:Q183 . ?s rdf:type ontology:Q15056995 }
Germany
action filter_type
action find_reverse
entity Germany
relation operator
type aircraft model
[{'concept': 'aircraft model'}, 'operator', 'Germany']
SELECT DISTINCT ?s WHERE { ?s property:operator resource:Germany . ?s rdf:type ontology:aircraft_model }
[]
aircraft model
Q17501685
SYSTEM
Typhoon DA
Q17501685
(c(Q15056995),P137,Q183)
action filter_type
action find_reverse
entity Q183
relation P137
type Q15056995
[ANSWER] was operated by Germany
[{'concept': 'Q15056995'}, 'P137', 'Q183']
SELECT DISTINCT ?s WHERE { ?s property:P137 resource:Q183 . ?s rdf:type ontology:Q15056995 }
Typhoon DA
Typhoon DA was operated by Germany
Typhoon DA
action filter_type
action find_reverse
entity Germany
relation operator
type aircraft model
[{'concept': 'aircraft model'}, 'operator', 'Germany']
SELECT DISTINCT ?s WHERE { ?s property:operator resource:Germany . ?s rdf:type ontology:aircraft_model }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P88
Q41176
USER
Which building was approved by Germany ?
(c(Q41176),P88,Q183)
action filter_type
action find_reverse
entity Q183
relation P88
type Q41176
[{'concept': 'Q41176'}, 'P88', 'Q183']
SELECT DISTINCT ?n WHERE { ?n property:P88 resource:Q183 . ?n rdf:type ontology:Q41176 }
Germany
action filter_type
action find_reverse
entity Germany
relation commissioned by
type building
[{'concept': 'building'}, 'commissioned by', 'Germany']
SELECT DISTINCT ?n WHERE { ?n property:commissioned_by resource:Germany . ?n rdf:type ontology:building }
[]
building
Q17416722
SYSTEM
Presse- und Informationsamt der Bundesregierung (Bonn)
Q17416722
(c(Q41176),P88,Q183)
action filter_type
action find_reverse
entity Q183
relation P88
type Q41176
Germany [ANSWER] was approved by Germany
[{'concept': 'Q41176'}, 'P88', 'Q183']
SELECT DISTINCT ?n WHERE { ?n property:P88 resource:Q183 . ?n rdf:type ontology:Q41176 }
Presse- und Informationsamt der Bundesregierung (Bonn)
Germany Presse- und Informationsamt der Bundesregierung (Bonn) was approved by Germany
Presse- und Informationsamt der Bundesregierung (Bonn)
action filter_type
action find_reverse
entity Germany
relation commissioned by
type building
[{'concept': 'building'}, 'commissioned by', 'Germany']
SELECT DISTINCT ?n WHERE { ?n property:commissioned_by resource:Germany . ?n rdf:type ontology:building }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Canada ?
(Q16,P1313,c(Q12737077))
action filter_type
action find
entity Q16
relation P1313
type Q12737077
['Q16', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q16 property:P1313 ?k }
Canada
action filter_type
action find
entity Canada
relation office held by head of government
type occupation
['Canada', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Canada property:office_held_by_head_of_government ?k }
[]
occupation
Q839078
SYSTEM
Prime Minister of Canada
Q839078
(Q16,P1313,c(Q12737077))
action filter_type
action find
entity Q16
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Canada
['Q16', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q12737077 . resource:Q16 property:P1313 ?k }
Prime Minister of Canada
The Prime Minister of Canada serves as the political office that is fulfilled by the head of the government of Canada
Prime Minister of Canada
action filter_type
action find
entity Canada
relation office held by head of government
type occupation
['Canada', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:occupation . resource:Canada property:office_held_by_head_of_government ?k }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q942983
Q12737077
USER
And also tell me about Sotragero?
(Q942983,P1313,c(Q12737077))
action filter_type
action find
entity Q942983
relation P1313
type Q12737077
['Q942983', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q942983 property:P1313 ?c }
Sotragero
action filter_type
action find
entity Sotragero
relation office held by head of government
type occupation
['Sotragero', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Sotragero property:office_held_by_head_of_government ?c }
[]
occupation
Q26701158
SYSTEM
mayor of Sotragero
Q26701158
(Q942983,P1313,c(Q12737077))
action filter_type
action find
entity Q942983
relation P1313
type Q12737077
[ANSWER]
['Q942983', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q942983 property:P1313 ?c }
mayor of Sotragero
mayor of Sotragero
action filter_type
action find
entity Sotragero
relation office held by head of government
type occupation
['Sotragero', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Sotragero property:office_held_by_head_of_government ?c }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q26701158 Q29
P17
Q15617994
USER
Is mayor of Sotragero present in Spain ?
(Q26701158,P17,Q29)
action is_in
entity Q29
action find
entity Q26701158
relation P17
['Q26701158', 'P17', 'Q29']
ASK WHERE { resource:Q26701158 property:P17 resource:Q29 }
mayor of Sotragero Spain
action is_in
entity Spain
action find
entity mayor of Sotragero
relation country
['mayor of Sotragero', 'country', 'Spain']
ASK WHERE { resource:mayor_of_Sotragero property:country resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q26701158,P17,Q29)
action is_in
entity Q29
action find
entity Q26701158
relation P17
[ANSWER]
['Q26701158', 'P17', 'Q29']
ASK WHERE { resource:Q26701158 property:P17 resource:Q29 }
Yes
action is_in
entity Spain
action find
entity mayor of Sotragero
relation country
['mayor of Sotragero', 'country', 'Spain']
ASK WHERE { resource:mayor_of_Sotragero property:country resource:Spain }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q25342377 Q26701158
P17
Q15617994
USER
Which administrative territories do mayor of Sotragero and Kaptour belong to ?
AND((Q26701158,P17,c(Q15617994)), (Q25342377,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q26701158
relation P17
action find
entity Q25342377
relation P17
type Q15617994
{'AND': [['Q26701158', 'P17', {'concept': 'Q15617994'}], ['Q25342377', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q26701158 property:P17 ?d . resource:Q25342377 property:P17 ?d }
Kaptour mayor of Sotragero
action filter_type
action intersection
action find
entity mayor of Sotragero
relation country
action find
entity Kaptour
relation country
type designation for an administrative territorial entity
{'AND': [['mayor of Sotragero', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kaptour', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:mayor_of_Sotragero property:country ?d . resource:Kaptour property:country ?d }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
AND((Q26701158,P17,c(Q15617994)), (Q25342377,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q26701158
relation P17
action find
entity Q25342377
relation P17
type Q15617994
Mayor of Sotragero and Kaptour belong to the [ANSWER]
{'AND': [['Q26701158', 'P17', {'concept': 'Q15617994'}], ['Q25342377', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q26701158 property:P17 ?d . resource:Q25342377 property:P17 ?d }
Spain
Mayor of Sotragero and Kaptour belong to the Spain
Spain
action filter_type
action intersection
action find
entity mayor of Sotragero
relation country
action find
entity Kaptour
relation country
type designation for an administrative territorial entity
{'AND': [['mayor of Sotragero', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kaptour', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:mayor_of_Sotragero property:country ?d . resource:Kaptour property:country ?d }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q29 Q561166 Q2579386
P47
Q15617994
USER
Is that administrative territory next to the border of Dreschvitz and Catlowdy ?
(Q29,P47,Q561166) (Q29,P47,Q2579386)
action is_in
entity Q29
action intersection
action find_reverse
entity Q561166
relation P47
action find_reverse
entity Q2579386
relation P47
['Q29', 'P47', 'Q561166'] ['Q29', 'P47', 'Q2579386']
ASK WHERE { resource:Q29 property:P47 resource:Q561166 . resource:Q29 property:P47 resource:Q2579386 }
Spain Dreschvitz Catlowdy
action is_in
entity Spain
action intersection
action find_reverse
entity Dreschvitz
relation shares border with
action find_reverse
entity Catlowdy
relation shares border with
['Spain', 'shares border with', 'Dreschvitz'] ['Spain', 'shares border with', 'Catlowdy']
ASK WHERE { resource:Spain property:shares_border_with resource:Dreschvitz . resource:Spain property:shares_border_with resource:Catlowdy }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q29,P47,Q561166) (Q29,P47,Q2579386)
action is_in
entity Q29
action intersection
action find_reverse
entity Q561166
relation P47
action find_reverse
entity Q2579386
relation P47
[ANSWER]
['Q29', 'P47', 'Q561166'] ['Q29', 'P47', 'Q2579386']
ASK WHERE { resource:Q29 property:P47 resource:Q561166 . resource:Q29 property:P47 resource:Q2579386 }
No
action is_in
entity Spain
action intersection
action find_reverse
entity Dreschvitz
relation shares border with
action find_reverse
entity Catlowdy
relation shares border with
['Spain', 'shares border with', 'Dreschvitz'] ['Spain', 'shares border with', 'Catlowdy']
ASK WHERE { resource:Spain property:shares_border_with resource:Dreschvitz . resource:Spain property:shares_border_with resource:Catlowdy }
[]