Simple Question (Direct)
Simple Question
Q60626
P19
Q15617994
USER
Which administrative territory was Mohamed Camara born at ?
(Q60626,P19,c(Q15617994))
action filter_type
action find
entity Q60626
relation P19
type Q15617994
['Q60626', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q60626 property:P19 ?t }
Mohamed Camara
action filter_type
action find
entity Mohamed Camara
relation place of birth
type designation for an administrative territorial entity
['Mohamed Camara', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mohamed_Camara property:place_of_birth ?t }
[]
designation for an administrative territorial entity
Q1006
SYSTEM
Guinea
Q1006
(Q60626,P19,c(Q15617994))
action filter_type
action find
entity Q60626
relation P19
type Q15617994
Mohamed Camara was born in [ANSWER]
['Q60626', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q60626 property:P19 ?t }
Guinea
Mohamed Camara was born in Guinea
Guinea
action filter_type
action find
entity Mohamed Camara
relation place of birth
type designation for an administrative territorial entity
['Mohamed Camara', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Mohamed_Camara property:place_of_birth ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1006
P47
Q15617994
USER
Which administrative territories are next to the border of that one ?
(c(Q15617994),P47,Q1006)
action filter_type
action find
entity Q1006
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q1006']
SELECT DISTINCT ?w WHERE { resource:Q1006 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Guinea
action filter_type
action find
entity Guinea
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Guinea']
SELECT DISTINCT ?w WHERE { resource:Guinea property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q912 Q1041 Q1008
SYSTEM
Mali, Senegal, Côte d'Ivoire
Q1007 Q1014 Q1008 Q1044 Q1041 Q912
(c(Q15617994),P47,Q1006)
action filter_type
action find
entity Q1006
relation P47
type Q15617994
[ANSWERS] are next to the border of that one
[{'concept': 'Q15617994'}, 'P47', 'Q1006']
SELECT DISTINCT ?w WHERE { resource:Q1006 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Guinea-Bissau Liberia Côte d'Ivoire Sierra Leone Senegal Mali
Mali, Senegal and Côte d'Ivoire are next to the border of that one
Mali Senegal Côte d'Ivoire
action filter_type
action find
entity Guinea
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Guinea']
SELECT DISTINCT ?w WHERE { resource:Guinea property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1006
P1001
Q1292279
USER
Which political borders have control over the jurisdiction of Guinea ?
(c(Q1292279),P1001,Q1006)
action filter_type
action find_reverse
entity Q1006
relation P1001
type Q1292279
[{'concept': 'Q1292279'}, 'P1001', 'Q1006']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1292279 . ?f property:P1001 resource:Q1006 }
Guinea
action filter_type
action find_reverse
entity Guinea
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Guinea']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_border . ?f property:applies_to_jurisdiction resource:Guinea }
[]
political border
Q3088888 Q682804 Q3088930
SYSTEM
Côte d'Ivoire–Guinea border, Guinea–Guinea-Bissau border, Guinea–Mali border
Q3088888 Q682804 Q3088930 Q3088932 Q3088927 Q3088929
(c(Q1292279),P1001,Q1006)
action filter_type
action find_reverse
entity Q1006
relation P1001
type Q1292279
[ANSWERS] have control over the jurisdiction of Guinea
[{'concept': 'Q1292279'}, 'P1001', 'Q1006']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1292279 . ?f property:P1001 resource:Q1006 }
Côte d'Ivoire–Guinea border Guinea–Guinea-Bissau border Guinea–Mali border Guinea–Senegal border Guinea–Sierra Leone border Guinea–Liberia border
Côte d'Ivoire–Guinea border, Guinea–Guinea-Bissau border and Guinea–Mali border have control over the jurisdiction of Guinea
Côte d'Ivoire–Guinea border Guinea–Guinea-Bissau border Guinea–Mali border
action filter_type
action find_reverse
entity Guinea
relation applies to jurisdiction
type political border
[{'concept': 'political border'}, 'applies to jurisdiction', 'Guinea']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_border . ?f property:applies_to_jurisdiction resource:Guinea }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3088930
P17
Q15617994
USER
Which administrative territories are that political border present in ?
(Q3088930,P17,c(Q15617994))
action filter_type
action find
entity Q3088930
relation P17
type Q15617994
['Q3088930', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q3088930 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Guinea–Mali border
action filter_type
action find
entity Guinea–Mali border
relation country
type designation for an administrative territorial entity
['Guinea–Mali border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Guinea–Mali_border property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q3088888
SYSTEM
Did you mean Côte d'Ivoire–Guinea border ?
Q3088888 Q682804 Q3088930
(Q3088888,P17,c(Q15617994)) (Q682804,P17,c(Q15617994)) (Q3088930,P17,c(Q15617994))
[ANSWER]
['Q3088888', 'P17', {'concept': 'Q15617994'}] ['Q682804', 'P17', {'concept': 'Q15617994'}] ['Q3088930', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q3088930 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Côte d'Ivoire–Guinea border Guinea–Guinea-Bissau border Guinea–Mali border
Did you mean Côte d'Ivoire–Guinea border ?
Côte d'Ivoire–Guinea border
["Côte d'Ivoire–Guinea border", 'country', {'concept': 'designation for an administrative territorial entity'}] ['Guinea–Guinea-Bissau border', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Guinea–Mali border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Guinea–Mali_border property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Guinea–Mali border. Could you tell me the answer for that?
(Q3088930,P17,c(Q15617994))
Q3088930
['Q3088930', 'P17', {'concept': 'Q15617994'}]
['Guinea–Mali border', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q912 Q1006
SYSTEM
Mali, Guinea
Q912 Q1006
(Q3088930,P17,c(Q15617994))
action filter_type
action find
entity Q3088930
relation P17
type Q15617994
That political border are between [ANSWERS]
['Q3088930', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q3088930 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Mali Guinea
That political border are between Mali and Guinea
Mali Guinea
action filter_type
action find
entity Guinea–Mali border
relation country
type designation for an administrative territorial entity
['Guinea–Mali border', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Guinea–Mali_border property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q115
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with greater number of administrative territories than Ethiopia ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q115
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { ?j property:P530 ?d . ?j rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?a > ?b ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q115 property:P530 ?z } } }
Ethiopia
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ethiopia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { ?j property:diplomatic_relation ?d . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?a > ?b ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ethiopia property:diplomatic_relation ?z } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
109
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q115
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { ?j property:P530 ?d . ?j rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?a > ?b ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { ?z rdf:type ontology:Q15617994 . resource:Q115 property:P530 ?z } } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand Zambia
109
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ethiopia
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { ?j property:diplomatic_relation ?d . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?a > ?b ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?b ) WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ethiopia property:diplomatic_relation ?z } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1008
P6
Q502895
USER
Which person is Côte d'Ivoire the head of goverment of ?
(Q1008,P6,c(Q502895))
action filter_type
action find
entity Q1008
relation P6
type Q502895
['Q1008', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1008 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Côte d'Ivoire
action filter_type
action find
entity Côte d'Ivoire
relation head of government
type common name
["Côte d'Ivoire", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Côte_d'Ivoire property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
common name
Q58154
SYSTEM
Daniel Kablan Duncan
Q58154
(Q1008,P6,c(Q502895))
action filter_type
action find
entity Q1008
relation P6
type Q502895
[ANSWER] is Côte d'Ivoire the head of goverment of
['Q1008', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1008 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Daniel Kablan Duncan
Daniel Kablan Duncan is Côte d'Ivoire the head of goverment of
Daniel Kablan Duncan
action filter_type
action find
entity Côte d'Ivoire
relation head of government
type common name
["Côte d'Ivoire", 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Côte_d'Ivoire property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q764806
Q502895
USER
And also tell me about Rovinari?
(Q764806,P6,c(Q502895))
action filter_type
action find
entity Q764806
relation P6
type Q502895
['Q764806', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q764806 property:P6 ?g }
Rovinari
action filter_type
action find
entity Rovinari
relation head of government
type common name
['Rovinari', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Rovinari property:head_of_government ?g }
[]
common name
Q23931415 Q26934778
SYSTEM
Dorin Filip, Robert Dorin Filip
Q23931415 Q26934778
(Q764806,P6,c(Q502895))
action filter_type
action find
entity Q764806
relation P6
type Q502895
[ANSWERS]
['Q764806', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . resource:Q764806 property:P6 ?g }
Dorin Filip Robert Dorin Filip
Dorin Filip Robert Dorin Filip
action filter_type
action find
entity Rovinari
relation head of government
type common name
['Rovinari', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . resource:Rovinari property:head_of_government ?g }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q213461
P1303
Q34379 Q502895
USER
Which musical instruments can approximately the same number of people perform with as harmonium ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q213461
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Q213461 property:P1303 ?z . ?z rdf:type ontology:Q34379 } } . FILTER ( ?e = ?r ) }
harmonium
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harmonium
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:harmonium property:instrument ?z . ?z rdf:type ontology:musical_instrument } } . FILTER ( ?e = ?r ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q213461
relation P1303
type Q34379
[ANSWERS] can approximately the same number of people perform with as harmonium
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:Q213461 property:P1303 ?z . ?z rdf:type ontology:Q34379 } } . FILTER ( ?e = ?r ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano can approximately the same number of people perform with as harmonium
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity harmonium
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?o ) AS ?e ) WHERE { ?o property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { resource:harmonium property:instrument ?z . ?z rdf:type ontology:musical_instrument } } . FILTER ( ?e = ?r ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q81982
P425
Q12737077
USER
What has that musical instrument as the associated field of occupation ?
(Q81982,P425,c(Q12737077))
action filter_type
action find
entity Q81982
relation P425
type Q12737077
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q81982 property:P425 ?p . ?p rdf:type ontology:Q12737077 }
harpsichord
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:harpsichord property:field_of_this_occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q81982
SYSTEM
Did you mean harpsichord ?
Q1178361 Q81982 Q1759986
(Q1178361,P425,c(Q12737077)) (Q81982,P425,c(Q12737077)) (Q1759986,P425,c(Q12737077))
[ANSWER]
['Q1178361', 'P425', {'concept': 'Q12737077'}] ['Q81982', 'P425', {'concept': 'Q12737077'}] ['Q1759986', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q81982 property:P425 ?p . ?p rdf:type ontology:Q12737077 }
davul harpsichord Wurlitzer electric piano
Did you mean harpsichord ?
harpsichord
['davul', 'field of this occupation', {'concept': 'occupation'}] ['harpsichord', 'field of this occupation', {'concept': 'occupation'}] ['Wurlitzer electric piano', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:harpsichord property:field_of_this_occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(Q81982,P425,c(Q12737077))
['Q81982', 'P425', {'concept': 'Q12737077'}]
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
[]
Q5371902
SYSTEM
harpsichordist
Q5371902
(Q81982,P425,c(Q12737077))
action filter_type
action find
entity Q81982
relation P425
type Q12737077
Of [ANSWER] has that musical instrument as the associated field of occupation
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q81982 property:P425 ?p . ?p rdf:type ontology:Q12737077 }
harpsichordist
Of harpsichordist has that musical instrument as the associated field of occupation
harpsichordist
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:harpsichord property:field_of_this_occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23931415
P102
Q7210356
USER
Which party does Dorin Filip belong to ?
(Q23931415,P102,c(Q7210356))
action filter_type
action find
entity Q23931415
relation P102
type Q7210356
['Q23931415', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q23931415 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Dorin Filip
action filter_type
action find
entity Dorin Filip
relation member of political party
type political organization
['Dorin Filip', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Dorin_Filip property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]
political organization
Q797760
SYSTEM
Social Liberal Union
Q797760
(Q23931415,P102,c(Q7210356))
action filter_type
action find
entity Q23931415
relation P102
type Q7210356
Dorin Filip belongs to [ANSWER]
['Q23931415', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?h WHERE { resource:Q23931415 property:P102 ?h . ?h rdf:type ontology:Q7210356 }
Social Liberal Union
Dorin Filip belongs to Social Liberal Union
Social Liberal Union
action filter_type
action find
entity Dorin Filip
relation member of political party
type political organization
['Dorin Filip', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?h WHERE { resource:Dorin_Filip property:member_of_political_party ?h . ?h rdf:type ontology:political_organization }
[]