Simple Question (Direct)
Simple Question
Q5726582
P102
Q7210356
USER
Which political organization is Bernardino Biella a member of ?
(Q5726582,P102,c(Q7210356))
action filter_type
action find
entity Q5726582
relation P102
type Q7210356
['Q5726582', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q5726582 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Bernardino Biella
action filter_type
action find
entity Bernardino Biella
relation member of political party
type political organization
['Bernardino Biella', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Bernardino_Biella property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
political organization
Q833748
SYSTEM
Intransigent Radical Civic Union
Q833748
(Q5726582,P102,c(Q7210356))
action filter_type
action find
entity Q5726582
relation P102
type Q7210356
[ANSWER] is Bernardino Biella a member of
['Q5726582', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?b WHERE { resource:Q5726582 property:P102 ?b . ?b rdf:type ontology:Q7210356 }
Intransigent Radical Civic Union
Intransigent Radical Civic Union is Bernardino Biella a member of
Intransigent Radical Civic Union
action filter_type
action find
entity Bernardino Biella
relation member of political party
type political organization
['Bernardino Biella', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?b WHERE { resource:Bernardino_Biella property:member_of_political_party ?b . ?b rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q833748
P17
Q15617994
USER
Which administrative territory is that political organization situated in ?
(Q833748,P17,c(Q15617994))
action filter_type
action find
entity Q833748
relation P17
type Q15617994
['Q833748', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q833748 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Intransigent Radical Civic Union
action filter_type
action find
entity Intransigent Radical Civic Union
relation country
type designation for an administrative territorial entity
['Intransigent Radical Civic Union', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Intransigent_Radical_Civic_Union property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q833748,P17,c(Q15617994))
action filter_type
action find
entity Q833748
relation P17
type Q15617994
That political organization is situated in [ANSWER]
['Q833748', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q833748 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Argentina
That political organization is situated in Argentina
Argentina
action filter_type
action find
entity Intransigent Radical Civic Union
relation country
type designation for an administrative territorial entity
['Intransigent Radical Civic Union', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Intransigent_Radical_Civic_Union property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q414
P194
Q1752346
USER
Which assembly is the representative body for that administrative territory ?
(Q414,P194,c(Q1752346))
action filter_type
action find
entity Q414
relation P194
type Q1752346
['Q414', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?l WHERE { resource:Q414 property:P194 ?l . ?l rdf:type ontology:Q1752346 }
Argentina
action filter_type
action find
entity Argentina
relation legislative body
type assembly
['Argentina', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?l WHERE { resource:Argentina property:legislative_body ?l . ?l rdf:type ontology:assembly }
[]
assembly
Q646190
SYSTEM
Argentine National Congress
Q646190
(Q414,P194,c(Q1752346))
action filter_type
action find
entity Q414
relation P194
type Q1752346
[ANSWER] is the representative body for that administrative territory
['Q414', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?l WHERE { resource:Q414 property:P194 ?l . ?l rdf:type ontology:Q1752346 }
Argentine National Congress
Argentine National Congress is the representative body for that administrative territory
Argentine National Congress
action filter_type
action find
entity Argentina
relation legislative body
type assembly
['Argentina', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?l WHERE { resource:Argentina property:legislative_body ?l . ?l rdf:type ontology:assembly }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q183366
P180
Q15617994 Q2342494 Q11060274
USER
Which administrative territories are expressed in approximately the same number of collectables or prints as territory ?
(c(Q2342494)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q183366
relation P180
type Q2342494
type Q11060274
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P180 resource:Q183366 . { { ?s rdf:type ontology:Q2342494 } UNION { ?s rdf:type ontology:Q11060274 } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?f WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2342494 ) ( ontology:Q11060274 ) } } GROUP BY ?f } }
territory
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity territory
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:depicts resource:territory . { { ?s rdf:type ontology:collectable } UNION { ?s rdf:type ontology:print } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?f WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:collectable ) ( ontology:print ) } } GROUP BY ?f } }
[]
designation for an administrative territorial entity collectable print
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q148 Q128081 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q2342494)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q183366
relation P180
type Q2342494
type Q11060274
[ANSWERS] are expressed in approximately the same number of collectables or prints as territory
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:P180 resource:Q183366 . { { ?s rdf:type ontology:Q2342494 } UNION { ?s rdf:type ontology:Q11060274 } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?f WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2342494 ) ( ontology:Q11060274 ) } } GROUP BY ?f } }
Catanzaro Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom People's Republic of China Cori, Lazio Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Procida Nicaragua Drenthe horn Libya Tuscany Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Italy, Brazil and Russia are expressed in approximately the same number of collectables or prints as territory
Italy Brazil Russia
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity territory
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { ?s property:depicts resource:territory . { { ?s rdf:type ontology:collectable } UNION { ?s rdf:type ontology:print } } } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?f WHERE { ?x rdf:type ?z . VALUES ( ?z ) { ( ontology:collectable ) ( ontology:print ) } } GROUP BY ?f } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q7077
P180
Q15617994 Q2342494 Q11060274
USER
And also tell me about Dachau?
(c(Q2342494)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q7077
relation P180
type Q2342494
type Q11060274
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?l WHERE { VALUES ( ?m ) { ( ontology:Q2342494 ) ( ontology:Q11060274 ) } . ?e rdf:type ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { { ?c rdf:type ontology:Q2342494 } UNION { ?c rdf:type ontology:Q11060274 } } . ?c property:P180 resource:Q7077 } } . FILTER ( ?k = ?a ) }
Dachau
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Dachau
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?l WHERE { VALUES ( ?m ) { ( ontology:collectable ) ( ontology:print ) } . ?e rdf:type ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { { ?c rdf:type ontology:collectable } UNION { ?c rdf:type ontology:print } } . ?c property:depicts resource:Dachau } } . FILTER ( ?k = ?a ) }
[]
designation for an administrative territorial entity collectable print
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q3883 Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q148 Q128081 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q2342494)|c(Q11060274),P180,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q7077
relation P180
type Q2342494
type Q11060274
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?l WHERE { VALUES ( ?m ) { ( ontology:Q2342494 ) ( ontology:Q11060274 ) } . ?e rdf:type ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { { ?c rdf:type ontology:Q2342494 } UNION { ?c rdf:type ontology:Q11060274 } } . ?c property:P180 resource:Q7077 } } . FILTER ( ?k = ?a ) }
Catanzaro Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom People's Republic of China Cori, Lazio Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Procida Nicaragua Drenthe horn Libya Tuscany Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
Italy Brazil Russia
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Dachau
relation depicts
type collectable
type print
[[{'concept': 'collectable'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?k ) ?l WHERE { VALUES ( ?m ) { ( ontology:collectable ) ( ontology:print ) } . ?e rdf:type ?m } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { { ?c rdf:type ontology:collectable } UNION { ?c rdf:type ontology:print } } . ?c property:depicts resource:Dachau } } . FILTER ( ?k = ?a ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q159
P30
Q2221906
USER
Which geographic locations are those administrative territories a part of ?
(Q38,P30,c(Q2221906)) (Q155,P30,c(Q2221906)) (Q159,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q155', 'P30', {'concept': 'Q2221906'}] ['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q2221906 . ?r property:P30 ?w . VALUES ( ?r ) { ( resource:Q3883 ) ( resource:Q1256 ) ( resource:Q1462 ) } }
Italy Brazil Russia
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Brazil', 'continent', {'concept': 'geographic location'}] ['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:geographic_location . ?r property:continent ?w . VALUES ( ?r ) { ( resource:Catanzaro ) ( resource:Liguria ) ( resource:Sardinia ) } }
[]
geographic location
Q48 Q46 Q46
SYSTEM
Europe for 2nd, 3rd, Asia for 1st
Q46 Q18 Q46 Q5401 Q48
(Q38,P30,c(Q2221906)) (Q155,P30,c(Q2221906)) (Q159,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
[ANSWERS]
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q155', 'P30', {'concept': 'Q2221906'}] ['Q159', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q2221906 . ?r property:P30 ?w . VALUES ( ?r ) { ( resource:Q3883 ) ( resource:Q1256 ) ( resource:Q1462 ) } }
Europe South America Europe Eurasia Asia
Asia, Europe and Europe are those administrative territories a part of
Asia Europe Europe
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Brazil', 'continent', {'concept': 'geographic location'}] ['Russia', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:geographic_location . ?r property:continent ?w . VALUES ( ?r ) { ( resource:Catanzaro ) ( resource:Liguria ) ( resource:Sardinia ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q46
P159
Q1346006
USER
Which international sport governing body has headquarters located at that geographic location ?
(c(Q1346006),P159,Q46)
action filter_type
action find_reverse
entity Q46
relation P159
type Q1346006
[{'concept': 'Q1346006'}, 'P159', 'Q46']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q46 . ?i rdf:type ontology:Q1346006 }
Europe
action filter_type
action find_reverse
entity Europe
relation headquarters location
type international sport governing body
[{'concept': 'international sport governing body'}, 'headquarters location', 'Europe']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:Europe . ?i rdf:type ontology:international_sport_governing_body }
[]
international sport governing body
Clarification for simple ques.
Q48
SYSTEM
Did you mean Asia ?
Q48 Q46 Q46
(c(Q1346006),P159,Q48) (c(Q1346006),P159,Q46) (c(Q1346006),P159,Q46)
[ANSWER]
[{'concept': 'Q1346006'}, 'P159', 'Q48'] [{'concept': 'Q1346006'}, 'P159', 'Q46'] [{'concept': 'Q1346006'}, 'P159', 'Q46']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q46 . ?i rdf:type ontology:Q1346006 }
Asia Europe Europe
Did you mean Asia ?
Asia
[{'concept': 'international sport governing body'}, 'headquarters location', 'Asia'] [{'concept': 'international sport governing body'}, 'headquarters location', 'Europe'] [{'concept': 'international sport governing body'}, 'headquarters location', 'Europe']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:Europe . ?i rdf:type ontology:international_sport_governing_body }
[]
Simple Question (Coreferenced)
USER
No, I meant Europe. Could you tell me the answer for that?
(c(Q1346006),P159,Q46)
Q46
[{'concept': 'Q1346006'}, 'P159', 'Q46']
[{'concept': 'international sport governing body'}, 'headquarters location', 'Europe']
[]
Q3772626
SYSTEM
European Karate Federation
Q3772626
(c(Q1346006),P159,Q46)
action filter_type
action find_reverse
entity Q46
relation P159
type Q1346006
[ANSWER] has headquarters located at that geographic location
[{'concept': 'Q1346006'}, 'P159', 'Q46']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q46 . ?i rdf:type ontology:Q1346006 }
European Karate Federation
European Karate Federation has headquarters located at that geographic location
European Karate Federation
action filter_type
action find_reverse
entity Europe
relation headquarters location
type international sport governing body
[{'concept': 'international sport governing body'}, 'headquarters location', 'Europe']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:Europe . ?i rdf:type ontology:international_sport_governing_body }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3772626
P641
Q1914636
USER
Which activity did that international sport governing body participate in ?
(Q3772626,P641,c(Q1914636))
action filter_type
action find
entity Q3772626
relation P641
type Q1914636
['Q3772626', 'P641', {'concept': 'Q1914636'}]
SELECT DISTINCT ?h WHERE { resource:Q3772626 property:P641 ?h . ?h rdf:type ontology:Q1914636 }
European Karate Federation
action filter_type
action find
entity European Karate Federation
relation sport
type activity
['European Karate Federation', 'sport', {'concept': 'activity'}]
SELECT DISTINCT ?h WHERE { resource:European_Karate_Federation property:sport ?h . ?h rdf:type ontology:activity }
[]
activity
Q11419
SYSTEM
karate
Q11419
(Q3772626,P641,c(Q1914636))
action filter_type
action find
entity Q3772626
relation P641
type Q1914636
That international sport governing body participated in [ANSWER]
['Q3772626', 'P641', {'concept': 'Q1914636'}]
SELECT DISTINCT ?h WHERE { resource:Q3772626 property:P641 ?h . ?h rdf:type ontology:Q1914636 }
karate
That international sport governing body participated in karate
karate
action filter_type
action find
entity European Karate Federation
relation sport
type activity
['European Karate Federation', 'sport', {'concept': 'activity'}]
SELECT DISTINCT ?h WHERE { resource:European_Karate_Federation property:sport ?h . ?h rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3772626
P159
Q2221906
USER
Which geographic location is the HQ of European Karate Federation ?
(Q3772626,P159,c(Q2221906))
action filter_type
action find
entity Q3772626
relation P159
type Q2221906
['Q3772626', 'P159', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q3772626 property:P159 ?i . ?i rdf:type ontology:Q2221906 }
European Karate Federation
action filter_type
action find
entity European Karate Federation
relation headquarters location
type geographic location
['European Karate Federation', 'headquarters location', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:European_Karate_Federation property:headquarters_location ?i . ?i rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q3772626,P159,c(Q2221906))
action filter_type
action find
entity Q3772626
relation P159
type Q2221906
[ANSWER] is the HQ of [ANSWER]an Karate Federation
['Q3772626', 'P159', {'concept': 'Q2221906'}]
SELECT DISTINCT ?i WHERE { resource:Q3772626 property:P159 ?i . ?i rdf:type ontology:Q2221906 }
Europe
Europe is the HQ of European Karate Federation
Europe
action filter_type
action find
entity European Karate Federation
relation headquarters location
type geographic location
['European Karate Federation', 'headquarters location', {'concept': 'geographic location'}]
SELECT DISTINCT ?i WHERE { resource:European_Karate_Federation property:headquarters_location ?i . ?i rdf:type ontology:geographic_location }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q159 Q48
P30 P17
Q15617994
USER
Which administrative territories have their location in Asia and are located in Russia ?
AND((c(Q15617994),P30,Q48), (c(Q15617994),P17,Q159))
action filter_type
action intersection
action find_reverse
entity Q48
relation P30
action find_reverse
entity Q159
relation P17
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P30', 'Q48'], [{'concept': 'Q15617994'}, 'P17', 'Q159']]}
SELECT DISTINCT ?w WHERE { ?w property:P30 resource:Q48 . ?w property:P17 resource:Q159 . ?w rdf:type ontology:Q15617994 }
Russia Asia
action filter_type
action intersection
action find_reverse
entity Asia
relation continent
action find_reverse
entity Russia
relation country
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'continent', 'Asia'], [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Russia']]}
SELECT DISTINCT ?w WHERE { ?w property:continent resource:Asia . ?w property:country resource:Russia . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q4077862 Q159
SYSTEM
Baranovskiy, Russia
Q4077862 Q159
AND((c(Q15617994),P30,Q48), (c(Q15617994),P17,Q159))
action filter_type
action intersection
action find_reverse
entity Q48
relation P30
action find_reverse
entity Q159
relation P17
type Q15617994
[ANSWERS] have their location in Asia and are located in Russia
{'AND': [[{'concept': 'Q15617994'}, 'P30', 'Q48'], [{'concept': 'Q15617994'}, 'P17', 'Q159']]}
SELECT DISTINCT ?w WHERE { ?w property:P30 resource:Q48 . ?w property:P17 resource:Q159 . ?w rdf:type ontology:Q15617994 }
Baranovskiy Russia
Baranovskiy and Russia have their location in Asia and are located in Russia
Baranovskiy Russia
action filter_type
action intersection
action find_reverse
entity Asia
relation continent
action find_reverse
entity Russia
relation country
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'continent', 'Asia'], [{'concept': 'designation for an administrative territorial entity'}, 'country', 'Russia']]}
SELECT DISTINCT ?w WHERE { ?w property:continent resource:Asia . ?w property:country resource:Russia . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]