Simple Question (Direct)
Simple Question
Q1229426
P19
Q56061
USER
Which administrative territory was Athina Papadimitriu born at ?
(Q1229426,P19,c(Q56061))
action filter_type
action find
entity Q1229426
relation P19
type Q56061
['Q1229426', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q1229426 property:P19 ?g }
Athina Papadimitriu
action filter_type
action find
entity Athina Papadimitriu
relation place of birth
type administrative territorial entity
['Athina Papadimitriu', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Athina_Papadimitriu property:place_of_birth ?g }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q1229426,P19,c(Q56061))
action filter_type
action find
entity Q1229426
relation P19
type Q56061
Athina Papadimitriu was born in [ANSWER]
['Q1229426', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q1229426 property:P19 ?g }
Budapest
Athina Papadimitriu was born in Budapest
Budapest
action filter_type
action find
entity Athina Papadimitriu
relation place of birth
type administrative territorial entity
['Athina Papadimitriu', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Athina_Papadimitriu property:place_of_birth ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1229426
P106
Q12737077
USER
What is the job of Athina Papadimitriu ?
(Q1229426,P106,c(Q12737077))
action filter_type
action find
entity Q1229426
relation P106
type Q12737077
['Q1229426', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q1229426 property:P106 ?p }
Athina Papadimitriu
action filter_type
action find
entity Athina Papadimitriu
relation occupation
type occupation
['Athina Papadimitriu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Athina_Papadimitriu property:occupation ?p }
[]
occupation
Q33999
SYSTEM
actor
Q33999
(Q1229426,P106,c(Q12737077))
action filter_type
action find
entity Q1229426
relation P106
type Q12737077
The job of Athina Papadimitriu is an [ANSWER]
['Q1229426', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q12737077 . resource:Q1229426 property:P106 ?p }
actor
The job of Athina Papadimitriu is an actor
actor
action filter_type
action find
entity Athina Papadimitriu
relation occupation
type occupation
['Athina Papadimitriu', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:occupation . resource:Athina_Papadimitriu property:occupation ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6255360
Q12737077
USER
And what about John Rodgers?
(Q6255360,P106,c(Q12737077))
action filter_type
action find
entity Q6255360
relation P106
type Q12737077
['Q6255360', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q6255360 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
John Rodgers
action filter_type
action find
entity John Rodgers
relation occupation
type occupation
['John Rodgers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:John_Rodgers property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q36834
SYSTEM
composer
Q36834
(Q6255360,P106,c(Q12737077))
action filter_type
action find
entity Q6255360
relation P106
type Q12737077
[ANSWER]
['Q6255360', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q6255360 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
composer
composer
action filter_type
action find
entity John Rodgers
relation occupation
type occupation
['John Rodgers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:John_Rodgers property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6255360
P86
Q15850590
USER
How many theatrical genres have John Rodgers as the melodist ?
(c(Q15850590),P86,Q6255360)
action count
action filter_type
action find_reverse
entity Q6255360
relation P86
type Q15850590
[{'concept': 'Q15850590'}, 'P86', 'Q6255360']
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P86 resource:Q6255360 . ?w rdf:type ontology:Q15850590 }
John Rodgers
action count
action filter_type
action find_reverse
entity John Rodgers
relation composer
type theatrical genre
[{'concept': 'theatrical genre'}, 'composer', 'John Rodgers']
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:composer resource:John_Rodgers . ?w rdf:type ontology:theatrical_genre }
[]
theatrical genre
SYSTEM
1
Q20875879
(c(Q15850590),P86,Q6255360)
action count
action filter_type
action find_reverse
entity Q6255360
relation P86
type Q15850590
[ANSWER]
[{'concept': 'Q15850590'}, 'P86', 'Q6255360']
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P86 resource:Q6255360 . ?w rdf:type ontology:Q15850590 }
The Sunshine Club
1
action count
action filter_type
action find_reverse
entity John Rodgers
relation composer
type theatrical genre
[{'concept': 'theatrical genre'}, 'composer', 'John Rodgers']
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:composer resource:John_Rodgers . ?w rdf:type ontology:theatrical_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1229426
P26
Q502895
USER
Which person is the spouse of Athina Papadimitriu ?
(Q1229426,P26,c(Q502895))
action filter_type
action find
entity Q1229426
relation P26
type Q502895
['Q1229426', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1229426 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Athina Papadimitriu
action filter_type
action find
entity Athina Papadimitriu
relation spouse
type common name
['Athina Papadimitriu', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Athina_Papadimitriu property:spouse ?w . ?w rdf:type ontology:common_name }
[]
common name
Q1324391
SYSTEM
Péter Trokán
Q1324391
(Q1229426,P26,c(Q502895))
action filter_type
action find
entity Q1229426
relation P26
type Q502895
[ANSWER] is the spouse of Athina Papadimitriu
['Q1229426', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1229426 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Péter Trokán
Péter Trokán is the spouse of Athina Papadimitriu
Péter Trokán
action filter_type
action find
entity Athina Papadimitriu
relation spouse
type common name
['Athina Papadimitriu', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Athina_Papadimitriu property:spouse ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3276522
Q502895
USER
And how about Magali Vendeuil?
(Q3276522,P26,c(Q502895))
action filter_type
action find
entity Q3276522
relation P26
type Q502895
['Q3276522', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q3276522 property:P26 ?f }
Magali Vendeuil
action filter_type
action find
entity Magali Vendeuil
relation spouse
type common name
['Magali Vendeuil', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Magali_Vendeuil property:spouse ?f }
[]
common name
Q2671274
SYSTEM
Robert Lamoureux
Q2671274
(Q3276522,P26,c(Q502895))
action filter_type
action find
entity Q3276522
relation P26
type Q502895
[ANSWER]
['Q3276522', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q3276522 property:P26 ?f }
Robert Lamoureux
Robert Lamoureux
action filter_type
action find
entity Magali Vendeuil
relation spouse
type common name
['Magali Vendeuil', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:Magali_Vendeuil property:spouse ?f }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2671274 Q142
P27
Q15617994
USER
Is that person a civilian of France ?
(Q2671274,P27,Q142)
action is_in
entity Q142
action find
entity Q2671274
relation P27
['Q2671274', 'P27', 'Q142']
ASK WHERE { resource:Q2671274 property:P27 resource:Q142 }
Robert Lamoureux France
action is_in
entity France
action find
entity Robert Lamoureux
relation country of citizenship
['Robert Lamoureux', 'country of citizenship', 'France']
ASK WHERE { resource:Robert_Lamoureux property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2671274,P27,Q142)
action is_in
entity Q142
action find
entity Q2671274
relation P27
[ANSWER]
['Q2671274', 'P27', 'Q142']
ASK WHERE { resource:Q2671274 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Robert Lamoureux
relation country of citizenship
['Robert Lamoureux', 'country of citizenship', 'France']
ASK WHERE { resource:Robert_Lamoureux property:country_of_citizenship resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can around 282 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 282
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:P1303 ?k . ?i rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 } GROUP BY ?k } . FILTER ( ?h = 282 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 282
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:instrument ?k . ?i rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument } GROUP BY ?k } . FILTER ( ?h = 282 ) }
[]
musical instrument common name
SYSTEM
62
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 Q8338 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 282
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:P1303 ?k . ?i rdf:type ontology:Q502895 . ?k rdf:type ontology:Q34379 } GROUP BY ?k } . FILTER ( ?h = 282 ) }
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 trumpet 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
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 282
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?h ) WHERE { ?i property:instrument ?k . ?i rdf:type ontology:common_name . ?k rdf:type ontology:musical_instrument } GROUP BY ?k } . FILTER ( ?h = 282 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 2415 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2415
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P1303 ?b . ?a rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 } GROUP BY ?b } . FILTER ( ?q <= 2415 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2415
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:instrument ?b . ?a rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument } GROUP BY ?b } . FILTER ( ?q <= 2415 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 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 2415
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P1303 ?b . ?a rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 } GROUP BY ?b } . FILTER ( ?q <= 2415 ) }
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 trumpet 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 drum kit 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 2415 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2415
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:instrument ?b . ?a rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument } GROUP BY ?b } . FILTER ( ?q <= 2415 ) }
[]