Simple Question (Direct)
Simple Question
Q10554291
P641
Q349
USER
What did Edi Buro participate in ?
(Q10554291,P641,c(Q349))
action filter_type
action find
entity Q10554291
relation P641
type Q349
['Q10554291', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q10554291 property:P641 ?m . ?m rdf:type ontology:Q349 }
Edi Buro
action filter_type
action find
entity Edi Buro
relation sport
type sport
['Edi Buro', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Edi_Buro property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q10554291,P641,c(Q349))
action filter_type
action find
entity Q10554291
relation P641
type Q349
Edi Buro participated in [ANSWER]
['Q10554291', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q10554291 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
Edi Buro participated in association football
association football
action filter_type
action find
entity Edi Buro
relation sport
type sport
['Edi Buro', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Edi_Buro property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10554291
P19
Q515
USER
Which city was that person born in ?
(Q2736,P19,c(Q515))
action filter_type
action find
entity Q10554291
relation P19
type Q515
['Q2736', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q10554291 property:P19 ?h . ?h rdf:type ontology:Q515 }
Edi Buro
action filter_type
action find
entity Edi Buro
relation place of birth
type city
['association football', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Edi_Buro property:place_of_birth ?h . ?h rdf:type ontology:city }
[]
city
Q11194
SYSTEM
Sarajevo
Q11194
(Q2736,P19,c(Q515))
action filter_type
action find
entity Q10554291
relation P19
type Q515
That person was born in [ANSWER]
['Q2736', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q10554291 property:P19 ?h . ?h rdf:type ontology:Q515 }
Sarajevo
That person was born in Sarajevo
Sarajevo
action filter_type
action find
entity Edi Buro
relation place of birth
type city
['association football', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Edi_Buro property:place_of_birth ?h . ?h rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P159
Q1269299 Q22687
USER
How many business organizations and banks have HQ at that city ?
(c(Q1269299),P159,Q11194) (c(Q22687),P159,Q11194) (c(Q1269299),P159,Q11194) (c(Q22687),P159,Q11194)
action count
action union
action filter_type
action find_reverse
entity Q11194
relation P159
type Q1269299
action filter_type
action find_reverse
entity Q11194
relation P159
type Q22687
[{'concept': 'Q1269299'}, 'P159', 'Q11194'] [{'concept': 'Q22687'}, 'P159', 'Q11194'] [{'concept': 'Q1269299'}, 'P159', 'Q11194'] [{'concept': 'Q22687'}, 'P159', 'Q11194']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { VALUES ( ?q ) { ( ontology:Q1269299 ) ( ontology:Q22687 ) } . ?p rdf:type ?q }
action count
action union
action filter_type
action find_reverse
entity Sarajevo
relation headquarters location
type type of business entity
action filter_type
action find_reverse
entity Sarajevo
relation headquarters location
type bank
[{'concept': 'type of business entity'}, 'headquarters location', 'Sarajevo'] [{'concept': 'bank'}, 'headquarters location', 'Sarajevo'] [{'concept': 'type of business entity'}, 'headquarters location', 'Sarajevo'] [{'concept': 'bank'}, 'headquarters location', 'Sarajevo']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { VALUES ( ?q ) { ( ontology:type_of_business_entity ) ( ontology:bank ) } . ?p rdf:type ?q }
[]
type of business entity bank
SYSTEM
2 business organizations and 1 banks
Q1184535 Q1341530 Q120433
(c(Q1269299),P159,Q11194) (c(Q22687),P159,Q11194) (c(Q1269299),P159,Q11194) (c(Q22687),P159,Q11194)
action count
action union
action filter_type
action find_reverse
entity Q11194
relation P159
type Q1269299
action filter_type
action find_reverse
entity Q11194
relation P159
type Q22687
[ANSWER]
[{'concept': 'Q1269299'}, 'P159', 'Q11194'] [{'concept': 'Q22687'}, 'P159', 'Q11194'] [{'concept': 'Q1269299'}, 'P159', 'Q11194'] [{'concept': 'Q22687'}, 'P159', 'Q11194']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { VALUES ( ?q ) { ( ontology:Q1269299 ) ( ontology:Q22687 ) } . ?p rdf:type ?q }
Central Bank of Bosnia and Herzegovina Energoinvest Energopetrol
2 business organizations and 1 banks
action count
action union
action filter_type
action find_reverse
entity Sarajevo
relation headquarters location
type type of business entity
action filter_type
action find_reverse
entity Sarajevo
relation headquarters location
type bank
[{'concept': 'type of business entity'}, 'headquarters location', 'Sarajevo'] [{'concept': 'bank'}, 'headquarters location', 'Sarajevo'] [{'concept': 'type of business entity'}, 'headquarters location', 'Sarajevo'] [{'concept': 'bank'}, 'headquarters location', 'Sarajevo']
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { VALUES ( ?q ) { ( ontology:type_of_business_entity ) ( ontology:bank ) } . ?p rdf:type ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q11194
P159
Q874405 Q43229
USER
How many social groups or organizations have HQ at Sarajevo ?
(c(Q874405),P159,Q11194) (c(Q43229),P159,Q11194)
action count
action union
action filter_type
action find_reverse
entity Q11194
relation P159
type Q874405
action filter_type
action find_reverse
entity Q11194
relation P159
type Q43229
[{'concept': 'Q874405'}, 'P159', 'Q11194'] [{'concept': 'Q43229'}, 'P159', 'Q11194']
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { ?w property:P159 resource:Q11194 . ?w rdf:type ontology:Q874405 } UNION { ?w property:P159 resource:Q11194 . ?w rdf:type ontology:Q43229 } }
Sarajevo
action count
action union
action filter_type
action find_reverse
entity Sarajevo
relation headquarters location
type social group
action filter_type
action find_reverse
entity Sarajevo
relation headquarters location
type organization
[{'concept': 'social group'}, 'headquarters location', 'Sarajevo'] [{'concept': 'organization'}, 'headquarters location', 'Sarajevo']
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { ?w property:headquarters_location resource:Sarajevo . ?w rdf:type ontology:social_group } UNION { ?w property:headquarters_location resource:Sarajevo . ?w rdf:type ontology:organization } }
[]
social group organization
SYSTEM
18
Q17089555 Q4993905 Q4175843 Q20722978 Q7696320 Q17097642 Q4807544 Q3048615 Q7315143 Q6717361 Q18390920 Q4835618 Q4835619 Q7353355 Q5255864 Q4947316 Q6471508 Q16841857
(c(Q874405),P159,Q11194) (c(Q43229),P159,Q11194)
action count
action union
action filter_type
action find_reverse
entity Q11194
relation P159
type Q874405
action filter_type
action find_reverse
entity Q11194
relation P159
type Q43229
[ANSWER]
[{'concept': 'Q874405'}, 'P159', 'Q11194'] [{'concept': 'Q43229'}, 'P159', 'Q11194']
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { ?w property:P159 resource:Q11194 . ?w rdf:type ontology:Q874405 } UNION { ?w property:P159 resource:Q11194 . ?w rdf:type ontology:Q43229 } }
M&H Company Sarajevo Tobacco Factory United Investment and Trading Company Association for Social Research and Communications Telemach Moja TV Asocijacija Radioamatera Bosne i Hercegovine Elektroprivreda Bosne i Hercegovine Research and Documentation Center in Sarajevo MP BHRT Zemana BH Telecom BH Pošta Robot Komerc Democratic Youth Movement Bosnalijek Sarajevska Pivara BIHAMK
18
action count
action union
action filter_type
action find_reverse
entity Sarajevo
relation headquarters location
type social group
action filter_type
action find_reverse
entity Sarajevo
relation headquarters location
type organization
[{'concept': 'social group'}, 'headquarters location', 'Sarajevo'] [{'concept': 'organization'}, 'headquarters location', 'Sarajevo']
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { ?w property:headquarters_location resource:Sarajevo . ?w rdf:type ontology:social_group } UNION { ?w property:headquarters_location resource:Sarajevo . ?w rdf:type ontology:organization } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q695456
P190
Q515 Q1048835
USER
Which political territories are sister town of more number of cities than Bailén ?
(c(Q1048835),P190,c(Q515))
action greater
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q695456
relation P190
type Q515
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?n ) WHERE { ?b rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q515 . ?b property:P190 ?s } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q695456 property:P190 ?x . ?x rdf:type ontology:Q515 } } . FILTER ( ?n > ?v ) }
Bailén
action greater
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Bailén
relation sister city
type city
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?n ) WHERE { ?b rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:city . ?b property:sister_city ?s } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Bailén property:sister_city ?x . ?x rdf:type ontology:city } } . FILTER ( ?n > ?v ) }
[]
city political territorial entity
Q436491 Q16572 Q5826
SYSTEM
Altea, Guangzhou, Xi'an
Q926713 Q433632 Q842713 Q30002 Q168376 Q164867 Q11746 Q4970 Q193780 Q478818 Q180981 Q15174 Q489839 Q840373 Q170322 Q42956 Q189848 Q436491 Q1917834 Q572800 Q170247 Q615722 Q696797 Q488555 Q92161 Q5978 Q825883 Q11720 Q12534 Q353618 Q42780 Q16572 Q5783 Q77433 Q318314 Q74881 Q5826 Q240 Q192387 Q201149 Q68744 Q714613 Q47593
(c(Q1048835),P190,c(Q515))
action greater
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q695456
relation P190
type Q515
[ANSWERS] are sister town of more number of cities than Bailén
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?n ) WHERE { ?b rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q515 . ?b property:P190 ?s } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q695456 property:P190 ?x . ?x rdf:type ontology:Q515 } } . FILTER ( ?n > ?v ) }
Parintins Santa Cruz de La Palma Itajaí Chengdu Vitória Rügen Wuhan Hangzhou Almuñécar São José dos Pinhais Kirovohrad Oblast Shenzhen Torrejón de Ardoz Valdemoro Qingdao Harbin Guernica Altea Albaida Alcañiz Jinan Santa Fe Balaguer Baeza Changchun Hildesheim Valls Shenyang Sant Pol de Mar Adeje Ningbo Guangzhou Andalusia Leganés Ipatinga Dalian Xi'an Brussels Londrina Fife Xiamen Serne Belém
Altea, Guangzhou and Xi'an are sister town of more number of cities than Bailén
Altea Guangzhou Xi'an
action greater
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Bailén
relation sister city
type city
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?s ) AS ?n ) WHERE { ?b rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:city . ?b property:sister_city ?s } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Bailén property:sister_city ?x . ?x rdf:type ontology:city } } . FILTER ( ?n > ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q12034
P190
Q515 Q1048835
USER
And also tell me about Alella?
(c(Q1048835),P190,c(Q515))
action greater
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q12034
relation P190
type Q1048835
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?b ) WHERE { ?g property:P190 ?y . ?g rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q515 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { ?t rdf:type ontology:Q1048835 . resource:Q12034 property:P190 ?t } } . FILTER ( ?b > ?u ) }
Alella
action greater
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Alella
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?b ) WHERE { ?g property:sister_city ?y . ?g rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:city } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { ?t rdf:type ontology:political_territorial_entity . resource:Alella property:sister_city ?t } } . FILTER ( ?b > ?u ) }
[]
city political territorial entity
Q436491 Q16572 Q5826
SYSTEM
Altea, Guangzhou, Xi'an
Q926713 Q433632 Q842713 Q30002 Q168376 Q164867 Q11746 Q4970 Q193780 Q478818 Q180981 Q15174 Q489839 Q840373 Q170322 Q42956 Q189848 Q436491 Q1917834 Q572800 Q170247 Q615722 Q696797 Q488555 Q92161 Q5978 Q825883 Q11720 Q12534 Q353618 Q42780 Q16572 Q5783 Q77433 Q318314 Q74881 Q5826 Q240 Q192387 Q201149 Q68744 Q714613 Q47593
(c(Q1048835),P190,c(Q515))
action greater
action find_tuple_counts
relation P190
type Q1048835
type Q515
action count
action filter_type
action find
entity Q12034
relation P190
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?b ) WHERE { ?g property:P190 ?y . ?g rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q515 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { ?t rdf:type ontology:Q1048835 . resource:Q12034 property:P190 ?t } } . FILTER ( ?b > ?u ) }
Parintins Santa Cruz de La Palma Itajaí Chengdu Vitória Rügen Wuhan Hangzhou Almuñécar São José dos Pinhais Kirovohrad Oblast Shenzhen Torrejón de Ardoz Valdemoro Qingdao Harbin Guernica Altea Albaida Alcañiz Jinan Santa Fe Balaguer Baeza Changchun Hildesheim Valls Shenyang Sant Pol de Mar Adeje Ningbo Guangzhou Andalusia Leganés Ipatinga Dalian Xi'an Brussels Londrina Fife Xiamen Serne Belém
Altea Guangzhou Xi'an
action greater
action find_tuple_counts
relation sister city
type political territorial entity
type city
action count
action filter_type
action find
entity Alella
relation sister city
type political territorial entity
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?y ) AS ?b ) WHERE { ?g property:sister_city ?y . ?g rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:city } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { ?t rdf:type ontology:political_territorial_entity . resource:Alella property:sister_city ?t } } . FILTER ( ?b > ?u ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16572
P17
Q15617994
USER
Which administrative territory is that political territory a part of ?
(Q16572,P17,c(Q15617994))
action filter_type
action find
entity Q16572
relation P17
type Q15617994
['Q16572', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16572 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Guangzhou
action filter_type
action find
entity Guangzhou
relation country
type designation for an administrative territorial entity
['Guangzhou', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Guangzhou property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q5826
SYSTEM
Did you mean Xi'an ?
Q436491 Q16572 Q5826
(Q436491,P17,c(Q15617994)) (Q16572,P17,c(Q15617994)) (Q5826,P17,c(Q15617994))
[ANSWER]
['Q436491', 'P17', {'concept': 'Q15617994'}] ['Q16572', 'P17', {'concept': 'Q15617994'}] ['Q5826', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16572 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
Altea Guangzhou Xi'an
Did you mean Xi'an ?
Xi'an
['Altea', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Guangzhou', 'country', {'concept': 'designation for an administrative territorial entity'}] ["Xi'an", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Guangzhou property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Guangzhou. Could you tell me the answer for that?
(Q16572,P17,c(Q15617994))
Q16572
['Q16572', 'P17', {'concept': 'Q15617994'}]
['Guangzhou', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q148
SYSTEM
People's Republic of China
Q148
(Q16572,P17,c(Q15617994))
action filter_type
action find
entity Q16572
relation P17
type Q15617994
[ANSWER] is that political territory a part of
['Q16572', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q16572 property:P17 ?n . ?n rdf:type ontology:Q15617994 }
People's Republic of China
People's Republic of China is that political territory a part of
People's Republic of China
action filter_type
action find
entity Guangzhou
relation country
type designation for an administrative territorial entity
['Guangzhou', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Guangzhou property:country ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16572
P190
Q56061
USER
How many administrative territories are partner towns of Guangzhou ?
(Q16572,P190,c(Q56061))
action count
action filter_type
action find
entity Q16572
relation P190
type Q56061
['Q16572', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q16572 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Guangzhou
action count
action filter_type
action find
entity Guangzhou
relation sister city
type administrative territorial entity
['Guangzhou', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Guangzhou property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
13
Q1861 Q3130 Q199609 Q184345 Q37100 Q406 Q24639 Q216 Q5468 Q3519 Q159273 Q65 Q1085
(Q16572,P190,c(Q56061))
action count
action filter_type
action find
entity Q16572
relation P190
type Q56061
[ANSWER]
['Q16572', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q16572 property:P190 ?b . ?b rdf:type ontology:Q56061 }
Bangkok Sydney Ōita Viña del Mar Auckland Istanbul Vancouver Vilnius Durban Bari Arequipa Los Angeles Prague
13
action count
action filter_type
action find
entity Guangzhou
relation sister city
type administrative territorial entity
['Guangzhou', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Guangzhou property:sister_city ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q994925
P17
Q15617994
USER
Which administrative territory does Corby belong to ?
(Q994925,P17,c(Q15617994))
action filter_type
action find
entity Q994925
relation P17
type Q15617994
['Q994925', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q994925 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Corby
action filter_type
action find
entity Corby
relation country
type designation for an administrative territorial entity
['Corby', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Corby property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q994925,P17,c(Q15617994))
action filter_type
action find
entity Q994925
relation P17
type Q15617994
Corby belongs to [ANSWER]
['Q994925', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q994925 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
United Kingdom
Corby belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Corby
relation country
type designation for an administrative territorial entity
['Corby', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Corby property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q148
P361
Q102786
USER
What is People's Republic of China a portion of ?
(Q148,P361,c(Q102786))
action filter_type
action find
entity Q148
relation P361
type Q102786
['Q148', 'P361', {'concept': 'Q102786'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q102786 . resource:Q148 property:P361 ?f }
People's Republic of China
action filter_type
action find
entity People's Republic of China
relation part of
type abbreviation
["People's Republic of China", 'part of', {'concept': 'abbreviation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:abbreviation . resource:People's_Republic_of_China property:part_of ?f }
[]
abbreviation
Q833202
SYSTEM
BRIC
Q833202
(Q148,P361,c(Q102786))
action filter_type
action find
entity Q148
relation P361
type Q102786
People's Republic of China a portion of is in [ANSWER]
['Q148', 'P361', {'concept': 'Q102786'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q102786 . resource:Q148 property:P361 ?f }
BRIC
People's Republic of China a portion of is in BRIC
BRIC
action filter_type
action find
entity People's Republic of China
relation part of
type abbreviation
["People's Republic of China", 'part of', {'concept': 'abbreviation'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:abbreviation . resource:People's_Republic_of_China property:part_of ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16572
P6
Q502895
USER
Which person is the head of government of Guangzhou ?
(Q16572,P6,c(Q502895))
action filter_type
action find
entity Q16572
relation P6
type Q502895
['Q16572', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q16572 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Guangzhou
action filter_type
action find
entity Guangzhou
relation head of government
type common name
['Guangzhou', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Guangzhou property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
Q4984503
SYSTEM
Chen Jianhua
Q4984503
(Q16572,P6,c(Q502895))
action filter_type
action find
entity Q16572
relation P6
type Q502895
[ANSWER] is the head of government of Guangzhou
['Q16572', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q16572 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Chen Jianhua
Chen Jianhua is the head of government of Guangzhou
Chen Jianhua
action filter_type
action find
entity Guangzhou
relation head of government
type common name
['Guangzhou', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Guangzhou property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4984503
P734
Q82799
USER
Who is associated with that person ?
(Q4984503,P734,c(Q82799))
action filter_type
action find
entity Q4984503
relation P734
type Q82799
['Q4984503', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q4984503 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Chen Jianhua
action filter_type
action find
entity Chen Jianhua
relation family name
type name
['Chen Jianhua', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Chen_Jianhua property:family_name ?a . ?a rdf:type ontology:name }
[]
name
Q804988
SYSTEM
Chen
Q804988
(Q4984503,P734,c(Q82799))
action filter_type
action find
entity Q4984503
relation P734
type Q82799
[ANSWER] is associated with that person
['Q4984503', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q4984503 property:P734 ?a . ?a rdf:type ontology:Q82799 }
Chen
Chen is associated with that person
Chen
action filter_type
action find
entity Chen Jianhua
relation family name
type name
['Chen Jianhua', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Chen_Jianhua property:family_name ?a . ?a rdf:type ontology:name }
[]