Simple Question (Direct)
Simple Question
Q5934971
P1303
Q34379
USER
Which musical instrument does Siegfried Langgaard know to play ?
(Q5934971,P1303,c(Q34379))
action filter_type
action find
entity Q5934971
relation P1303
type Q34379
['Q5934971', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { resource:Q5934971 property:P1303 ?v . ?v rdf:type ontology:Q34379 }
Siegfried Langgaard
action filter_type
action find
entity Siegfried Langgaard
relation instrument
type musical instrument
['Siegfried Langgaard', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { resource:Siegfried_Langgaard property:instrument ?v . ?v rdf:type ontology:musical_instrument }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q5934971,P1303,c(Q34379))
action filter_type
action find
entity Q5934971
relation P1303
type Q34379
Siegfried Langgaard knows the [ANSWER]
['Q5934971', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?v WHERE { resource:Q5934971 property:P1303 ?v . ?v rdf:type ontology:Q34379 }
piano
Siegfried Langgaard knows the piano
piano
action filter_type
action find
entity Siegfried Langgaard
relation instrument
type musical instrument
['Siegfried Langgaard', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?v WHERE { resource:Siegfried_Langgaard property:instrument ?v . ?v rdf:type ontology:musical_instrument }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5934971
P22
Q502895
USER
Which person has Siegfried Langgaard as dad ?
(c(Q502895),P22,Q5934971)
action filter_type
action find_reverse
entity Q5934971
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q5934971']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q5934971 . ?x rdf:type ontology:Q502895 }
Siegfried Langgaard
action filter_type
action find_reverse
entity Siegfried Langgaard
relation father
type common name
[{'concept': 'common name'}, 'father', 'Siegfried Langgaard']
SELECT DISTINCT ?x WHERE { ?x property:father resource:Siegfried_Langgaard . ?x rdf:type ontology:common_name }
[]
common name
Q149582
SYSTEM
Rued Langgaard
Q149582
(c(Q502895),P22,Q5934971)
action filter_type
action find_reverse
entity Q5934971
relation P22
type Q502895
[ANSWER] has Siegfried Langgaard as dad
[{'concept': 'Q502895'}, 'P22', 'Q5934971']
SELECT DISTINCT ?x WHERE { ?x property:P22 resource:Q5934971 . ?x rdf:type ontology:Q502895 }
Rued Langgaard
Rued Langgaard has Siegfried Langgaard as dad
Rued Langgaard
action filter_type
action find_reverse
entity Siegfried Langgaard
relation father
type common name
[{'concept': 'common name'}, 'father', 'Siegfried Langgaard']
SELECT DISTINCT ?x WHERE { ?x property:father resource:Siegfried_Langgaard . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q149582
P136
Q15198957
USER
Which aspects of music are the genre for that person ?
(Q149582,P136,c(Q15198957))
action filter_type
action find
entity Q149582
relation P136
type Q15198957
['Q149582', 'P136', {'concept': 'Q15198957'}]
SELECT DISTINCT ?e WHERE { resource:Q149582 property:P136 ?e . ?e rdf:type ontology:Q15198957 }
Rued Langgaard
action filter_type
action find
entity Rued Langgaard
relation genre
type aspect of music
['Rued Langgaard', 'genre', {'concept': 'aspect of music'}]
SELECT DISTINCT ?e WHERE { resource:Rued_Langgaard property:genre ?e . ?e rdf:type ontology:aspect_of_music }
[]
aspect of music
Q1344 Q9734
SYSTEM
opera, symphony
Q1344 Q9734
(Q149582,P136,c(Q15198957))
action filter_type
action find
entity Q149582
relation P136
type Q15198957
And [ANSWERS] are the genre for that person
['Q149582', 'P136', {'concept': 'Q15198957'}]
SELECT DISTINCT ?e WHERE { resource:Q149582 property:P136 ?e . ?e rdf:type ontology:Q15198957 }
opera symphony
And opera and symphony are the genre for that person
opera symphony
action filter_type
action find
entity Rued Langgaard
relation genre
type aspect of music
['Rued Langgaard', 'genre', {'concept': 'aspect of music'}]
SELECT DISTINCT ?e WHERE { resource:Rued_Langgaard property:genre ?e . ?e rdf:type ontology:aspect_of_music }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P870
Q34379 Q207628 Q15850590
USER
How many musical instruments are the instrumentations used in approximately 15 musical compositions and theatrical genres ?
(c(Q207628)|c(Q15850590),P870,c(Q34379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
action find_reverse_tuple_counts
relation P870
type Q34379
type Q15850590
value 15
[[{'concept': 'Q207628'}, {'concept': 'Q15850590'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?q ) WHERE { { ?g property:P870 ?e . ?e rdf:type ontology:Q34379 . ?g rdf:type ontology:Q15850590 } UNION { ?g property:P870 ?e . ?e rdf:type ontology:Q34379 . ?g rdf:type ontology:Q207628 } } GROUP BY ?e } . FILTER ( ?q = 15 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type theatrical genre
value 15
[[{'concept': 'musical composition'}, {'concept': 'theatrical genre'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?q ) WHERE { { ?g property:instrumentation ?e . ?e rdf:type ontology:musical_instrument . ?g rdf:type ontology:theatrical_genre } UNION { ?g property:instrumentation ?e . ?e rdf:type ontology:musical_instrument . ?g rdf:type ontology:musical_composition } } GROUP BY ?e } . FILTER ( ?q = 15 ) }
[]
musical instrument musical composition theatrical genre
SYSTEM
2
Q8355 Q81982
(c(Q207628)|c(Q15850590),P870,c(Q34379))
action count
action approx
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q207628
action find_reverse_tuple_counts
relation P870
type Q34379
type Q15850590
value 15
[ANSWER]
[[{'concept': 'Q207628'}, {'concept': 'Q15850590'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?q ) WHERE { { ?g property:P870 ?e . ?e rdf:type ontology:Q34379 . ?g rdf:type ontology:Q15850590 } UNION { ?g property:P870 ?e . ?e rdf:type ontology:Q34379 . ?g rdf:type ontology:Q207628 } } GROUP BY ?e } . FILTER ( ?q = 15 ) }
violin harpsichord
2
action count
action approx
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical composition
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type theatrical genre
value 15
[[{'concept': 'musical composition'}, {'concept': 'theatrical genre'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?q ) WHERE { { ?g property:instrumentation ?e . ?e rdf:type ontology:musical_instrument . ?g rdf:type ontology:theatrical_genre } UNION { ?g property:instrumentation ?e . ?e rdf:type ontology:musical_instrument . ?g rdf:type ontology:musical_composition } } GROUP BY ?e } . FILTER ( ?q = 15 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do approximately 2813 people know to play ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2813
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 . ?w property:P1303 ?p } GROUP BY ?p } . FILTER ( ?n = 2813 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2813
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument . ?w property:instrument ?p } GROUP BY ?p } . FILTER ( ?n = 2813 ) }
[]
musical instrument common name
Q46185 Q8338 Q1444
SYSTEM
bass guitar, trumpet, organ
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2813
Approximately 2813 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:Q502895 . ?p rdf:type ontology:Q34379 . ?w property:P1303 ?p } GROUP BY ?p } . FILTER ( ?n = 2813 ) }
bass guitar trumpet organ drum kit
Approximately 2813 people know about bass guitar, trumpet and organ
bass guitar trumpet organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2813
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:common_name . ?p rdf:type ontology:musical_instrument . ?w property:instrument ?p } GROUP BY ?p } . FILTER ( ?n = 2813 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q149582
P802
Q502895
USER
How many people were a notable student of Rued Langgaard ?
(c(Q502895),P802,Q149582)
action count
action filter_type
action find_reverse
entity Q149582
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q149582']
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:P802 resource:Q149582 . ?f rdf:type ontology:Q502895 }
Rued Langgaard
action count
action filter_type
action find_reverse
entity Rued Langgaard
relation student
type common name
[{'concept': 'common name'}, 'student', 'Rued Langgaard']
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:student resource:Rued_Langgaard . ?f rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q4994046
(c(Q502895),P802,Q149582)
action count
action filter_type
action find_reverse
entity Q149582
relation P802
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P802', 'Q149582']
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:P802 resource:Q149582 . ?f rdf:type ontology:Q502895 }
Gustav Helsted
1
action count
action filter_type
action find_reverse
entity Rued Langgaard
relation student
type common name
[{'concept': 'common name'}, 'student', 'Rued Langgaard']
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { ?f property:student resource:Rued_Langgaard . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q149582
P19
Q56061
USER
Which administrative territory was that person born at ?
action filter_type
action find
entity Q149582
relation P19
type Q56061
SELECT DISTINCT ?k WHERE { resource:Q149582 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Rued Langgaard
action filter_type
action find
entity Rued Langgaard
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Rued_Langgaard property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1748
SYSTEM
Copenhagen
Q1748
action filter_type
action find
entity Q149582
relation P19
type Q56061
That person was born in [ANSWER]
SELECT DISTINCT ?k WHERE { resource:Q149582 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Copenhagen
That person was born in Copenhagen
Copenhagen
action filter_type
action find
entity Rued Langgaard
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Rued_Langgaard property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1748
P361
Q3976655
USER
What are a component of that administrative territory ?
(c(Q3976655),P361,Q1748)
action filter_type
action find_reverse
entity Q1748
relation P361
type Q3976655
[{'concept': 'Q3976655'}, 'P361', 'Q1748']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q1748 . ?z rdf:type ontology:Q3976655 }
Copenhagen
action filter_type
action find_reverse
entity Copenhagen
relation part of
type administrative territorial entity of Denmark
[{'concept': 'administrative territorial entity of Denmark'}, 'part of', 'Copenhagen']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:Copenhagen . ?z rdf:type ontology:administrative_territorial_entity_of_Denmark }
[]
administrative territorial entity of Denmark
Q1281756 Q1932118
SYSTEM
Vanløse, Valby
Q1281756 Q1932118
(c(Q3976655),P361,Q1748)
action filter_type
action find_reverse
entity Q1748
relation P361
type Q3976655
A component of that administrative territory are the [ANSWERS]
[{'concept': 'Q3976655'}, 'P361', 'Q1748']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q1748 . ?z rdf:type ontology:Q3976655 }
Vanløse Valby
A component of that administrative territory are the Vanløse and Valby
Vanløse Valby
action filter_type
action find_reverse
entity Copenhagen
relation part of
type administrative territorial entity of Denmark
[{'concept': 'administrative territorial entity of Denmark'}, 'part of', 'Copenhagen']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:Copenhagen . ?z rdf:type ontology:administrative_territorial_entity_of_Denmark }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1932118
P159
Q43229
USER
Which organization has HQ at Valby ?
(c(Q43229),P159,Q1932118)
action filter_type
action find_reverse
entity Q1932118
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q1932118']
SELECT DISTINCT ?l WHERE { ?l property:P159 resource:Q1932118 . ?l rdf:type ontology:Q43229 }
Valby
action filter_type
action find_reverse
entity Valby
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Valby']
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location resource:Valby . ?l rdf:type ontology:organization }
[]
organization
Q902171
SYSTEM
Lundbeck
Q902171
(c(Q43229),P159,Q1932118)
action filter_type
action find_reverse
entity Q1932118
relation P159
type Q43229
[ANSWER] has HQ at Valby
[{'concept': 'Q43229'}, 'P159', 'Q1932118']
SELECT DISTINCT ?l WHERE { ?l property:P159 resource:Q1932118 . ?l rdf:type ontology:Q43229 }
Lundbeck
Lundbeck has HQ at Valby
Lundbeck
action filter_type
action find_reverse
entity Valby
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Valby']
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location resource:Valby . ?l rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1932118
P551
Q502895
USER
Which person lives in Valby ?
(c(Q502895),P551,Q1932118)
action filter_type
action find_reverse
entity Q1932118
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1932118']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P551 resource:Q1932118 }
Valby
action filter_type
action find_reverse
entity Valby
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Valby']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:residence resource:Valby }
[]
common name
Q23579842
SYSTEM
Reem
Q23579842
(c(Q502895),P551,Q1932118)
action filter_type
action find_reverse
entity Q1932118
relation P551
type Q502895
[ANSWER] lives in Valby
[{'concept': 'Q502895'}, 'P551', 'Q1932118']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P551 resource:Q1932118 }
Reem
Reem lives in Valby
Reem
action filter_type
action find_reverse
entity Valby
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Valby']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:residence resource:Valby }
[]