Simple Question (Direct)
Simple Question
Q3380204
P734
Q82799
USER
Who is associated with Philippe Lefebvre ?
(Q3380204,P734,c(Q82799))
action filter_type
action find
entity Q3380204
relation P734
type Q82799
['Q3380204', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q3380204 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Philippe Lefebvre
action filter_type
action find
entity Philippe Lefebvre
relation family name
type name
['Philippe Lefebvre', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Philippe_Lefebvre property:family_name ?s . ?s rdf:type ontology:name }
[]
name
Q23304038
SYSTEM
Lefebvre
Q23304038
(Q3380204,P734,c(Q82799))
action filter_type
action find
entity Q3380204
relation P734
type Q82799
[ANSWER] is associated with Philippe [ANSWER]
['Q3380204', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { resource:Q3380204 property:P734 ?s . ?s rdf:type ontology:Q82799 }
Lefebvre
Lefebvre is associated with Philippe Lefebvre
Lefebvre
action filter_type
action find
entity Philippe Lefebvre
relation family name
type name
['Philippe Lefebvre', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { resource:Philippe_Lefebvre property:family_name ?s . ?s rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3380204
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q23304038)
action filter_type
action find
entity Q3380204
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q23304038']
SELECT DISTINCT ?q WHERE { resource:Q3380204 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Philippe Lefebvre
action filter_type
action find
entity Philippe Lefebvre
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Lefebvre']
SELECT DISTINCT ?q WHERE { resource:Philippe_Lefebvre property:spouse ?q . ?q rdf:type ontology:common_name }
[]
common name
Q2941820
SYSTEM
Catherine Barma
Q2941820
(c(Q502895),P26,Q23304038)
action filter_type
action find
entity Q3380204
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q23304038']
SELECT DISTINCT ?q WHERE { resource:Q3380204 property:P26 ?q . ?q rdf:type ontology:Q502895 }
Catherine Barma
Catherine Barma is married to that one
Catherine Barma
action filter_type
action find
entity Philippe Lefebvre
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Lefebvre']
SELECT DISTINCT ?q WHERE { resource:Philippe_Lefebvre property:spouse ?q . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q1344963 Q15991303
USER
Which people were considered to be the statistical leader of exactly 2 world championships and association football leagues ?
(c(Q1344963)|c(Q15991303),P3279,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
value 2
[[{'concept': 'Q1344963'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) ?r WHERE { { ?b property:P3279 ?r . ?r rdf:type ontology:Q502895 . ?b rdf:type ontology:Q1344963 } UNION { ?b property:P3279 ?r . ?b rdf:type ontology:Q15991303 . ?r rdf:type ontology:Q502895 } } GROUP BY ?r } }
action equal
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type world championship
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
value 2
[[{'concept': 'world championship'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) ?r WHERE { { ?b property:statistical_leader ?r . ?r rdf:type ontology:common_name . ?b rdf:type ontology:world_championship } UNION { ?b property:statistical_leader ?r . ?b rdf:type ontology:association_football_league . ?r rdf:type ontology:common_name } } GROUP BY ?r } }
[]
common name world championship association football league
Q60417 Q270653 Q498257
SYSTEM
Dieter Müller, Lauren Jackson, Lothar Emmerich
Q1791161 Q498257 Q60417 Q683030 Q437241 Q703757 Q379603 Q270653 Q166336 Q152107
(c(Q1344963)|c(Q15991303),P3279,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q1344963
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
value 2
[ANSWERS] were considered to be the statistical leader of exactly 2 world championships and association football leagues
[[{'concept': 'Q1344963'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) ?r WHERE { { ?b property:P3279 ?r . ?r rdf:type ontology:Q502895 . ?b rdf:type ontology:Q1344963 } UNION { ?b property:P3279 ?r . ?b rdf:type ontology:Q15991303 . ?r rdf:type ontology:Q502895 } } GROUP BY ?r } }
Hortência Marcari Lothar Emmerich Dieter Müller Roland Wohlfarth Stefan Kuntz Martin Max Tony Yeboah Lauren Jackson Klaus Allofs Jupp Heynckes
Dieter Müller, Lauren Jackson and Lothar Emmerich were considered to be the statistical leader of exactly 2 world championships and association football leagues
Dieter Müller Lauren Jackson Lothar Emmerich
action equal
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type world championship
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
value 2
[[{'concept': 'world championship'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?s = 2 ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) ?r WHERE { { ?b property:statistical_leader ?r . ?r rdf:type ontology:common_name . ?b rdf:type ontology:world_championship } UNION { ?b property:statistical_leader ?r . ?b rdf:type ontology:association_football_league . ?r rdf:type ontology:common_name } } GROUP BY ?r } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q497224
P1303
Q34379 Q502895
USER
Which musical instruments can approximately the same number of people perform with as Kayamb ?
(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 Q497224
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q497224 property:P1303 ?o . ?o rdf:type ontology:Q34379 } } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?r ) WHERE { ?k property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?l } }
Kayamb
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kayamb
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Kayamb property:instrument ?o . ?o rdf:type ontology:musical_instrument } } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?r ) WHERE { ?k property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?l } }
[]
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 Q497224
relation P1303
type Q34379
[ANSWERS] can approximately the same number of people perform with as Kayamb
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Q497224 property:P1303 ?o . ?o rdf:type ontology:Q34379 } } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?r ) WHERE { ?k property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?k rdf:type ontology:Q502895 } GROUP BY ?l } }
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 and Wurlitzer electric piano can approximately the same number of people perform with as Kayamb
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 Kayamb
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { resource:Kayamb property:instrument ?o . ?o rdf:type ontology:musical_instrument } } . FILTER ( ?r = ?s ) . { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?r ) WHERE { ?k property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?k rdf:type ontology:common_name } GROUP BY ?l } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7235420 Q1178361
P495
Q15617994
USER
Which administrative territories are the countries of origin of davul or The Paper Will Be Blue ?
OR((Q1178361,P495,c(Q15617994)), (Q7235420,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1178361
relation P495
action find
entity Q7235420
relation P495
type Q15617994
{'OR': [['Q1178361', 'P495', {'concept': 'Q15617994'}], ['Q7235420', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1178361 property:P495 ?f } UNION { resource:Q7235420 property:P495 ?f } } . ?f rdf:type ontology:Q15617994 }
The Paper Will Be Blue davul
action filter_type
action union
action find
entity davul
relation country of origin
action find
entity The Paper Will Be Blue
relation country of origin
type designation for an administrative territorial entity
{'OR': [['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['The Paper Will Be Blue', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:davul property:country_of_origin ?f } UNION { resource:The_Paper_Will_Be_Blue property:country_of_origin ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q43
SYSTEM
Romania, Turkey
Q218 Q43
OR((Q1178361,P495,c(Q15617994)), (Q7235420,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q1178361
relation P495
action find
entity Q7235420
relation P495
type Q15617994
Are the countries of origin of davul or The Paper Will Be Blue in [ANSWERS]
{'OR': [['Q1178361', 'P495', {'concept': 'Q15617994'}], ['Q7235420', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q1178361 property:P495 ?f } UNION { resource:Q7235420 property:P495 ?f } } . ?f rdf:type ontology:Q15617994 }
Romania Turkey
Are the countries of origin of davul or The Paper Will Be Blue in Romania and Turkey
Romania Turkey
action filter_type
action union
action find
entity davul
relation country of origin
action find
entity The Paper Will Be Blue
relation country of origin
type designation for an administrative territorial entity
{'OR': [['davul', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['The Paper Will Be Blue', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:davul property:country_of_origin ?f } UNION { resource:The_Paper_Will_Be_Blue property:country_of_origin ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5347729
P530
Q15617994
USER
Are Egdon known to have diplomatic connections with those ones ?
(Q5347729,P530,Q218) (Q5347729,P530,Q43)
action is_in
entity prev_answer
action find
entity Q5347729
relation P530
['Q5347729', 'P530', 'Q218'] ['Q5347729', 'P530', 'Q43']
ASK WHERE { VALUES ( ?c ) { ( resource:Q218 ) ( resource:Q43 ) } . resource:Q5347729 property:P530 ?c }
Egdon
action is_in
entity prev_answer
action find
entity Egdon
relation diplomatic relation
['Egdon', 'diplomatic relation', 'Romania'] ['Egdon', 'diplomatic relation', 'Turkey']
ASK WHERE { VALUES ( ?c ) { ( resource:Romania ) ( resource:Turkey ) } . resource:Egdon property:diplomatic_relation ?c }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5347729,P530,Q218) (Q5347729,P530,Q43)
action is_in
entity prev_answer
action find
entity Q5347729
relation P530
[ANSWER]
['Q5347729', 'P530', 'Q218'] ['Q5347729', 'P530', 'Q43']
ASK WHERE { VALUES ( ?c ) { ( resource:Q218 ) ( resource:Q43 ) } . resource:Q5347729 property:P530 ?c }
No
action is_in
entity prev_answer
action find
entity Egdon
relation diplomatic relation
['Egdon', 'diplomatic relation', 'Romania'] ['Egdon', 'diplomatic relation', 'Turkey']
ASK WHERE { VALUES ( ?c ) { ( resource:Romania ) ( resource:Turkey ) } . resource:Egdon property:diplomatic_relation ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q1792379 Q15709879
USER
How many names are expressed in exactly 1 art genres or artwork series ?
(c(Q1792379)|c(Q15709879),P180,c(Q82799))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
value 1
[[{'concept': 'Q1792379'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) ?a WHERE { { ?a rdf:type ontology:Q82799 . ?w rdf:type ontology:Q1792379 . ?w property:P180 ?a } UNION { ?w property:P180 ?a . ?a rdf:type ontology:Q82799 . ?w rdf:type ontology:Q15709879 } } GROUP BY ?a } . FILTER ( ?k = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
value 1
[[{'concept': 'art genre'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) ?a WHERE { { ?a rdf:type ontology:name . ?w rdf:type ontology:art_genre . ?w property:depicts ?a } UNION { ?w property:depicts ?a . ?a rdf:type ontology:name . ?w rdf:type ontology:artwork_series } } GROUP BY ?a } . FILTER ( ?k = 1 ) }
[]
name art genre artwork series
SYSTEM
5
Q5 Q144 Q201251 Q1367 Q152
(c(Q1792379)|c(Q15709879),P180,c(Q82799))
action count
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
value 1
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) ?a WHERE { { ?a rdf:type ontology:Q82799 . ?w rdf:type ontology:Q1792379 . ?w property:P180 ?a } UNION { ?w property:P180 ?a . ?a rdf:type ontology:Q82799 . ?w rdf:type ontology:Q15709879 } } GROUP BY ?a } . FILTER ( ?k = 1 ) }
human dog peacock monkey fish
5
action count
action equal
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
value 1
[[{'concept': 'art genre'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) ?a WHERE { { ?a rdf:type ontology:name . ?w rdf:type ontology:art_genre . ?w property:depicts ?a } UNION { ?w property:depicts ?a . ?a rdf:type ontology:name . ?w rdf:type ontology:artwork_series } } GROUP BY ?a } . FILTER ( ?k = 1 ) }
[]