Simple Question (Direct)
Simple Question
Q1569354
P495
Q15617994
USER
Where did Olsenbanden jr. Sølvgruvens hemmelighet originate ?
(Q1569354,P495,c(Q15617994))
action filter_type
action find
entity Q1569354
relation P495
type Q15617994
['Q1569354', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1569354 property:P495 ?n . ?n rdf:type ontology:Q15617994 }
Olsenbanden jr. Sølvgruvens hemmelighet
action filter_type
action find
entity Olsenbanden jr. Sølvgruvens hemmelighet
relation country of origin
type designation for an administrative territorial entity
['Olsenbanden jr. Sølvgruvens hemmelighet', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Olsenbanden_jr._Sølvgruvens_hemmelighet property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q1569354,P495,c(Q15617994))
action filter_type
action find
entity Q1569354
relation P495
type Q15617994
Olsenbanden jr. Sølvgruvens hemmelighet originated [ANSWER]
['Q1569354', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q1569354 property:P495 ?n . ?n rdf:type ontology:Q15617994 }
Norway
Olsenbanden jr. Sølvgruvens hemmelighet originated Norway
Norway
action filter_type
action find
entity Olsenbanden jr. Sølvgruvens hemmelighet
relation country of origin
type designation for an administrative territorial entity
['Olsenbanden jr. Sølvgruvens hemmelighet', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Olsenbanden_jr._Sølvgruvens_hemmelighet property:country_of_origin ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1569354
P58
Q502895
USER
Which person wrote the script for that work of art ?
(Q20,P58,c(Q502895))
action filter_type
action find
entity Q1569354
relation P58
type Q502895
['Q20', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q1569354 property:P58 ?n }
Olsenbanden jr. Sølvgruvens hemmelighet
action filter_type
action find
entity Olsenbanden jr. Sølvgruvens hemmelighet
relation screenwriter
type common name
['Norway', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Olsenbanden_jr._Sølvgruvens_hemmelighet property:screenwriter ?n }
[]
common name
Q553932
SYSTEM
Arne Lindtner Næss
Q553932
(Q20,P58,c(Q502895))
action filter_type
action find
entity Q1569354
relation P58
type Q502895
[ANSWER] wrote the script for that work of art
['Q20', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q1569354 property:P58 ?n }
Arne Lindtner Næss
Arne Lindtner Næss wrote the script for that work of art
Arne Lindtner Næss
action filter_type
action find
entity Olsenbanden jr. Sølvgruvens hemmelighet
relation screenwriter
type common name
['Norway', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:Olsenbanden_jr._Sølvgruvens_hemmelighet property:screenwriter ?n }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by around 234 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 234
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?s ) WHERE { ?b rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 . ?a property:P1303 ?b } GROUP BY ?b } . FILTER ( ?s = 234 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 234
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?s ) WHERE { ?b rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name . ?a property:instrument ?b } GROUP BY ?b } . FILTER ( ?s = 234 ) }
[]
musical instrument common name
SYSTEM
61
Q80284 Q46185 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
value 234
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?s ) WHERE { ?b rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 . ?a property:P1303 ?b } GROUP BY ?b } . FILTER ( ?s = 234 ) }
viola bass guitar 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
61
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 234
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?s ) WHERE { ?b rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name . ?a property:instrument ?b } GROUP BY ?b } . FILTER ( ?s = 234 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P530
Q15617994
USER
Who holds diplomatic relationship with Norway ?
(Q20,P530,c(Q15617994))
action filter_type
action find
entity Q20
relation P530
type Q15617994
['Q20', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q20 property:P530 ?t }
Norway
action filter_type
action find
entity Norway
relation diplomatic relation
type designation for an administrative territorial entity
['Norway', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norway property:diplomatic_relation ?t }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q20,P530,c(Q15617994))
action filter_type
action find
entity Q20
relation P530
type Q15617994
And [ANSWER] holds diplomatic relationship with Norway
['Q20', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q20 property:P530 ?t }
Italy
And Italy holds diplomatic relationship with Norway
Italy
action filter_type
action find
entity Norway
relation diplomatic relation
type designation for an administrative territorial entity
['Norway', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norway property:diplomatic_relation ?t }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P1001
Q375928
USER
Which lower house has control over the jurisdiction of that administrative territory ?
(c(Q375928),P1001,Q38)
action filter_type
action find_reverse
entity Q38
relation P1001
type Q375928
[{'concept': 'Q375928'}, 'P1001', 'Q38']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q38 . ?v rdf:type ontology:Q375928 }
Italy
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type lower house
[{'concept': 'lower house'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Italy . ?v rdf:type ontology:lower_house }
[]
lower house
Q841424
SYSTEM
Chamber of Deputies
Q841424
(c(Q375928),P1001,Q38)
action filter_type
action find_reverse
entity Q38
relation P1001
type Q375928
[ANSWER] has control over the jurisdiction of that administrative territory
[{'concept': 'Q375928'}, 'P1001', 'Q38']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q38 . ?v rdf:type ontology:Q375928 }
Chamber of Deputies
Chamber of Deputies has control over the jurisdiction of that administrative territory
Chamber of Deputies
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type lower house
[{'concept': 'lower house'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Italy . ?v rdf:type ontology:lower_house }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q841424
P361
Q1752346
USER
What is that lower house a component of ?
(Q841424,P361,c(Q1752346))
action filter_type
action find
entity Q841424
relation P361
type Q1752346
['Q841424', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?z WHERE { resource:Q841424 property:P361 ?z . ?z rdf:type ontology:Q1752346 }
Chamber of Deputies
action filter_type
action find
entity Chamber of Deputies
relation part of
type assembly
['Chamber of Deputies', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?z WHERE { resource:Chamber_of_Deputies property:part_of ?z . ?z rdf:type ontology:assembly }
[]
assembly
Q1117578
SYSTEM
Italian Parliament
Q1117578
(Q841424,P361,c(Q1752346))
action filter_type
action find
entity Q841424
relation P361
type Q1752346
That lower house a component of is the [ANSWER]
['Q841424', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?z WHERE { resource:Q841424 property:P361 ?z . ?z rdf:type ontology:Q1752346 }
Italian Parliament
That lower house a component of is the Italian Parliament
Italian Parliament
action filter_type
action find
entity Chamber of Deputies
relation part of
type assembly
['Chamber of Deputies', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?z WHERE { resource:Chamber_of_Deputies property:part_of ?z . ?z rdf:type ontology:assembly }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q48984 Q1569354
P161 P86
Q502895
USER
Which people wrote the music for Olsenbanden jr. Sølvgruvens hemmelighet or were casted in Married to the Mob ?
OR((Q1569354,P86,c(Q502895)), (Q48984,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1569354
relation P86
action find
entity Q48984
relation P161
type Q502895
{'OR': [['Q1569354', 'P86', {'concept': 'Q502895'}], ['Q48984', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1569354 property:P86 ?p } UNION { resource:Q48984 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
Married to the Mob Olsenbanden jr. Sølvgruvens hemmelighet
action filter_type
action union
action find
entity Olsenbanden jr. Sølvgruvens hemmelighet
relation composer
action find
entity Married to the Mob
relation cast member
type common name
{'OR': [['Olsenbanden jr. Sølvgruvens hemmelighet', 'composer', {'concept': 'common name'}], ['Married to the Mob', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Olsenbanden_jr._Sølvgruvens_hemmelighet property:composer ?p } UNION { resource:Married_to_the_Mob property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]
common name
Q431356 Q233042 Q170572 Q7072015 Q272946 Q159778 Q232933 Q345212 Q313009 Q343510
SYSTEM
Some of them are Charles Napier, Nancy Travis, Alec Baldwin, O-Lan Jones, Joan Cusack, Michelle Pfeiffer, Mercedes Ruehl, Dean Stockwell, Chris Isaak, Oliver Platt
Q431356 Q313009 Q345212 Q273509 Q233042 Q159778 Q3658026 Q1683861 Q343510 Q712364 Q272946 Q318249 Q170572 Q232933 Q7072015
OR((Q1569354,P86,c(Q502895)), (Q48984,P161,c(Q502895)))
action filter_type
action union
action find
entity Q1569354
relation P86
action find
entity Q48984
relation P161
type Q502895
S [ANSWERS] wrote the music for Olsenbanden jr. Sølvgruvens hemmelighet or were casted in Married to the Mob
{'OR': [['Q1569354', 'P86', {'concept': 'Q502895'}], ['Q48984', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1569354 property:P86 ?p } UNION { resource:Q48984 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
Charles Napier Chris Isaak Dean Stockwell Ellen Foley Nancy Travis Michelle Pfeiffer Captain Haggerty Jason Allen Oliver Platt Bent Fabric Joan Cusack Matthew Modine Alec Baldwin Mercedes Ruehl O-Lan Jones
S Charles Napier, Nancy Travis, Alec Baldwin, O-Lan Jones, Joan Cusack, Michelle Pfeiffer, Mercedes Ruehl, Dean Stockwell, Chris Isaak and Oliver Platt wrote the music for Olsenbanden jr. Sølvgruvens hemmelighet or were casted in Married to the Mob
Charles Napier Nancy Travis Alec Baldwin O-Lan Jones Joan Cusack Michelle Pfeiffer Mercedes Ruehl Dean Stockwell Chris Isaak Oliver Platt
action filter_type
action union
action find
entity Olsenbanden jr. Sølvgruvens hemmelighet
relation composer
action find
entity Married to the Mob
relation cast member
type common name
{'OR': [['Olsenbanden jr. Sølvgruvens hemmelighet', 'composer', {'concept': 'common name'}], ['Married to the Mob', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Olsenbanden_jr._Sølvgruvens_hemmelighet property:composer ?p } UNION { resource:Married_to_the_Mob property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]