Simple Question (Direct)
Simple Question
Q2873824
P47
Q79007
USER
Which street is adjacent to avenue René-Coty ?
(Q2873824,P47,c(Q79007))
action filter_type
action find
entity Q2873824
relation P47
type Q79007
['Q2873824', 'P47', {'concept': 'Q79007'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q79007 . resource:Q2873824 property:P47 ?l }
avenue René-Coty
action filter_type
action find
entity avenue René-Coty
relation shares border with
type street
['avenue René-Coty', 'shares border with', {'concept': 'street'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:street . resource:avenue_René-Coty property:shares_border_with ?l }
[]
street
Q2873821
SYSTEM
avenue Reille
Q2873821
(Q2873824,P47,c(Q79007))
action filter_type
action find
entity Q2873824
relation P47
type Q79007
De [ANSWER] is adjacent to avenue René-Coty
['Q2873824', 'P47', {'concept': 'Q79007'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q79007 . resource:Q2873824 property:P47 ?l }
avenue Reille
De avenue Reille is adjacent to avenue René-Coty
avenue Reille
action filter_type
action find
entity avenue René-Coty
relation shares border with
type street
['avenue René-Coty', 'shares border with', {'concept': 'street'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:street . resource:avenue_René-Coty property:shares_border_with ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2873821
P17
Q15617994
USER
Which administrative territory does that street belong to ?
(Q2873821,P17,c(Q15617994))
action filter_type
action find
entity Q2873821
relation P17
type Q15617994
['Q2873821', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q2873821 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
avenue Reille
action filter_type
action find
entity avenue Reille
relation country
type designation for an administrative territorial entity
['avenue Reille', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:avenue_Reille property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2873821,P17,c(Q15617994))
action filter_type
action find
entity Q2873821
relation P17
type Q15617994
That street belongs to [ANSWER]
['Q2873821', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q2873821 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
France
That street belongs to France
France
action filter_type
action find
entity avenue Reille
relation country
type designation for an administrative territorial entity
['avenue Reille', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:avenue_Reille property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2873821
P138
Q502895
USER
Which person is that street named after ?
(Q142,P138,c(Q502895))
action filter_type
action find
entity Q2873821
relation P138
type Q502895
['Q142', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2873821 property:P138 ?t . ?t rdf:type ontology:Q502895 }
avenue Reille
action filter_type
action find
entity avenue Reille
relation named after
type common name
['France', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:avenue_Reille property:named_after ?t . ?t rdf:type ontology:common_name }
[]
common name
Q281781
SYSTEM
Honoré Charles Reille
Q281781
(Q142,P138,c(Q502895))
action filter_type
action find
entity Q2873821
relation P138
type Q502895
That street is named for [ANSWER]
['Q142', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q2873821 property:P138 ?t . ?t rdf:type ontology:Q502895 }
Honoré Charles Reille
That street is named for Honoré Charles Reille
Honoré Charles Reille
action filter_type
action find
entity avenue Reille
relation named after
type common name
['France', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:avenue_Reille property:named_after ?t . ?t rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q281781 Q1483421 Q142
P27
Q15617994
USER
Is that person a civilian of Principality of Yaroslavl and France ?
(Q281781,P27,Q1483421) (Q281781,P27,Q142)
action is_in
entity Q281781
action intersection
action find_reverse
entity Q1483421
relation P27
action find_reverse
entity Q142
relation P27
['Q281781', 'P27', 'Q1483421'] ['Q281781', 'P27', 'Q142']
ASK WHERE { resource:Q281781 property:P27 resource:Q1483421 . resource:Q281781 property:P27 resource:Q142 }
Honoré Charles Reille Principality of Yaroslavl France
action is_in
entity Honoré Charles Reille
action intersection
action find_reverse
entity Principality of Yaroslavl
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
['Honoré Charles Reille', 'country of citizenship', 'Principality of Yaroslavl'] ['Honoré Charles Reille', 'country of citizenship', 'France']
ASK WHERE { resource:Honoré_Charles_Reille property:country_of_citizenship resource:Principality_of_Yaroslavl . resource:Honoré_Charles_Reille property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q281781,P27,Q1483421) (Q281781,P27,Q142)
action is_in
entity Q281781
action intersection
action find_reverse
entity Q1483421
relation P27
action find_reverse
entity Q142
relation P27
[ANSWER]
['Q281781', 'P27', 'Q1483421'] ['Q281781', 'P27', 'Q142']
ASK WHERE { resource:Q281781 property:P27 resource:Q1483421 . resource:Q281781 property:P27 resource:Q142 }
NO and YES respectively
action is_in
entity Honoré Charles Reille
action intersection
action find_reverse
entity Principality of Yaroslavl
relation country of citizenship
action find_reverse
entity France
relation country of citizenship
['Honoré Charles Reille', 'country of citizenship', 'Principality of Yaroslavl'] ['Honoré Charles Reille', 'country of citizenship', 'France']
ASK WHERE { resource:Honoré_Charles_Reille property:country_of_citizenship resource:Principality_of_Yaroslavl . resource:Honoré_Charles_Reille property:country_of_citizenship resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q281781
P22
Q502895
USER
Who have that one as a father ?
action filter_type
action find_reverse
entity Q281781
relation P22
type Q502895
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P22 resource:Q281781 }
Honoré Charles Reille
action filter_type
action find_reverse
entity Honoré Charles Reille
relation father
type common name
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:father resource:Honoré_Charles_Reille }
[]
common name
Q3121087 Q516199 Q3426803
SYSTEM
Gustave-Charles-Prosper Reille, André-Charles-Victor Reille, René Reille
Q3121087 Q516199 Q3426803
action filter_type
action find_reverse
entity Q281781
relation P22
type Q502895
[ANSWERS] have that one as a father
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P22 resource:Q281781 }
Gustave-Charles-Prosper Reille André-Charles-Victor Reille René Reille
Gustave-Charles-Prosper Reille, André-Charles-Victor Reille and René Reille have that one as a father
Gustave-Charles-Prosper Reille André-Charles-Victor Reille René Reille
action filter_type
action find_reverse
entity Honoré Charles Reille
relation father
type common name
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:father resource:Honoré_Charles_Reille }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q166142
USER
How many applications did atleast 3 people dub for ?
(c(Q166142),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 3
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?j ) WHERE { ?r property:P725 ?c . ?r rdf:type ontology:Q166142 . ?c rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?j >= 3 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type application
type common name
value 3
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?j ) WHERE { ?r property:voice_actor ?c . ?r rdf:type ontology:application . ?c rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?j >= 3 ) }
[]
common name application
SYSTEM
21
Q16031150 Q1052131 Q1141963 Q53362 Q870981 Q2578717 Q15588417 Q1191681 Q2061445 Q27863 Q538150 Q843131 Q1154327 Q1207525 Q23017199 Q170489 Q1371603 Q182548 Q2666042 Q4121008 Q2473832
(c(Q166142),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 3
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?j ) WHERE { ?r property:P725 ?c . ?r rdf:type ontology:Q166142 . ?c rdf:type ontology:Q502895 } GROUP BY ?r } . FILTER ( ?j >= 3 ) }
Hyperdimension Neptunia PP Super Smash Bros. Melee Star Fox 64 Bakemonogatari Super Smash Bros. Star Fox Adventures Project 575 Battle Vixens Hyperdimension Neptunia Mk2 Sword Art Online To Love-Ru Super Smash Bros. Brawl XIII Hyperdimension Neptunia Marvel Avengers Academy Super Mario Galaxy Star Fox 64 3D Date A Live Star Fox: Assault Hyperdimension Neptunia Victory Tantei Opera Milky Holmes
21
action count
action atleast
action find_tuple_counts
relation voice actor
type application
type common name
value 3
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?g ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?j ) WHERE { ?r property:voice_actor ?c . ?r rdf:type ontology:application . ?c rdf:type ontology:common_name } GROUP BY ?r } . FILTER ( ?j >= 3 ) }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1183257
Q838948
USER
And what about The Way?
(Q1183257,P272,c(Q838948))
action count
action filter_type
action find
entity Q1183257
relation P272
type Q838948
['Q1183257', 'P272', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:Q838948 . resource:Q1183257 property:P272 ?s }
The Way
action count
action filter_type
action find
entity The Way
relation production company
type work of art
['The Way', 'production company', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:work_of_art . resource:The_Way property:production_company ?s }
[]
work of art
SYSTEM
1
(Q1183257,P272,c(Q838948))
action count
action filter_type
action find
entity Q1183257
relation P272
type Q838948
[ANSWER]
['Q1183257', 'P272', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:Q838948 . resource:Q1183257 property:P272 ?s }
1
action count
action filter_type
action find
entity The Way
relation production company
type work of art
['The Way', 'production company', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { ?s rdf:type ontology:work_of_art . resource:The_Way property:production_company ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can around 3406 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3406
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?d ) WHERE { ?j rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?j } GROUP BY ?j } . FILTER ( ?d = 3406 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3406
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?d ) WHERE { ?j rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?j } GROUP BY ?j } . FILTER ( ?d = 3406 ) }
[]
musical instrument common name
SYSTEM
3
Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3406
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?d ) WHERE { ?j rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?j } GROUP BY ?j } . FILTER ( ?d = 3406 ) }
violin organ drum kit
3
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3406
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?q ) AS ?d ) WHERE { ?j rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?j } GROUP BY ?j } . FILTER ( ?d = 3406 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2722320 Q1183257
P17
Q15617994
USER
Which administrative territories are The Way or Paduvilayi a part of ?
OR((Q1183257,P17,c(Q15617994)), (Q2722320,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1183257
relation P17
action find
entity Q2722320
relation P17
type Q15617994
{'OR': [['Q1183257', 'P17', {'concept': 'Q15617994'}], ['Q2722320', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2722320 property:P17 ?p } UNION { resource:Q1183257 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Paduvilayi The Way
action filter_type
action union
action find
entity The Way
relation country
action find
entity Paduvilayi
relation country
type designation for an administrative territorial entity
{'OR': [['The Way', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Paduvilayi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Paduvilayi property:country ?p } UNION { resource:The_Way property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q668
SYSTEM
Spain, India
Q29 Q668
OR((Q1183257,P17,c(Q15617994)), (Q2722320,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1183257
relation P17
action find
entity Q2722320
relation P17
type Q15617994
[ANSWERS] are The Way or Paduvilayi a part of
{'OR': [['Q1183257', 'P17', {'concept': 'Q15617994'}], ['Q2722320', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2722320 property:P17 ?p } UNION { resource:Q1183257 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Spain India
Spain and India are The Way or Paduvilayi a part of
Spain India
action filter_type
action union
action find
entity The Way
relation country
action find
entity Paduvilayi
relation country
type designation for an administrative territorial entity
{'OR': [['The Way', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Paduvilayi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Paduvilayi property:country ?p } UNION { resource:The_Way property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]