Simple Question (Direct)
Simple Question
Q1036989
P39
Q12737077
USER
Which occupation was a position for which Carl Beck was appointed ?
(Q1036989,P39,c(Q12737077))
action filter_type
action find
entity Q1036989
relation P39
type Q12737077
['Q1036989', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1036989 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Carl Beck
action filter_type
action find
entity Carl Beck
relation position held
type occupation
['Carl Beck', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Carl_Beck property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q18510612
SYSTEM
Member of the Swiss National Council
Q18510612
(Q1036989,P39,c(Q12737077))
action filter_type
action find
entity Q1036989
relation P39
type Q12737077
[ANSWER] was a position for which Carl Beck was appointed
['Q1036989', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1036989 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Member of the Swiss National Council
Member of the Swiss National Council was a position for which Carl Beck was appointed
Member of the Swiss National Council
action filter_type
action find
entity Carl Beck
relation position held
type occupation
['Carl Beck', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Carl_Beck property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1036989
P19
Q13220204
USER
Which administrative country subdivision is the place of birth of Carl Beck ?
(Q1036989,P19,c(Q13220204))
action filter_type
action find
entity Q1036989
relation P19
type Q13220204
['Q1036989', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?k WHERE { resource:Q1036989 property:P19 ?k . ?k rdf:type ontology:Q13220204 }
Carl Beck
action filter_type
action find
entity Carl Beck
relation place of birth
type second-level administrative country subdivision
['Carl Beck', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?k WHERE { resource:Carl_Beck property:place_of_birth ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q7123
SYSTEM
Sursee
Q7123
(Q1036989,P19,c(Q13220204))
action filter_type
action find
entity Q1036989
relation P19
type Q13220204
[ANSWER] is the place of birth of Carl Beck
['Q1036989', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?k WHERE { resource:Q1036989 property:P19 ?k . ?k rdf:type ontology:Q13220204 }
Sursee
Sursee is the place of birth of Carl Beck
Sursee
action filter_type
action find
entity Carl Beck
relation place of birth
type second-level administrative country subdivision
['Carl Beck', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?k WHERE { resource:Carl_Beck property:place_of_birth ?k . ?k rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7123
P1427
Q1318941
USER
Which stage race has its origin at that administrative country subdivision ?
(c(Q1318941),P1427,Q7123)
action filter_type
action find_reverse
entity Q7123
relation P1427
type Q1318941
[{'concept': 'Q1318941'}, 'P1427', 'Q7123']
SELECT DISTINCT ?p WHERE { ?p property:P1427 resource:Q7123 . ?p rdf:type ontology:Q1318941 }
Sursee
action filter_type
action find_reverse
entity Sursee
relation start point
type stage race
[{'concept': 'stage race'}, 'start point', 'Sursee']
SELECT DISTINCT ?p WHERE { ?p property:start_point resource:Sursee . ?p rdf:type ontology:stage_race }
[]
stage race
Q538886
SYSTEM
Tour de Suisse 2004
Q538886
(c(Q1318941),P1427,Q7123)
action filter_type
action find_reverse
entity Q7123
relation P1427
type Q1318941
[ANSWER] has its origin at that administrative country subdivision
[{'concept': 'Q1318941'}, 'P1427', 'Q7123']
SELECT DISTINCT ?p WHERE { ?p property:P1427 resource:Q7123 . ?p rdf:type ontology:Q1318941 }
Tour de Suisse 2004
Tour de Suisse 2004 has its origin at that administrative country subdivision
Tour de Suisse 2004
action filter_type
action find_reverse
entity Sursee
relation start point
type stage race
[{'concept': 'stage race'}, 'start point', 'Sursee']
SELECT DISTINCT ?p WHERE { ?p property:start_point resource:Sursee . ?p rdf:type ontology:stage_race }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1036989
P937
Q56061
USER
Where did Carl Beck work ?
(Q1036989,P937,c(Q56061))
action filter_type
action find
entity Q1036989
relation P937
type Q56061
['Q1036989', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1036989 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Carl Beck
action filter_type
action find
entity Carl Beck
relation work location
type administrative territorial entity
['Carl Beck', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Carl_Beck property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q70
SYSTEM
Bern
Q70
(Q1036989,P937,c(Q56061))
action filter_type
action find
entity Q1036989
relation P937
type Q56061
Carl Beck worked [ANSWER]
['Q1036989', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q1036989 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Bern
Carl Beck worked Bern
Bern
action filter_type
action find
entity Carl Beck
relation work location
type administrative territorial entity
['Carl Beck', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Carl_Beck property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q70 Q34713 Q34820
P190
Q56061
USER
Is that administrative territory sister town of Salzburg and Santo Domingo ?
(Q70,P190,Q34713) (Q70,P190,Q34820)
action is_in
entity Q70
action intersection
action find_reverse
entity Q34713
relation P190
action find_reverse
entity Q34820
relation P190
['Q70', 'P190', 'Q34713'] ['Q70', 'P190', 'Q34820']
ASK WHERE { resource:Q70 property:P190 resource:Q34713 . resource:Q70 property:P190 resource:Q34820 }
Bern Salzburg Santo Domingo
action is_in
entity Bern
action intersection
action find_reverse
entity Salzburg
relation sister city
action find_reverse
entity Santo Domingo
relation sister city
['Bern', 'sister city', 'Salzburg'] ['Bern', 'sister city', 'Santo Domingo']
ASK WHERE { resource:Bern property:sister_city resource:Salzburg . resource:Bern property:sister_city resource:Santo_Domingo }
[]
administrative territorial entity
SYSTEM
YES
(Q70,P190,Q34713) (Q70,P190,Q34820)
action is_in
entity Q70
action intersection
action find_reverse
entity Q34713
relation P190
action find_reverse
entity Q34820
relation P190
[ANSWER]
['Q70', 'P190', 'Q34713'] ['Q70', 'P190', 'Q34820']
ASK WHERE { resource:Q70 property:P190 resource:Q34713 . resource:Q70 property:P190 resource:Q34820 }
Yes
action is_in
entity Bern
action intersection
action find_reverse
entity Salzburg
relation sister city
action find_reverse
entity Santo Domingo
relation sister city
['Bern', 'sister city', 'Salzburg'] ['Bern', 'sister city', 'Santo Domingo']
ASK WHERE { resource:Bern property:sister_city resource:Salzburg . resource:Bern property:sister_city resource:Santo_Domingo }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18510612 Q39
P17
Q15617994
USER
Does Member of the Swiss National Council belong to Switzerland ?
(Q18510612,P17,Q39)
action is_in
entity Q39
action find
entity Q18510612
relation P17
['Q18510612', 'P17', 'Q39']
ASK WHERE { resource:Q18510612 property:P17 resource:Q39 }
Member of the Swiss National Council Switzerland
action is_in
entity Switzerland
action find
entity Member of the Swiss National Council
relation country
['Member of the Swiss National Council', 'country', 'Switzerland']
ASK WHERE { resource:Member_of_the_Swiss_National_Council property:country resource:Switzerland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q18510612,P17,Q39)
action is_in
entity Q39
action find
entity Q18510612
relation P17
[ANSWER]
['Q18510612', 'P17', 'Q39']
ASK WHERE { resource:Q18510612 property:P17 resource:Q39 }
Yes
action is_in
entity Switzerland
action find
entity Member of the Swiss National Council
relation country
['Member of the Swiss National Council', 'country', 'Switzerland']
ASK WHERE { resource:Member_of_the_Swiss_National_Council property:country resource:Switzerland }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types have around 2 administrative territories as registry port ?
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { FILTER ( ?y = 2 ) . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?y ) WHERE { ?x property:P532 ?l . ?l rdf:type ontology:Q56061 . ?x rdf:type ontology:Q2235308 } GROUP BY ?x } }
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { FILTER ( ?y = 2 ) . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?y ) WHERE { ?x property:port_of_registry ?l . ?l rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:ship_type } GROUP BY ?x } }
[]
administrative territorial entity ship type
SYSTEM
4
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { FILTER ( ?y = 2 ) . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?y ) WHERE { ?x property:P532 ?l . ?l rdf:type ontology:Q56061 . ?x rdf:type ontology:Q2235308 } GROUP BY ?x } }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
4
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { FILTER ( ?y = 2 ) . { SELECT DISTINCT ?x ( COUNT ( ?l ) AS ?y ) WHERE { ?x property:port_of_registry ?l . ?l rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:ship_type } GROUP BY ?x } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q70
P6
Q502895
USER
Which person is that administrative territory the head of goverment of ?
action filter_type
action find
entity Q70
relation P6
type Q502895
SELECT DISTINCT ?p WHERE { resource:Q70 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Bern
action filter_type
action find
entity Bern
relation head of government
type common name
SELECT DISTINCT ?p WHERE { resource:Bern property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
common name
Q74144
SYSTEM
Alexander Tschäppät
Q74144
action filter_type
action find
entity Q70
relation P6
type Q502895
[ANSWER] is that administrative territory the head of goverment of
SELECT DISTINCT ?p WHERE { resource:Q70 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Alexander Tschäppät
Alexander Tschäppät is that administrative territory the head of goverment of
Alexander Tschäppät
action filter_type
action find
entity Bern
relation head of government
type common name
SELECT DISTINCT ?p WHERE { resource:Bern property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]