Simple Question (Direct)
Simple Question
Q437739
P20
Q15617994
USER
Where did Ossi Reichert expire ?
(Q437739,P20,c(Q15617994))
action filter_type
action find
entity Q437739
relation P20
type Q15617994
['Q437739', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q437739 property:P20 ?x . ?x rdf:type ontology:Q15617994 }
Ossi Reichert
action filter_type
action find
entity Ossi Reichert
relation place of death
type designation for an administrative territorial entity
['Ossi Reichert', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Ossi_Reichert property:place_of_death ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q834920
SYSTEM
Ofterschwang
Q834920
(Q437739,P20,c(Q15617994))
action filter_type
action find
entity Q437739
relation P20
type Q15617994
Ossi Reichert expired [ANSWER]
['Q437739', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q437739 property:P20 ?x . ?x rdf:type ontology:Q15617994 }
Ofterschwang
Ossi Reichert expired Ofterschwang
Ofterschwang
action filter_type
action find
entity Ossi Reichert
relation place of death
type designation for an administrative territorial entity
['Ossi Reichert', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Ossi_Reichert property:place_of_death ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q437739
P1344
Q16510064
USER
What did that person participate in ?
(Q834920,P1344,c(Q16510064))
action filter_type
action find
entity Q437739
relation P1344
type Q16510064
['Q834920', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?a WHERE { resource:Q437739 property:P1344 ?a . ?a rdf:type ontology:Q16510064 }
Ossi Reichert
action filter_type
action find
entity Ossi Reichert
relation participant of
type sporting event
['Ofterschwang', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?a WHERE { resource:Ossi_Reichert property:participant_of ?a . ?a rdf:type ontology:sporting_event }
[]
sporting event
Q1222506 Q269552
SYSTEM
Alpine skiing at the 1956 Winter Olympics – Ladies' slalom, Alpine skiing at the 1952 Winter Olympics – Women's slalom
Q1222506 Q269552
(Q834920,P1344,c(Q16510064))
action filter_type
action find
entity Q437739
relation P1344
type Q16510064
That person participated in [ANSWERS]
['Q834920', 'P1344', {'concept': 'Q16510064'}]
SELECT DISTINCT ?a WHERE { resource:Q437739 property:P1344 ?a . ?a rdf:type ontology:Q16510064 }
Alpine skiing at the 1956 Winter Olympics – Ladies' slalom Alpine skiing at the 1952 Winter Olympics – Women's slalom
That person participated in Alpine skiing at the 1956 Winter Olympics – Ladies' slalom and Alpine skiing at the 1952 Winter Olympics – Women's slalom
Alpine skiing at the 1956 Winter Olympics – Ladies' slalom Alpine skiing at the 1952 Winter Olympics – Women's slalom
action filter_type
action find
entity Ossi Reichert
relation participant of
type sporting event
['Ofterschwang', 'participant of', {'concept': 'sporting event'}]
SELECT DISTINCT ?a WHERE { resource:Ossi_Reichert property:participant_of ?a . ?a rdf:type ontology:sporting_event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q12737077 Q4164871 Q15617994
USER
How many administrative territories have approximately 1 occupations or positions as the type of government ?
(c(Q15617994),P122,c(Q12737077)|c(Q4164871))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
value 1
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q4164871'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?a WHERE { { ?a property:P122 ?k . ?a rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q12737077 } UNION { ?a property:P122 ?k . ?a rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q4164871 } } GROUP BY ?a } . FILTER ( ?c = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'position'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?a WHERE { { ?a property:basic_form_of_government ?k . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:occupation } UNION { ?a property:basic_form_of_government ?k . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:position } } GROUP BY ?a } . FILTER ( ?c = 1 ) }
[]
occupation position designation for an administrative territorial entity
SYSTEM
4
Q541991 Q313175 Q228 Q696651
(c(Q15617994),P122,c(Q12737077)|c(Q4164871))
action count
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q4164871'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?a WHERE { { ?a property:P122 ?k . ?a rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q12737077 } UNION { ?a property:P122 ?k . ?a rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q4164871 } } GROUP BY ?a } . FILTER ( ?c = 1 ) }
Hummelfeld Saxe-Lauenburg Andorra Saxe-Eisenach
4
action count
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'position'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) ?a WHERE { { ?a property:basic_form_of_government ?k . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:occupation } UNION { ?a property:basic_form_of_government ?k . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:position } } GROUP BY ?a } . FILTER ( ?c = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q269552 Q888360
P1344
Q502895
USER
How many people participated in Alpine skiing at the 1952 Winter Olympics – Women's slalom or Bob the Builder ?
(c(Q502895),P1344,Q269552) (c(Q502895),P1344,Q888360)
action count
action union
action filter_type
action find_reverse
entity Q269552
relation P1344
type Q502895
action filter_type
action find_reverse
entity Q888360
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q269552'] [{'concept': 'Q502895'}, 'P1344', 'Q888360']
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:P1344 resource:Q269552 . ?r rdf:type ontology:Q502895 } UNION { ?r property:P1344 resource:Q888360 . ?r rdf:type ontology:Q502895 } }
Alpine skiing at the 1952 Winter Olympics – Women's slalom Bob the Builder
action count
action union
action filter_type
action find_reverse
entity Alpine skiing at the 1952 Winter Olympics – Women's slalom
relation participant of
type common name
action filter_type
action find_reverse
entity Bob the Builder
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Alpine skiing at the 1952 Winter Olympics – Women's slalom"] [{'concept': 'common name'}, 'participant of', 'Bob the Builder']
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:participant_of resource:Alpine_skiing_at_the_1952_Winter_Olympics_–_Women's_slalom . ?r rdf:type ontology:common_name } UNION { ?r property:participant_of resource:Bob_the_Builder . ?r rdf:type ontology:common_name } }
[]
common name
SYSTEM
3
Q6375522 Q469615 Q437739
(c(Q502895),P1344,Q269552) (c(Q502895),P1344,Q888360)
action count
action union
action filter_type
action find_reverse
entity Q269552
relation P1344
type Q502895
action filter_type
action find_reverse
entity Q888360
relation P1344
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', 'Q269552'] [{'concept': 'Q502895'}, 'P1344', 'Q888360']
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:P1344 resource:Q269552 . ?r rdf:type ontology:Q502895 } UNION { ?r property:P1344 resource:Q888360 . ?r rdf:type ontology:Q502895 } }
Kate Harbour Annemarie Buchner Ossi Reichert
3
action count
action union
action filter_type
action find_reverse
entity Alpine skiing at the 1952 Winter Olympics – Women's slalom
relation participant of
type common name
action filter_type
action find_reverse
entity Bob the Builder
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "Alpine skiing at the 1952 Winter Olympics – Women's slalom"] [{'concept': 'common name'}, 'participant of', 'Bob the Builder']
SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:participant_of resource:Alpine_skiing_at_the_1952_Winter_Olympics_–_Women's_slalom . ?r rdf:type ontology:common_name } UNION { ?r property:participant_of resource:Bob_the_Builder . ?r rdf:type ontology:common_name } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q6432682
P115
Q811979 Q16510064
USER
Which architectural structures are the home venues of greater number of sporting events than Korsvollbanen ?
(c(Q16510064),P115,c(Q811979))
action greater
action find_reverse_tuple_counts
relation P115
type Q811979
type Q16510064
action count
action filter_type
action find
entity Q6432682
relation P115
type Q811979
[{'concept': 'Q16510064'}, 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P115 ?v . ?v rdf:type ontology:Q811979 . ?s rdf:type ontology:Q16510064 } GROUP BY ?v } . FILTER ( ?h > ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { resource:Q6432682 property:P115 ?l . ?l rdf:type ontology:Q811979 } } }
Korsvollbanen
action greater
action find_reverse_tuple_counts
relation home venue
type architectural structure
type sporting event
action count
action filter_type
action find
entity Korsvollbanen
relation home venue
type architectural structure
[{'concept': 'sporting event'}, 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:home_venue ?v . ?v rdf:type ontology:architectural_structure . ?s rdf:type ontology:sporting_event } GROUP BY ?v } . FILTER ( ?h > ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { resource:Korsvollbanen property:home_venue ?l . ?l rdf:type ontology:architectural_structure } } }
[]
architectural structure sporting event
Q7089149 Q2893454 Q24255536
SYSTEM
Carioca Arena 1, Deodoro Arena, Future Arena
Q2893454 Q7089085 Q24255536 Q7089149
(c(Q16510064),P115,c(Q811979))
action greater
action find_reverse_tuple_counts
relation P115
type Q811979
type Q16510064
action count
action filter_type
action find
entity Q6432682
relation P115
type Q811979
[ANSWERS] are the home venues of greater number of sporting events than Korsvollbanen
[{'concept': 'Q16510064'}, 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P115 ?v . ?v rdf:type ontology:Q811979 . ?s rdf:type ontology:Q16510064 } GROUP BY ?v } . FILTER ( ?h > ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { resource:Q6432682 property:P115 ?l . ?l rdf:type ontology:Q811979 } } }
Deodoro Arena Olympic Hockey Center Future Arena Carioca Arena 1
Carioca Arena 1, Deodoro Arena and Future Arena are the home venues of greater number of sporting events than Korsvollbanen
Carioca Arena 1 Deodoro Arena Future Arena
action greater
action find_reverse_tuple_counts
relation home venue
type architectural structure
type sporting event
action count
action filter_type
action find
entity Korsvollbanen
relation home venue
type architectural structure
[{'concept': 'sporting event'}, 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:home_venue ?v . ?v rdf:type ontology:architectural_structure . ?s rdf:type ontology:sporting_event } GROUP BY ?v } . FILTER ( ?h > ?y ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { resource:Korsvollbanen property:home_venue ?l . ?l rdf:type ontology:architectural_structure } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q7766035
P115
Q811979 Q16510064
USER
And also tell me about The Sports Ground, Stompond Lane?
(c(Q16510064),P115,c(Q811979))
action greater
action find_reverse_tuple_counts
relation P115
type Q811979
type Q16510064
action count
action filter_type
action find
entity Q7766035
relation P115
type Q811979
[{'concept': 'Q16510064'}, 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P115 ?t . ?t rdf:type ontology:Q811979 . ?h rdf:type ontology:Q16510064 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { resource:Q7766035 property:P115 ?x . ?x rdf:type ontology:Q811979 } } . FILTER ( ?b > ?y ) }
The Sports Ground, Stompond Lane
action greater
action find_reverse_tuple_counts
relation home venue
type architectural structure
type sporting event
action count
action filter_type
action find
entity The Sports Ground, Stompond Lane
relation home venue
type architectural structure
[{'concept': 'sporting event'}, 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:home_venue ?t . ?t rdf:type ontology:architectural_structure . ?h rdf:type ontology:sporting_event } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { resource:The_Sports_Ground,_Stompond_Lane property:home_venue ?x . ?x rdf:type ontology:architectural_structure } } . FILTER ( ?b > ?y ) }
[]
architectural structure sporting event
Q7089149 Q2893454 Q24255536
SYSTEM
Carioca Arena 1, Deodoro Arena, Future Arena
Q2893454 Q7089085 Q24255536 Q7089149
(c(Q16510064),P115,c(Q811979))
action greater
action find_reverse_tuple_counts
relation P115
type Q811979
type Q16510064
action count
action filter_type
action find
entity Q7766035
relation P115
type Q811979
[ANSWERS]
[{'concept': 'Q16510064'}, 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:P115 ?t . ?t rdf:type ontology:Q811979 . ?h rdf:type ontology:Q16510064 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { resource:Q7766035 property:P115 ?x . ?x rdf:type ontology:Q811979 } } . FILTER ( ?b > ?y ) }
Deodoro Arena Olympic Hockey Center Future Arena Carioca Arena 1
Carioca Arena 1 Deodoro Arena Future Arena
action greater
action find_reverse_tuple_counts
relation home venue
type architectural structure
type sporting event
action count
action filter_type
action find
entity The Sports Ground, Stompond Lane
relation home venue
type architectural structure
[{'concept': 'sporting event'}, 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?h ) AS ?b ) WHERE { ?h property:home_venue ?t . ?t rdf:type ontology:architectural_structure . ?h rdf:type ontology:sporting_event } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { resource:The_Sports_Ground,_Stompond_Lane property:home_venue ?x . ?x rdf:type ontology:architectural_structure } } . FILTER ( ?b > ?y ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16527894 Q7089149
P127 P19
Q56061
USER
Which administrative territories owned Carioca Arena 1 or were Alba Delgado born in ?
OR((Q7089149,P127,c(Q56061)), (Q16527894,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7089149
relation P127
action find
entity Q16527894
relation P19
type Q56061
{'OR': [['Q7089149', 'P127', {'concept': 'Q56061'}], ['Q16527894', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q7089149 property:P127 ?j } UNION { resource:Q16527894 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
Alba Delgado Carioca Arena 1
action filter_type
action union
action find
entity Carioca Arena 1
relation owned by
action find
entity Alba Delgado
relation place of birth
type administrative territorial entity
{'OR': [['Carioca Arena 1', 'owned by', {'concept': 'administrative territorial entity'}], ['Alba Delgado', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Carioca_Arena_1 property:owned_by ?j } UNION { resource:Alba_Delgado property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678 Q3110
SYSTEM
Rio de Janeiro, San Salvador
Q8678 Q3110
OR((Q7089149,P127,c(Q56061)), (Q16527894,P19,c(Q56061)))
action filter_type
action union
action find
entity Q7089149
relation P127
action find
entity Q16527894
relation P19
type Q56061
[ANSWERS] owned Carioca Arena 1 or were Alba Delgado born in
{'OR': [['Q7089149', 'P127', {'concept': 'Q56061'}], ['Q16527894', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q7089149 property:P127 ?j } UNION { resource:Q16527894 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
Rio de Janeiro San Salvador
Rio de Janeiro and San Salvador owned Carioca Arena 1 or were Alba Delgado born in
Rio de Janeiro San Salvador
action filter_type
action union
action find
entity Carioca Arena 1
relation owned by
action find
entity Alba Delgado
relation place of birth
type administrative territorial entity
{'OR': [['Carioca Arena 1', 'owned by', {'concept': 'administrative territorial entity'}], ['Alba Delgado', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Carioca_Arena_1 property:owned_by ?j } UNION { resource:Alba_Delgado property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q8678 Q3110
P190
Q56061
USER
Which administrative territories are sister towns of Rio de Janeiro and San Salvador ?
(Q8678,P190,c(Q56061)) (Q3110,P190,c(Q56061))
action union
action filter_type
action find
entity Q8678
relation P190
type Q56061
action filter_type
action find
entity Q3110
relation P190
type Q56061
['Q8678', 'P190', {'concept': 'Q56061'}] ['Q3110', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { resource:Q8678 property:P190 ?p . ?p rdf:type ontology:Q56061 } UNION { resource:Q3110 property:P190 ?p . ?p rdf:type ontology:Q56061 } }
Rio de Janeiro San Salvador
action union
action filter_type
action find
entity Rio de Janeiro
relation sister city
type administrative territorial entity
action filter_type
action find
entity San Salvador
relation sister city
type administrative territorial entity
['Rio de Janeiro', 'sister city', {'concept': 'administrative territorial entity'}] ['San Salvador', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Rio_de_Janeiro property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity } UNION { resource:San_Salvador property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q2807 Q2807 Q406
SYSTEM
Madrid for 1st, 2nd, Istanbul for 3rd
Q178725 Q158119 Q727 Q3889 Q25395 Q3274 Q365 Q33935 Q191135 Q40236 Q192807 Q24826 Q2807 Q14328 Q181557 Q735025 Q9248 Q51103 Q1524 Q1489 Q48320 Q1218 Q71 Q33959 Q1070 Q612 Q34863 Q26155 Q12191 Q5582862 Q406 Q8673 Q24639 Q1563 Q6441 Q270 Q34820 Q5468 Q597 Q956 Q170903 Q23556 Q1019424 Q1491 Q1492 Q3820 Q5112 Q1867 Q2807 Q34820 Q340 Q1489
(Q8678,P190,c(Q56061)) (Q3110,P190,c(Q56061))
action union
action filter_type
action find
entity Q8678
relation P190
type Q56061
action filter_type
action find
entity Q3110
relation P190
type Q56061
[ANSWERS]
['Q8678', 'P190', {'concept': 'Q56061'}] ['Q3110', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { resource:Q8678 property:P190 ?p . ?p rdf:type ontology:Q56061 } UNION { resource:Q3110 property:P190 ?p . ?p rdf:type ontology:Q56061 } }
Niterói Ramallah Amsterdam Maputo Newark Managua Cologne Tel Aviv Vila Nova de Gaia Manaus Ramat Gan Liverpool Madrid Santa Cruz de Tenerife Kaohsiung City Cabo Frio Baku Cali Athens Mexico City Kōbe Jerusalem Geneva Nice Ahmedabad Dubai Oklahoma City Jounieh Nantes Cusco Istanbul Lagos Vancouver Havana Montpellier Warsaw Santo Domingo Durban Lisbon Beijing Guimarães Atlanta Rufisque La Paz Barcelona Beirut Adelaide Taipei Madrid Santo Domingo Montreal Mexico City
Madrid, Madrid and Istanbul are sister towns of Rio de Janeiro and San Salvador
Madrid Madrid Istanbul
action union
action filter_type
action find
entity Rio de Janeiro
relation sister city
type administrative territorial entity
action filter_type
action find
entity San Salvador
relation sister city
type administrative territorial entity
['Rio de Janeiro', 'sister city', {'concept': 'administrative territorial entity'}] ['San Salvador', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Rio_de_Janeiro property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity } UNION { resource:San_Salvador property:sister_city ?p . ?p rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q269552
P361
Q15900616
USER
What is Alpine skiing at the 1952 Winter Olympics – Women's slalom a part of ?
(Q269552,P361,c(Q15900616))
action filter_type
action find
entity Q269552
relation P361
type Q15900616
['Q269552', 'P361', {'concept': 'Q15900616'}]
SELECT DISTINCT ?v WHERE { resource:Q269552 property:P361 ?v . ?v rdf:type ontology:Q15900616 }
Alpine skiing at the 1952 Winter Olympics – Women's slalom
action filter_type
action find
entity Alpine skiing at the 1952 Winter Olympics – Women's slalom
relation part of
type event sequence
["Alpine skiing at the 1952 Winter Olympics – Women's slalom", 'part of', {'concept': 'event sequence'}]
SELECT DISTINCT ?v WHERE { resource:Alpine_skiing_at_the_1952_Winter_Olympics_–_Women's_slalom property:part_of ?v . ?v rdf:type ontology:event_sequence }
[]
event sequence
Q9623
SYSTEM
1952 Winter Olympics
Q9623
(Q269552,P361,c(Q15900616))
action filter_type
action find
entity Q269552
relation P361
type Q15900616
The [ANSWER] is Alpine skiing at the [ANSWER] – Women's slalom a part of
['Q269552', 'P361', {'concept': 'Q15900616'}]
SELECT DISTINCT ?v WHERE { resource:Q269552 property:P361 ?v . ?v rdf:type ontology:Q15900616 }
1952 Winter Olympics
The 1952 Winter Olympics is Alpine skiing at the 1952 Winter Olympics – Women's slalom a part of
1952 Winter Olympics
action filter_type
action find
entity Alpine skiing at the 1952 Winter Olympics – Women's slalom
relation part of
type event sequence
["Alpine skiing at the 1952 Winter Olympics – Women's slalom", 'part of', {'concept': 'event sequence'}]
SELECT DISTINCT ?v WHERE { resource:Alpine_skiing_at_the_1952_Winter_Olympics_–_Women's_slalom property:part_of ?v . ?v rdf:type ontology:event_sequence }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2893454 Q7089149
P115
Q16510064
USER
Which sporting events have Carioca Arena 1 and Deodoro Arena as their home ground ?
AND((c(Q16510064),P115,Q7089149), (c(Q16510064),P115,Q2893454))
action filter_type
action intersection
action find_reverse
entity Q7089149
relation P115
action find_reverse
entity Q2893454
relation P115
type Q16510064
{'AND': [[{'concept': 'Q16510064'}, 'P115', 'Q7089149'], [{'concept': 'Q16510064'}, 'P115', 'Q2893454']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q16510064 . ?r property:P115 resource:Q7089149 . ?r property:P115 resource:Q2893454 }
Deodoro Arena Carioca Arena 1
action filter_type
action intersection
action find_reverse
entity Carioca Arena 1
relation home venue
action find_reverse
entity Deodoro Arena
relation home venue
type sporting event
{'AND': [[{'concept': 'sporting event'}, 'home venue', 'Carioca Arena 1'], [{'concept': 'sporting event'}, 'home venue', 'Deodoro Arena']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sporting_event . ?r property:home_venue resource:Carioca_Arena_1 . ?r property:home_venue resource:Deodoro_Arena }
[]
sporting event
Q23058801
SYSTEM
Basketball at the 2016 Summer Olympics – Women's tournament
Q23058801
AND((c(Q16510064),P115,Q7089149), (c(Q16510064),P115,Q2893454))
action filter_type
action intersection
action find_reverse
entity Q7089149
relation P115
action find_reverse
entity Q2893454
relation P115
type Q16510064
[ANSWER] have Carioca Arena 1 and Deodoro Arena as their home ground
{'AND': [[{'concept': 'Q16510064'}, 'P115', 'Q7089149'], [{'concept': 'Q16510064'}, 'P115', 'Q2893454']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q16510064 . ?r property:P115 resource:Q7089149 . ?r property:P115 resource:Q2893454 }
Basketball at the 2016 Summer Olympics – Women's tournament
Basketball at the 2016 Summer Olympics – Women's tournament have Carioca Arena 1 and Deodoro Arena as their home ground
Basketball at the 2016 Summer Olympics – Women's tournament
action filter_type
action intersection
action find_reverse
entity Carioca Arena 1
relation home venue
action find_reverse
entity Deodoro Arena
relation home venue
type sporting event
{'AND': [[{'concept': 'sporting event'}, 'home venue', 'Carioca Arena 1'], [{'concept': 'sporting event'}, 'home venue', 'Deodoro Arena']]}
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sporting_event . ?r property:home_venue resource:Carioca_Arena_1 . ?r property:home_venue resource:Deodoro_Arena }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q23058801 Q155
P17
Q15617994
USER
Is Basketball at the 2016 Summer Olympics – Women's tournament located in Brazil ?
(Q23058801,P17,Q155)
action is_in
entity Q155
action find
entity Q23058801
relation P17
['Q23058801', 'P17', 'Q155']
ASK WHERE { resource:Q23058801 property:P17 resource:Q155 }
Basketball at the 2016 Summer Olympics – Women's tournament Brazil
action is_in
entity Brazil
action find
entity Basketball at the 2016 Summer Olympics – Women's tournament
relation country
["Basketball at the 2016 Summer Olympics – Women's tournament", 'country', 'Brazil']
ASK WHERE { resource:Basketball_at_the_2016_Summer_Olympics_–_Women's_tournament property:country resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q23058801,P17,Q155)
action is_in
entity Q155
action find
entity Q23058801
relation P17
[ANSWER]
['Q23058801', 'P17', 'Q155']
ASK WHERE { resource:Q23058801 property:P17 resource:Q155 }
Yes
action is_in
entity Brazil
action find
entity Basketball at the 2016 Summer Olympics – Women's tournament
relation country
["Basketball at the 2016 Summer Olympics – Women's tournament", 'country', 'Brazil']
ASK WHERE { resource:Basketball_at_the_2016_Summer_Olympics_–_Women's_tournament property:country resource:Brazil }
[]