Simple Question (Direct)
Simple Question
Q2574111
P20
Q56061
USER
Where did Wilhelm Marx die ?
(Q2574111,P20,c(Q56061))
action filter_type
action find
entity Q2574111
relation P20
type Q56061
['Q2574111', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q2574111 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Wilhelm Marx
action filter_type
action find
entity Wilhelm Marx
relation place of death
type administrative territorial entity
['Wilhelm Marx', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Wilhelm_Marx property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1718
SYSTEM
Düsseldorf
Q1718
(Q2574111,P20,c(Q56061))
action filter_type
action find
entity Q2574111
relation P20
type Q56061
Wilhelm Marx died in [ANSWER]
['Q2574111', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q2574111 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Düsseldorf
Wilhelm Marx died in Düsseldorf
Düsseldorf
action filter_type
action find
entity Wilhelm Marx
relation place of death
type administrative territorial entity
['Wilhelm Marx', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Wilhelm_Marx property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2574111
P21
Q290
USER
Which sex does Wilhelm Marx have ?
(Q2574111,P21,c(Q290))
action filter_type
action find
entity Q2574111
relation P21
type Q290
['Q2574111', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q2574111 property:P21 ?c }
Wilhelm Marx
action filter_type
action find
entity Wilhelm Marx
relation gender
type sex
['Wilhelm Marx', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Wilhelm_Marx property:gender ?c }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2574111,P21,c(Q290))
action filter_type
action find
entity Q2574111
relation P21
type Q290
Wilhelm Marx has a [ANSWER]
['Q2574111', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q290 . resource:Q2574111 property:P21 ?c }
male
Wilhelm Marx has a male
male
action filter_type
action find
entity Wilhelm Marx
relation gender
type sex
['Wilhelm Marx', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sex . resource:Wilhelm_Marx property:gender ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2574111
P39
Q12737077
USER
Which occupations were the positions for which Wilhelm Marx were appointed ?
(Q2574111,P39,c(Q12737077))
action filter_type
action find
entity Q2574111
relation P39
type Q12737077
['Q2574111', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q2574111 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
Wilhelm Marx
action filter_type
action find
entity Wilhelm Marx
relation position held
type occupation
['Wilhelm Marx', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Wilhelm_Marx property:position_held ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q30185 Q18627576
SYSTEM
mayor, Member of the Prussian House of Lords
Q30185 Q18627576
(Q2574111,P39,c(Q12737077))
action filter_type
action find
entity Q2574111
relation P39
type Q12737077
The [ANSWERS] were the positions for which Wilhelm Marx were appointed
['Q2574111', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q2574111 property:P39 ?w . ?w rdf:type ontology:Q12737077 }
mayor Member of the Prussian House of Lords
The mayor and Member of the Prussian House of Lords were the positions for which Wilhelm Marx were appointed
mayor Member of the Prussian House of Lords
action filter_type
action find
entity Wilhelm Marx
relation position held
type occupation
['Wilhelm Marx', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Wilhelm_Marx property:position_held ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2574111
P19
Q56061
USER
Which administrative territory is the birthplace of Wilhelm Marx ?
(Q2574111,P19,c(Q56061))
action filter_type
action find
entity Q2574111
relation P19
type Q56061
['Q2574111', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q2574111 property:P19 ?u }
Wilhelm Marx
action filter_type
action find
entity Wilhelm Marx
relation place of birth
type administrative territorial entity
['Wilhelm Marx', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Wilhelm_Marx property:place_of_birth ?u }
[]
administrative territorial entity
Q15709805
SYSTEM
Oelinghoven
Q15709805
(Q2574111,P19,c(Q56061))
action filter_type
action find
entity Q2574111
relation P19
type Q56061
Of [ANSWER] is the birthplace of Wilhelm Marx
['Q2574111', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . resource:Q2574111 property:P19 ?u }
Oelinghoven
Of Oelinghoven is the birthplace of Wilhelm Marx
Oelinghoven
action filter_type
action find
entity Wilhelm Marx
relation place of birth
type administrative territorial entity
['Wilhelm Marx', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Wilhelm_Marx property:place_of_birth ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q15709805 Q183
P17
Q1048835
USER
Is Oelinghoven present in Germany ?
(Q15709805,P17,Q183)
action is_in
entity Q183
action find
entity Q15709805
relation P17
['Q15709805', 'P17', 'Q183']
ASK WHERE { resource:Q15709805 property:P17 resource:Q183 }
Oelinghoven Germany
action is_in
entity Germany
action find
entity Oelinghoven
relation country
['Oelinghoven', 'country', 'Germany']
ASK WHERE { resource:Oelinghoven property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q15709805,P17,Q183)
action is_in
entity Q183
action find
entity Q15709805
relation P17
[ANSWER]
['Q15709805', 'P17', 'Q183']
ASK WHERE { resource:Q15709805 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Oelinghoven
relation country
['Oelinghoven', 'country', 'Germany']
ASK WHERE { resource:Oelinghoven property:country resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30185
P361
Q15617994
USER
What is mayor a component of ?
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q30185 property:P361 ?l . ?l rdf:type ontology:Q15617994 }
mayor
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:mayor property:part_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q15284
SYSTEM
municipality
Q15284
(Q30185,P361,c(Q15617994))
action filter_type
action find
entity Q30185
relation P361
type Q15617994
Mayor is a component of [ANSWER]
['Q30185', 'P361', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q30185 property:P361 ?l . ?l rdf:type ontology:Q15617994 }
municipality
Mayor is a component of municipality
municipality
action filter_type
action find
entity mayor
relation part of
type designation for an administrative territorial entity
['mayor', 'part of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:mayor property:part_of ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15284
P127
Q483110
USER
Which stadium belongs to that administrative territory ?
(c(Q483110),P127,Q15284)
action filter_type
action find_reverse
entity Q15284
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q15284']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q483110 . ?b property:P127 resource:Q15284 }
municipality
action filter_type
action find_reverse
entity municipality
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'municipality']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:stadium . ?b property:owned_by resource:municipality }
[]
stadium
Q1086620
SYSTEM
Stadio Nereo Rocco
Q1086620
(c(Q483110),P127,Q15284)
action filter_type
action find_reverse
entity Q15284
relation P127
type Q483110
[ANSWER] belongs to that administrative territory
[{'concept': 'Q483110'}, 'P127', 'Q15284']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q483110 . ?b property:P127 resource:Q15284 }
Stadio Nereo Rocco
Stadio Nereo Rocco belongs to that administrative territory
Stadio Nereo Rocco
action filter_type
action find_reverse
entity municipality
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'municipality']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:stadium . ?b property:owned_by resource:municipality }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15284
P1313
Q12737077
USER
Which occupations serve as the political office that are fulfilled by the head of the government of that administrative territory ?
(Q1086620,P1313,c(Q12737077))
action filter_type
action find
entity Q15284
relation P1313
type Q12737077
['Q1086620', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15284 property:P1313 ?d . ?d rdf:type ontology:Q12737077 }
municipality
action filter_type
action find
entity municipality
relation office held by head of government
type occupation
['Stadio Nereo Rocco', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:municipality property:office_held_by_head_of_government ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q30185 Q496728
SYSTEM
mayor, municipal manager
Q30185 Q496728
(Q1086620,P1313,c(Q12737077))
action filter_type
action find
entity Q15284
relation P1313
type Q12737077
The [ANSWERS] serve as the political office that are fulfilled by the head of the government of that administrative territory
['Q1086620', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q15284 property:P1313 ?d . ?d rdf:type ontology:Q12737077 }
mayor municipal manager
The mayor and municipal manager serve as the political office that are fulfilled by the head of the government of that administrative territory
mayor municipal manager
action filter_type
action find
entity municipality
relation office held by head of government
type occupation
['Stadio Nereo Rocco', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:municipality property:office_held_by_head_of_government ?d . ?d rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q496728
P106
Q502895
USER
Which person has the profession of that occupation ?
(c(Q502895),P106,Q496728)
action filter_type
action find_reverse
entity Q496728
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q496728']
SELECT DISTINCT ?r WHERE { ?r property:P106 resource:Q496728 . ?r rdf:type ontology:Q502895 }
municipal manager
action filter_type
action find_reverse
entity municipal manager
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'municipal manager']
SELECT DISTINCT ?r WHERE { ?r property:occupation resource:municipal_manager . ?r rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q30185
SYSTEM
Did you mean mayor ?
Q30185 Q496728
(c(Q502895),P106,Q30185) (c(Q502895),P106,Q496728)
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q30185'] [{'concept': 'Q502895'}, 'P106', 'Q496728']
SELECT DISTINCT ?r WHERE { ?r property:P106 resource:Q496728 . ?r rdf:type ontology:Q502895 }
mayor municipal manager
Did you mean mayor ?
mayor
[{'concept': 'common name'}, 'occupation', 'mayor'] [{'concept': 'common name'}, 'occupation', 'municipal manager']
SELECT DISTINCT ?r WHERE { ?r property:occupation resource:municipal_manager . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant municipal manager. Could you tell me the answer for that?
(c(Q502895),P106,Q496728)
Q496728
[{'concept': 'Q502895'}, 'P106', 'Q496728']
[{'concept': 'common name'}, 'occupation', 'municipal manager']
[]
Q11865505
SYSTEM
Jaakko Lovén
Q11865505
(c(Q502895),P106,Q496728)
action filter_type
action find_reverse
entity Q496728
relation P106
type Q502895
[ANSWER] has the profession of that occupation
[{'concept': 'Q502895'}, 'P106', 'Q496728']
SELECT DISTINCT ?r WHERE { ?r property:P106 resource:Q496728 . ?r rdf:type ontology:Q502895 }
Jaakko Lovén
Jaakko Lovén has the profession of that occupation
Jaakko Lovén
action filter_type
action find_reverse
entity municipal manager
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'municipal manager']
SELECT DISTINCT ?r WHERE { ?r property:occupation resource:municipal_manager . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q496728
P1001
Q15617994
USER
How many administrative territories belong to jurisdiction of municipal manager ?
(Q496728,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q496728
relation P1001
type Q15617994
['Q496728', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q496728 property:P1001 ?k }
municipal manager
action count
action filter_type
action find
entity municipal manager
relation applies to jurisdiction
type designation for an administrative territorial entity
['municipal manager', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:municipal_manager property:applies_to_jurisdiction ?k }
[]
designation for an administrative territorial entity
SYSTEM
1
Q33
(Q496728,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q496728
relation P1001
type Q15617994
[ANSWER]
['Q496728', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q496728 property:P1001 ?k }
Finland
1
action count
action filter_type
action find
entity municipal manager
relation applies to jurisdiction
type designation for an administrative territorial entity
['municipal manager', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:municipal_manager property:applies_to_jurisdiction ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q43175
P1001
Q15617994
USER
And what about Flag of Japan?
(Q43175,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q43175
relation P1001
type Q15617994
['Q43175', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q43175 property:P1001 ?k }
Flag of Japan
action count
action filter_type
action find
entity Flag of Japan
relation applies to jurisdiction
type designation for an administrative territorial entity
['Flag of Japan', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Flag_of_Japan property:applies_to_jurisdiction ?k }
[]
designation for an administrative territorial entity
SYSTEM
1
Q17
(Q43175,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q43175
relation P1001
type Q15617994
[ANSWER]
['Q43175', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q43175 property:P1001 ?k }
Japan
1
action count
action filter_type
action find
entity Flag of Japan
relation applies to jurisdiction
type designation for an administrative territorial entity
['Flag of Japan', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Flag_of_Japan property:applies_to_jurisdiction ?k }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q167584
Q15617994
USER
And how about Flag of Moldova?
(Q167584,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q167584
relation P1001
type Q15617994
['Q167584', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q167584 property:P1001 ?j . ?j rdf:type ontology:Q15617994 }
Flag of Moldova
action count
action filter_type
action find
entity Flag of Moldova
relation applies to jurisdiction
type designation for an administrative territorial entity
['Flag of Moldova', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Flag_of_Moldova property:applies_to_jurisdiction ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q167584,P1001,c(Q15617994))
action count
action filter_type
action find
entity Q167584
relation P1001
type Q15617994
[ANSWER]
['Q167584', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Q167584 property:P1001 ?j . ?j rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Flag of Moldova
relation applies to jurisdiction
type designation for an administrative territorial entity
['Flag of Moldova', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { resource:Flag_of_Moldova property:applies_to_jurisdiction ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 909 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 909
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?g ) WHERE { ?x rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 . ?w property:P1303 ?x } GROUP BY ?x } . FILTER ( ?g <= 909 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 909
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?g ) WHERE { ?x rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name . ?w property:instrument ?x } GROUP BY ?x } . FILTER ( ?g <= 909 ) }
[]
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 atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 909
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?g ) WHERE { ?x rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 . ?w property:P1303 ?x } GROUP BY ?x } . FILTER ( ?g <= 909 ) }
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
Which musical instruments can atmost 909 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 909
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?g ) WHERE { ?x rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name . ?w property:instrument ?x } GROUP BY ?x } . FILTER ( ?g <= 909 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1178361
P495
Q15617994
USER
Where did that musical instrument originate ?
(Q1178361,P495,c(Q15617994))
action filter_type
action find
entity Q1178361
relation P495
type Q15617994
['Q1178361', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1178361 property:P495 ?l . ?l rdf:type ontology:Q15617994 }
davul
action filter_type
action find
entity davul
relation country of origin
type designation for an administrative territorial entity
['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:davul property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1759986
SYSTEM
Did you mean Wurlitzer electric piano ?
Q1178361 Q81982 Q1759986
(Q1178361,P495,c(Q15617994)) (Q81982,P495,c(Q15617994)) (Q1759986,P495,c(Q15617994))
[ANSWER]
['Q1178361', 'P495', {'concept': 'Q15617994'}] ['Q81982', 'P495', {'concept': 'Q15617994'}] ['Q1759986', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1178361 property:P495 ?l . ?l rdf:type ontology:Q15617994 }
davul harpsichord Wurlitzer electric piano
Did you mean Wurlitzer electric piano ?
Wurlitzer electric piano
['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['harpsichord', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Wurlitzer electric piano', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:davul property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant davul. Could you tell me the answer for that?
(Q1178361,P495,c(Q15617994))
Q1178361
['Q1178361', 'P495', {'concept': 'Q15617994'}]
['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q43
SYSTEM
Turkey
Q43
(Q1178361,P495,c(Q15617994))
action filter_type
action find
entity Q1178361
relation P495
type Q15617994
That musical instrument originated from [ANSWER]
['Q1178361', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q1178361 property:P495 ?l . ?l rdf:type ontology:Q15617994 }
Turkey
That musical instrument originated from Turkey
Turkey
action filter_type
action find
entity davul
relation country of origin
type designation for an administrative territorial entity
['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:davul property:country_of_origin ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]