Simple Question (Direct)
Simple Question
Q1315842
P27
Q1048835
USER
Which political territory does Isidor Singer belong to ?
(Q1315842,P27,c(Q1048835))
action filter_type
action find
entity Q1315842
relation P27
type Q1048835
['Q1315842', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q1315842 property:P27 ?a }
Isidor Singer
action filter_type
action find
entity Isidor Singer
relation country of citizenship
type political territorial entity
['Isidor Singer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Isidor_Singer property:country_of_citizenship ?a }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q1315842,P27,c(Q1048835))
action filter_type
action find
entity Q1315842
relation P27
type Q1048835
Isidor Singer belongs to [ANSWER]
['Q1315842', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q1315842 property:P27 ?a }
Austria
Isidor Singer belongs to Austria
Austria
action filter_type
action find
entity Isidor Singer
relation country of citizenship
type political territorial entity
['Isidor Singer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Isidor_Singer property:country_of_citizenship ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1315842
P20
Q56061
USER
Where did Isidor Singer expire ?
(Q1315842,P20,c(Q56061))
action filter_type
action find
entity Q1315842
relation P20
type Q56061
['Q1315842', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1315842 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Isidor Singer
action filter_type
action find
entity Isidor Singer
relation place of death
type administrative territorial entity
['Isidor Singer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Isidor_Singer property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q1315842,P20,c(Q56061))
action filter_type
action find
entity Q1315842
relation P20
type Q56061
Isidor Singer expired in [ANSWER]
['Q1315842', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1315842 property:P20 ?w . ?w rdf:type ontology:Q56061 }
Vienna
Isidor Singer expired in Vienna
Vienna
action filter_type
action find
entity Isidor Singer
relation place of death
type administrative territorial entity
['Isidor Singer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Isidor_Singer property:place_of_death ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P1444
Q22348500
USER
Which cycling race classes end their journey at that administrative territory ?
(c(Q22348500),P1444,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P1444
type Q22348500
[{'concept': 'Q22348500'}, 'P1444', 'Q1741']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q22348500 . ?y property:P1444 resource:Q1741 }
Vienna
action filter_type
action find_reverse
entity Vienna
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', 'Vienna']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y property:destination_point resource:Vienna }
[]
cycling race class defined by the International Cycling Union
Q20640109 Q261842
SYSTEM
2016 Tour of Austria, 2012 Tour of Austria
Q20640109 Q261842
(c(Q22348500),P1444,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P1444
type Q22348500
[ANSWERS] end their journey at that administrative territory
[{'concept': 'Q22348500'}, 'P1444', 'Q1741']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q22348500 . ?y property:P1444 resource:Q1741 }
2016 Tour of Austria 2012 Tour of Austria
2016 Tour of Austria and 2012 Tour of Austria end their journey at that administrative territory
2016 Tour of Austria 2012 Tour of Austria
action filter_type
action find_reverse
entity Vienna
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', 'Vienna']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?y property:destination_point resource:Vienna }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q20640109 Q261842
P17
Q1048835
USER
Which political territories are those cycling race classes situated in ?
(Q20640109,P17,c(Q1048835)) (Q261842,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q20640109', 'P17', {'concept': 'Q1048835'}] ['Q261842', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?l ) { ( resource:Q20640109 ) ( resource:Q261842 ) } . ?t rdf:type ontology:Q1048835 . ?l property:P17 ?t }
2016 Tour of Austria 2012 Tour of Austria
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['2016 Tour of Austria', 'country', {'concept': 'political territorial entity'}] ['2012 Tour of Austria', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?l ) { ( resource:2016_Tour_of_Austria ) ( resource:2012_Tour_of_Austria ) } . ?t rdf:type ontology:political_territorial_entity . ?l property:country ?t }
[]
political territorial entity
Q40 Q40
SYSTEM
Austria
Q40 Q40
(Q20640109,P17,c(Q1048835)) (Q261842,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
Those cycling race classes are situated in [ANSWER] and [ANSWER]
['Q20640109', 'P17', {'concept': 'Q1048835'}] ['Q261842', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?l ) { ( resource:Q20640109 ) ( resource:Q261842 ) } . ?t rdf:type ontology:Q1048835 . ?l property:P17 ?t }
Austria Austria
Those cycling race classes are situated in Austria and Austria
Austria Austria
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['2016 Tour of Austria', 'country', {'concept': 'political territorial entity'}] ['2012 Tour of Austria', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { VALUES ( ?l ) { ( resource:2016_Tour_of_Austria ) ( resource:2012_Tour_of_Austria ) } . ?t rdf:type ontology:political_territorial_entity . ?l property:country ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P915
Q838948
USER
Which works of art had Vienna as their location of filming ?
(c(Q838948),P915,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q1741']
SELECT DISTINCT ?o WHERE { ?o property:P915 resource:Q1741 . ?o rdf:type ontology:Q838948 }
Vienna
action filter_type
action find_reverse
entity Vienna
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Vienna']
SELECT DISTINCT ?o WHERE { ?o property:filming_location resource:Vienna . ?o rdf:type ontology:work_of_art }
[]
work of art
Q17548046 Q190956 Q464111
SYSTEM
Mission: Impossible – Rogue Nation, Amadeus, The Boys from Brazil
Q1418932 Q659609 Q159690 Q1732325 Q276523 Q14954288 Q1737987 Q691669 Q1653284 Q17548046 Q7974350 Q7997600 Q644749 Q7045098 Q312565 Q1591914 Q874043 Q673643 Q272064 Q190956 Q25206310 Q18209001 Q737065 Q4666737 Q17103323 Q699132 Q188159 Q508931 Q26856862 Q21869333 Q875234 Q880665 Q665016 Q271830 Q167411 Q16253440 Q1090322 Q672402 Q20814890 Q2568798 Q568465 Q698274 Q1033185 Q464111
(c(Q838948),P915,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P915
type Q838948
[ANSWERS] had Vienna as their location of filming
[{'concept': 'Q838948'}, 'P915', 'Q1741']
SELECT DISTINCT ?o WHERE { ?o property:P915 resource:Q1741 . ?o rdf:type ontology:Q838948 }
Firefox Before Sunrise The Piano Teacher Karl May Batman & Robin Gold on the Street The Seven-Per-Cent Solution Time of the Wolf 360 Mission: Impossible – Rogue Nation Watermarks Whom the Gods Love Scorpio No Time for Flowers The Night Porter Premiere Maskerade Benny's Video The Living Daylights Amadeus Last Stop It's Only Love The Cardinal Abendland Stolen Identity Revanche A Dangerous Method The Three Musketeers Love Maybe Exit... nur keine Panik Franz Schubert Bad Timing Miracle of the White Stallions The Third Man The Counterfeiters Museum Hours Come Fly with Me For a Moment Voices of Spring Vienna 1910 Klimt Dead in 3 Days Paradise: Love The Boys from Brazil
Mission: Impossible – Rogue Nation, Amadeus and The Boys from Brazil had Vienna as their location of filming
Mission: Impossible – Rogue Nation Amadeus The Boys from Brazil
action filter_type
action find_reverse
entity Vienna
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Vienna']
SELECT DISTINCT ?o WHERE { ?o property:filming_location resource:Vienna . ?o rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17548046
P86
Q502895
USER
Who wrote the music for that work of art ?
(Q17548046,P86,c(Q502895))
action filter_type
action find
entity Q17548046
relation P86
type Q502895
['Q17548046', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q17548046 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Mission: Impossible – Rogue Nation
action filter_type
action find
entity Mission: Impossible – Rogue Nation
relation composer
type common name
['Mission: Impossible – Rogue Nation', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Mission:_Impossible_–_Rogue_Nation property:composer ?x . ?x rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q464111
SYSTEM
Did you mean The Boys from Brazil ?
Q17548046 Q190956 Q464111
(Q17548046,P86,c(Q502895)) (Q190956,P86,c(Q502895)) (Q464111,P86,c(Q502895))
[ANSWER]
['Q17548046', 'P86', {'concept': 'Q502895'}] ['Q190956', 'P86', {'concept': 'Q502895'}] ['Q464111', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q17548046 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Mission: Impossible – Rogue Nation Amadeus The Boys from Brazil
Did you mean The Boys from Brazil ?
The Boys from Brazil
['Mission: Impossible – Rogue Nation', 'composer', {'concept': 'common name'}] ['Amadeus', 'composer', {'concept': 'common name'}] ['The Boys from Brazil', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Mission:_Impossible_–_Rogue_Nation property:composer ?x . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Mission: Impossible – Rogue Nation. Could you tell me the answer for that?
(Q17548046,P86,c(Q502895))
Q17548046
['Q17548046', 'P86', {'concept': 'Q502895'}]
['Mission: Impossible – Rogue Nation', 'composer', {'concept': 'common name'}]
[]
Q3180103
SYSTEM
Joe Kraemer
Q3180103
(Q17548046,P86,c(Q502895))
action filter_type
action find
entity Q17548046
relation P86
type Q502895
[ANSWER] wrote the music for that work of art
['Q17548046', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q17548046 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Joe Kraemer
Joe Kraemer wrote the music for that work of art
Joe Kraemer
action filter_type
action find
entity Mission: Impossible – Rogue Nation
relation composer
type common name
['Mission: Impossible – Rogue Nation', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Mission:_Impossible_–_Rogue_Nation property:composer ?x . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
How many cinematic techniques had atmost 1 person as the dubbing artist ?
(c(Q1001378),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 1
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?s ) WHERE { ?a property:P725 ?m . ?m rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1001378 } GROUP BY ?a } . FILTER ( ?s <= 1 ) }
action count
action atmost
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 1
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?s ) WHERE { ?a property:voice_actor ?m . ?m rdf:type ontology:common_name . ?a rdf:type ontology:cinematic_technique } GROUP BY ?a } . FILTER ( ?s <= 1 ) }
[]
common name cinematic technique
SYSTEM
11
Q221679 Q3623997 Q170035 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q656396 Q187266 Q104905
(c(Q1001378),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 1
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?s ) WHERE { ?a property:P725 ?m . ?m rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1001378 } GROUP BY ?a } . FILTER ( ?s <= 1 ) }
Meet the Robinsons FernGully 2: The Magical Rescue Ratatouille The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 WALL•E
11
action count
action atmost
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 1
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?l ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?s ) WHERE { ?a property:voice_actor ?m . ?m rdf:type ontology:common_name . ?a rdf:type ontology:cinematic_technique } GROUP BY ?a } . FILTER ( ?s <= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q604538
P1303
Q34379 Q502895
USER
How many musical instruments can approximately the same number of people perform with as Temple block ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q604538
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 . ?z property:P1303 ?p } GROUP BY ?p } . FILTER ( ?v = ?c ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Q604538 property:P1303 ?s . ?s rdf:type ontology:Q34379 } } }
Temple block
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Temple block
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument . ?z property:instrument ?p } GROUP BY ?p } . FILTER ( ?v = ?c ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Temple_block property:instrument ?s . ?s rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
SYSTEM
60
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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q604538
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 . ?z property:P1303 ?p } GROUP BY ?p } . FILTER ( ?v = ?c ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Q604538 property:P1303 ?s . ?s rdf:type ontology:Q34379 } } }
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
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Temple block
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?z ) AS ?v ) WHERE { ?z rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument . ?z property:instrument ?p } GROUP BY ?p } . FILTER ( ?v = ?c ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Temple_block property:instrument ?s . ?s rdf:type ontology:musical_instrument } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q39777
P1303
Q34379 Q502895
USER
And how about maraca?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q39777
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?q ) WHERE { ?t rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?t } GROUP BY ?t } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q39777 property:P1303 ?f . ?f rdf:type ontology:Q34379 } } }
maraca
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity maraca
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?q ) WHERE { ?t rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?t } GROUP BY ?t } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:maraca property:instrument ?f . ?f rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
SYSTEM
60
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 count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q39777
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?q ) WHERE { ?t rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 . ?j property:P1303 ?t } GROUP BY ?t } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q39777 property:P1303 ?f . ?f rdf:type ontology:Q34379 } } }
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
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity maraca
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?q ) WHERE { ?t rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name . ?j property:instrument ?t } GROUP BY ?t } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:maraca property:instrument ?f . ?f rdf:type ontology:musical_instrument } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P6
Q502895
USER
What people are Vienna the head of goverment of ?
(Q1741,P6,c(Q502895))
action filter_type
action find
entity Q1741
relation P6
type Q502895
['Q1741', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1741 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Vienna
action filter_type
action find
entity Vienna
relation head of government
type common name
['Vienna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Vienna property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]
common name
Q45377 Q13014 Q78983
SYSTEM
Michael Häupl, Franz Jonas, Helmut Zilk
Q45377 Q95865 Q94496 Q13014 Q85512 Q94472 Q78983 Q94424 Q84204 Q84254 Q112462 Q78531 Q2150882 Q78999 Q1705370 Q86676
(Q1741,P6,c(Q502895))
action filter_type
action find
entity Q1741
relation P6
type Q502895
[ANSWERS] are Vienna the head of goverment of
['Q1741', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1741 property:P6 ?o . ?o rdf:type ontology:Q502895 }
Michael Häupl Philipp Wilhelm Jung Felix Slavik Franz Jonas Hanns Blaschke Bruno Marek Helmut Zilk Jakob Reumann Theodor Körner Karl Seitz Hermann Neubacher Karl Lueger Richard Weiskirchner Leopold Gratz Josef Neumayer Richard Schmitz
Michael Häupl, Franz Jonas and Helmut Zilk are Vienna the head of goverment of
Michael Häupl Franz Jonas Helmut Zilk
action filter_type
action find
entity Vienna
relation head of government
type common name
['Vienna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Vienna property:head_of_government ?o . ?o rdf:type ontology:common_name }
[]