Simple Question (Direct)
Simple Question
Q7505636
P27
Q15617994
USER
Which administrative territory is Shuto Kono a civilian of ?
(Q7505636,P27,c(Q15617994))
action filter_type
action find
entity Q7505636
relation P27
type Q15617994
['Q7505636', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q7505636 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Shuto Kono
action filter_type
action find
entity Shuto Kono
relation country of citizenship
type designation for an administrative territorial entity
['Shuto Kono', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Shuto_Kono property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q7505636,P27,c(Q15617994))
action filter_type
action find
entity Q7505636
relation P27
type Q15617994
The [ANSWER] is Shuto Kono a civilian of
['Q7505636', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q7505636 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Japan
The Japan is Shuto Kono a civilian of
Japan
action filter_type
action find
entity Shuto Kono
relation country of citizenship
type designation for an administrative territorial entity
['Shuto Kono', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Shuto_Kono property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7505636
P21
Q290
USER
Which sex does Shuto Kono have ?
(Q7505636,P21,c(Q290))
action filter_type
action find
entity Q7505636
relation P21
type Q290
['Q7505636', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q7505636 property:P21 ?d . ?d rdf:type ontology:Q290 }
Shuto Kono
action filter_type
action find
entity Shuto Kono
relation gender
type sex
['Shuto Kono', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Shuto_Kono property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7505636,P21,c(Q290))
action filter_type
action find
entity Q7505636
relation P21
type Q290
Shuto Kono has a [ANSWER]
['Q7505636', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q7505636 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
Shuto Kono has a male
male
action filter_type
action find
entity Shuto Kono
relation gender
type sex
['Shuto Kono', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Shuto_Kono property:gender ?d . ?d rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1216440 Q7505636
P21
Q290
USER
Or Virius Gallus?
OR((Q7505636,P21,c(Q290)), (Q1216440,P21,c(Q290)))
action filter_type
action union
action find
entity Q7505636
relation P21
action find
entity Q1216440
relation P21
type Q290
{'OR': [['Q7505636', 'P21', {'concept': 'Q290'}], ['Q1216440', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q7505636 property:P21 ?j } UNION { resource:Q1216440 property:P21 ?j } } . ?j rdf:type ontology:Q290 }
Virius Gallus Shuto Kono
action filter_type
action union
action find
entity Shuto Kono
relation gender
action find
entity Virius Gallus
relation gender
type sex
{'OR': [['Shuto Kono', 'gender', {'concept': 'sex'}], ['Virius Gallus', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Shuto_Kono property:gender ?j } UNION { resource:Virius_Gallus property:gender ?j } } . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q7505636,P21,c(Q290)), (Q1216440,P21,c(Q290)))
action filter_type
action union
action find
entity Q7505636
relation P21
action find
entity Q1216440
relation P21
type Q290
[ANSWER]
{'OR': [['Q7505636', 'P21', {'concept': 'Q290'}], ['Q1216440', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q7505636 property:P21 ?j } UNION { resource:Q1216440 property:P21 ?j } } . ?j rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Shuto Kono
relation gender
action find
entity Virius Gallus
relation gender
type sex
{'OR': [['Shuto Kono', 'gender', {'concept': 'sex'}], ['Virius Gallus', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Shuto_Kono property:gender ?j } UNION { resource:Virius_Gallus property:gender ?j } } . ?j rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q18646338
P21
Q502895
USER
Does Žiga Radkovič have that sex as the sex ?
(Q18646338,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q18646338
relation P21
['Q18646338', 'P21', 'Q6581097']
ASK WHERE { resource:Q18646338 property:P21 resource:Q6581097 }
male Žiga Radkovič
action is_in
entity male
action find
entity Žiga Radkovič
relation gender
['Žiga Radkovič', 'gender', 'male']
ASK WHERE { resource:Žiga_Radkovič property:gender resource:male }
[]
common name
SYSTEM
YES
(Q18646338,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q18646338
relation P21
[ANSWER]
['Q18646338', 'P21', 'Q6581097']
ASK WHERE { resource:Q18646338 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Žiga Radkovič
relation gender
['Žiga Radkovič', 'gender', 'male']
ASK WHERE { resource:Žiga_Radkovič property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17 Q6747552
P937
Q502895
USER
How many people have Japan or Manchester University as their work location ?
(c(Q502895),P937,Q17) (c(Q502895),P937,Q6747552)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P937
type Q502895
action filter_type
action find_reverse
entity Q6747552
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q17'] [{'concept': 'Q502895'}, 'P937', 'Q6747552']
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:P937 ?y . VALUES ( ?y ) { ( resource:Q6747552 ) ( resource:Q17 ) } }
Japan Manchester University
action count
action union
action filter_type
action find_reverse
entity Japan
relation work location
type common name
action filter_type
action find_reverse
entity Manchester University
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Japan'] [{'concept': 'common name'}, 'work location', 'Manchester University']
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:work_location ?y . VALUES ( ?y ) { ( resource:Manchester_University ) ( resource:Japan ) } }
[]
common name
SYSTEM
2
Q17275474 Q22133109
(c(Q502895),P937,Q17) (c(Q502895),P937,Q6747552)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P937
type Q502895
action filter_type
action find_reverse
entity Q6747552
relation P937
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q17'] [{'concept': 'Q502895'}, 'P937', 'Q6747552']
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:P937 ?y . VALUES ( ?y ) { ( resource:Q6747552 ) ( resource:Q17 ) } }
Geoff Tootill Chico Roland
2
action count
action union
action filter_type
action find_reverse
entity Japan
relation work location
type common name
action filter_type
action find_reverse
entity Manchester University
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Japan'] [{'concept': 'common name'}, 'work location', 'Manchester University']
SELECT DISTINCT ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:work_location ?y . VALUES ( ?y ) { ( resource:Manchester_University ) ( resource:Japan ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P291
Q26971562
USER
Which comic format has Japan as its publication place ?
(c(Q26971562),P291,Q17)
action filter_type
action find_reverse
entity Q17
relation P291
type Q26971562
[{'concept': 'Q26971562'}, 'P291', 'Q17']
SELECT DISTINCT ?g WHERE { ?g property:P291 resource:Q17 . ?g rdf:type ontology:Q26971562 }
Japan
action filter_type
action find_reverse
entity Japan
relation place of publication
type comic format
[{'concept': 'comic format'}, 'place of publication', 'Japan']
SELECT DISTINCT ?g WHERE { ?g property:place_of_publication resource:Japan . ?g rdf:type ontology:comic_format }
[]
comic format
Q15041698
SYSTEM
360°
Q15041698
(c(Q26971562),P291,Q17)
action filter_type
action find_reverse
entity Q17
relation P291
type Q26971562
To [ANSWER] has Japan as its publication place
[{'concept': 'Q26971562'}, 'P291', 'Q17']
SELECT DISTINCT ?g WHERE { ?g property:P291 resource:Q17 . ?g rdf:type ontology:Q26971562 }
360°
To 360° has Japan as its publication place
360°
action filter_type
action find_reverse
entity Japan
relation place of publication
type comic format
[{'concept': 'comic format'}, 'place of publication', 'Japan']
SELECT DISTINCT ?g WHERE { ?g property:place_of_publication resource:Japan . ?g rdf:type ontology:comic_format }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1135661 Q6747552
P17
Q15617994
USER
Which administrative territories are Manchester University or Coruche present in ?
OR((Q6747552,P17,c(Q15617994)), (Q1135661,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6747552
relation P17
action find
entity Q1135661
relation P17
type Q15617994
{'OR': [['Q6747552', 'P17', {'concept': 'Q15617994'}], ['Q1135661', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q6747552 property:P17 ?k } UNION { resource:Q1135661 property:P17 ?k } } }
Coruche Manchester University
action filter_type
action union
action find
entity Manchester University
relation country
action find
entity Coruche
relation country
type designation for an administrative territorial entity
{'OR': [['Manchester University', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Coruche', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Manchester_University property:country ?k } UNION { resource:Coruche property:country ?k } } }
[]
designation for an administrative territorial entity
Q30 Q45
SYSTEM
United States of America, Portugal
Q30 Q45
OR((Q6747552,P17,c(Q15617994)), (Q1135661,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6747552
relation P17
action find
entity Q1135661
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q6747552', 'P17', {'concept': 'Q15617994'}], ['Q1135661', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . { { resource:Q6747552 property:P17 ?k } UNION { resource:Q1135661 property:P17 ?k } } }
United States of America Portugal
Which administrative territories are Manchester University or Coruche present in
United States of America Portugal
action filter_type
action union
action find
entity Manchester University
relation country
action find
entity Coruche
relation country
type designation for an administrative territorial entity
{'OR': [['Manchester University', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Coruche', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Manchester_University property:country ?k } UNION { resource:Coruche property:country ?k } } }
[]