Simple Question (Direct)
Simple Question
Q965024
P641
Q31629
USER
What was the type of sport that Mirela Țugurlan was a part of ?
(Q965024,P641,c(Q31629))
action filter_type
action find
entity Q965024
relation P641
type Q31629
['Q965024', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { resource:Q965024 property:P641 ?y . ?y rdf:type ontology:Q31629 }
Mirela Țugurlan
action filter_type
action find
entity Mirela Țugurlan
relation sport
type type of sport
['Mirela Țugurlan', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { resource:Mirela_Țugurlan property:sport ?y . ?y rdf:type ontology:type_of_sport }
[]
type of sport
Q326827
SYSTEM
artistic gymnastics
Q326827
(Q965024,P641,c(Q31629))
action filter_type
action find
entity Q965024
relation P641
type Q31629
The type of sport that Mirela Țugurlan was a part of was the [ANSWER]
['Q965024', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { resource:Q965024 property:P641 ?y . ?y rdf:type ontology:Q31629 }
artistic gymnastics
The type of sport that Mirela Țugurlan was a part of was the artistic gymnastics
artistic gymnastics
action filter_type
action find
entity Mirela Țugurlan
relation sport
type type of sport
['Mirela Țugurlan', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { resource:Mirela_Țugurlan property:sport ?y . ?y rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q965024
P166
Q618779
USER
What was won by that person ?
(Q326827,P166,c(Q618779))
action filter_type
action find
entity Q965024
relation P166
type Q618779
['Q326827', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q965024 property:P166 ?r . ?r rdf:type ontology:Q618779 }
Mirela Țugurlan
action filter_type
action find
entity Mirela Țugurlan
relation award received
type award
['artistic gymnastics', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Mirela_Țugurlan property:award_received ?r . ?r rdf:type ontology:award }
[]
award
Q26706836
SYSTEM
sport merit order
Q26706836
(Q326827,P166,c(Q618779))
action filter_type
action find
entity Q965024
relation P166
type Q618779
Player [ANSWER] was won by that person
['Q326827', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q965024 property:P166 ?r . ?r rdf:type ontology:Q618779 }
sport merit order
Player sport merit order was won by that person
sport merit order
action filter_type
action find
entity Mirela Țugurlan
relation award received
type award
['artistic gymnastics', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Mirela_Țugurlan property:award_received ?r . ?r rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q11749185 Q965024
P166
Q618779
USER
Or Krzysztof Dybciak?
OR((Q965024,P166,c(Q618779)), (Q11749185,P166,c(Q618779)))
action filter_type
action union
action find
entity Q965024
relation P166
action find
entity Q11749185
relation P166
type Q618779
{'OR': [['Q965024', 'P166', {'concept': 'Q618779'}], ['Q11749185', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q618779 . { { resource:Q965024 property:P166 ?p } UNION { resource:Q11749185 property:P166 ?p } } }
Krzysztof Dybciak Mirela Țugurlan
action filter_type
action union
action find
entity Mirela Țugurlan
relation award received
action find
entity Krzysztof Dybciak
relation award received
type award
{'OR': [['Mirela Țugurlan', 'award received', {'concept': 'award'}], ['Krzysztof Dybciak', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:award . { { resource:Mirela_Țugurlan property:award_received ?p } UNION { resource:Krzysztof_Dybciak property:award_received ?p } } }
[]
award
Q26706836 Q474063
SYSTEM
sport merit order, Kościelski Award
Q26706836 Q474063
OR((Q965024,P166,c(Q618779)), (Q11749185,P166,c(Q618779)))
action filter_type
action union
action find
entity Q965024
relation P166
action find
entity Q11749185
relation P166
type Q618779
[ANSWERS]
{'OR': [['Q965024', 'P166', {'concept': 'Q618779'}], ['Q11749185', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q618779 . { { resource:Q965024 property:P166 ?p } UNION { resource:Q11749185 property:P166 ?p } } }
sport merit order Kościelski Award
sport merit order Kościelski Award
action filter_type
action union
action find
entity Mirela Țugurlan
relation award received
action find
entity Krzysztof Dybciak
relation award received
type award
{'OR': [['Mirela Țugurlan', 'award received', {'concept': 'award'}], ['Krzysztof Dybciak', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:award . { { resource:Mirela_Țugurlan property:award_received ?p } UNION { resource:Krzysztof_Dybciak property:award_received ?p } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q502895 Q838948
USER
How many awards were exactly 8 people or works of art nominated for ?
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 8
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?l WHERE { VALUES ( ?j ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?x rdf:type ?j } GROUP BY ?l } . FILTER ( ?e = 8 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 8
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?l WHERE { VALUES ( ?j ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?x rdf:type ?j } GROUP BY ?l } . FILTER ( ?e = 8 ) }
[]
award common name work of art
SYSTEM
25
Q5593785 Q5305720 Q785002 Q5593843 Q4542504 Q989442 Q4835656 Q4835657 Q1257399 Q4896605 Q1091031 Q6952062 Q595693 Q6952055 Q1265702 Q1027891 Q16191288 Q1170493 Q1441929 Q832127 Q2665874 Q1799442 Q1509201 Q263702 Q2005201
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
value 8
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?l WHERE { VALUES ( ?j ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } . ?x rdf:type ?j } GROUP BY ?l } . FILTER ( ?e = 8 ) }
Grammy Award for Best Country Instrumental Performance Drama Desk Award for Outstanding Play MTV Europe Music Award for Best Italian Act Grammy Award for Best Opera Recording Grammy Award for Best Latin Pop Album Primetime Emmy Award for Outstanding Lead Actor in a Comedy Series BIFA Award for Best Supporting Actor BIFA Award for Best Supporting Actress Saturn Award for Best Supporting Actress Best Championship Performance ESPY Award MTV Video Music Award for Best Female Video NAACP Image Award for Outstanding Literary Work, Fiction MTV Video Music Award for Best New Artist NAACP Image Award for Outstanding Actress in a Television Movie, Mini-Series or Dramatic Special Saturn Award for Best Director Grammy Award for Best Pop Vocal Album Gold Logie Award for Most Popular Personality on Australian Television Independent Spirit Award for Best Cinematography for Favorite Pop/Rock Female Artist César Award for Best Documentary Film Screen Actors Guild Award for Outstanding Performance by a Stunt Ensemble in a Motion Picture Tony Award for Best Play AVN Hall of Fame MTV Video Music Award for Best Hip-Hop Video Tony Award for Best Featured Actress in a Musical
25
action count
action equal
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
value 8
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?l WHERE { VALUES ( ?j ) { ( ontology:work_of_art ) ( ontology:common_name ) } . ?x rdf:type ?j } GROUP BY ?l } . FILTER ( ?e = 8 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q11381852 Q965024
P27 P17
Q15617994
USER
Which administrative territories do Mirela Țugurlan belong to or do Sumiyoshichō belong to ?
OR((Q965024,P27,c(Q15617994)), (Q11381852,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q965024
relation P27
action find
entity Q11381852
relation P17
type Q15617994
{'OR': [['Q965024', 'P27', {'concept': 'Q15617994'}], ['Q11381852', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q11381852 property:P17 ?w } UNION { resource:Q965024 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Sumiyoshichō Mirela Țugurlan
action filter_type
action union
action find
entity Mirela Țugurlan
relation country of citizenship
action find
entity Sumiyoshichō
relation country
type designation for an administrative territorial entity
{'OR': [['Mirela Țugurlan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sumiyoshichō', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Sumiyoshichō property:country ?w } UNION { resource:Mirela_Țugurlan property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q17
SYSTEM
Romania, Japan
Q218 Q17
OR((Q965024,P27,c(Q15617994)), (Q11381852,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q965024
relation P27
action find
entity Q11381852
relation P17
type Q15617994
Mirela Țugurlan belong to [ANSWERS]
{'OR': [['Q965024', 'P27', {'concept': 'Q15617994'}], ['Q11381852', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q11381852 property:P17 ?w } UNION { resource:Q965024 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Romania Japan
Mirela Țugurlan belong to Romania and Japan
Romania Japan
action filter_type
action union
action find
entity Mirela Țugurlan
relation country of citizenship
action find
entity Sumiyoshichō
relation country
type designation for an administrative territorial entity
{'OR': [['Mirela Țugurlan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Sumiyoshichō', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Sumiyoshichō property:country ?w } UNION { resource:Mirela_Țugurlan property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P36
Q515 Q56061
USER
How many cities and administrative territories are associated to that administrative territory as the capital ?
(Q17,P36,c(Q515)) (Q17,P36,c(Q56061)) (Q218,P36,c(Q515)) (Q218,P36,c(Q56061)) (Q17,P36,c(Q515)) (Q17,P36,c(Q56061))
['Q17', 'P36', {'concept': 'Q515'}] ['Q17', 'P36', {'concept': 'Q56061'}] ['Q218', 'P36', {'concept': 'Q515'}] ['Q218', 'P36', {'concept': 'Q56061'}] ['Q17', 'P36', {'concept': 'Q515'}] ['Q17', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1407064 property:Q8137 ?z } UNION { resource:Q1407064 property:Q8137 ?y } UNION { resource:Q2175798 property:Q8137 ?z } UNION { resource:Q2175798 property:Q8137 ?y } UNION { resource:Q1407064 property:Q8137 ?z } UNION { resource:Q1407064 property:Q8137 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q56061 }
['Japan', 'capital', {'concept': 'city'}] ['Japan', 'capital', {'concept': 'administrative territorial entity'}] ['Romania', 'capital', {'concept': 'city'}] ['Romania', 'capital', {'concept': 'administrative territorial entity'}] ['Japan', 'capital', {'concept': 'city'}] ['Japan', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Japan property:capital ?z } UNION { resource:Japan property:capital ?y } UNION { resource:Romania property:capital ?z } UNION { resource:Romania property:capital ?y } UNION { resource:Japan property:capital ?z } UNION { resource:Japan property:capital ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:administrative_territorial_entity }
[]
city administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q17
SYSTEM
Did you mean Japan ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1407064 property:Q8137 ?z } UNION { resource:Q1407064 property:Q8137 ?y } UNION { resource:Q2175798 property:Q8137 ?z } UNION { resource:Q2175798 property:Q8137 ?y } UNION { resource:Q1407064 property:Q8137 ?z } UNION { resource:Q1407064 property:Q8137 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q56061 }
Did you mean Japan ?
Japan
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Japan property:capital ?z } UNION { resource:Japan property:capital ?y } UNION { resource:Romania property:capital ?z } UNION { resource:Romania property:capital ?y } UNION { resource:Japan property:capital ?z } UNION { resource:Japan property:capital ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q17,P36,c(Q515)) (Q17,P36,c(Q56061)) (Q218,P36,c(Q515)) (Q218,P36,c(Q56061)) (Q17,P36,c(Q515)) (Q17,P36,c(Q56061))
['Q17', 'P36', {'concept': 'Q515'}] ['Q17', 'P36', {'concept': 'Q56061'}] ['Q218', 'P36', {'concept': 'Q515'}] ['Q218', 'P36', {'concept': 'Q56061'}] ['Q17', 'P36', {'concept': 'Q515'}] ['Q17', 'P36', {'concept': 'Q56061'}]
['Japan', 'capital', {'concept': 'city'}] ['Japan', 'capital', {'concept': 'administrative territorial entity'}] ['Romania', 'capital', {'concept': 'city'}] ['Romania', 'capital', {'concept': 'administrative territorial entity'}] ['Japan', 'capital', {'concept': 'city'}] ['Japan', 'capital', {'concept': 'administrative territorial entity'}]
[]
SYSTEM
1 cities and 2 administrative territories
Q1490 Q7473516 Q215646
(Q17,P36,c(Q515)) (Q17,P36,c(Q56061)) (Q218,P36,c(Q515)) (Q218,P36,c(Q56061)) (Q17,P36,c(Q515)) (Q17,P36,c(Q56061))
[ANSWER]
['Q17', 'P36', {'concept': 'Q515'}] ['Q17', 'P36', {'concept': 'Q56061'}] ['Q218', 'P36', {'concept': 'Q515'}] ['Q218', 'P36', {'concept': 'Q56061'}] ['Q17', 'P36', {'concept': 'Q515'}] ['Q17', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1407064 property:Q8137 ?z } UNION { resource:Q1407064 property:Q8137 ?y } UNION { resource:Q2175798 property:Q8137 ?z } UNION { resource:Q2175798 property:Q8137 ?y } UNION { resource:Q1407064 property:Q8137 ?z } UNION { resource:Q1407064 property:Q8137 ?y } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q56061 }
Tokyo Tokyo Edo
1 cities and 2 administrative territories
['Japan', 'capital', {'concept': 'city'}] ['Japan', 'capital', {'concept': 'administrative territorial entity'}] ['Romania', 'capital', {'concept': 'city'}] ['Romania', 'capital', {'concept': 'administrative territorial entity'}] ['Japan', 'capital', {'concept': 'city'}] ['Japan', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Japan property:capital ?z } UNION { resource:Japan property:capital ?y } UNION { resource:Romania property:capital ?z } UNION { resource:Romania property:capital ?y } UNION { resource:Japan property:capital ?z } UNION { resource:Japan property:capital ?y } } . ?z rdf:type ontology:city . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q17
P530
Q1048835 Q15617994
USER
How many political territories and administrative territories have ambassadorial relations with Japan ?
(c(Q1048835),P530,Q17) (c(Q15617994),P530,Q17)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q17
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', 'Q17'] [{'concept': 'Q15617994'}, 'P530', 'Q17']
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } }
Japan
action count
action union
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Japan']
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?t . VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2 political territories and 11 administrative territories
Q227 Q142 Q711 Q38 Q230 Q801 Q155 Q183 Q408 Q30 Q159 Q884 Q858
(c(Q1048835),P530,Q17) (c(Q15617994),P530,Q17)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q17
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q17'] [{'concept': 'Q15617994'}, 'P530', 'Q17']
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } }
Azerbaijan France Mongolia Italy Georgia Israel Brazil Germany Australia United States of America Russia South Korea Syria
2 political territories and 11 administrative territories
action count
action union
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Japan
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Japan'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Japan']
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { ?m rdf:type ?t . VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P138
Q34442
USER
Which road is named after Japan ?
(c(Q34442),P138,Q17)
action filter_type
action find_reverse
entity Q17
relation P138
type Q34442
[{'concept': 'Q34442'}, 'P138', 'Q17']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34442 . ?c property:P138 resource:Q17 }
Japan
action filter_type
action find_reverse
entity Japan
relation named after
type road
[{'concept': 'road'}, 'named after', 'Japan']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:road . ?c property:named_after resource:Japan }
[]
road
Q3452389
SYSTEM
rue du Japon
Q3452389
(c(Q34442),P138,Q17)
action filter_type
action find_reverse
entity Q17
relation P138
type Q34442
[ANSWER] is named after Japan
[{'concept': 'Q34442'}, 'P138', 'Q17']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34442 . ?c property:P138 resource:Q17 }
rue du Japon
Rue du Japon is named after Japan
rue du Japon
action filter_type
action find_reverse
entity Japan
relation named after
type road
[{'concept': 'road'}, 'named after', 'Japan']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:road . ?c property:named_after resource:Japan }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3452389
P47
Q79007
USER
Which street shares border with that road ?
(Q3452389,P47,c(Q79007))
action filter_type
action find
entity Q3452389
relation P47
type Q79007
['Q3452389', 'P47', {'concept': 'Q79007'}]
SELECT DISTINCT ?z WHERE { resource:Q3452389 property:P47 ?z . ?z rdf:type ontology:Q79007 }
rue du Japon
action filter_type
action find
entity rue du Japon
relation shares border with
type street
['rue du Japon', 'shares border with', {'concept': 'street'}]
SELECT DISTINCT ?z WHERE { resource:rue_du_Japon property:shares_border_with ?z . ?z rdf:type ontology:street }
[]
street
Q2873654
SYSTEM
avenue Gambetta
Q2873654
(Q3452389,P47,c(Q79007))
action filter_type
action find
entity Q3452389
relation P47
type Q79007
[ANSWER] shares border with that road
['Q3452389', 'P47', {'concept': 'Q79007'}]
SELECT DISTINCT ?z WHERE { resource:Q3452389 property:P47 ?z . ?z rdf:type ontology:Q79007 }
avenue Gambetta
Avenue Gambetta shares border with that road
avenue Gambetta
action filter_type
action find
entity rue du Japon
relation shares border with
type street
['rue du Japon', 'shares border with', {'concept': 'street'}]
SELECT DISTINCT ?z WHERE { resource:rue_du_Japon property:shares_border_with ?z . ?z rdf:type ontology:street }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3452389
P669
Q22698
USER
Which park is located on that road ?
(c(Q22698),P669,Q2873654)
action filter_type
action find_reverse
entity Q3452389
relation P669
type Q22698
[{'concept': 'Q22698'}, 'P669', 'Q2873654']
SELECT DISTINCT ?e WHERE { ?e property:P669 resource:Q3452389 . ?e rdf:type ontology:Q22698 }
rue du Japon
action filter_type
action find_reverse
entity rue du Japon
relation located on street
type park
[{'concept': 'park'}, 'located on street', 'avenue Gambetta']
SELECT DISTINCT ?e WHERE { ?e property:located_on_street resource:rue_du_Japon . ?e rdf:type ontology:park }
[]
park
Q530553
SYSTEM
square Édouard-Vaillant
Q530553
(c(Q22698),P669,Q2873654)
action filter_type
action find_reverse
entity Q3452389
relation P669
type Q22698
The [ANSWER] is located on that road
[{'concept': 'Q22698'}, 'P669', 'Q2873654']
SELECT DISTINCT ?e WHERE { ?e property:P669 resource:Q3452389 . ?e rdf:type ontology:Q22698 }
square Édouard-Vaillant
The square Édouard-Vaillant is located on that road
square Édouard-Vaillant
action filter_type
action find_reverse
entity rue du Japon
relation located on street
type park
[{'concept': 'park'}, 'located on street', 'avenue Gambetta']
SELECT DISTINCT ?e WHERE { ?e property:located_on_street resource:rue_du_Japon . ?e rdf:type ontology:park }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q530553 Q3497585
P276
Q838948
USER
Is monument to Léon Gambetta located at that park ?
(Q3497585,P276,Q530553)
action is_in
entity Q530553
action find
entity Q3497585
relation P276
['Q3497585', 'P276', 'Q530553']
ASK WHERE { resource:Q3497585 property:P276 resource:Q530553 }
square Édouard-Vaillant monument to Léon Gambetta
action is_in
entity square Édouard-Vaillant
action find
entity monument to Léon Gambetta
relation location
['monument to Léon Gambetta', 'location', 'square Édouard-Vaillant']
ASK WHERE { resource:monument_to_Léon_Gambetta property:location resource:square_Édouard-Vaillant }
[]
work of art
SYSTEM
YES
(Q3497585,P276,Q530553)
action is_in
entity Q530553
action find
entity Q3497585
relation P276
[ANSWER]
['Q3497585', 'P276', 'Q530553']
ASK WHERE { resource:Q3497585 property:P276 resource:Q530553 }
Yes
action is_in
entity square Édouard-Vaillant
action find
entity monument to Léon Gambetta
relation location
['monument to Léon Gambetta', 'location', 'square Édouard-Vaillant']
ASK WHERE { resource:monument_to_Léon_Gambetta property:location resource:square_Édouard-Vaillant }
[]