Simple Question (Direct)
Simple Question
Q55312
P479
Q1183543
USER
What was the means of input for Star Wars: TIE Fighter ?
(Q55312,P479,c(Q1183543))
action filter_type
action find
entity Q55312
relation P479
type Q1183543
['Q55312', 'P479', {'concept': 'Q1183543'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1183543 . resource:Q55312 property:P479 ?l }
Star Wars: TIE Fighter
action filter_type
action find
entity Star Wars: TIE Fighter
relation input device
type device
['Star Wars: TIE Fighter', 'input device', {'concept': 'device'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:device . resource:Star_Wars:_TIE_Fighter property:input_device ?l }
[]
device
Q250
SYSTEM
computer keyboard
Q250
(Q55312,P479,c(Q1183543))
action filter_type
action find
entity Q55312
relation P479
type Q1183543
The means of input for Star Wars was a [ANSWER] : TIE Fighter
['Q55312', 'P479', {'concept': 'Q1183543'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1183543 . resource:Q55312 property:P479 ?l }
computer keyboard
The means of input for Star Wars was a computer keyboard : TIE Fighter
computer keyboard
action filter_type
action find
entity Star Wars: TIE Fighter
relation input device
type device
['Star Wars: TIE Fighter', 'input device', {'concept': 'device'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:device . resource:Star_Wars:_TIE_Fighter property:input_device ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55312
P178
Q28640
USER
Who produced Star Wars: TIE Fighter ?
(Q55312,P178,c(Q28640))
action filter_type
action find
entity Q55312
relation P178
type Q28640
['Q55312', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?d WHERE { resource:Q55312 property:P178 ?d . ?d rdf:type ontology:Q28640 }
Star Wars: TIE Fighter
action filter_type
action find
entity Star Wars: TIE Fighter
relation developer
type profession
['Star Wars: TIE Fighter', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?d WHERE { resource:Star_Wars:_TIE_Fighter property:developer ?d . ?d rdf:type ontology:profession }
[]
profession
Q1979024
SYSTEM
Totally Games
Q1979024
(Q55312,P178,c(Q28640))
action filter_type
action find
entity Q55312
relation P178
type Q28640
[ANSWER] produced Star Wars: TIE Fighter
['Q55312', 'P178', {'concept': 'Q28640'}]
SELECT DISTINCT ?d WHERE { resource:Q55312 property:P178 ?d . ?d rdf:type ontology:Q28640 }
Totally Games
Totally Games produced Star Wars: TIE Fighter
Totally Games
action filter_type
action find
entity Star Wars: TIE Fighter
relation developer
type profession
['Star Wars: TIE Fighter', 'developer', {'concept': 'profession'}]
SELECT DISTINCT ?d WHERE { resource:Star_Wars:_TIE_Fighter property:developer ?d . ?d rdf:type ontology:profession }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55312
P287
Q502895
USER
Who is the designer of Star Wars: TIE Fighter ?
(Q55312,P287,c(Q502895))
action filter_type
action find
entity Q55312
relation P287
type Q502895
['Q55312', 'P287', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q55312 property:P287 ?o . ?o rdf:type ontology:Q502895 }
Star Wars: TIE Fighter
action filter_type
action find
entity Star Wars: TIE Fighter
relation designer
type common name
['Star Wars: TIE Fighter', 'designer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Star_Wars:_TIE_Fighter property:designer ?o . ?o rdf:type ontology:common_name }
[]
common name
Q6504161
SYSTEM
Lawrence Holland
Q6504161
(Q55312,P287,c(Q502895))
action filter_type
action find
entity Q55312
relation P287
type Q502895
The designer of Star Wars : TIE Fighter is named [ANSWER]
['Q55312', 'P287', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q55312 property:P287 ?o . ?o rdf:type ontology:Q502895 }
Lawrence Holland
The designer of Star Wars : TIE Fighter is named Lawrence Holland
Lawrence Holland
action filter_type
action find
entity Star Wars: TIE Fighter
relation designer
type common name
['Star Wars: TIE Fighter', 'designer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Star_Wars:_TIE_Fighter property:designer ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2463880
Q502895
USER
And what about Wizard?
(Q2463880,P287,c(Q502895))
action filter_type
action find
entity Q2463880
relation P287
type Q502895
['Q2463880', 'P287', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q2463880 property:P287 ?x . ?x rdf:type ontology:Q502895 }
Wizard
action filter_type
action find
entity Wizard
relation designer
type common name
['Wizard', 'designer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Wizard property:designer ?x . ?x rdf:type ontology:common_name }
[]
common name
Q2362476
SYSTEM
Sean A. Moore
Q2362476
(Q2463880,P287,c(Q502895))
action filter_type
action find
entity Q2463880
relation P287
type Q502895
[ANSWER]
['Q2463880', 'P287', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q2463880 property:P287 ?x . ?x rdf:type ontology:Q502895 }
Sean A. Moore
Sean A. Moore
action filter_type
action find
entity Wizard
relation designer
type common name
['Wizard', 'designer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Wizard property:designer ?x . ?x rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2362476 Q26698039 Q6625963
P106
Q12737077
USER
Does Sean A. Moore have the profession of mayor of San Lorenzo de El Escorial and novelist ?
(Q2362476,P106,Q26698039) (Q2362476,P106,Q6625963)
action is_in
entity Q2362476
action intersection
action find_reverse
entity Q26698039
relation P106
action find_reverse
entity Q6625963
relation P106
['Q2362476', 'P106', 'Q26698039'] ['Q2362476', 'P106', 'Q6625963']
ASK WHERE { resource:Q2362476 property:P106 resource:Q26698039 . resource:Q2362476 property:P106 resource:Q6625963 }
Sean A. Moore mayor of San Lorenzo de El Escorial novelist
action is_in
entity Sean A. Moore
action intersection
action find_reverse
entity mayor of San Lorenzo de El Escorial
relation occupation
action find_reverse
entity novelist
relation occupation
['Sean A. Moore', 'occupation', 'mayor of San Lorenzo de El Escorial'] ['Sean A. Moore', 'occupation', 'novelist']
ASK WHERE { resource:Sean_A._Moore property:occupation resource:mayor_of_San_Lorenzo_de_El_Escorial . resource:Sean_A._Moore property:occupation resource:novelist }
[]
occupation
SYSTEM
NO and YES respectively
(Q2362476,P106,Q26698039) (Q2362476,P106,Q6625963)
action is_in
entity Q2362476
action intersection
action find_reverse
entity Q26698039
relation P106
action find_reverse
entity Q6625963
relation P106
[ANSWER]
['Q2362476', 'P106', 'Q26698039'] ['Q2362476', 'P106', 'Q6625963']
ASK WHERE { resource:Q2362476 property:P106 resource:Q26698039 . resource:Q2362476 property:P106 resource:Q6625963 }
NO and YES respectively
action is_in
entity Sean A. Moore
action intersection
action find_reverse
entity mayor of San Lorenzo de El Escorial
relation occupation
action find_reverse
entity novelist
relation occupation
['Sean A. Moore', 'occupation', 'mayor of San Lorenzo de El Escorial'] ['Sean A. Moore', 'occupation', 'novelist']
ASK WHERE { resource:Sean_A._Moore property:occupation resource:mayor_of_San_Lorenzo_de_El_Escorial . resource:Sean_A._Moore property:occupation resource:novelist }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q55312 Q216611 Q3817132
P123
Q28640
USER
Was Star Wars: TIE Fighter released by LucasArts and Krome Studios ?
(Q55312,P123,Q216611) (Q55312,P123,Q3817132)
action is_in
entity Q55312
action intersection
action find_reverse
entity Q216611
relation P123
action find_reverse
entity Q3817132
relation P123
['Q55312', 'P123', 'Q216611'] ['Q55312', 'P123', 'Q3817132']
ASK WHERE { resource:Q55312 property:P123 resource:Q216611 . resource:Q55312 property:P123 resource:Q3817132 }
Star Wars: TIE Fighter LucasArts Krome Studios
action is_in
entity Star Wars: TIE Fighter
action intersection
action find_reverse
entity LucasArts
relation publisher
action find_reverse
entity Krome Studios
relation publisher
['Star Wars: TIE Fighter', 'publisher', 'LucasArts'] ['Star Wars: TIE Fighter', 'publisher', 'Krome Studios']
ASK WHERE { resource:Star_Wars:_TIE_Fighter property:publisher resource:LucasArts . resource:Star_Wars:_TIE_Fighter property:publisher resource:Krome_Studios }
[]
profession
SYSTEM
YES and NO respectively
(Q55312,P123,Q216611) (Q55312,P123,Q3817132)
action is_in
entity Q55312
action intersection
action find_reverse
entity Q216611
relation P123
action find_reverse
entity Q3817132
relation P123
[ANSWER]
['Q55312', 'P123', 'Q216611'] ['Q55312', 'P123', 'Q3817132']
ASK WHERE { resource:Q55312 property:P123 resource:Q216611 . resource:Q55312 property:P123 resource:Q3817132 }
YES and NO respectively
action is_in
entity Star Wars: TIE Fighter
action intersection
action find_reverse
entity LucasArts
relation publisher
action find_reverse
entity Krome Studios
relation publisher
['Star Wars: TIE Fighter', 'publisher', 'LucasArts'] ['Star Wars: TIE Fighter', 'publisher', 'Krome Studios']
ASK WHERE { resource:Star_Wars:_TIE_Fighter property:publisher resource:LucasArts . resource:Star_Wars:_TIE_Fighter property:publisher resource:Krome_Studios }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 2982 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2982
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?j = 2982 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2982
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?j = 2982 ) }
[]
musical instrument common name
Q8338 Q1444 Q128309
SYSTEM
trumpet, organ, drum kit
Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2982
[ANSWERS] are played by around 2982 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P1303 ?r . ?r rdf:type ontology:Q34379 . ?e rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?j = 2982 ) }
trumpet organ drum kit
Trumpet, organ and drum kit are played by around 2982 people
trumpet organ drum kit
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2982
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:instrument ?r . ?r rdf:type ontology:musical_instrument . ?e rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?j = 2982 ) }
[]