Simple Question (Direct)
Simple Question
Q1470126
P102
Q7278
USER
Which political party is Wilhelm Naegel a member of ?
(Q1470126,P102,c(Q7278))
action filter_type
action find
entity Q1470126
relation P102
type Q7278
['Q1470126', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?j WHERE { resource:Q1470126 property:P102 ?j . ?j rdf:type ontology:Q7278 }
Wilhelm Naegel
action filter_type
action find
entity Wilhelm Naegel
relation member of political party
type political party
['Wilhelm Naegel', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?j WHERE { resource:Wilhelm_Naegel property:member_of_political_party ?j . ?j rdf:type ontology:political_party }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q1470126,P102,c(Q7278))
action filter_type
action find
entity Q1470126
relation P102
type Q7278
[ANSWER]
['Q1470126', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?j WHERE { resource:Q1470126 property:P102 ?j . ?j rdf:type ontology:Q7278 }
Christian Democratic Union
Christian Democratic Union
action filter_type
action find
entity Wilhelm Naegel
relation member of political party
type political party
['Wilhelm Naegel', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?j WHERE { resource:Wilhelm_Naegel property:member_of_political_party ?j . ?j rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1470126
P20
Q56061
USER
Where did the demise of Wilhelm Naegel occur ?
(Q1470126,P20,c(Q56061))
action filter_type
action find
entity Q1470126
relation P20
type Q56061
['Q1470126', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1470126 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Wilhelm Naegel
action filter_type
action find
entity Wilhelm Naegel
relation place of death
type administrative territorial entity
['Wilhelm Naegel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Wilhelm_Naegel property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1715
SYSTEM
Hanover
Q1715
(Q1470126,P20,c(Q56061))
action filter_type
action find
entity Q1470126
relation P20
type Q56061
[ANSWER]
['Q1470126', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1470126 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Hanover
Hanover
action filter_type
action find
entity Wilhelm Naegel
relation place of death
type administrative territorial entity
['Wilhelm Naegel', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Wilhelm_Naegel property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1715
P6
Q502895
USER
Which person has that administrative territory as its head of government ?
(Q1715,P6,c(Q502895))
action filter_type
action find
entity Q1715
relation P6
type Q502895
['Q1715', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q1715 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Hanover
action filter_type
action find
entity Hanover
relation head of government
type common name
['Hanover', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Hanover property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
common name
Q2337592
SYSTEM
Stefan Schostok
Q2337592
(Q1715,P6,c(Q502895))
action filter_type
action find
entity Q1715
relation P6
type Q502895
[ANSWER]
['Q1715', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q1715 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Stefan Schostok
Stefan Schostok
action filter_type
action find
entity Hanover
relation head of government
type common name
['Hanover', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Hanover property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5066856
Q502895
USER
And what about Ciupercenii Noi?
(Q5066856,P6,c(Q502895))
action filter_type
action find
entity Q5066856
relation P6
type Q502895
['Q5066856', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q5066856 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Ciupercenii Noi
action filter_type
action find
entity Ciupercenii Noi
relation head of government
type common name
['Ciupercenii Noi', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Ciupercenii_Noi property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
common name
Q24205523
SYSTEM
Gheorghe Mungiu
Q24205523
(Q5066856,P6,c(Q502895))
action filter_type
action find
entity Q5066856
relation P6
type Q502895
[ANSWER]
['Q5066856', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q5066856 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Gheorghe Mungiu
Gheorghe Mungiu
action filter_type
action find
entity Ciupercenii Noi
relation head of government
type common name
['Ciupercenii Noi', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Ciupercenii_Noi property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5066856
P1376
Q56061
USER
Which administrative territory is the capital of Ciupercenii Noi ?
(c(Q56061),P1376,Q5066856)
action filter_type
action find_reverse
entity Q5066856
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q5066856']
SELECT DISTINCT ?k WHERE { ?k property:P1376 resource:Q5066856 . ?k rdf:type ontology:Q56061 }
Ciupercenii Noi
action filter_type
action find_reverse
entity Ciupercenii Noi
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Ciupercenii Noi']
SELECT DISTINCT ?k WHERE { ?k property:capital_of resource:Ciupercenii_Noi . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2468466
SYSTEM
Ciupercenii Noi
Q2468466
(c(Q56061),P1376,Q5066856)
action filter_type
action find_reverse
entity Q5066856
relation P1376
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q5066856']
SELECT DISTINCT ?k WHERE { ?k property:P1376 resource:Q5066856 . ?k rdf:type ontology:Q56061 }
Ciupercenii Noi
Ciupercenii Noi
action filter_type
action find_reverse
entity Ciupercenii Noi
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Ciupercenii Noi']
SELECT DISTINCT ?k WHERE { ?k property:capital_of resource:Ciupercenii_Noi . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1715
P840
Q838948
USER
Which work of art has its narrative set in Hanover ?
(c(Q838948),P840,Q1715)
action filter_type
action find_reverse
entity Q1715
relation P840
type Q838948
[{'concept': 'Q838948'}, 'P840', 'Q1715']
SELECT DISTINCT ?s WHERE { ?s property:P840 resource:Q1715 . ?s rdf:type ontology:Q838948 }
Hanover
action filter_type
action find_reverse
entity Hanover
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Hanover']
SELECT DISTINCT ?s WHERE { ?s property:narrative_location resource:Hanover . ?s rdf:type ontology:work_of_art }
[]
work of art
Q1372318
SYSTEM
Yella
Q1372318
(c(Q838948),P840,Q1715)
action filter_type
action find_reverse
entity Q1715
relation P840
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P840', 'Q1715']
SELECT DISTINCT ?s WHERE { ?s property:P840 resource:Q1715 . ?s rdf:type ontology:Q838948 }
Yella
Yella
action filter_type
action find_reverse
entity Hanover
relation narrative location
type work of art
[{'concept': 'work of art'}, 'narrative location', 'Hanover']
SELECT DISTINCT ?s WHERE { ?s property:narrative_location resource:Hanover . ?s rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1372318
P344
Q502895
USER
Which person serves as the director of photography for that work of art ?
(Q1372318,P344,c(Q502895))
action filter_type
action find
entity Q1372318
relation P344
type Q502895
['Q1372318', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1372318 property:P344 ?u . ?u rdf:type ontology:Q502895 }
Yella
action filter_type
action find
entity Yella
relation director of photography
type common name
['Yella', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Yella property:director_of_photography ?u . ?u rdf:type ontology:common_name }
[]
common name
Q1579624
SYSTEM
Hans Fromm
Q1579624
(Q1372318,P344,c(Q502895))
action filter_type
action find
entity Q1372318
relation P344
type Q502895
[ANSWER]
['Q1372318', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1372318 property:P344 ?u . ?u rdf:type ontology:Q502895 }
Hans Fromm
Hans Fromm
action filter_type
action find
entity Yella
relation director of photography
type common name
['Yella', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Yella property:director_of_photography ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1372318
P58
Q502895
USER
Who wrote the script for Yella ?
(Q1372318,P58,c(Q502895))
action filter_type
action find
entity Q1372318
relation P58
type Q502895
['Q1372318', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1372318 property:P58 ?t . ?t rdf:type ontology:Q502895 }
Yella
action filter_type
action find
entity Yella
relation screenwriter
type common name
['Yella', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Yella property:screenwriter ?t . ?t rdf:type ontology:common_name }
[]
common name
Q67268
SYSTEM
Christian Petzold
Q67268
(Q1372318,P58,c(Q502895))
action filter_type
action find
entity Q1372318
relation P58
type Q502895
[ANSWER]
['Q1372318', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1372318 property:P58 ?t . ?t rdf:type ontology:Q502895 }
Christian Petzold
Christian Petzold
action filter_type
action find
entity Yella
relation screenwriter
type common name
['Yella', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Yella property:screenwriter ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19310467
Q502895
USER
And also tell me about The Freezer?
(Q19310467,P58,c(Q502895))
action filter_type
action find
entity Q19310467
relation P58
type Q502895
['Q19310467', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q19310467 property:P58 ?l . ?l rdf:type ontology:Q502895 }
The Freezer
action filter_type
action find
entity The Freezer
relation screenwriter
type common name
['The Freezer', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:The_Freezer property:screenwriter ?l . ?l rdf:type ontology:common_name }
[]
common name
Q19310221 Q19310514 Q354181
SYSTEM
Eilif Skodvin, Tomas Solli, Steven Van Zandt
Q19310221 Q19310514 Q354181
(Q19310467,P58,c(Q502895))
action filter_type
action find
entity Q19310467
relation P58
type Q502895
[ANSWERS]
['Q19310467', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q19310467 property:P58 ?l . ?l rdf:type ontology:Q502895 }
Eilif Skodvin Tomas Solli Steven Van Zandt
Eilif Skodvin Tomas Solli Steven Van Zandt
action filter_type
action find
entity The Freezer
relation screenwriter
type common name
['The Freezer', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:The_Freezer property:screenwriter ?l . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1142
Q1047113 Q7257 Q7278
USER
How many political parties have the ideology as around 2 special fields and ideologies ?
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
value 2
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?l WHERE { { ?l property:P1142 ?g . ?l rdf:type ontology:Q7278 . ?g rdf:type ontology:Q1047113 } UNION { ?l rdf:type ontology:Q7278 . ?g rdf:type ontology:Q7257 . ?l property:P1142 ?g } } GROUP BY ?l } . FILTER ( ?f = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation political ideology
type political party
type special field
action find_tuple_counts
relation political ideology
type political party
type ideology
value 2
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?l WHERE { { ?l property:political_ideology ?g . ?l rdf:type ontology:political_party . ?g rdf:type ontology:special_field } UNION { ?l rdf:type ontology:political_party . ?g rdf:type ontology:ideology . ?l property:political_ideology ?g } } GROUP BY ?l } . FILTER ( ?f = 2 ) }
[]
special field ideology political party
SYSTEM
10
Q1129443 Q49768 Q49762 Q192821 Q49766 Q25713876 Q613786 Q5398117 Q1393123 Q18511333
(c(Q7278),P1142,c(Q1047113)|c(Q7257))
action count
action approx
action union
action find_tuple_counts
relation P1142
type Q7278
type Q1047113
action find_tuple_counts
relation P1142
type Q7278
type Q7257
value 2
[ANSWER]
[{'concept': 'Q7278'}, 'P1142', [{'concept': 'Q1047113'}, {'concept': 'Q7257'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?l WHERE { { ?l property:P1142 ?g . ?l rdf:type ontology:Q7278 . ?g rdf:type ontology:Q1047113 } UNION { ?l rdf:type ontology:Q7278 . ?g rdf:type ontology:Q7257 . ?l property:P1142 ?g } } GROUP BY ?l } . FILTER ( ?f = 2 ) }
Democratic Convergence of Catalonia Social Democratic Party of Germany Christian Democratic Union French Communist Party Alliance '90/The Greens Catalan European Democratic Party Europe Ecology – The Greens Canarian Nationalist Alternative Ciudadanos VZDOR - strana práce
10
action count
action approx
action union
action find_tuple_counts
relation political ideology
type political party
type special field
action find_tuple_counts
relation political ideology
type political party
type ideology
value 2
[{'concept': 'political party'}, 'political ideology', [{'concept': 'special field'}, {'concept': 'ideology'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) ?l WHERE { { ?l property:political_ideology ?g . ?l rdf:type ontology:political_party . ?g rdf:type ontology:special_field } UNION { ?l rdf:type ontology:political_party . ?g rdf:type ontology:ideology . ?l property:political_ideology ?g } } GROUP BY ?l } . FILTER ( ?f = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q309144
P47
Q1048835 Q20667921
USER
How many political territories and french administrative divisions are adjacent to Accous ?
(Q309144,P47,c(Q1048835)) (Q309144,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q309144
relation P47
type Q1048835
action filter_type
action find
entity Q309144
relation P47
type Q20667921
['Q309144', 'P47', {'concept': 'Q1048835'}] ['Q309144', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q20667921 ) } . ?b rdf:type ?j }
Accous
action count
action union
action filter_type
action find
entity Accous
relation shares border with
type political territorial entity
action filter_type
action find
entity Accous
relation shares border with
type type of french administrative division
['Accous', 'shares border with', {'concept': 'political territorial entity'}] ['Accous', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?b rdf:type ?j }
[]
political territorial entity type of french administrative division
SYSTEM
1 political territories and 7 french administrative divisions
Q840474 Q856737 Q857227 Q188595 Q374876 Q570484 Q179737 Q637867
(Q309144,P47,c(Q1048835)) (Q309144,P47,c(Q20667921))
action count
action union
action filter_type
action find
entity Q309144
relation P47
type Q1048835
action filter_type
action find
entity Q309144
relation P47
type Q20667921
[ANSWER]
['Q309144', 'P47', {'concept': 'Q1048835'}] ['Q309144', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q20667921 ) } . ?b rdf:type ?j }
Borce Aydius Lées-Athas Bedous Laruns Ansó Lescun Cette-Eygun
1 political territories and 7 french administrative divisions
action count
action union
action filter_type
action find
entity Accous
relation shares border with
type political territorial entity
action filter_type
action find
entity Accous
relation shares border with
type type of french administrative division
['Accous', 'shares border with', {'concept': 'political territorial entity'}] ['Accous', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?d ) WHERE { VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:type_of_french_administrative_division ) } . ?b rdf:type ?j }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q173453
P1303
Q34379 Q502895
USER
Which musical instruments do approximately the same number of people know to play as wind instrument ?
(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 Q173453
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?h ) WHERE { ?q rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 . ?n property:P1303 ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c rdf:type ontology:Q34379 . resource:Q173453 property:P1303 ?c } } . FILTER ( ?h = ?g ) }
wind instrument
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity wind instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?h ) WHERE { ?q rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name . ?n property:instrument ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c rdf:type ontology:musical_instrument . resource:wind_instrument property:instrument ?c } } . FILTER ( ?h = ?g ) }
[]
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 Q173453
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?h ) WHERE { ?q rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 . ?n property:P1303 ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c rdf:type ontology:Q34379 . resource:Q173453 property:P1303 ?c } } . FILTER ( ?h = ?g ) }
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 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 wind instrument
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?h ) WHERE { ?q rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name . ?n property:instrument ?q } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?g ) WHERE { ?c rdf:type ontology:musical_instrument . resource:wind_instrument property:instrument ?c } } . FILTER ( ?h = ?g ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1759986
P17
Q15617994
USER
Which administrative territory is that musical instrument situated in ?
(Q1759986,P17,c(Q15617994))
action filter_type
action find
entity Q1759986
relation P17
type Q15617994
['Q1759986', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1759986 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Wurlitzer electric piano
action filter_type
action find
entity Wurlitzer electric piano
relation country
type designation for an administrative territorial entity
['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Wurlitzer_electric_piano property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q81982
SYSTEM
Did you mean harpsichord ?
Q1178361 Q81982 Q1759986
(Q1178361,P17,c(Q15617994)) (Q81982,P17,c(Q15617994)) (Q1759986,P17,c(Q15617994))
[ANSWER]
['Q1178361', 'P17', {'concept': 'Q15617994'}] ['Q81982', 'P17', {'concept': 'Q15617994'}] ['Q1759986', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1759986 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
davul harpsichord Wurlitzer electric piano
Did you mean harpsichord ?
harpsichord
['davul', 'country', {'concept': 'designation for an administrative territorial entity'}] ['harpsichord', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Wurlitzer_electric_piano property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Wurlitzer electric piano. Could you tell me the answer for that?
(Q1759986,P17,c(Q15617994))
Q1759986
['Q1759986', 'P17', {'concept': 'Q15617994'}]
['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q1759986,P17,c(Q15617994))
action filter_type
action find
entity Q1759986
relation P17
type Q15617994
[ANSWER]
['Q1759986', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q1759986 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Wurlitzer electric piano
relation country
type designation for an administrative territorial entity
['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Wurlitzer_electric_piano property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]