Simple Question (Direct)
Simple Question
Q2338304
P39
Q12737077
USER
What was the position held by Stefanie Vogelsang ?
(Q2338304,P39,c(Q12737077))
action filter_type
action find
entity Q2338304
relation P39
type Q12737077
['Q2338304', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q2338304 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Stefanie Vogelsang
action filter_type
action find
entity Stefanie Vogelsang
relation position held
type occupation
['Stefanie Vogelsang', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Stefanie_Vogelsang property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q1939555
SYSTEM
member of the German Bundestag
Q1939555
(Q2338304,P39,c(Q12737077))
action filter_type
action find
entity Q2338304
relation P39
type Q12737077
The position held by Stefanie Vogelsang was a [ANSWER]
['Q2338304', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q2338304 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
member of the German Bundestag
The position held by Stefanie Vogelsang was a member of the German Bundestag
member of the German Bundestag
action filter_type
action find
entity Stefanie Vogelsang
relation position held
type occupation
['Stefanie Vogelsang', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Stefanie_Vogelsang property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1939555
P17
Q1048835
USER
Which political territory is that occupation situated in ?
(Q1939555,P17,c(Q1048835))
action filter_type
action find
entity Q1939555
relation P17
type Q1048835
['Q1939555', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q1939555 property:P17 ?f }
member of the German Bundestag
action filter_type
action find
entity member of the German Bundestag
relation country
type political territorial entity
['member of the German Bundestag', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:member_of_the_German_Bundestag property:country ?f }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1939555,P17,c(Q1048835))
action filter_type
action find
entity Q1939555
relation P17
type Q1048835
That occupation is situated in [ANSWER]
['Q1939555', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q1939555 property:P17 ?f }
Germany
That occupation is situated in Germany
Germany
action filter_type
action find
entity member of the German Bundestag
relation country
type political territorial entity
['member of the German Bundestag', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:member_of_the_German_Bundestag property:country ?f }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1891473 Q183
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Germany and are Manuel Correia de Lacerda an inhabitant of ?
AND((Q183,P530,c(Q15617994)), (Q1891473,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q1891473
relation P27
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q1891473', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { resource:Q183 property:P530 ?x . resource:Q1891473 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Manuel Correia de Lacerda Germany
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Manuel Correia de Lacerda
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Manuel Correia de Lacerda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Germany property:diplomatic_relation ?x . resource:Manuel_Correia_de_Lacerda property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q45
SYSTEM
Portugal
Q45
AND((Q183,P530,c(Q15617994)), (Q1891473,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q1891473
relation P27
type Q15617994
[ANSWER] holds diplomatic relationship with Germany and are Manuel Correia de Lacerda an inhabitant of
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q1891473', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { resource:Q183 property:P530 ?x . resource:Q1891473 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Portugal
Portugal holds diplomatic relationship with Germany and are Manuel Correia de Lacerda an inhabitant of
Portugal
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Manuel Correia de Lacerda
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Manuel Correia de Lacerda', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { resource:Germany property:diplomatic_relation ?x . resource:Manuel_Correia_de_Lacerda property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q56061 Q43229
USER
How many administrative territories or organizations were that administrative territory a member of ?
(Q45,P463,c(Q56061)) (Q45,P463,c(Q43229)) (Q45,P463,c(Q56061)) (Q45,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q45
relation P463
type Q56061
action filter_type
action find
entity Q45
relation P463
type Q43229
['Q45', 'P463', {'concept': 'Q56061'}] ['Q45', 'P463', {'concept': 'Q43229'}] ['Q45', 'P463', {'concept': 'Q56061'}] ['Q45', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { VALUES ( ?h ) { ( ontology:Q56061 ) ( ontology:Q43229 ) } . ?v rdf:type ?h }
action count
action union
action filter_type
action find
entity Portugal
relation member of
type administrative territorial entity
action filter_type
action find
entity Portugal
relation member of
type organization
['Portugal', 'member of', {'concept': 'administrative territorial entity'}] ['Portugal', 'member of', {'concept': 'organization'}] ['Portugal', 'member of', {'concept': 'administrative territorial entity'}] ['Portugal', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { VALUES ( ?h ) { ( ontology:administrative_territorial_entity ) ( ontology:organization ) } . ?v rdf:type ?h }
[]
administrative territorial entity organization
SYSTEM
10
Q340195 Q191384 Q899770 Q41550 Q182500 Q656801 Q151991 Q7825 Q458 Q827525
(Q45,P463,c(Q56061)) (Q45,P463,c(Q43229)) (Q45,P463,c(Q56061)) (Q45,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q45
relation P463
type Q56061
action filter_type
action find
entity Q45
relation P463
type Q43229
[ANSWER]
['Q45', 'P463', {'concept': 'Q56061'}] ['Q45', 'P463', {'concept': 'Q43229'}] ['Q45', 'P463', {'concept': 'Q56061'}] ['Q45', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { VALUES ( ?h ) { ( ontology:Q56061 ) ( ontology:Q43229 ) } . ?v rdf:type ?h }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development Community of Portuguese Language Countries International Finance Corporation European Southern Observatory World Trade Organization European Union International Development Association
10
action count
action union
action filter_type
action find
entity Portugal
relation member of
type administrative territorial entity
action filter_type
action find
entity Portugal
relation member of
type organization
['Portugal', 'member of', {'concept': 'administrative territorial entity'}] ['Portugal', 'member of', {'concept': 'organization'}] ['Portugal', 'member of', {'concept': 'administrative territorial entity'}] ['Portugal', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { VALUES ( ?h ) { ( ontology:administrative_territorial_entity ) ( ontology:organization ) } . ?v rdf:type ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45
P47
Q15617994
USER
Which administrative territory shares border with Portugal ?
(c(Q15617994),P47,Q45)
action filter_type
action find
entity Q45
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q45']
SELECT DISTINCT ?m WHERE { resource:Q45 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
Portugal
action filter_type
action find
entity Portugal
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Portugal']
SELECT DISTINCT ?m WHERE { resource:Portugal property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(c(Q15617994),P47,Q45)
action filter_type
action find
entity Q45
relation P47
type Q15617994
[ANSWER] shares border with Portugal
[{'concept': 'Q15617994'}, 'P47', 'Q45']
SELECT DISTINCT ?m WHERE { resource:Q45 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
Spain
Spain shares border with Portugal
Spain
action filter_type
action find
entity Portugal
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Portugal']
SELECT DISTINCT ?m WHERE { resource:Portugal property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P276
Q175331
USER
What is located at that administrative territory ?
(c(Q175331),P276,Q29)
action filter_type
action find_reverse
entity Q29
relation P276
type Q175331
[{'concept': 'Q175331'}, 'P276', 'Q29']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q29 . ?i rdf:type ontology:Q175331 }
Spain
action filter_type
action find_reverse
entity Spain
relation location
type demonstration
[{'concept': 'demonstration'}, 'location', 'Spain']
SELECT DISTINCT ?i WHERE { ?i property:location resource:Spain . ?i rdf:type ontology:demonstration }
[]
demonstration
Q19359500
SYSTEM
2015 February 26 Spain student strike
Q19359500
(c(Q175331),P276,Q29)
action filter_type
action find_reverse
entity Q29
relation P276
type Q175331
[ANSWER] is located at that administrative territory
[{'concept': 'Q175331'}, 'P276', 'Q29']
SELECT DISTINCT ?i WHERE { ?i property:P276 resource:Q29 . ?i rdf:type ontology:Q175331 }
2015 February 26 Spain student strike
2015 February 26 Spain student strike is located at that administrative territory
2015 February 26 Spain student strike
action filter_type
action find_reverse
entity Spain
relation location
type demonstration
[{'concept': 'demonstration'}, 'location', 'Spain']
SELECT DISTINCT ?i WHERE { ?i property:location resource:Spain . ?i rdf:type ontology:demonstration }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45
P1376
Q56061
USER
What is the capital of Portugal ?
(c(Q56061),P1376,Q45)
action filter_type
action find_reverse
entity Q45
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q45']
SELECT DISTINCT ?u WHERE { ?u property:P1376 resource:Q45 . ?u rdf:type ontology:Q56061 }
Portugal
action filter_type
action find_reverse
entity Portugal
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Portugal']
SELECT DISTINCT ?u WHERE { ?u property:capital_of resource:Portugal . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q597
SYSTEM
Lisbon
Q597
(c(Q56061),P1376,Q45)
action filter_type
action find_reverse
entity Q45
relation P1376
type Q56061
The capital of Portugal is [ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q45']
SELECT DISTINCT ?u WHERE { ?u property:P1376 resource:Q45 . ?u rdf:type ontology:Q56061 }
Lisbon
The capital of Portugal is Lisbon
Lisbon
action filter_type
action find_reverse
entity Portugal
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Portugal']
SELECT DISTINCT ?u WHERE { ?u property:capital_of resource:Portugal . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q45
P138
Q3314483
USER
Which fruit has Portugal as its namesake ?
(c(Q3314483),P138,Q45)
action filter_type
action find_reverse
entity Q45
relation P138
type Q3314483
[{'concept': 'Q3314483'}, 'P138', 'Q45']
SELECT DISTINCT ?i WHERE { ?i property:P138 resource:Q45 . ?i rdf:type ontology:Q3314483 }
Portugal
action filter_type
action find_reverse
entity Portugal
relation named after
type fruit
[{'concept': 'fruit'}, 'named after', 'Portugal']
SELECT DISTINCT ?i WHERE { ?i property:named_after resource:Portugal . ?i rdf:type ontology:fruit }
[]
fruit
Q13191
SYSTEM
orange
Q13191
(c(Q3314483),P138,Q45)
action filter_type
action find_reverse
entity Q45
relation P138
type Q3314483
[ANSWER] has Portugal as its namesake
[{'concept': 'Q3314483'}, 'P138', 'Q45']
SELECT DISTINCT ?i WHERE { ?i property:P138 resource:Q45 . ?i rdf:type ontology:Q3314483 }
orange
Orange has Portugal as its namesake
orange
action filter_type
action find_reverse
entity Portugal
relation named after
type fruit
[{'concept': 'fruit'}, 'named after', 'Portugal']
SELECT DISTINCT ?i WHERE { ?i property:named_after resource:Portugal . ?i rdf:type ontology:fruit }
[]