Simple Question (Direct)
Simple Question
Q7384208
P106
Q12737077
USER
Which occupation is the profession of Ryan Kees ?
(Q7384208,P106,c(Q12737077))
action filter_type
action find
entity Q7384208
relation P106
type Q12737077
['Q7384208', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q7384208 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Ryan Kees
action filter_type
action find
entity Ryan Kees
relation occupation
type occupation
['Ryan Kees', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Ryan_Kees property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q7384208,P106,c(Q12737077))
action filter_type
action find
entity Q7384208
relation P106
type Q12737077
[ANSWER] is the profession of Ryan Kees
['Q7384208', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q7384208 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
American football player
American football player is the profession of Ryan Kees
American football player
action filter_type
action find
entity Ryan Kees
relation occupation
type occupation
['Ryan Kees', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Ryan_Kees property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7384208
P641
Q349
USER
Which sport was Ryan Kees a part of ?
(Q7384208,P641,c(Q349))
action filter_type
action find
entity Q7384208
relation P641
type Q349
['Q7384208', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q7384208 property:P641 ?a . ?a rdf:type ontology:Q349 }
Ryan Kees
action filter_type
action find
entity Ryan Kees
relation sport
type sport
['Ryan Kees', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Ryan_Kees property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q7384208,P641,c(Q349))
action filter_type
action find
entity Q7384208
relation P641
type Q349
Which sport was Ryan Kees a part of
['Q7384208', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q7384208 property:P641 ?a . ?a rdf:type ontology:Q349 }
American football
Which sport was Ryan Kees a part of
American football
action filter_type
action find
entity Ryan Kees
relation sport
type sport
['Ryan Kees', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Ryan_Kees property:sport ?a . ?a rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7384208
P21
Q290
USER
Which sex does that person possess ?
(Q41323,P21,c(Q290))
action filter_type
action find
entity Q7384208
relation P21
type Q290
['Q41323', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q7384208 property:P21 ?x . ?x rdf:type ontology:Q290 }
Ryan Kees
action filter_type
action find
entity Ryan Kees
relation gender
type sex
['American football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Ryan_Kees property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q41323,P21,c(Q290))
action filter_type
action find
entity Q7384208
relation P21
type Q290
That person possesses a [ANSWER]
['Q41323', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q7384208 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Ryan Kees
relation gender
type sex
['American football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Ryan_Kees property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7384208
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q7384208
relation P19
type Q56061
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q7384208 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Ryan Kees
action filter_type
action find
entity Ryan Kees
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Ryan_Kees property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q936730
SYSTEM
Eagan
Q936730
(Q6581097,P19,c(Q56061))
action filter_type
action find
entity Q7384208
relation P19
type Q56061
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q7384208 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Eagan
That person was born in Eagan
Eagan
action filter_type
action find
entity Ryan Kees
relation place of birth
type administrative territorial entity
['male', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Ryan_Kees property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P551
Q502895
USER
How many people lives in that administrative territory ?
(c(Q502895),P551,Q936730)
action count
action filter_type
action find_reverse
entity Q936730
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q936730']
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:P551 resource:Q936730 . ?g rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Eagan
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Eagan']
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:residence resource:Eagan . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q6681136 Q16731828 Q16205291
(c(Q502895),P551,Q936730)
action count
action filter_type
action find_reverse
entity Q936730
relation P551
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P551', 'Q936730']
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:P551 resource:Q936730 . ?g rdf:type ontology:Q502895 }
Lori Swanson Mike Maguire Laurie Halverson
3
action count
action filter_type
action find_reverse
entity Eagan
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Eagan']
SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { ?g property:residence resource:Eagan . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q355304 Q1267889 Q56061
USER
How many administrative territories are located nearby around 4 watercourses and waterways ?
(c(Q56061),P206,c(Q355304)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q1267889
value 4
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?i ) WHERE { { ?n property:P206 ?p . ?n rdf:type ontology:Q56061 . ?p rdf:type ontology:Q1267889 } UNION { ?n property:P206 ?p . ?p rdf:type ontology:Q355304 . ?n rdf:type ontology:Q56061 } } GROUP BY ?n } . FILTER ( ?i = 4 ) }
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
value 4
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?i ) WHERE { { ?n property:located_next_to_body_of_water ?p . ?n rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:waterway } UNION { ?n property:located_next_to_body_of_water ?p . ?p rdf:type ontology:watercourse . ?n rdf:type ontology:administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?i = 4 ) }
[]
watercourse waterway administrative territorial entity
SYSTEM
3
Q3033 Q1741 Q60
(c(Q56061),P206,c(Q355304)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q56061
type Q355304
action find_tuple_counts
relation P206
type Q56061
type Q1267889
value 4
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?i ) WHERE { { ?n property:P206 ?p . ?n rdf:type ontology:Q56061 . ?p rdf:type ontology:Q1267889 } UNION { ?n property:P206 ?p . ?p rdf:type ontology:Q355304 . ?n rdf:type ontology:Q56061 } } GROUP BY ?n } . FILTER ( ?i = 4 ) }
Göttingen Vienna New York City
3
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
value 4
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?p ) AS ?i ) WHERE { { ?n property:located_next_to_body_of_water ?p . ?n rdf:type ontology:administrative_territorial_entity . ?p rdf:type ontology:waterway } UNION { ?n property:located_next_to_body_of_water ?p . ?p rdf:type ontology:watercourse . ?n rdf:type ontology:administrative_territorial_entity } } GROUP BY ?n } . FILTER ( ?i = 4 ) }
[]