Simple Question (Direct)
Simple Question
Q434373
P734
Q82799
USER
Which name is associated with Guan Weizhen ?
(Q434373,P734,c(Q82799))
action filter_type
action find
entity Q434373
relation P734
type Q82799
['Q434373', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q434373 property:P734 ?p }
Guan Weizhen
action filter_type
action find
entity Guan Weizhen
relation family name
type name
['Guan Weizhen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Guan_Weizhen property:family_name ?p }
[]
name
Q13380050
SYSTEM
Guan
Q13380050
(Q434373,P734,c(Q82799))
action filter_type
action find
entity Q434373
relation P734
type Q82799
[ANSWER] is associated with [ANSWER] Weizhen
['Q434373', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q434373 property:P734 ?p }
Guan
Guan is associated with Guan Weizhen
Guan
action filter_type
action find
entity Guan Weizhen
relation family name
type name
['Guan Weizhen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:Guan_Weizhen property:family_name ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q434373
P710
Q328539
USER
Which German Open Badminton Championshipss were Guan Weizhen a participant of ?
(c(Q328539),P710,Q434373)
action filter_type
action find_reverse
entity Q434373
relation P710
type Q328539
[{'concept': 'Q328539'}, 'P710', 'Q434373']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q328539 . ?u property:P710 resource:Q434373 }
Guan Weizhen
action filter_type
action find_reverse
entity Guan Weizhen
relation participant
type German Open Badminton Championships
[{'concept': 'German Open Badminton Championships'}, 'participant', 'Guan Weizhen']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:German_Open_Badminton_Championships . ?u property:participant resource:Guan_Weizhen }
[]
German Open Badminton Championships
Q27570530 Q27570528
SYSTEM
1987 German Open Badminton Championships – Women's doubles, 1985 German Open Badminton Championships – Women's doubles
Q27570530 Q27570528
(c(Q328539),P710,Q434373)
action filter_type
action find_reverse
entity Q434373
relation P710
type Q328539
[ANSWERS] were Guan Weizhen a participant of
[{'concept': 'Q328539'}, 'P710', 'Q434373']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q328539 . ?u property:P710 resource:Q434373 }
1987 German Open Badminton Championships – Women's doubles 1985 German Open Badminton Championships – Women's doubles
1987 German Open Badminton Championships – Women's doubles and 1985 German Open Badminton Championships – Women's doubles were Guan Weizhen a participant of
1987 German Open Badminton Championships – Women's doubles 1985 German Open Badminton Championships – Women's doubles
action filter_type
action find_reverse
entity Guan Weizhen
relation participant
type German Open Badminton Championships
[{'concept': 'German Open Badminton Championships'}, 'participant', 'Guan Weizhen']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:German_Open_Badminton_Championships . ?u property:participant resource:Guan_Weizhen }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q27570530 Q27570528
P710
Q502895
USER
Who were the participants of those German Open Badminton Championshipss ?
(Q27570530,P710,c(Q502895)) (Q27570528,P710,c(Q502895))
action filter_type
action find
entity prev_answer
relation P710
type Q502895
['Q27570530', 'P710', {'concept': 'Q502895'}] ['Q27570528', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?u ) { ( resource:Q27570530 ) ( resource:Q27570528 ) } . ?u property:P710 ?r . ?r rdf:type ontology:Q502895 }
1987 German Open Badminton Championships – Women's doubles 1985 German Open Badminton Championships – Women's doubles
action filter_type
action find
entity prev_answer
relation participant
type common name
["1987 German Open Badminton Championships – Women's doubles", 'participant', {'concept': 'common name'}] ["1985 German Open Badminton Championships – Women's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?u ) { ( resource:1987_German_Open_Badminton_Championships_–_Women's_doubles ) ( resource:1985_German_Open_Badminton_Championships_–_Women's_doubles ) } . ?u property:participant ?r . ?r rdf:type ontology:common_name }
[]
common name
Q524282 Q434373 Q434373
SYSTEM
Guan Weizhen for 2nd, 3rd, Lin Ying for 1st
Q434373 Q524282 Q434373 Q2594639
(Q27570530,P710,c(Q502895)) (Q27570528,P710,c(Q502895))
action filter_type
action find
entity prev_answer
relation P710
type Q502895
[ANSWERS]
['Q27570530', 'P710', {'concept': 'Q502895'}] ['Q27570528', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?u ) { ( resource:Q27570530 ) ( resource:Q27570528 ) } . ?u property:P710 ?r . ?r rdf:type ontology:Q502895 }
Guan Weizhen Lin Ying Guan Weizhen Wu Jianqiu
The participants of those German Open Badminton Championshipss were Wang Lin Ying, Guan Weizhen and Guan Weizhen
Lin Ying Guan Weizhen Guan Weizhen
action filter_type
action find
entity prev_answer
relation participant
type common name
["1987 German Open Badminton Championships – Women's doubles", 'participant', {'concept': 'common name'}] ["1985 German Open Badminton Championships – Women's doubles", 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?u ) { ( resource:1987_German_Open_Badminton_Championships_–_Women's_doubles ) ( resource:1985_German_Open_Badminton_Championships_–_Women's_doubles ) } . ?u property:participant ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27570530
P1344
Q502895
USER
Who took part in 1987 German Open Badminton Championships – Women's doubles ?
(c(Q502895),P1344,Q27570530)
action filter_type
action find_reverse
entity Q27570530
relation P1344
type Q502895
[{'concept': 'Q502895'}, 'P1344', 'Q27570530']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P1344 resource:Q27570530 }
1987 German Open Badminton Championships – Women's doubles
action filter_type
action find_reverse
entity 1987 German Open Badminton Championships – Women's doubles
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "1987 German Open Badminton Championships – Women's doubles"]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:participant_of resource:1987_German_Open_Badminton_Championships_–_Women's_doubles }
[]
common name
Q434373 Q524282
SYSTEM
Guan Weizhen, Lin Ying
Q434373 Q524282
(c(Q502895),P1344,Q27570530)
action filter_type
action find_reverse
entity Q27570530
relation P1344
type Q502895
[ANSWERS] took part in 1987 German Open Badminton Championships – Women's doubles
[{'concept': 'Q502895'}, 'P1344', 'Q27570530']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P1344 resource:Q27570530 }
Guan Weizhen Lin Ying
Guan Weizhen and Lin Ying took part in 1987 German Open Badminton Championships – Women's doubles
Guan Weizhen Lin Ying
action filter_type
action find_reverse
entity 1987 German Open Badminton Championships – Women's doubles
relation participant of
type common name
[{'concept': 'common name'}, 'participant of', "1987 German Open Badminton Championships – Women's doubles"]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:participant_of resource:1987_German_Open_Badminton_Championships_–_Women's_doubles }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q27763813 Q434373
P1344
Q799469
USER
Which Badminton World Championshipss did Guan Weizhen or Chen Chun-Chi take part in ?
OR((Q434373,P1344,c(Q799469)), (Q27763813,P1344,c(Q799469)))
action filter_type
action union
action find
entity Q434373
relation P1344
action find
entity Q27763813
relation P1344
type Q799469
{'OR': [['Q434373', 'P1344', {'concept': 'Q799469'}], ['Q27763813', 'P1344', {'concept': 'Q799469'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?r ) { ( resource:Q434373 ) ( resource:Q27763813 ) } . ?r property:P1344 ?q } . ?q rdf:type ontology:Q799469 }
Chen Chun-Chi Guan Weizhen
action filter_type
action union
action find
entity Guan Weizhen
relation participant of
action find
entity Chen Chun-Chi
relation participant of
type Badminton World Championships
{'OR': [['Guan Weizhen', 'participant of', {'concept': 'Badminton World Championships'}], ['Chen Chun-Chi', 'participant of', {'concept': 'Badminton World Championships'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?r ) { ( resource:Guan_Weizhen ) ( resource:Chen_Chun-Chi ) } . ?r property:participant_of ?q } . ?q rdf:type ontology:Badminton_World_Championships }
[]
Badminton World Championships
Q799478 Q799485 Q799527 Q799490
SYSTEM
1987 Badminton World Championships – Women's Doubles, 1989 Badminton World Championships – Women's Doubles, 2001 Badminton World Championships – Men's Doubles, 1991 Badminton World Championships – Women's Doubles
Q799478 Q799485 Q799527 Q799490
OR((Q434373,P1344,c(Q799469)), (Q27763813,P1344,c(Q799469)))
action filter_type
action union
action find
entity Q434373
relation P1344
action find
entity Q27763813
relation P1344
type Q799469
[ANSWERS] Guan Weizhen or Chen Chun-Chi took part in
{'OR': [['Q434373', 'P1344', {'concept': 'Q799469'}], ['Q27763813', 'P1344', {'concept': 'Q799469'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?r ) { ( resource:Q434373 ) ( resource:Q27763813 ) } . ?r property:P1344 ?q } . ?q rdf:type ontology:Q799469 }
1987 Badminton World Championships – Women's Doubles 1989 Badminton World Championships – Women's Doubles 2001 Badminton World Championships – Men's Doubles 1991 Badminton World Championships – Women's Doubles
1987 Badminton World Championships – Women's Doubles, 1989 Badminton World Championships – Women's Doubles, 2001 Badminton World Championships – Men's Doubles and 1991 Badminton World Championships – Women's Doubles Guan Weizhen or Chen Chun-Chi took part in
1987 Badminton World Championships – Women's Doubles 1989 Badminton World Championships – Women's Doubles 2001 Badminton World Championships – Men's Doubles 1991 Badminton World Championships – Women's Doubles
action filter_type
action union
action find
entity Guan Weizhen
relation participant of
action find
entity Chen Chun-Chi
relation participant of
type Badminton World Championships
{'OR': [['Guan Weizhen', 'participant of', {'concept': 'Badminton World Championships'}], ['Chen Chun-Chi', 'participant of', {'concept': 'Badminton World Championships'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?r ) { ( resource:Guan_Weizhen ) ( resource:Chen_Chun-Chi ) } . ?r property:participant_of ?q } . ?q rdf:type ontology:Badminton_World_Championships }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1344
Q799469 Q502895
USER
How many Badminton World Championshipss did less number of people compete in than that Badminton World Championships ?
(c(Q502895),P1344,c(Q799469))
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q799469'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1344 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q799469 }
[{'concept': 'common name'}, 'participant of', {'concept': 'Badminton World Championships'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:participant_of ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:Badminton_World_Championships }
[]
Badminton World Championships common name
Comparative|Count over More/Less|Single entity type|Clarification
Q799527
SYSTEM
Did you mean 2001 Badminton World Championships – Men's Doubles ?
(c(Q502895),P1344,c(Q799469))
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q799469'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1344 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q799469 }
Did you mean 2001 Badminton World Championships – Men's Doubles ?
2001 Badminton World Championships – Men's Doubles
[{'concept': 'common name'}, 'participant of', {'concept': 'Badminton World Championships'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:participant_of ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:Badminton_World_Championships }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant 1987 Badminton World Championships – Women's Doubles. Could you tell me the answer for that?
(c(Q502895),P1344,c(Q799469))
Q799478
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q799469'}]
[{'concept': 'common name'}, 'participant of', {'concept': 'Badminton World Championships'}]
[]
SYSTEM
90
Q14405930 Q14405932 Q799557 Q799555 Q799552 Q799551 Q799558 Q162534 Q670196 Q20743566 Q799544 Q799545 Q20740424 Q799467 Q799496 Q799497 Q799493 Q254670 Q799498 Q799489 Q20743574 Q17502305 Q17502302 Q799572 Q799575 Q799574 Q17559509 Q799579 Q799473 Q799474 Q799475 Q799476 Q27669645 Q14405923 Q799481 Q27669646 Q256281 Q27669901 Q27669900 Q799441 Q799490 Q799568 Q799569 Q799566 Q799565 Q121940 Q799560 Q799561 Q799453 Q256053 Q799519 Q799512 Q799511 Q799516 Q799515 Q27669647 Q20742540 Q20742544 Q799563 Q175972 Q14507158 Q799508 Q799509 Q799501 Q799503 Q799504 Q799507 Q17502294 Q17502298 Q799590 Q799530 Q543889 Q799580 Q799585 Q799586 Q799587 Q799588 Q186835 Q27669899 Q799480 Q799483 Q799482 Q14405927 Q799487 Q799446 Q27669815 Q27669817 Q27669816 Q290755 Q575087
(c(Q502895),P1344,c(Q799469))
[ANSWER]
[{'concept': 'Q502895'}, 'P1344', {'concept': 'Q799469'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1344 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q799469 }
2013 Badminton World Championships – Men's doubles 2013 Badminton World Championships – Men's singles 2007 Badminton World Championships – Women's Doubles 2006 Badminton World Championships – Mixed Doubles 2006 Badminton World Championships – Men's Singles 2006 Badminton World Championships – Women's Doubles 2007 Badminton World Championships – Women's Singles 2006 Badminton World Championships – Women's Singles 1991 Badminton World Championships – Women's Singles 2015 Badminton World Championships – Men's doubles 2005 Badminton World Championships – Women's Singles 2005 Badminton World Championships – Men's Doubles 2015 Badminton World Championships – Women's doubles 1983 Badminton World Championships – Men's Singles 1993 Badminton World Championships – Women's Singles 1993 Badminton World Championships – Women's Doubles 1991 Badminton World Championships – Men's Singles 1989 Badminton World Championships – Men's Singles 1991 Badminton World Championships – Mixed Doubles 1989 Badminton World Championships – Women's Singles 2015 Badminton World Championships – Mixed doubles 2014 Badminton World Championships – Men's singles 2014 Badminton World Championships - Mixed doubles 2010 Badminton World Championships – Women's Doubles 2010 Badminton World Championships – Men's Doubles 2010 Badminton World Championships – Women's Singles 2014 Badminton World Championships - Men's doubles 2010 Badminton World Championships – Men's Singles 1985 Badminton World Championships – Women's Doubles 1985 Badminton World Championships – Women's Singles 1985 Badminton World Championships – Mixed Doubles 1985 Badminton World Championships – Men's Doubles 1978 Badminton World Championships – Women's singles 2013 Badminton World Championships – Women's singles 1987 Badminton World Championships – Women's Singles 1979 Badminton World Championships – Women's singles 2006 Badminton World Championships – Men's Doubles 1978 Badminton World Championships – Men's singles 1979 Badminton World Championships - Mixed Doubles 1977 Badminton World Championships – Women's Doubles 1991 Badminton World Championships – Women's Doubles 2009 Badminton World Championships – Mixed Doubles 2009 Badminton World Championships – Men's Singles 2009 Badminton World Championships – Men's Doubles 2009 Badminton World Championships – Women's Doubles 2005 Badminton World Championships – Men's Singles 2007 Badminton World Championships – Men's Doubles 2007 Badminton World Championships – Mixed Doubles 1979 World Badminton Championships – Men's Singles 1995 Badminton World Championships – Mixed Doubles 1999 Badminton World Championships – Women's Doubles 1997 Badminton World Championships – Women's Singles 1997 Badminton World Championships – Women's Doubles 1997 Badminton World Championships – Mixed Doubles 1997 Badminton World Championships – Men's Singles 1978 Badminton World Championships - Men's Doubles 2015 Badminton World Championships – Women's singles 2015 Badminton World Championships – Men's singles 2007 Badminton World Championships – Men's Singles 1985 Badminton World Championships – Men's Singles 2013 Badminton World Championships – Mixed doubles 1995 Badminton World Championships – Men's Doubles 1995 Badminton World Championships – Men's Singles 1993 Badminton World Championships – Men's Doubles 1993 Badminton World Championships – Mixed Doubles 1995 Badminton World Championships – Women's Doubles 1995 Badminton World Championships – Women's Singles 2014 Badminton World Championships – Women's singles 2014 Badminton World Championships – Women's doubles 2011 Badminton World Championships – Mixed Doubles 2001 Badminton World Championships – Men's Singles 2009 Badminton World Championships – Women's Singles 2010 Badminton World Championships – Mixed Doubles 2011 Badminton World Championships – Women's Doubles 2011 Badminton World Championships – Women's Singles 2011 Badminton World Championships – Men's Doubles 2011 Badminton World Championships – Men's Singles 1989 Badminton World Championships – Mixed Doubles 1978 Badminton World Championships - Mixed Doubles 1987 Badminton World Championships – Men's Doubles 1987 Badminton World Championships – Men's Singles 1987 Badminton World Championships – Mixed Doubles 2013 Badminton World Championships – Women's doubles 1989 Badminton World Championships – Men's Doubles 1977 Badminton World Championships – Mixed Doubles 1979 Badminton World Championships – Women's doubles 1979 Badminton World Championships - Men's Doubles 1978 Badminton World Championships - Women's Doubles 1993 Badminton World Championships – Men's Singles 1997 Badminton World Championships – Men's Doubles
90
[{'concept': 'common name'}, 'participant of', {'concept': 'Badminton World Championships'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:participant_of ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:Badminton_World_Championships }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q434373
P1344
Q1396170 Q2372330
USER
How many All England Badminton Championshipss and Swedish Open Badminton Championshipss did Guan Weizhen participate in ?
(Q434373,P1344,c(Q1396170)) (Q434373,P1344,c(Q2372330))
action count
action union
action filter_type
action find
entity Q434373
relation P1344
type Q1396170
action filter_type
action find
entity Q434373
relation P1344
type Q2372330
['Q434373', 'P1344', {'concept': 'Q1396170'}] ['Q434373', 'P1344', {'concept': 'Q2372330'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { ?v rdf:type ontology:Q1396170 . resource:Q434373 property:P1344 ?v } UNION { resource:Q434373 property:P1344 ?v . ?v rdf:type ontology:Q2372330 } }
Guan Weizhen
action count
action union
action filter_type
action find
entity Guan Weizhen
relation participant of
type All England Badminton Championships
action filter_type
action find
entity Guan Weizhen
relation participant of
type Swedish Open Badminton Championships
['Guan Weizhen', 'participant of', {'concept': 'All England Badminton Championships'}] ['Guan Weizhen', 'participant of', {'concept': 'Swedish Open Badminton Championships'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { ?v rdf:type ontology:All_England_Badminton_Championships . resource:Guan_Weizhen property:participant_of ?v } UNION { resource:Guan_Weizhen property:participant_of ?v . ?v rdf:type ontology:Swedish_Open_Badminton_Championships } }
[]
All England Badminton Championships Swedish Open Badminton Championships
SYSTEM
3 All England Badminton Championshipss and 1 Swedish Open Badminton Championshipss
Q27537709 Q27347815 Q27347844 Q27347824
(Q434373,P1344,c(Q1396170)) (Q434373,P1344,c(Q2372330))
action count
action union
action filter_type
action find
entity Q434373
relation P1344
type Q1396170
action filter_type
action find
entity Q434373
relation P1344
type Q2372330
[ANSWER]
['Q434373', 'P1344', {'concept': 'Q1396170'}] ['Q434373', 'P1344', {'concept': 'Q2372330'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { ?v rdf:type ontology:Q1396170 . resource:Q434373 property:P1344 ?v } UNION { resource:Q434373 property:P1344 ?v . ?v rdf:type ontology:Q2372330 } }
1988 Swedish Open Badminton Championships – Women's doubles 1985 All England Badminton Championships – Women's doubles 1992 All England Badminton Championships – Women's doubles 1987 All England Badminton Championships – Women's doubles
3 All England Badminton Championshipss and 1 Swedish Open Badminton Championshipss
action count
action union
action filter_type
action find
entity Guan Weizhen
relation participant of
type All England Badminton Championships
action filter_type
action find
entity Guan Weizhen
relation participant of
type Swedish Open Badminton Championships
['Guan Weizhen', 'participant of', {'concept': 'All England Badminton Championships'}] ['Guan Weizhen', 'participant of', {'concept': 'Swedish Open Badminton Championships'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { { ?v rdf:type ontology:All_England_Badminton_Championships . resource:Guan_Weizhen property:participant_of ?v } UNION { resource:Guan_Weizhen property:participant_of ?v . ?v rdf:type ontology:Swedish_Open_Badminton_Championships } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21842980 Q524282
P27
Q15617994
USER
Which administrative territories are Lin Ying or Patrik Rak an inhabitant of ?
OR((Q524282,P27,c(Q15617994)), (Q21842980,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q524282
relation P27
action find
entity Q21842980
relation P27
type Q15617994
{'OR': [['Q524282', 'P27', {'concept': 'Q15617994'}], ['Q21842980', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q524282 property:P27 ?c } UNION { resource:Q21842980 property:P27 ?c } } }
Patrik Rak Lin Ying
action filter_type
action union
action find
entity Lin Ying
relation country of citizenship
action find
entity Patrik Rak
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lin Ying', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Patrik Rak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Lin_Ying property:country_of_citizenship ?c } UNION { resource:Patrik_Rak property:country_of_citizenship ?c } } }
[]
designation for an administrative territorial entity
Q213 Q148
SYSTEM
Czech Republic, People's Republic of China
Q213 Q148
OR((Q524282,P27,c(Q15617994)), (Q21842980,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q524282
relation P27
action find
entity Q21842980
relation P27
type Q15617994
[ANSWERS] are Lin Ying or Patrik Rak an inhabitant of
{'OR': [['Q524282', 'P27', {'concept': 'Q15617994'}], ['Q21842980', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q524282 property:P27 ?c } UNION { resource:Q21842980 property:P27 ?c } } }
Czech Republic People's Republic of China
Czech Republic and People's Republic of China are Lin Ying or Patrik Rak an inhabitant of
Czech Republic People's Republic of China
action filter_type
action union
action find
entity Lin Ying
relation country of citizenship
action find
entity Patrik Rak
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Lin Ying', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Patrik Rak', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Lin_Ying property:country_of_citizenship ?c } UNION { resource:Patrik_Rak property:country_of_citizenship ?c } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have diplomatic relations with those administrative territories ?
(Q183,P530,Q213) (Q183,P530,Q148)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q213'] ['Q183', 'P530', 'Q148']
ASK WHERE { resource:Q183 property:P530 ?k . VALUES ( ?k ) { ( resource:Q213 ) ( resource:Q148 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Czech Republic'] ['Germany', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Germany property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Czech_Republic ) ( resource:People's_Republic_of_China ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q213) (Q183,P530,Q148)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q213'] ['Q183', 'P530', 'Q148']
ASK WHERE { resource:Q183 property:P530 ?k . VALUES ( ?k ) { ( resource:Q213 ) ( resource:Q148 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Czech Republic'] ['Germany', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Germany property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Czech_Republic ) ( resource:People's_Republic_of_China ) } }
[]