Simple Question (Direct)
Simple Question
Q14920076
P69
Q159334
USER
Which secondary school is the alma mater of Dan Coleman ?
(Q14920076,P69,c(Q159334))
action filter_type
action find
entity Q14920076
relation P69
type Q159334
['Q14920076', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?n WHERE { resource:Q14920076 property:P69 ?n . ?n rdf:type ontology:Q159334 }
Dan Coleman
action filter_type
action find
entity Dan Coleman
relation educated at
type secondary school
['Dan Coleman', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?n WHERE { resource:Dan_Coleman property:educated_at ?n . ?n rdf:type ontology:secondary_school }
[]
secondary school
Q5900664
SYSTEM
Hopkins High School
Q5900664
(Q14920076,P69,c(Q159334))
action filter_type
action find
entity Q14920076
relation P69
type Q159334
[ANSWER] is the alma mater of Dan Coleman
['Q14920076', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?n WHERE { resource:Q14920076 property:P69 ?n . ?n rdf:type ontology:Q159334 }
Hopkins High School
Hopkins High School is the alma mater of Dan Coleman
Hopkins High School
action filter_type
action find
entity Dan Coleman
relation educated at
type secondary school
['Dan Coleman', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?n WHERE { resource:Dan_Coleman property:educated_at ?n . ?n rdf:type ontology:secondary_school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14920076
P106
Q12737077
USER
What is the job of Dan Coleman ?
(Q14920076,P106,c(Q12737077))
action filter_type
action find
entity Q14920076
relation P106
type Q12737077
['Q14920076', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q14920076 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Dan Coleman
action filter_type
action find
entity Dan Coleman
relation occupation
type occupation
['Dan Coleman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Dan_Coleman property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q14920076,P106,c(Q12737077))
action filter_type
action find
entity Q14920076
relation P106
type Q12737077
The job of Dan Coleman is a [ANSWER]
['Q14920076', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q14920076 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
basketball player
The job of Dan Coleman is a basketball player
basketball player
action filter_type
action find
entity Dan Coleman
relation occupation
type occupation
['Dan Coleman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Dan_Coleman property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14920076
P54
Q12973014
USER
Which sports team is that person a member of ?
(Q3665646,P54,c(Q12973014))
action filter_type
action find
entity Q14920076
relation P54
type Q12973014
['Q3665646', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { resource:Q14920076 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
Dan Coleman
action filter_type
action find
entity Dan Coleman
relation member of sports team
type sports team
['basketball player', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { resource:Dan_Coleman property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
sports team
Q2664259
SYSTEM
Donar
Q2664259
(Q3665646,P54,c(Q12973014))
action filter_type
action find
entity Q14920076
relation P54
type Q12973014
[ANSWER] is that person a member of
['Q3665646', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { resource:Q14920076 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
Donar
Donar is that person a member of
Donar
action filter_type
action find
entity Dan Coleman
relation member of sports team
type sports team
['basketball player', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { resource:Dan_Coleman property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2664259
P641
Q349
USER
What did that sports team participate in ?
(Q2664259,P641,c(Q349))
action filter_type
action find
entity Q2664259
relation P641
type Q349
['Q2664259', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q2664259 property:P641 ?n . ?n rdf:type ontology:Q349 }
Donar
action filter_type
action find
entity Donar
relation sport
type sport
['Donar', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Donar property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q2664259,P641,c(Q349))
action filter_type
action find
entity Q2664259
relation P641
type Q349
That sports team participated in [ANSWER]
['Q2664259', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q2664259 property:P641 ?n . ?n rdf:type ontology:Q349 }
basketball
That sports team participated in basketball
basketball
action filter_type
action find
entity Donar
relation sport
type sport
['Donar', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Donar property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q474007
Q349
USER
And also tell me about Amor International Badminton Championships?
(Q474007,P641,c(Q349))
action filter_type
action find
entity Q474007
relation P641
type Q349
['Q474007', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q474007 property:P641 ?y }
Amor International Badminton Championships
action filter_type
action find
entity Amor International Badminton Championships
relation sport
type sport
['Amor International Badminton Championships', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Amor_International_Badminton_Championships property:sport ?y }
[]
sport
Q7291
SYSTEM
badminton
Q7291
(Q474007,P641,c(Q349))
action filter_type
action find
entity Q474007
relation P641
type Q349
[ANSWER]
['Q474007', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q474007 property:P641 ?y }
badminton
badminton
action filter_type
action find
entity Amor International Badminton Championships
relation sport
type sport
['Amor International Badminton Championships', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Amor_International_Badminton_Championships property:sport ?y }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P366
Q349 Q1875621 Q2235308
USER
How many sports are considered as the main functionality of greater number of aircraft classes or ship types than that sport ?
(c(Q1875621)|c(Q2235308),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q7291
relation P366
type Q1875621
type Q2235308
[[{'concept': 'Q1875621'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?d WHERE { VALUES ( ?a ) { ( ontology:Q2235308 ) ( ontology:Q1875621 ) } . ?h rdf:type ?a } GROUP BY ?d } . FILTER ( ?q > ?o ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P366 resource:Q7291 . { { ?j rdf:type ontology:Q1875621 } UNION { ?j rdf:type ontology:Q2235308 } } } } }
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity badminton
relation use
type aircraft class
type ship type
[[{'concept': 'aircraft class'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?d WHERE { VALUES ( ?a ) { ( ontology:ship_type ) ( ontology:aircraft_class ) } . ?h rdf:type ?a } GROUP BY ?d } . FILTER ( ?q > ?o ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:use resource:badminton . { { ?j rdf:type ontology:aircraft_class } UNION { ?j rdf:type ontology:ship_type } } } } }
[]
sport aircraft class ship type
SYSTEM
2
Q1875777 Q61065
(c(Q1875621)|c(Q2235308),P366,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q7291
relation P366
type Q1875621
type Q2235308
[ANSWER]
[[{'concept': 'Q1875621'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?d WHERE { VALUES ( ?a ) { ( ontology:Q2235308 ) ( ontology:Q1875621 ) } . ?h rdf:type ?a } GROUP BY ?d } . FILTER ( ?q > ?o ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:P366 resource:Q7291 . { { ?j rdf:type ontology:Q1875621 } UNION { ?j rdf:type ontology:Q2235308 } } } } }
air racing water sport
2
action count
action greater
action union
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action find_reverse_tuple_counts
relation use
type sport
type ship type
action count
action filter_multi_types
action find_reverse
entity badminton
relation use
type aircraft class
type ship type
[[{'concept': 'aircraft class'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?d WHERE { VALUES ( ?a ) { ( ontology:ship_type ) ( ontology:aircraft_class ) } . ?h rdf:type ?a } GROUP BY ?d } . FILTER ( ?q > ?o ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { ?j property:use resource:badminton . { { ?j rdf:type ontology:aircraft_class } UNION { ?j rdf:type ontology:ship_type } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3665646
P425
Q349
USER
Which sport is associated with the field of occupation basketball player ?
(Q3665646,P425,c(Q349))
action filter_type
action find
entity Q3665646
relation P425
type Q349
['Q3665646', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q3665646 property:P425 ?v . ?v rdf:type ontology:Q349 }
basketball player
action filter_type
action find
entity basketball player
relation field of this occupation
type sport
['basketball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:basketball_player property:field_of_this_occupation ?v . ?v rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q3665646,P425,c(Q349))
action filter_type
action find
entity Q3665646
relation P425
type Q349
Sport [ANSWER] is associated with the field of occupation [ANSWER] player
['Q3665646', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q3665646 property:P425 ?v . ?v rdf:type ontology:Q349 }
basketball
Sport basketball is associated with the field of occupation basketball player
basketball
action filter_type
action find
entity basketball player
relation field of this occupation
type sport
['basketball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:basketball_player property:field_of_this_occupation ?v . ?v rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3665646
P101
Q502895
USER
Who works in the domain of basketball player ?
(c(Q502895),P101,Q3665646)
action filter_type
action find_reverse
entity Q3665646
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q3665646']
SELECT DISTINCT ?z WHERE { ?z property:P101 resource:Q3665646 . ?z rdf:type ontology:Q502895 }
basketball player
action filter_type
action find_reverse
entity basketball player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'basketball player']
SELECT DISTINCT ?z WHERE { ?z property:field_of_work resource:basketball_player . ?z rdf:type ontology:common_name }
[]
common name
Q934632
SYSTEM
Cincy Powell
Q934632
(c(Q502895),P101,Q3665646)
action filter_type
action find_reverse
entity Q3665646
relation P101
type Q502895
[ANSWER] works in the domain of basketball player
[{'concept': 'Q502895'}, 'P101', 'Q3665646']
SELECT DISTINCT ?z WHERE { ?z property:P101 resource:Q3665646 . ?z rdf:type ontology:Q502895 }
Cincy Powell
Cincy Powell works in the domain of basketball player
Cincy Powell
action filter_type
action find_reverse
entity basketball player
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'basketball player']
SELECT DISTINCT ?z WHERE { ?z property:field_of_work resource:basketball_player . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3665646
P361
Q618123
USER
What is basketball player a component of ?
(Q3665646,P361,c(Q618123))
action filter_type
action find
entity Q3665646
relation P361
type Q618123
['Q3665646', 'P361', {'concept': 'Q618123'}]
SELECT DISTINCT ?c WHERE { resource:Q3665646 property:P361 ?c . ?c rdf:type ontology:Q618123 }
basketball player
action filter_type
action find
entity basketball player
relation part of
type geographical object
['basketball player', 'part of', {'concept': 'geographical object'}]
SELECT DISTINCT ?c WHERE { resource:basketball_player property:part_of ?c . ?c rdf:type ontology:geographical_object }
[]
geographical object
Q13393265
SYSTEM
basketball team
Q13393265
(Q3665646,P361,c(Q618123))
action filter_type
action find
entity Q3665646
relation P361
type Q618123
Basketball player a component of is [ANSWER]
['Q3665646', 'P361', {'concept': 'Q618123'}]
SELECT DISTINCT ?c WHERE { resource:Q3665646 property:P361 ?c . ?c rdf:type ontology:Q618123 }
basketball team
Basketball player a component of is basketball team
basketball team
action filter_type
action find
entity basketball player
relation part of
type geographical object
['basketball player', 'part of', {'concept': 'geographical object'}]
SELECT DISTINCT ?c WHERE { resource:basketball_player property:part_of ?c . ?c rdf:type ontology:geographical_object }
[]