Simple Question (Direct)
Simple Question
Q932300
P39
Q12737077
USER
What was the position for which Pierre-Paul Schweitzer was appointed ?
(Q932300,P39,c(Q12737077))
action filter_type
action find
entity Q932300
relation P39
type Q12737077
['Q932300', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q932300 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Pierre-Paul Schweitzer
action filter_type
action find
entity Pierre-Paul Schweitzer
relation position held
type occupation
['Pierre-Paul Schweitzer', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Pierre-Paul_Schweitzer property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q20054152
SYSTEM
Managing Director of the International Monetary Fund
Q20054152
(Q932300,P39,c(Q12737077))
action filter_type
action find
entity Q932300
relation P39
type Q12737077
The [ANSWER]
['Q932300', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q932300 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Managing Director of the International Monetary Fund
The Managing Director of the International Monetary Fund
Managing Director of the International Monetary Fund
action filter_type
action find
entity Pierre-Paul Schweitzer
relation position held
type occupation
['Pierre-Paul Schweitzer', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Pierre-Paul_Schweitzer property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q932300
P22
Q502895
USER
Which person has Pierre-Paul Schweitzer as a parent ?
(c(Q502895),P22,Q932300)
action filter_type
action find_reverse
entity Q932300
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q932300']
SELECT DISTINCT ?u WHERE { ?u property:P22 resource:Q932300 . ?u rdf:type ontology:Q502895 }
Pierre-Paul Schweitzer
action filter_type
action find_reverse
entity Pierre-Paul Schweitzer
relation father
type common name
[{'concept': 'common name'}, 'father', 'Pierre-Paul Schweitzer']
SELECT DISTINCT ?u WHERE { ?u property:father resource:Pierre-Paul_Schweitzer . ?u rdf:type ontology:common_name }
[]
common name
Q1384681
SYSTEM
Louis Schweitzer
Q1384681
(c(Q502895),P22,Q932300)
action filter_type
action find_reverse
entity Q932300
relation P22
type Q502895
[ANSWER] has Pierre-Paul Schweitzer as a parent
[{'concept': 'Q502895'}, 'P22', 'Q932300']
SELECT DISTINCT ?u WHERE { ?u property:P22 resource:Q932300 . ?u rdf:type ontology:Q502895 }
Louis Schweitzer
Louis Schweitzer has Pierre-Paul Schweitzer as a parent
Louis Schweitzer
action filter_type
action find_reverse
entity Pierre-Paul Schweitzer
relation father
type common name
[{'concept': 'common name'}, 'father', 'Pierre-Paul Schweitzer']
SELECT DISTINCT ?u WHERE { ?u property:father resource:Pierre-Paul_Schweitzer . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q932300
P20
Q56061
USER
Where did the expiration of Pierre-Paul Schweitzer occur ?
(Q932300,P20,c(Q56061))
action filter_type
action find
entity Q932300
relation P20
type Q56061
['Q932300', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q932300 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Pierre-Paul Schweitzer
action filter_type
action find
entity Pierre-Paul Schweitzer
relation place of death
type administrative territorial entity
['Pierre-Paul Schweitzer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Pierre-Paul_Schweitzer property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q71
SYSTEM
Geneva
Q71
(Q932300,P20,c(Q56061))
action filter_type
action find
entity Q932300
relation P20
type Q56061
The expiration of Pierre-Paul Schweitzer occurred in [ANSWER]
['Q932300', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q932300 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Geneva
The expiration of Pierre-Paul Schweitzer occurred in Geneva
Geneva
action filter_type
action find
entity Pierre-Paul Schweitzer
relation place of death
type administrative territorial entity
['Pierre-Paul Schweitzer', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Pierre-Paul_Schweitzer property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P740
Q163740 Q215380
USER
How many nonprofit organizations or bands originated at that administrative territory ?
(c(Q163740),P740,Q71) (c(Q215380),P740,Q71) (c(Q163740),P740,Q71) (c(Q215380),P740,Q71)
action count
action union
action filter_type
action find_reverse
entity Q71
relation P740
type Q163740
action filter_type
action find_reverse
entity Q71
relation P740
type Q215380
[{'concept': 'Q163740'}, 'P740', 'Q71'] [{'concept': 'Q215380'}, 'P740', 'Q71'] [{'concept': 'Q163740'}, 'P740', 'Q71'] [{'concept': 'Q215380'}, 'P740', 'Q71']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q163740 ) ( ontology:Q215380 ) } }
action count
action union
action filter_type
action find_reverse
entity Geneva
relation location of formation
type nonprofit organization
action filter_type
action find_reverse
entity Geneva
relation location of formation
type band
[{'concept': 'nonprofit organization'}, 'location of formation', 'Geneva'] [{'concept': 'band'}, 'location of formation', 'Geneva'] [{'concept': 'nonprofit organization'}, 'location of formation', 'Geneva'] [{'concept': 'band'}, 'location of formation', 'Geneva']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:nonprofit_organization ) ( ontology:band ) } }
[]
nonprofit organization band
SYSTEM
2
Q23825838 Q26961008
(c(Q163740),P740,Q71) (c(Q215380),P740,Q71) (c(Q163740),P740,Q71) (c(Q215380),P740,Q71)
action count
action union
action filter_type
action find_reverse
entity Q71
relation P740
type Q163740
action filter_type
action find_reverse
entity Q71
relation P740
type Q215380
[ANSWER]
[{'concept': 'Q163740'}, 'P740', 'Q71'] [{'concept': 'Q215380'}, 'P740', 'Q71'] [{'concept': 'Q163740'}, 'P740', 'Q71'] [{'concept': 'Q215380'}, 'P740', 'Q71']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:Q163740 ) ( ontology:Q215380 ) } }
Orchestre Tout Puissant Marcel Duchamp Association internationale des criminologues de langue française
2
action count
action union
action filter_type
action find_reverse
entity Geneva
relation location of formation
type nonprofit organization
action filter_type
action find_reverse
entity Geneva
relation location of formation
type band
[{'concept': 'nonprofit organization'}, 'location of formation', 'Geneva'] [{'concept': 'band'}, 'location of formation', 'Geneva'] [{'concept': 'nonprofit organization'}, 'location of formation', 'Geneva'] [{'concept': 'band'}, 'location of formation', 'Geneva']
SELECT DISTINCT ( COUNT ( ?b ) AS ?i ) WHERE { ?b rdf:type ?z . VALUES ( ?z ) { ( ontology:nonprofit_organization ) ( ontology:band ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q20054152
P39 P21
Q502895
USER
Which people were responsible for occupying the position of Managing Director of the International Monetary Fund and have the gender as male ?
AND((c(Q502895),P39,Q20054152), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q20054152
relation P39
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q20054152'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P21 resource:Q6581097 . ?m property:P39 resource:Q20054152 . ?m rdf:type ontology:Q502895 }
male Managing Director of the International Monetary Fund
action filter_type
action intersection
action find_reverse
entity Managing Director of the International Monetary Fund
relation position held
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'Managing Director of the International Monetary Fund'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:gender resource:male . ?m property:position_held resource:Managing_Director_of_the_International_Monetary_Fund . ?m rdf:type ontology:common_name }
[]
common name
Q1363641 Q176113 Q932300 Q1362880 Q1029185 Q551363 Q1692109 Q455748 Q385437 Q2542
SYSTEM
Jacques de Larosière, Per Jacobsson, Pierre-Paul Schweitzer, Ivar Rooth, Camille Gutt, Michel Camdessus, Johan Witteveen, Rodrigo Rato, Dominique Strauss-Kahn, Horst Köhler
Q1363641 Q176113 Q932300 Q1362880 Q1029185 Q551363 Q1692109 Q455748 Q385437 Q2542
AND((c(Q502895),P39,Q20054152), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q20054152
relation P39
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were responsible for occupying the position of Managing Director of the International Monetary Fund and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q20054152'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m property:P21 resource:Q6581097 . ?m property:P39 resource:Q20054152 . ?m rdf:type ontology:Q502895 }
Jacques de Larosière Per Jacobsson Pierre-Paul Schweitzer Ivar Rooth Camille Gutt Michel Camdessus Johan Witteveen Rodrigo Rato Dominique Strauss-Kahn Horst Köhler
Jacques de Larosière, Per Jacobsson, Pierre-Paul Schweitzer, Ivar Rooth, Camille Gutt, Michel Camdessus, Johan Witteveen, Rodrigo Rato, Dominique Strauss-Kahn and Horst Köhler were responsible for occupying the position of Managing Director of the International Monetary Fund and have the gender as male
Jacques de Larosière Per Jacobsson Pierre-Paul Schweitzer Ivar Rooth Camille Gutt Michel Camdessus Johan Witteveen Rodrigo Rato Dominique Strauss-Kahn Horst Köhler
action filter_type
action intersection
action find_reverse
entity Managing Director of the International Monetary Fund
relation position held
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'Managing Director of the International Monetary Fund'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m property:gender resource:male . ?m property:position_held resource:Managing_Director_of_the_International_Monetary_Fund . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q71 Q758635
P190
Q15617994
USER
How many administrative territories are sister towns of Geneva or Auckland Council ?
(Q71,P190,c(Q15617994)) (Q758635,P190,c(Q15617994))
action count
action union
action filter_type
action find
entity Q71
relation P190
type Q15617994
action filter_type
action find
entity Q758635
relation P190
type Q15617994
['Q71', 'P190', {'concept': 'Q15617994'}] ['Q758635', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { resource:Q71 property:P190 ?h . ?h rdf:type ontology:Q15617994 } UNION { resource:Q758635 property:P190 ?h . ?h rdf:type ontology:Q15617994 } }
Geneva Auckland Council
action count
action union
action filter_type
action find
entity Geneva
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Auckland Council
relation sister city
type designation for an administrative territorial entity
['Geneva', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Auckland Council', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { resource:Geneva property:sister_city ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Auckland_Council property:sister_city ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q683 Q678
(Q71,P190,c(Q15617994)) (Q758635,P190,c(Q15617994))
action count
action union
action filter_type
action find
entity Q71
relation P190
type Q15617994
action filter_type
action find
entity Q758635
relation P190
type Q15617994
[ANSWER]
['Q71', 'P190', {'concept': 'Q15617994'}] ['Q758635', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { resource:Q71 property:P190 ?h . ?h rdf:type ontology:Q15617994 } UNION { resource:Q758635 property:P190 ?h . ?h rdf:type ontology:Q15617994 } }
Samoa Tonga
2
action count
action union
action filter_type
action find
entity Geneva
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Auckland Council
relation sister city
type designation for an administrative territorial entity
['Geneva', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Auckland Council', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { { resource:Geneva property:sister_city ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Auckland_Council property:sister_city ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15619164
USER
How many abstract beings had their voice dubbing done by around 9 people ?
(c(Q15619164),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 9
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?d ) WHERE { ?v property:P725 ?y . ?v rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?d = 9 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 9
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?d ) WHERE { ?v property:voice_actor ?y . ?v rdf:type ontology:abstract_being . ?y rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?d = 9 ) }
[]
common name abstract being
SYSTEM
14
Q15710470 Q3190648 Q15711505 Q20948918 Q20972916 Q20949674 Q2293269 Q2320215 Q2081430 Q3271686 Q3054222 Q3054224 Q568553 Q7468973
(c(Q15619164),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15619164
type Q502895
value 9
[ANSWER]
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?d ) WHERE { ?v property:P725 ?y . ?v rdf:type ontology:Q15619164 . ?y rdf:type ontology:Q502895 } GROUP BY ?v } . FILTER ( ?d = 9 ) }
Big McIntosh Kari Kamiya Braeburn Andrew Oikonny ROB General Pepper Falco Lombardi Wolf O'Donnell Fox McCloud Andross Slippy Toad Peppy Hare Link Applejack
14
action count
action approx
action find_tuple_counts
relation voice actor
type abstract being
type common name
value 9
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?d ) WHERE { ?v property:voice_actor ?y . ?v rdf:type ontology:abstract_being . ?y rdf:type ontology:common_name } GROUP BY ?v } . FILTER ( ?d = 9 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q12927
P9
Q502895
USER
How many people are the sisters of Marine Le Pen ?
(Q12927,P9,c(Q502895))
action count
action filter_type
action find
entity Q12927
relation P9
type Q502895
['Q12927', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Q12927 property:P9 ?a . ?a rdf:type ontology:Q502895 }
Marine Le Pen
action count
action filter_type
action find
entity Marine Le Pen
relation sister
type common name
['Marine Le Pen', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Marine_Le_Pen property:sister ?a . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q3291581 Q15730860
(Q12927,P9,c(Q502895))
action count
action filter_type
action find
entity Q12927
relation P9
type Q502895
[ANSWER]
['Q12927', 'P9', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Q12927 property:P9 ?a . ?a rdf:type ontology:Q502895 }
Marie-Caroline Le Pen Yann Le Pen
2
action count
action filter_type
action find
entity Marine Le Pen
relation sister
type common name
['Marine Le Pen', 'sister', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { resource:Marine_Le_Pen property:sister ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q385437
P26
Q502895
USER
Who is married to Dominique Strauss-Kahn ?
(c(Q502895),P26,Q385437)
action filter_type
action find
entity Q385437
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q385437']
SELECT DISTINCT ?p WHERE { resource:Q385437 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Dominique Strauss-Kahn
action filter_type
action find
entity Dominique Strauss-Kahn
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Dominique Strauss-Kahn']
SELECT DISTINCT ?p WHERE { resource:Dominique_Strauss-Kahn property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Q291731
SYSTEM
Anne Sinclair
Q291731
(c(Q502895),P26,Q385437)
action filter_type
action find
entity Q385437
relation P26
type Q502895
In [ANSWER] is married to Dominique Strauss-Kahn
[{'concept': 'Q502895'}, 'P26', 'Q385437']
SELECT DISTINCT ?p WHERE { resource:Q385437 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Anne Sinclair
In Anne Sinclair is married to Dominique Strauss-Kahn
Anne Sinclair
action filter_type
action find
entity Dominique Strauss-Kahn
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Dominique Strauss-Kahn']
SELECT DISTINCT ?p WHERE { resource:Dominique_Strauss-Kahn property:spouse ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1384681
P112
Q43229
USER
Which organization was founded by Louis Schweitzer ?
(c(Q43229),P112,Q1384681)
action filter_type
action find_reverse
entity Q1384681
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q1384681']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q43229 . ?x property:P112 resource:Q1384681 }
Louis Schweitzer
action filter_type
action find_reverse
entity Louis Schweitzer
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Louis Schweitzer']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:organization . ?x property:founder resource:Louis_Schweitzer }
[]
organization
Q1477864
SYSTEM
Renault–Nissan Alliance
Q1477864
(c(Q43229),P112,Q1384681)
action filter_type
action find_reverse
entity Q1384681
relation P112
type Q43229
[ANSWER] was founded by Louis Schweitzer
[{'concept': 'Q43229'}, 'P112', 'Q1384681']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q43229 . ?x property:P112 resource:Q1384681 }
Renault–Nissan Alliance
Renault–Nissan Alliance was founded by Louis Schweitzer
Renault–Nissan Alliance
action filter_type
action find_reverse
entity Louis Schweitzer
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Louis Schweitzer']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:organization . ?x property:founder resource:Louis_Schweitzer }
[]