Simple Question (Direct)
Simple Question
Q266826
P47
Q20667921
USER
Which french administrative divisions have a shared border with Saint-Palais ?
(Q266826,P47,c(Q20667921))
action filter_type
action find
entity Q266826
relation P47
type Q20667921
['Q266826', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q266826 property:P47 ?i . ?i rdf:type ontology:Q20667921 }
Saint-Palais
action filter_type
action find
entity Saint-Palais
relation shares border with
type type of french administrative division
['Saint-Palais', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Saint-Palais property:shares_border_with ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q540903 Q197262 Q839824
SYSTEM
Beyrie-sur-Joyeuse, Uhart-Mixe, Amendeuix-Oneix
Q197353 Q197262 Q197325 Q188658 Q540903 Q839824 Q843433
(Q266826,P47,c(Q20667921))
action filter_type
action find
entity Q266826
relation P47
type Q20667921
[ANSWERS] have a shared border with Saint-Palais
['Q266826', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?i WHERE { resource:Q266826 property:P47 ?i . ?i rdf:type ontology:Q20667921 }
Orsanco Uhart-Mixe Béhasque-Lapiste Aïcirits-Camou-Suhast Beyrie-sur-Joyeuse Amendeuix-Oneix Larribar-Sorhapuru
Beyrie-sur-Joyeuse, Uhart-Mixe and Amendeuix-Oneix have a shared border with Saint-Palais
Beyrie-sur-Joyeuse Uhart-Mixe Amendeuix-Oneix
action filter_type
action find
entity Saint-Palais
relation shares border with
type type of french administrative division
['Saint-Palais', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?i WHERE { resource:Saint-Palais property:shares_border_with ?i . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q540903 Q197262 Q839824
P17
Q15617994
USER
Which administrative territories are those french administrative divisions situated in ?
(Q540903,P17,c(Q15617994)) (Q197262,P17,c(Q15617994)) (Q839824,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q540903', 'P17', {'concept': 'Q15617994'}] ['Q197262', 'P17', {'concept': 'Q15617994'}] ['Q839824', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . ?o property:P17 ?y . VALUES ( ?o ) { ( resource:Q197353 ) ( resource:Q197262 ) ( resource:Q197325 ) } }
Beyrie-sur-Joyeuse Uhart-Mixe Amendeuix-Oneix
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Beyrie-sur-Joyeuse', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Uhart-Mixe', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Amendeuix-Oneix', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:country ?y . VALUES ( ?o ) { ( resource:Orsanco ) ( resource:Uhart-Mixe ) ( resource:Béhasque-Lapiste ) } }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q540903,P17,c(Q15617994)) (Q197262,P17,c(Q15617994)) (Q839824,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those french administrative divisions are situated in [ANSWER], [ANSWER] and [ANSWER]
['Q540903', 'P17', {'concept': 'Q15617994'}] ['Q197262', 'P17', {'concept': 'Q15617994'}] ['Q839824', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . ?o property:P17 ?y . VALUES ( ?o ) { ( resource:Q197353 ) ( resource:Q197262 ) ( resource:Q197325 ) } }
France France France
Those french administrative divisions are situated in France, France and France
France France France
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Beyrie-sur-Joyeuse', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Uhart-Mixe', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Amendeuix-Oneix', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:country ?y . VALUES ( ?o ) { ( resource:Orsanco ) ( resource:Uhart-Mixe ) ( resource:Béhasque-Lapiste ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q266826
P1376
Q20667921
USER
Which french administrative division has Saint-Palais as its county seat ?
(Q266826,P1376,c(Q20667921))
action filter_type
action find
entity Q266826
relation P1376
type Q20667921
['Q266826', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q266826 property:P1376 ?x . ?x rdf:type ontology:Q20667921 }
Saint-Palais
action filter_type
action find
entity Saint-Palais
relation capital of
type type of french administrative division
['Saint-Palais', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Saint-Palais property:capital_of ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1342681
SYSTEM
canton of Saint-Palais
Q1342681
(Q266826,P1376,c(Q20667921))
action filter_type
action find
entity Q266826
relation P1376
type Q20667921
The [ANSWER] has Saint-Palais as its county seat
['Q266826', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { resource:Q266826 property:P1376 ?x . ?x rdf:type ontology:Q20667921 }
canton of Saint-Palais
The canton of Saint-Palais has Saint-Palais as its county seat
canton of Saint-Palais
action filter_type
action find
entity Saint-Palais
relation capital of
type type of french administrative division
['Saint-Palais', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { resource:Saint-Palais property:capital_of ?x . ?x rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q393197
P1376
Q20667921 Q486972
USER
Which human settlements are the capital of greater number of french administrative divisions than Żukowice, Lower Silesian Voivodeship ?
(c(Q486972),P1376,c(Q20667921))
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
action count
action filter_type
action find
entity Q393197
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?i ) WHERE { ?k property:P1376 ?w . ?k rdf:type ontology:Q486972 . ?w rdf:type ontology:Q20667921 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q393197 property:P1376 ?m . ?m rdf:type ontology:Q486972 } } . FILTER ( ?i > ?y ) }
Żukowice, Lower Silesian Voivodeship
action greater
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
action count
action filter_type
action find
entity Żukowice, Lower Silesian Voivodeship
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?i ) WHERE { ?k property:capital_of ?w . ?k rdf:type ontology:human_settlement . ?w rdf:type ontology:type_of_french_administrative_division } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Żukowice,_Lower_Silesian_Voivodeship property:capital_of ?m . ?m rdf:type ontology:human_settlement } } . FILTER ( ?i > ?y ) }
[]
type of french administrative division human settlement
Q150039 Q323593 Q30940
SYSTEM
Neuf-Brisach, Vitry-en-Artois, Albert
Q150039 Q323593 Q30940
(c(Q486972),P1376,c(Q20667921))
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
action count
action filter_type
action find
entity Q393197
relation P1376
type Q486972
[ANSWERS] are the capital of greater number of french administrative divisions than Żukowice, Lower Silesian Voivodeship
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?i ) WHERE { ?k property:P1376 ?w . ?k rdf:type ontology:Q486972 . ?w rdf:type ontology:Q20667921 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q393197 property:P1376 ?m . ?m rdf:type ontology:Q486972 } } . FILTER ( ?i > ?y ) }
Neuf-Brisach Vitry-en-Artois Albert
Neuf-Brisach, Vitry-en-Artois and Albert are the capital of greater number of french administrative divisions than Żukowice, Lower Silesian Voivodeship
Neuf-Brisach Vitry-en-Artois Albert
action greater
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
action count
action filter_type
action find
entity Żukowice, Lower Silesian Voivodeship
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?w ) AS ?i ) WHERE { ?k property:capital_of ?w . ?k rdf:type ontology:human_settlement . ?w rdf:type ontology:type_of_french_administrative_division } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Żukowice,_Lower_Silesian_Voivodeship property:capital_of ?m . ?m rdf:type ontology:human_settlement } } . FILTER ( ?i > ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2817215
P1376
Q20667921 Q486972
USER
And what about Medvedovskaya?
(c(Q486972),P1376,c(Q20667921))
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
action count
action filter_type
action find
entity Q2817215
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?i ) WHERE { ?o property:P1376 ?f . ?o rdf:type ontology:Q486972 . ?f rdf:type ontology:Q20667921 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Q2817215 property:P1376 ?h . ?h rdf:type ontology:Q486972 } } . FILTER ( ?i > ?b ) }
Medvedovskaya
action greater
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
action count
action filter_type
action find
entity Medvedovskaya
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?i ) WHERE { ?o property:capital_of ?f . ?o rdf:type ontology:human_settlement . ?f rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Medvedovskaya property:capital_of ?h . ?h rdf:type ontology:human_settlement } } . FILTER ( ?i > ?b ) }
[]
type of french administrative division human settlement
Q150039 Q323593 Q30940
SYSTEM
Neuf-Brisach, Vitry-en-Artois, Albert
Q150039 Q323593 Q30940
(c(Q486972),P1376,c(Q20667921))
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q20667921
action count
action filter_type
action find
entity Q2817215
relation P1376
type Q486972
[ANSWERS]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?i ) WHERE { ?o property:P1376 ?f . ?o rdf:type ontology:Q486972 . ?f rdf:type ontology:Q20667921 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Q2817215 property:P1376 ?h . ?h rdf:type ontology:Q486972 } } . FILTER ( ?i > ?b ) }
Neuf-Brisach Vitry-en-Artois Albert
Neuf-Brisach Vitry-en-Artois Albert
action greater
action find_tuple_counts
relation capital of
type human settlement
type type of french administrative division
action count
action filter_type
action find
entity Medvedovskaya
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?i ) WHERE { ?o property:capital_of ?f . ?o rdf:type ontology:human_settlement . ?f rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Medvedovskaya property:capital_of ?h . ?h rdf:type ontology:human_settlement } } . FILTER ( ?i > ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q1267889 Q20667921
USER
How many french administrative divisions are located nearby around 1 bodies of water and waterways ?
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?e WHERE { { ?e rdf:type ontology:Q20667921 . ?m rdf:type ontology:Q15324 . ?e property:P206 ?m } UNION { ?e property:P206 ?m . ?e rdf:type ontology:Q20667921 . ?m rdf:type ontology:Q1267889 } } GROUP BY ?e } }
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?e WHERE { { ?e rdf:type ontology:type_of_french_administrative_division . ?m rdf:type ontology:body_of_water . ?e property:located_next_to_body_of_water ?m } UNION { ?e property:located_next_to_body_of_water ?m . ?e rdf:type ontology:type_of_french_administrative_division . ?m rdf:type ontology:waterway } } GROUP BY ?e } }
[]
body of water waterway type of french administrative division
SYSTEM
21
Q224023 Q665411 Q842027 Q877744 Q71356 Q160199 Q380224 Q683550 Q453263 Q1066836 Q391365 Q769160 Q1031980 Q513962 Q382048 Q323399 Q70491 Q231180 Q191765 Q1164176 Q20892
(c(Q20667921),P206,c(Q15324)|c(Q1267889))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q1267889
value 1
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?e WHERE { { ?e rdf:type ontology:Q20667921 . ?m rdf:type ontology:Q15324 . ?e property:P206 ?m } UNION { ?e property:P206 ?m . ?e rdf:type ontology:Q20667921 . ?m rdf:type ontology:Q1267889 } } GROUP BY ?e } }
Penvénan Leffrinckoucke Rogliano Le Portel Île-aux-Moines Cherbourg-Octeville Marck Urville-Nacqueville Pleumeur-Bodou Grand-Fort-Philippe Bray-Dunes Grande-Synthe Escalles Oye-Plage Tardinghen Gravelines Larmor-Baden Zuydcoote Anglet Saint-Léonard Le Mont-Saint-Michel
21
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type waterway
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { FILTER ( ?s = 1 ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) ?e WHERE { { ?e rdf:type ontology:type_of_french_administrative_division . ?m rdf:type ontology:body_of_water . ?e property:located_next_to_body_of_water ?m } UNION { ?e property:located_next_to_body_of_water ?m . ?e rdf:type ontology:type_of_french_administrative_division . ?m rdf:type ontology:waterway } } GROUP BY ?e } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P159
Q486972 Q43229 Q895526
USER
How many human settlements are the headquarters of around 43 organizations and authority organs located ?
(c(Q43229)|c(Q895526),P159,c(Q486972))
action count
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q43229
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
value 43
[[{'concept': 'Q43229'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?k WHERE { { ?f property:P159 ?k . ?k rdf:type ontology:Q486972 . ?f rdf:type ontology:Q43229 } UNION { ?k rdf:type ontology:Q486972 . ?f rdf:type ontology:Q895526 . ?f property:P159 ?k } } GROUP BY ?k } . FILTER ( ?n = 43 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type organization
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
value 43
[[{'concept': 'organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?k WHERE { { ?f property:headquarters_location ?k . ?k rdf:type ontology:human_settlement . ?f rdf:type ontology:organization } UNION { ?k rdf:type ontology:human_settlement . ?f rdf:type ontology:authority_organ . ?f property:headquarters_location ?k } } GROUP BY ?k } . FILTER ( ?n = 43 ) }
[]
human settlement organization authority organ
SYSTEM
3
Q214051 Q1375280 Q190088
(c(Q43229)|c(Q895526),P159,c(Q486972))
action count
action approx
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q43229
action find_reverse_tuple_counts
relation P159
type Q486972
type Q895526
value 43
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q895526'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?k WHERE { { ?f property:P159 ?k . ?k rdf:type ontology:Q486972 . ?f rdf:type ontology:Q43229 } UNION { ?k rdf:type ontology:Q486972 . ?f rdf:type ontology:Q895526 . ?f property:P159 ?k } } GROUP BY ?k } . FILTER ( ?n = 43 ) }
Chiyoda-ku Reston Minato
3
action count
action approx
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type organization
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type authority organ
value 43
[[{'concept': 'organization'}, {'concept': 'authority organ'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?k WHERE { { ?f property:headquarters_location ?k . ?k rdf:type ontology:human_settlement . ?f rdf:type ontology:organization } UNION { ?k rdf:type ontology:human_settlement . ?f rdf:type ontology:authority_organ . ?f property:headquarters_location ?k } } GROUP BY ?k } . FILTER ( ?n = 43 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q43407 Q30940
P19
Q502895
USER
Which people were born at Albert or Shandong ?
OR((c(Q502895),P19,Q30940), (c(Q502895),P19,Q43407))
action filter_type
action union
action find_reverse
entity Q30940
relation P19
action find_reverse
entity Q43407
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q30940'], [{'concept': 'Q502895'}, 'P19', 'Q43407']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . { ?i property:P19 ?w . VALUES ( ?w ) { ( resource:Q43407 ) ( resource:Q30940 ) } } }
Shandong Albert
action filter_type
action union
action find_reverse
entity Albert
relation place of birth
action find_reverse
entity Shandong
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Albert'], [{'concept': 'common name'}, 'place of birth', 'Shandong']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . { ?i property:place_of_birth ?w . VALUES ( ?w ) { ( resource:Shandong ) ( resource:Albert ) } } }
[]
common name
Q9370904 Q842394 Q3089746 Q9028218 Q292698 Q26966412 Q2594644 Q15987717 Q434245 Q1756123
SYSTEM
Some of them are Wang Xiangdang, Jing Zhiyuan, Frédéric Dehaëne, Ren Zhiqiang, Empress Dowager Bian, Tsai-Yu Hsiao, Wu Hongbo, Wang Bo, Wang Xiuting, Xu Jing
Q3172454 Q16011512 Q3089746 Q16026564 Q2594644 Q3124333 Q15068163 Q705248 Q3501722 Q1670856 Q290785 Q26844874 Q378564 Q7038612 Q311205 Q7638198 Q275133 Q4515536 Q4731755 Q2935543 Q3260558 Q3164943 Q6653525 Q3122204 Q4018111 Q700554 Q4460334 Q37151 Q464470 Q7967612 Q983848 Q18637013 Q1756123 Q1021166 Q707211 Q15987699 Q6918837 Q23881830 Q842394 Q733568 Q710377 Q7561037 Q2854102 Q26966412 Q176894 Q2853438 Q702680 Q9370904 Q6191514 Q699131 Q433853 Q1013023 Q11099071 Q9028218 Q3436043 Q7312306 Q3570653 Q5506857 Q453408 Q16539540 Q7561051 Q8038892 Q292698 Q7967706 Q1138806 Q9390857 Q7967375 Q390521 Q390523 Q2277086 Q434245 Q16028527 Q15987717 Q8298581 Q544432 Q8045144 Q1059497 Q91414 Q740332
OR((c(Q502895),P19,Q30940), (c(Q502895),P19,Q43407))
action filter_type
action union
action find_reverse
entity Q30940
relation P19
action find_reverse
entity Q43407
relation P19
type Q502895
[ANSWERS] were born at Albert or Shandong
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q30940'], [{'concept': 'Q502895'}, 'P19', 'Q43407']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . { ?i property:P19 ?w . VALUES ( ?w ) { ( resource:Q43407 ) ( resource:Q30940 ) } } }
Jean Louis Geneviève Guyon Christophe Moyon Frédéric Dehaëne Alfred Toulet Wu Hongbo Gérard Tonnel Li Fen Luo Gan Stéphane Demilly Olivier Charlier Sui Xinmei Jia Hongguang Wang Xizhi Ning Gaoning Chen Guangcheng Sun Beibei Li Yu Zheng Fengrong Allen Lee Campocasso Louis-Ghislain de Bouteville du Metz Jean-Claude Dessein Liu Hailong Guy Viarre Wang Jingyao Sun Chuanfang Laurence Thompson Sun Tzu Li Qingzhao Wang Sheng Chi Haotian Eugénie Marie Salanson Xu Jing Murong Xuecun Kara Hui Chen Zhonghua Mou Tun-fei Du Wenxiang Jing Zhiyuan Shi Pei Pu Liu Bolin Song Qing Antoine Joseph Lemarchant de Gomicourt Tsai-Yu Hsiao Cheng Chemin Antoine-Athanase Roux de Laborie Sun Yun-suan Wang Xiangdang Jiang Gaoming Xiong Xianghui Ren Ruiping Shan-tao Du Bin Ren Zhiqiang Ma Sen Ren Jiyu Xavier Depraz Fu Sinian Jiang Huajun Deng Zhiwei Song Tao Wu Chunmiao Empress Dowager Bian Wang Xueqin Meng Xuenong Zhang Yongqiang Wang Canfa Gong Xiaobin Gong Luming Shao Ning Wang Xiuting Philippe Haudiquet Wang Bo Hardoc Kang Sheng Xu Yang Yang Chuantang Hellmut Wilhelm Liang Kai
Wang Xiangdang, Jing Zhiyuan, Frédéric Dehaëne, Ren Zhiqiang, Empress Dowager Bian, Tsai-Yu Hsiao, Wu Hongbo, Wang Bo, Wang Xiuting and Xu Jing were born at Albert or Shandong
Wang Xiangdang Jing Zhiyuan Frédéric Dehaëne Ren Zhiqiang Empress Dowager Bian Tsai-Yu Hsiao Wu Hongbo Wang Bo Wang Xiuting Xu Jing
action filter_type
action union
action find_reverse
entity Albert
relation place of birth
action find_reverse
entity Shandong
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Albert'], [{'concept': 'common name'}, 'place of birth', 'Shandong']]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . { ?i property:place_of_birth ?w . VALUES ( ?w ) { ( resource:Shandong ) ( resource:Albert ) } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q43407
P19
Q502895
USER
How many people were born at Shandong ?
(c(Q502895),P19,Q43407)
action count
action filter_type
action find_reverse
entity Q43407
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q43407']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P19 resource:Q43407 . ?r rdf:type ontology:Q502895 }
Shandong
action count
action filter_type
action find_reverse
entity Shandong
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Shandong']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:place_of_birth resource:Shandong . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
62
Q292698 Q1021166 Q311205 Q7312306 Q7967375 Q983848 Q453408 Q464470 Q699131 Q7038612 Q433853 Q2594644 Q6918837 Q15068163 Q7638198 Q91414 Q11099071 Q9390857 Q6653525 Q842394 Q26966412 Q700554 Q707211 Q434245 Q176894 Q7967612 Q390521 Q390523 Q378564 Q7561051 Q9370904 Q544432 Q7561037 Q3436043 Q2277086 Q4515536 Q16539540 Q4018111 Q1059497 Q710377 Q1756123 Q8045144 Q733568 Q26844874 Q4460334 Q7967706 Q290785 Q37151 Q4731755 Q1138806 Q8038892 Q702680 Q740332 Q6191514 Q5506857 Q15987699 Q275133 Q9028218 Q23881830 Q705248 Q15987717 Q1013023
(c(Q502895),P19,Q43407)
action count
action filter_type
action find_reverse
entity Q43407
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q43407']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:P19 resource:Q43407 . ?r rdf:type ontology:Q502895 }
Empress Dowager Bian Murong Xuecun Chen Guangcheng Ren Jiyu Wang Canfa Chi Haotian Jiang Huajun Li Qingzhao Xiong Xianghui Ning Gaoning Ren Ruiping Wu Hongbo Mou Tun-fei Li Fen Sun Beibei Hellmut Wilhelm Du Bin Zhang Yongqiang Liu Hailong Jing Zhiyuan Tsai-Yu Hsiao Sun Chuanfang Kara Hui Wang Xiuting Cheng Chemin Wang Sheng Gong Xiaobin Gong Luming Wang Xizhi Song Tao Wang Xiangdang Kang Sheng Song Qing Ma Sen Shao Ning Zheng Fengrong Deng Zhiwei Wang Jingyao Yang Chuantang Liu Bolin Xu Jing Xu Yang Shi Pei Pu Jia Hongguang Laurence Thompson Wang Xueqin Sui Xinmei Sun Tzu Allen Lee Meng Xuenong Wu Chunmiao Sun Yun-suan Liang Kai Jiang Gaoming Fu Sinian Chen Zhonghua Li Yu Ren Zhiqiang Du Wenxiang Luo Gan Wang Bo Shan-tao
62
action count
action filter_type
action find_reverse
entity Shandong
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Shandong']
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { ?r property:place_of_birth resource:Shandong . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3089746
P641
Q349
USER
Which sport was Frédéric Dehaëne a part of ?
(Q3089746,P641,c(Q349))
action filter_type
action find
entity Q3089746
relation P641
type Q349
['Q3089746', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q3089746 property:P641 ?s . ?s rdf:type ontology:Q349 }
Frédéric Dehaëne
action filter_type
action find
entity Frédéric Dehaëne
relation sport
type sport
['Frédéric Dehaëne', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Frédéric_Dehaëne property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q3089746,P641,c(Q349))
action filter_type
action find
entity Q3089746
relation P641
type Q349
The [ANSWER] was Frédéric Dehaëne a part of
['Q3089746', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q3089746 property:P641 ?s . ?s rdf:type ontology:Q349 }
ice hockey
The ice hockey was Frédéric Dehaëne a part of
ice hockey
action filter_type
action find
entity Frédéric Dehaëne
relation sport
type sport
['Frédéric Dehaëne', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Frédéric_Dehaëne property:sport ?s . ?s rdf:type ontology:sport }
[]