Simple Question (Direct)
Simple Question
Q486658
P641
Q349
USER
Which sport was Park Chang-sun a part of ?
(Q486658,P641,c(Q349))
action filter_type
action find
entity Q486658
relation P641
type Q349
['Q486658', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q486658 property:P641 ?f }
Park Chang-sun
action filter_type
action find
entity Park Chang-sun
relation sport
type sport
['Park Chang-sun', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:Park_Chang-sun property:sport ?f }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q486658,P641,c(Q349))
action filter_type
action find
entity Q486658
relation P641
type Q349
Son [ANSWER] was Park Chang-sun a part of
['Q486658', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q486658 property:P641 ?f }
association football
Son association football was Park Chang-sun a part of
association football
action filter_type
action find
entity Park Chang-sun
relation sport
type sport
['Park Chang-sun', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:Park_Chang-sun property:sport ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q486658
P21
Q290
USER
Which sex does that person belong to ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q486658
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q486658 property:P21 ?r . ?r rdf:type ontology:Q290 }
Park Chang-sun
action filter_type
action find
entity Park Chang-sun
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Park_Chang-sun property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q486658
relation P21
type Q290
That person belongs to [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q486658 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Park Chang-sun
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Park_Chang-sun property:gender ?r . ?r rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q220547 Q486658
P21
Q290
USER
Or Zoran Pavlović?
OR((Q486658,P21,c(Q290)), (Q220547,P21,c(Q290)))
action filter_type
action union
action find
entity Q486658
relation P21
action find
entity Q220547
relation P21
type Q290
{'OR': [['Q486658', 'P21', {'concept': 'Q290'}], ['Q220547', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q486658 property:P21 ?t } UNION { resource:Q220547 property:P21 ?t } } . ?t rdf:type ontology:Q290 }
Zoran Pavlović Park Chang-sun
action filter_type
action union
action find
entity Park Chang-sun
relation gender
action find
entity Zoran Pavlović
relation gender
type sex
{'OR': [['Park Chang-sun', 'gender', {'concept': 'sex'}], ['Zoran Pavlović', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Park_Chang-sun property:gender ?t } UNION { resource:Zoran_Pavlović property:gender ?t } } . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q486658,P21,c(Q290)), (Q220547,P21,c(Q290)))
action filter_type
action union
action find
entity Q486658
relation P21
action find
entity Q220547
relation P21
type Q290
[ANSWER]
{'OR': [['Q486658', 'P21', {'concept': 'Q290'}], ['Q220547', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q486658 property:P21 ?t } UNION { resource:Q220547 property:P21 ?t } } . ?t rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Park Chang-sun
relation gender
action find
entity Zoran Pavlović
relation gender
type sex
{'OR': [['Park Chang-sun', 'gender', {'concept': 'sex'}], ['Zoran Pavlović', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Park_Chang-sun property:gender ?t } UNION { resource:Zoran_Pavlović property:gender ?t } } . ?t rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do around 1506 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1506
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:P1303 ?y . ?m rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . FILTER ( ?k = 1506 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1506
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:instrument ?y . ?m rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . FILTER ( ?k = 1506 ) }
[]
musical instrument common name
SYSTEM
9
Q80284 Q46185 Q80019 Q81982 Q8338 Q8371 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1506
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:P1303 ?y . ?m rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . FILTER ( ?k = 1506 ) }
viola bass guitar double bass harpsichord trumpet cello organ drum kit electronic keyboard
9
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1506
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?k ) WHERE { ?m property:instrument ?y . ?m rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . FILTER ( ?k = 1506 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q5057302
P69
Q502895
USER
How many people studied at male or sound recording and reproduction ?
(c(Q502895),P69,Q6581097) (c(Q502895),P69,Q5057302)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
action filter_type
action find_reverse
entity Q5057302
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097'] [{'concept': 'Q502895'}, 'P69', 'Q5057302']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { VALUES ( ?t ) { ( resource:Q6581097 ) ( resource:Q5057302 ) } . ?m property:P69 ?t }
male sound recording and reproduction
action count
action union
action filter_type
action find_reverse
entity male
relation educated at
type common name
action filter_type
action find_reverse
entity sound recording and reproduction
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male'] [{'concept': 'common name'}, 'educated at', 'sound recording and reproduction']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { VALUES ( ?t ) { ( resource:male ) ( resource:sound_recording_and_reproduction ) } . ?m property:educated_at ?t }
[]
common name
SYSTEM
2
Q4662307 Q5387508
(c(Q502895),P69,Q6581097) (c(Q502895),P69,Q5057302)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
action filter_type
action find_reverse
entity Q5057302
relation P69
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q6581097'] [{'concept': 'Q502895'}, 'P69', 'Q5057302']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { VALUES ( ?t ) { ( resource:Q6581097 ) ( resource:Q5057302 ) } . ?m property:P69 ?t }
Aaron Parchem Eric Simms
2
action count
action union
action filter_type
action find_reverse
entity male
relation educated at
type common name
action filter_type
action find_reverse
entity sound recording and reproduction
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male'] [{'concept': 'common name'}, 'educated at', 'sound recording and reproduction']
SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { VALUES ( ?t ) { ( resource:male ) ( resource:sound_recording_and_reproduction ) } . ?m property:educated_at ?t }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6196481
P608
Q464980 Q33506 Q502895
USER
How many people were exhibited at less number of exhibitions or museums than Jim Love ?
(c(Q502895),P608,c(Q464980)|c(Q33506))
action count
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q6196481
relation P608
type Q464980
type Q33506
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q6196481 property:P608 ?t . { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } } } . FILTER ( ?q < ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } GROUP BY ?c } }
Jim Love
action count
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity Jim Love
relation exhibition history
type exhibition
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Jim_Love property:exhibition_history ?t . { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:exhibition ) ( ontology:museum ) } } } } . FILTER ( ?q < ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:exhibition ) ( ontology:museum ) } } GROUP BY ?c } }
[]
exhibition museum common name
SYSTEM
21
Q17455385 Q15734263 Q15734265 Q16858002 Q15991813 Q16062545 Q5671224 Q16005428 Q27505608 Q5248733 Q2824894 Q15734237 Q2965423 Q6687160 Q22815085 Q9015308 Q805807 Q15527965 Q15873898 Q55192 Q3335569
(c(Q502895),P608,c(Q464980)|c(Q33506))
action count
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q6196481
relation P608
type Q464980
type Q33506
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Q6196481 property:P608 ?t . { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } } } . FILTER ( ?q < ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } GROUP BY ?c } }
Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Anne Mee Judie Bamber Alice Havers Pablo Borges Delgado Andrea Bowers Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Tony van Alphen Christian Lhopital Louis Ferstadt Georges Violet Juan Carlos Alom Balto Margaretha Roosenboom Chrisje van der Willigen Gertrude Abercrombie Nancy Elizabeth Prophet
21
action count
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity Jim Love
relation exhibition history
type exhibition
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?w ) WHERE { resource:Jim_Love property:exhibition_history ?t . { ?t rdf:type ?u . VALUES ( ?u ) { ( ontology:exhibition ) ( ontology:museum ) } } } } . FILTER ( ?q < ?w ) . { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?q ) WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:exhibition ) ( ontology:museum ) } } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q17314881
P608
Q464980 Q33506 Q502895
USER
And also tell me about René Izaure?
(c(Q502895),P608,c(Q464980)|c(Q33506))
action count
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q17314881
relation P608
type Q464980
type Q33506
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?o WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q17314881 property:P608 ?u . { { ?u rdf:type ontology:Q464980 } UNION { ?u rdf:type ontology:Q33506 } } } } . FILTER ( ?l < ?e ) }
René Izaure
action count
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity René Izaure
relation exhibition history
type exhibition
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?o WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:exhibition ) ( ontology:museum ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:René_Izaure property:exhibition_history ?u . { { ?u rdf:type ontology:exhibition } UNION { ?u rdf:type ontology:museum } } } } . FILTER ( ?l < ?e ) }
[]
exhibition museum common name
SYSTEM
21
Q17455385 Q15734263 Q15734265 Q16858002 Q15991813 Q16062545 Q5671224 Q16005428 Q27505608 Q5248733 Q2824894 Q15734237 Q2965423 Q6687160 Q22815085 Q9015308 Q805807 Q15527965 Q15873898 Q55192 Q3335569
(c(Q502895),P608,c(Q464980)|c(Q33506))
action count
action less
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q33506
action count
action filter_multi_types
action find
entity Q17314881
relation P608
type Q464980
type Q33506
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?o WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:Q464980 ) ( ontology:Q33506 ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q17314881 property:P608 ?u . { { ?u rdf:type ontology:Q464980 } UNION { ?u rdf:type ontology:Q33506 } } } } . FILTER ( ?l < ?e ) }
Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Anne Mee Judie Bamber Alice Havers Pablo Borges Delgado Andrea Bowers Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Tony van Alphen Christian Lhopital Louis Ferstadt Georges Violet Juan Carlos Alom Balto Margaretha Roosenboom Chrisje van der Willigen Gertrude Abercrombie Nancy Elizabeth Prophet
21
action count
action less
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type museum
action count
action filter_multi_types
action find
entity René Izaure
relation exhibition history
type exhibition
type museum
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'museum'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?l ) ?o WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:exhibition ) ( ontology:museum ) } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:René_Izaure property:exhibition_history ?u . { { ?u rdf:type ontology:exhibition } UNION { ?u rdf:type ontology:museum } } } } . FILTER ( ?l < ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36482
P17
Q15617994
USER
Which administrative territory is Dinamo Basket Sassari situated in ?
(Q36482,P17,c(Q15617994))
action filter_type
action find
entity Q36482
relation P17
type Q15617994
['Q36482', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q36482 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Dinamo Basket Sassari
action filter_type
action find
entity Dinamo Basket Sassari
relation country
type designation for an administrative territorial entity
['Dinamo Basket Sassari', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Dinamo_Basket_Sassari property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q36482,P17,c(Q15617994))
action filter_type
action find
entity Q36482
relation P17
type Q15617994
Dinamo Basket Sassari is situated in [ANSWER]
['Q36482', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q36482 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Italy
Dinamo Basket Sassari is situated in Italy
Italy
action filter_type
action find
entity Dinamo Basket Sassari
relation country
type designation for an administrative territorial entity
['Dinamo Basket Sassari', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Dinamo_Basket_Sassari property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q38 Q7742387
P840
Q838948
USER
Does The Intruder have its narrative set in that administrative territory ?
(Q7742387,P840,Q38)
action is_in
entity Q38
action find
entity Q7742387
relation P840
['Q7742387', 'P840', 'Q38']
ASK WHERE { resource:Q7742387 property:P840 resource:Q38 }
Italy The Intruder
action is_in
entity Italy
action find
entity The Intruder
relation narrative location
['The Intruder', 'narrative location', 'Italy']
ASK WHERE { resource:The_Intruder property:narrative_location resource:Italy }
[]
work of art
SYSTEM
YES
(Q7742387,P840,Q38)
action is_in
entity Q38
action find
entity Q7742387
relation P840
[ANSWER]
['Q7742387', 'P840', 'Q38']
ASK WHERE { resource:Q7742387 property:P840 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity The Intruder
relation narrative location
['The Intruder', 'narrative location', 'Italy']
ASK WHERE { resource:The_Intruder property:narrative_location resource:Italy }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1706557 Q486658
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Park Chang-sun or Albino Montisci ?
OR((Q486658,P27,c(Q15617994)), (Q1706557,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q486658
relation P27
action find
entity Q1706557
relation P27
type Q15617994
{'OR': [['Q486658', 'P27', {'concept': 'Q15617994'}], ['Q1706557', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { ?w property:P27 ?n . VALUES ( ?w ) { ( resource:Q486658 ) ( resource:Q1706557 ) } } . ?n rdf:type ontology:Q15617994 }
Albino Montisci Park Chang-sun
action filter_type
action union
action find
entity Park Chang-sun
relation country of citizenship
action find
entity Albino Montisci
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Park Chang-sun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Albino Montisci', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { ?w property:country_of_citizenship ?n . VALUES ( ?w ) { ( resource:Park_Chang-sun ) ( resource:Albino_Montisci ) } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q884 Q38
SYSTEM
South Korea, Italy
Q884 Q38
OR((Q486658,P27,c(Q15617994)), (Q1706557,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q486658
relation P27
action find
entity Q1706557
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Park Chang-sun or Albino Montisci
{'OR': [['Q486658', 'P27', {'concept': 'Q15617994'}], ['Q1706557', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { ?w property:P27 ?n . VALUES ( ?w ) { ( resource:Q486658 ) ( resource:Q1706557 ) } } . ?n rdf:type ontology:Q15617994 }
South Korea Italy
South Korea and Italy are the countries of citizenship of Park Chang-sun or Albino Montisci
South Korea Italy
action filter_type
action union
action find
entity Park Chang-sun
relation country of citizenship
action find
entity Albino Montisci
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Park Chang-sun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Albino Montisci', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { ?w property:country_of_citizenship ?n . VALUES ( ?w ) { ( resource:Park_Chang-sun ) ( resource:Albino_Montisci ) } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3572683 Q486658
P27
Q15617994
USER
Which administrative territories do Park Chang-sun or Yoshio Inoue belong to ?
OR((Q486658,P27,c(Q15617994)), (Q3572683,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q486658
relation P27
action find
entity Q3572683
relation P27
type Q15617994
{'OR': [['Q486658', 'P27', {'concept': 'Q15617994'}], ['Q3572683', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { ?j property:P27 ?g . VALUES ( ?j ) { ( resource:Q486658 ) ( resource:Q3572683 ) } } . ?g rdf:type ontology:Q15617994 }
Yoshio Inoue Park Chang-sun
action filter_type
action union
action find
entity Park Chang-sun
relation country of citizenship
action find
entity Yoshio Inoue
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Park Chang-sun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yoshio Inoue', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { ?j property:country_of_citizenship ?g . VALUES ( ?j ) { ( resource:Park_Chang-sun ) ( resource:Yoshio_Inoue ) } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q884
SYSTEM
Japan, South Korea
Q17 Q884
OR((Q486658,P27,c(Q15617994)), (Q3572683,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q486658
relation P27
action find
entity Q3572683
relation P27
type Q15617994
Park Chang-sun or Yoshio Inoue belong to both [ANSWERS]
{'OR': [['Q486658', 'P27', {'concept': 'Q15617994'}], ['Q3572683', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { ?j property:P27 ?g . VALUES ( ?j ) { ( resource:Q486658 ) ( resource:Q3572683 ) } } . ?g rdf:type ontology:Q15617994 }
Japan South Korea
Park Chang-sun or Yoshio Inoue belong to both Japan and South Korea
Japan South Korea
action filter_type
action union
action find
entity Park Chang-sun
relation country of citizenship
action find
entity Yoshio Inoue
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Park Chang-sun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Yoshio Inoue', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { ?j property:country_of_citizenship ?g . VALUES ( ?j ) { ( resource:Park_Chang-sun ) ( resource:Yoshio_Inoue ) } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q485759
P495
Q838948
USER
Did Tokyo! originate in those administrative territories ?
(Q485759,P495,Q17) (Q485759,P495,Q884)
action is_in
entity prev_answer
action find
entity Q485759
relation P495
['Q485759', 'P495', 'Q17'] ['Q485759', 'P495', 'Q884']
ASK WHERE { VALUES ( ?g ) { ( resource:Q17 ) ( resource:Q884 ) } . resource:Q485759 property:P495 ?g }
Tokyo!
action is_in
entity prev_answer
action find
entity Tokyo!
relation country of origin
['Tokyo!', 'country of origin', 'Japan'] ['Tokyo!', 'country of origin', 'South Korea']
ASK WHERE { VALUES ( ?g ) { ( resource:Japan ) ( resource:South_Korea ) } . resource:Tokyo! property:country_of_origin ?g }
[]
work of art
SYSTEM
YES
(Q485759,P495,Q17) (Q485759,P495,Q884)
action is_in
entity prev_answer
action find
entity Q485759
relation P495
[ANSWER]
['Q485759', 'P495', 'Q17'] ['Q485759', 'P495', 'Q884']
ASK WHERE { VALUES ( ?g ) { ( resource:Q17 ) ( resource:Q884 ) } . resource:Q485759 property:P495 ?g }
Yes
action is_in
entity prev_answer
action find
entity Tokyo!
relation country of origin
['Tokyo!', 'country of origin', 'Japan'] ['Tokyo!', 'country of origin', 'South Korea']
ASK WHERE { VALUES ( ?g ) { ( resource:Japan ) ( resource:South_Korea ) } . resource:Tokyo! property:country_of_origin ?g }
[]