Simple Question (Direct)
Simple Question
Q19284914
P21
Q290
USER
What is the sex of Hansi Alpert ?
(Q19284914,P21,c(Q290))
action filter_type
action find
entity Q19284914
relation P21
type Q290
['Q19284914', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q19284914 property:P21 ?r }
Hansi Alpert
action filter_type
action find
entity Hansi Alpert
relation gender
type sex
['Hansi Alpert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Hansi_Alpert property:gender ?r }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19284914,P21,c(Q290))
action filter_type
action find
entity Q19284914
relation P21
type Q290
The sex of Hansi Alpert is the [ANSWER]
['Q19284914', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q290 . resource:Q19284914 property:P21 ?r }
male
The sex of Hansi Alpert is the male
male
action filter_type
action find
entity Hansi Alpert
relation gender
type sex
['Hansi Alpert', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sex . resource:Hansi_Alpert property:gender ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19284914
P106
Q12737077
USER
Which occupation is the profession of Hansi Alpert ?
(Q19284914,P106,c(Q12737077))
action filter_type
action find
entity Q19284914
relation P106
type Q12737077
['Q19284914', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q19284914 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Hansi Alpert
action filter_type
action find
entity Hansi Alpert
relation occupation
type occupation
['Hansi Alpert', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Hansi_Alpert property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q19284914,P106,c(Q12737077))
action filter_type
action find
entity Q19284914
relation P106
type Q12737077
As [ANSWER] is the profession of Hansi Alpert
['Q19284914', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q19284914 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player
As association football player is the profession of Hansi Alpert
association football player
action filter_type
action find
entity Hansi Alpert
relation occupation
type occupation
['Hansi Alpert', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Hansi_Alpert property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q937857
P106
Q874405 Q15619164
USER
How many social groups or abstract beings have career as association football player ?
(c(Q874405),P106,Q937857) (c(Q15619164),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q874405
action filter_type
action find_reverse
entity Q937857
relation P106
type Q15619164
[{'concept': 'Q874405'}, 'P106', 'Q937857'] [{'concept': 'Q15619164'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { ?d property:P106 resource:Q937857 . ?d rdf:type ontology:Q874405 } UNION { ?d rdf:type ontology:Q15619164 . ?d property:P106 resource:Q937857 } }
association football player
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type social group
action filter_type
action find_reverse
entity association football player
relation occupation
type abstract being
[{'concept': 'social group'}, 'occupation', 'association football player'] [{'concept': 'abstract being'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { ?d property:occupation resource:association_football_player . ?d rdf:type ontology:social_group } UNION { ?d rdf:type ontology:abstract_being . ?d property:occupation resource:association_football_player } }
[]
social group abstract being
SYSTEM
8
Q746996 Q3810827 Q3752378 Q2248090 Q10279728 Q2754813 Q6782491 Q2484120
(c(Q874405),P106,Q937857) (c(Q15619164),P106,Q937857)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P106
type Q874405
action filter_type
action find_reverse
entity Q937857
relation P106
type Q15619164
[ANSWER]
[{'concept': 'Q874405'}, 'P106', 'Q937857'] [{'concept': 'Q15619164'}, 'P106', 'Q937857']
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { ?d property:P106 resource:Q937857 . ?d rdf:type ontology:Q874405 } UNION { ?d rdf:type ontology:Q15619164 . ?d property:P106 resource:Q937857 } }
Kojirō Hyūga Juan Diaz Fratelli Céspedes Genzō Wakabayashi Fago Tarō Misaki Masal Bugduv Tsubasa Oozora
8
action count
action union
action filter_type
action find_reverse
entity association football player
relation occupation
type social group
action filter_type
action find_reverse
entity association football player
relation occupation
type abstract being
[{'concept': 'social group'}, 'occupation', 'association football player'] [{'concept': 'abstract being'}, 'occupation', 'association football player']
SELECT DISTINCT ( COUNT ( ?d ) AS ?h ) WHERE { { ?d property:occupation resource:association_football_player . ?d rdf:type ontology:social_group } UNION { ?d rdf:type ontology:abstract_being . ?d property:occupation resource:association_football_player } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q7138004 Q937857
P425 P641
Q349
USER
Which sports are associated with the field of occupation association football player and were Park Sang-Hee a part of ?
AND((Q937857,P425,c(Q349)), (Q7138004,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q7138004
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q7138004', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?k WHERE { resource:Q937857 property:P425 ?k . resource:Q7138004 property:P641 ?k . ?k rdf:type ontology:Q349 }
Park Sang-Hee association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Park Sang-Hee
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Park Sang-Hee', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?k WHERE { resource:association_football_player property:field_of_this_occupation ?k . resource:Park_Sang-Hee property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q7138004,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q7138004
relation P641
type Q349
Player [ANSWER] is associated with the field of occupation [ANSWER] player and were Park Sang-Hee a part of
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q7138004', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?k WHERE { resource:Q937857 property:P425 ?k . resource:Q7138004 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
Player association football is associated with the field of occupation association football player and were Park Sang-Hee a part of
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Park Sang-Hee
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Park Sang-Hee', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?k WHERE { resource:association_football_player property:field_of_this_occupation ?k . resource:Park_Sang-Hee property:sport ?k . ?k rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q52501 Q7138004
P19 P17
Q15617994
USER
Which administrative territories were Park Sang-Hee born in or are Ponte della Costituzione present in ?
OR((Q7138004,P19,c(Q15617994)), (Q52501,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7138004
relation P19
action find
entity Q52501
relation P17
type Q15617994
{'OR': [['Q7138004', 'P19', {'concept': 'Q15617994'}], ['Q52501', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q7138004 property:P19 ?a } UNION { resource:Q52501 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Ponte della Costituzione Park Sang-Hee
action filter_type
action union
action find
entity Park Sang-Hee
relation place of birth
action find
entity Ponte della Costituzione
relation country
type designation for an administrative territorial entity
{'OR': [['Park Sang-Hee', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Ponte della Costituzione', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Park_Sang-Hee property:place_of_birth ?a } UNION { resource:Ponte_della_Costituzione property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884 Q38
SYSTEM
South Korea, Italy
Q884 Q38
OR((Q7138004,P19,c(Q15617994)), (Q52501,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q7138004
relation P19
action find
entity Q52501
relation P17
type Q15617994
Park Sang-Hee were born in [ANSWERS] or are Ponte della Costituzione present in
{'OR': [['Q7138004', 'P19', {'concept': 'Q15617994'}], ['Q52501', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q7138004 property:P19 ?a } UNION { resource:Q52501 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
South Korea Italy
Park Sang-Hee were born in South Korea and Italy or are Ponte della Costituzione present in
South Korea Italy
action filter_type
action union
action find
entity Park Sang-Hee
relation place of birth
action find
entity Ponte della Costituzione
relation country
type designation for an administrative territorial entity
{'OR': [['Park Sang-Hee', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['Ponte della Costituzione', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Park_Sang-Hee property:place_of_birth ?a } UNION { resource:Ponte_della_Costituzione property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17
P530
Q15617994
USER
Do Japan have diplomatic associations with those ones ?
(Q17,P530,Q884) (Q17,P530,Q38)
action is_in
entity prev_answer
action find
entity Q17
relation P530
['Q17', 'P530', 'Q884'] ['Q17', 'P530', 'Q38']
ASK WHERE { resource:Q17 property:P530 ?p . VALUES ( ?p ) { ( resource:Q884 ) ( resource:Q38 ) } }
Japan
action is_in
entity prev_answer
action find
entity Japan
relation diplomatic relation
['Japan', 'diplomatic relation', 'South Korea'] ['Japan', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Japan property:diplomatic_relation ?p . VALUES ( ?p ) { ( resource:South_Korea ) ( resource:Italy ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q17,P530,Q884) (Q17,P530,Q38)
action is_in
entity prev_answer
action find
entity Q17
relation P530
[ANSWER]
['Q17', 'P530', 'Q884'] ['Q17', 'P530', 'Q38']
ASK WHERE { resource:Q17 property:P530 ?p . VALUES ( ?p ) { ( resource:Q884 ) ( resource:Q38 ) } }
Yes
action is_in
entity prev_answer
action find
entity Japan
relation diplomatic relation
['Japan', 'diplomatic relation', 'South Korea'] ['Japan', 'diplomatic relation', 'Italy']
ASK WHERE { resource:Japan property:diplomatic_relation ?p . VALUES ( ?p ) { ( resource:South_Korea ) ( resource:Italy ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q884 Q931366 Q30
P530
Q15617994
USER
Does South Korea have ambassadorial relations with Unterneukirchen and United States of America ?
(Q884,P530,Q931366) (Q884,P530,Q30)
action is_in
entity Q884
action intersection
action find_reverse
entity Q931366
relation P530
action find_reverse
entity Q30
relation P530
['Q884', 'P530', 'Q931366'] ['Q884', 'P530', 'Q30']
ASK WHERE { resource:Q884 property:P530 resource:Q931366 . resource:Q884 property:P530 resource:Q30 }
South Korea Unterneukirchen United States of America
action is_in
entity South Korea
action intersection
action find_reverse
entity Unterneukirchen
relation diplomatic relation
action find_reverse
entity United States of America
relation diplomatic relation
['South Korea', 'diplomatic relation', 'Unterneukirchen'] ['South Korea', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:South_Korea property:diplomatic_relation resource:Unterneukirchen . resource:South_Korea property:diplomatic_relation resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q884,P530,Q931366) (Q884,P530,Q30)
action is_in
entity Q884
action intersection
action find_reverse
entity Q931366
relation P530
action find_reverse
entity Q30
relation P530
[ANSWER]
['Q884', 'P530', 'Q931366'] ['Q884', 'P530', 'Q30']
ASK WHERE { resource:Q884 property:P530 resource:Q931366 . resource:Q884 property:P530 resource:Q30 }
NO and YES respectively
action is_in
entity South Korea
action intersection
action find_reverse
entity Unterneukirchen
relation diplomatic relation
action find_reverse
entity United States of America
relation diplomatic relation
['South Korea', 'diplomatic relation', 'Unterneukirchen'] ['South Korea', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:South_Korea property:diplomatic_relation resource:Unterneukirchen . resource:South_Korea property:diplomatic_relation resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q931366
P19 P21
Q502895
USER
Which people have location of birth at Unterneukirchen and have male as the sex ?
AND((c(Q502895),P19,Q931366), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q931366
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q931366'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q931366 . ?q property:P21 resource:Q6581097 }
male Unterneukirchen
action filter_type
action intersection
action find_reverse
entity Unterneukirchen
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Unterneukirchen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:Unterneukirchen . ?q property:gender resource:male }
[]
common name
Q1702686
SYSTEM
Manfred Zieglgruber
Q1702686
AND((c(Q502895),P19,Q931366), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q931366
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have location of birth at Unterneukirchen and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q931366'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P19 resource:Q931366 . ?q property:P21 resource:Q6581097 }
Manfred Zieglgruber
Manfred Zieglgruber have location of birth at Unterneukirchen and have male as the sex
Manfred Zieglgruber
action filter_type
action intersection
action find_reverse
entity Unterneukirchen
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Unterneukirchen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:place_of_birth resource:Unterneukirchen . ?q property:gender resource:male }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1702686
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q1702686,P27,c(Q1048835))
action filter_type
action find
entity Q1702686
relation P27
type Q1048835
['Q1702686', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1702686 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Manfred Zieglgruber
action filter_type
action find
entity Manfred Zieglgruber
relation country of citizenship
type political territorial entity
['Manfred Zieglgruber', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Manfred_Zieglgruber property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1702686,P27,c(Q1048835))
action filter_type
action find
entity Q1702686
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q1702686', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1702686 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Germany
Germany is that person a civilian of
Germany
action filter_type
action find
entity Manfred Zieglgruber
relation country of citizenship
type political territorial entity
['Manfred Zieglgruber', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Manfred_Zieglgruber property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16522702 Q19284914
P19 P27
Q15617994
USER
Which administrative territories were Hansi Alpert born or are the native countriesof József Schmidt ?
OR((Q19284914,P19,c(Q15617994)), (Q16522702,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q19284914
relation P19
action find
entity Q16522702
relation P27
type Q15617994
{'OR': [['Q19284914', 'P19', {'concept': 'Q15617994'}], ['Q16522702', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q19284914 property:P19 ?i } UNION { resource:Q16522702 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
József Schmidt Hansi Alpert
action filter_type
action union
action find
entity Hansi Alpert
relation place of birth
action find
entity József Schmidt
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hansi Alpert', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['József Schmidt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Hansi_Alpert property:place_of_birth ?i } UNION { resource:József_Schmidt property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q7082
SYSTEM
Hungary, Stendal
Q28 Q7082
OR((Q19284914,P19,c(Q15617994)), (Q16522702,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q19284914
relation P19
action find
entity Q16522702
relation P27
type Q15617994
Hansi Alpert or are the native countriesof József Schmidt were born in [ANSWERS]
{'OR': [['Q19284914', 'P19', {'concept': 'Q15617994'}], ['Q16522702', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q19284914 property:P19 ?i } UNION { resource:Q16522702 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
Hungary Stendal
Hansi Alpert or are the native countriesof József Schmidt were born in Hungary and Stendal
Hungary Stendal
action filter_type
action union
action find
entity Hansi Alpert
relation place of birth
action find
entity József Schmidt
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hansi Alpert', 'place of birth', {'concept': 'designation for an administrative territorial entity'}], ['József Schmidt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Hansi_Alpert property:place_of_birth ?i } UNION { resource:József_Schmidt property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q884 Q1614034
P361
Q486972
USER
How many human settlements are a component of South Korea or Center ?
(c(Q486972),P361,Q884) (c(Q486972),P361,Q1614034)
action count
action union
action filter_type
action find_reverse
entity Q884
relation P361
type Q486972
action filter_type
action find_reverse
entity Q1614034
relation P361
type Q486972
[{'concept': 'Q486972'}, 'P361', 'Q884'] [{'concept': 'Q486972'}, 'P361', 'Q1614034']
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { ?n rdf:type ontology:Q486972 . ?n property:P361 resource:Q884 } UNION { ?n rdf:type ontology:Q486972 . ?n property:P361 resource:Q1614034 } }
South Korea Center
action count
action union
action filter_type
action find_reverse
entity South Korea
relation part of
type human settlement
action filter_type
action find_reverse
entity Center
relation part of
type human settlement
[{'concept': 'human settlement'}, 'part of', 'South Korea'] [{'concept': 'human settlement'}, 'part of', 'Center']
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { ?n rdf:type ontology:human_settlement . ?n property:part_of resource:South_Korea } UNION { ?n rdf:type ontology:human_settlement . ?n property:part_of resource:Center } }
[]
human settlement
SYSTEM
2
Q2657150 Q2273370
(c(Q486972),P361,Q884) (c(Q486972),P361,Q1614034)
action count
action union
action filter_type
action find_reverse
entity Q884
relation P361
type Q486972
action filter_type
action find_reverse
entity Q1614034
relation P361
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P361', 'Q884'] [{'concept': 'Q486972'}, 'P361', 'Q1614034']
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { ?n rdf:type ontology:Q486972 . ?n property:P361 resource:Q884 } UNION { ?n rdf:type ontology:Q486972 . ?n property:P361 resource:Q1614034 } }
Zeeheldenkwartier Centrum
2
action count
action union
action filter_type
action find_reverse
entity South Korea
relation part of
type human settlement
action filter_type
action find_reverse
entity Center
relation part of
type human settlement
[{'concept': 'human settlement'}, 'part of', 'South Korea'] [{'concept': 'human settlement'}, 'part of', 'Center']
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { ?n rdf:type ontology:human_settlement . ?n property:part_of resource:South_Korea } UNION { ?n rdf:type ontology:human_settlement . ?n property:part_of resource:Center } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1697265 Q884
P530 P27
Q1048835
USER
Which political territories holds diplomatic relationship with South Korea and do Johannes Bissels belong to ?
AND((Q884,P530,c(Q1048835)), (Q1697265,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q884
relation P530
action find
entity Q1697265
relation P27
type Q1048835
{'AND': [['Q884', 'P530', {'concept': 'Q1048835'}], ['Q1697265', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { resource:Q884 property:P530 ?v . resource:Q1697265 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Johannes Bissels South Korea
action filter_type
action intersection
action find
entity South Korea
relation diplomatic relation
action find
entity Johannes Bissels
relation country of citizenship
type political territorial entity
{'AND': [['South Korea', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Johannes Bissels', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:South_Korea property:diplomatic_relation ?v . resource:Johannes_Bissels property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q884,P530,c(Q1048835)), (Q1697265,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q884
relation P530
action find
entity Q1697265
relation P27
type Q1048835
[ANSWER] holds diplomatic relationship with South Korea and do Johannes Bissels belong to
{'AND': [['Q884', 'P530', {'concept': 'Q1048835'}], ['Q1697265', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?v WHERE { resource:Q884 property:P530 ?v . resource:Q1697265 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Germany
Germany holds diplomatic relationship with South Korea and do Johannes Bissels belong to
Germany
action filter_type
action intersection
action find
entity South Korea
relation diplomatic relation
action find
entity Johannes Bissels
relation country of citizenship
type political territorial entity
{'AND': [['South Korea', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Johannes Bissels', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:South_Korea property:diplomatic_relation ?v . resource:Johannes_Bissels property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q884
P1001
Q573
USER
Which day applies to jurisdiction over South Korea ?
(c(Q573),P1001,Q884)
action filter_type
action find_reverse
entity Q884
relation P1001
type Q573
[{'concept': 'Q573'}, 'P1001', 'Q884']
SELECT DISTINCT ?b WHERE { ?b property:P1001 resource:Q884 . ?b rdf:type ontology:Q573 }
South Korea
action filter_type
action find_reverse
entity South Korea
relation applies to jurisdiction
type day
[{'concept': 'day'}, 'applies to jurisdiction', 'South Korea']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction resource:South_Korea . ?b rdf:type ontology:day }
[]
day
Q491744
SYSTEM
Black Day
Q491744
(c(Q573),P1001,Q884)
action filter_type
action find_reverse
entity Q884
relation P1001
type Q573
To [ANSWER] applies to jurisdiction over South Korea
[{'concept': 'Q573'}, 'P1001', 'Q884']
SELECT DISTINCT ?b WHERE { ?b property:P1001 resource:Q884 . ?b rdf:type ontology:Q573 }
Black Day
To Black Day applies to jurisdiction over South Korea
Black Day
action filter_type
action find_reverse
entity South Korea
relation applies to jurisdiction
type day
[{'concept': 'day'}, 'applies to jurisdiction', 'South Korea']
SELECT DISTINCT ?b WHERE { ?b property:applies_to_jurisdiction resource:South_Korea . ?b rdf:type ontology:day }
[]