Simple Question (Direct)
Simple Question
Q1944766
P937
Q515
USER
Which city is the work location of Monika Seifert ?
(Q1944766,P937,c(Q515))
action filter_type
action find
entity Q1944766
relation P937
type Q515
['Q1944766', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q515 . resource:Q1944766 property:P937 ?o }
Monika Seifert
action filter_type
action find
entity Monika Seifert
relation work location
type city
['Monika Seifert', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:city . resource:Monika_Seifert property:work_location ?o }
[]
city
Q1794
SYSTEM
Frankfurt
Q1794
(Q1944766,P937,c(Q515))
action filter_type
action find
entity Q1944766
relation P937
type Q515
[ANSWER]
['Q1944766', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q515 . resource:Q1944766 property:P937 ?o }
Frankfurt
Frankfurt
action filter_type
action find
entity Monika Seifert
relation work location
type city
['Monika Seifert', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:city . resource:Monika_Seifert property:work_location ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1944766
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q1794,P106,c(Q12737077))
action filter_type
action find
entity Q1944766
relation P106
type Q12737077
['Q1794', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1944766 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Monika Seifert
action filter_type
action find
entity Monika Seifert
relation occupation
type occupation
['Frankfurt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Monika_Seifert property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q1231865 Q2306091
SYSTEM
educationist, sociologist
Q1231865 Q2306091
(Q1794,P106,c(Q12737077))
action filter_type
action find
entity Q1944766
relation P106
type Q12737077
[ANSWERS]
['Q1794', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1944766 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
educationist sociologist
educationist sociologist
action filter_type
action find
entity Monika Seifert
relation occupation
type occupation
['Frankfurt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Monika_Seifert property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1944766
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q1231865,P27,c(Q1048835)) (Q2306091,P27,c(Q1048835))
action filter_type
action find
entity Q1944766
relation P27
type Q1048835
['Q1231865', 'P27', {'concept': 'Q1048835'}] ['Q2306091', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q1944766 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Monika Seifert
action filter_type
action find
entity Monika Seifert
relation country of citizenship
type political territorial entity
['educationist', 'country of citizenship', {'concept': 'political territorial entity'}] ['sociologist', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Monika_Seifert property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1231865,P27,c(Q1048835)) (Q2306091,P27,c(Q1048835))
action filter_type
action find
entity Q1944766
relation P27
type Q1048835
[ANSWER]
['Q1231865', 'P27', {'concept': 'Q1048835'}] ['Q2306091', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q1944766 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Monika Seifert
relation country of citizenship
type political territorial entity
['educationist', 'country of citizenship', {'concept': 'political territorial entity'}] ['sociologist', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Monika_Seifert property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1944766
P463
Q7210356
USER
Which political organization had Monika Seifert as its member ?
(Q1944766,P463,c(Q7210356))
action filter_type
action find
entity Q1944766
relation P463
type Q7210356
['Q1944766', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q1944766 property:P463 ?j . ?j rdf:type ontology:Q7210356 }
Monika Seifert
action filter_type
action find
entity Monika Seifert
relation member of
type political organization
['Monika Seifert', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Monika_Seifert property:member_of ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Q558439
SYSTEM
Sozialistischer Deutscher Studentenbund
Q558439
(Q1944766,P463,c(Q7210356))
action filter_type
action find
entity Q1944766
relation P463
type Q7210356
[ANSWER]
['Q1944766', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q1944766 property:P463 ?j . ?j rdf:type ontology:Q7210356 }
Sozialistischer Deutscher Studentenbund
Sozialistischer Deutscher Studentenbund
action filter_type
action find
entity Monika Seifert
relation member of
type political organization
['Monika Seifert', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Monika_Seifert property:member_of ?j . ?j rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23809796
Q7210356
USER
And also tell me about Georges Larpent?
(Q23809796,P463,c(Q7210356))
action filter_type
action find
entity Q23809796
relation P463
type Q7210356
['Q23809796', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q23809796 property:P463 ?z . ?z rdf:type ontology:Q7210356 }
Georges Larpent
action filter_type
action find
entity Georges Larpent
relation member of
type political organization
['Georges Larpent', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:Georges_Larpent property:member_of ?z . ?z rdf:type ontology:political_organization }
[]
political organization
Q49629
SYSTEM
Action Française
Q49629
(Q23809796,P463,c(Q7210356))
action filter_type
action find
entity Q23809796
relation P463
type Q7210356
[ANSWER]
['Q23809796', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?z WHERE { resource:Q23809796 property:P463 ?z . ?z rdf:type ontology:Q7210356 }
Action Française
Action Française
action filter_type
action find
entity Georges Larpent
relation member of
type political organization
['Georges Larpent', 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?z WHERE { resource:Georges_Larpent property:member_of ?z . ?z rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q49629 Q12331062
P102
Q502895
USER
Is Patrick da Silva the member of that political organization ?
(Q12331062,P102,Q49629)
action is_in
entity Q12331062
action find
entity Q49629
relation P102
['Q12331062', 'P102', 'Q49629']
ASK WHERE { resource:Q49629 property:P102 resource:Q12331062 }
Action Française Patrick da Silva
action is_in
entity Patrick da Silva
action find
entity Action Française
relation member of political party
['Patrick da Silva', 'member of political party', 'Action Française']
ASK WHERE { resource:Action_Française property:member_of_political_party resource:Patrick_da_Silva }
[]
common name
SYSTEM
NO
(Q12331062,P102,Q49629)
action is_in
entity Q12331062
action find
entity Q49629
relation P102
[ANSWER]
['Q12331062', 'P102', 'Q49629']
ASK WHERE { resource:Q49629 property:P102 resource:Q12331062 }
No
action is_in
entity Patrick da Silva
action find
entity Action Française
relation member of political party
['Patrick da Silva', 'member of political party', 'Action Française']
ASK WHERE { resource:Action_Française property:member_of_political_party resource:Patrick_da_Silva }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q7210356 Q43229
USER
How many organizations are a component of atleast 1 political organization ?
(c(Q43229),P361,c(Q7210356))
action count
action atleast
action find_tuple_counts
relation P361
type Q43229
type Q7210356
value 1
[{'concept': 'Q43229'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?f ) WHERE { ?k property:P361 ?n . ?k rdf:type ontology:Q43229 . ?n rdf:type ontology:Q7210356 } GROUP BY ?k } }
action count
action atleast
action find_tuple_counts
relation part of
type organization
type political organization
value 1
[{'concept': 'organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?f ) WHERE { ?k property:part_of ?n . ?k rdf:type ontology:organization . ?n rdf:type ontology:political_organization } GROUP BY ?k } }
[]
political organization organization
SYSTEM
8
Q1898994 Q2103651 Q172648 Q7314708 Q5027800 Q5016446 Q20850715 Q1185863
(c(Q43229),P361,c(Q7210356))
action count
action atleast
action find_tuple_counts
relation P361
type Q43229
type Q7210356
value 1
[ANSWER]
[{'concept': 'Q43229'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?f ) WHERE { ?k property:P361 ?n . ?k rdf:type ontology:Q43229 . ?n rdf:type ontology:Q7210356 } GROUP BY ?k } }
Special Organisation Young Socialists Greek People's Liberation Army Republican State Committee of Pennsylvania Campaign for Nationalism in Scotland Cadets of the Republic Organização da Mulher Moçambicana Democratic National Committee
8
action count
action atleast
action find_tuple_counts
relation part of
type organization
type political organization
value 1
[{'concept': 'organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?p ) WHERE { FILTER ( ?f >= 1 ) . { SELECT DISTINCT ?k ( COUNT ( ?n ) AS ?f ) WHERE { ?k property:part_of ?n . ?k rdf:type ontology:organization . ?n rdf:type ontology:political_organization } GROUP BY ?k } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q707063 Q183
P710 P35
Q502895
USER
Which people are the heads of state of Germany and were the artist who participated in German presidential election, 2010 ?
AND((Q183,P35,c(Q502895)), (Q707063,P710,c(Q502895)))
action filter_type
action intersection
action find
entity Q183
relation P35
action find
entity Q707063
relation P710
type Q502895
{'AND': [['Q183', 'P35', {'concept': 'Q502895'}], ['Q707063', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q707063 property:P710 ?d . resource:Q183 property:P35 ?d }
German presidential election, 2010 Germany
action filter_type
action intersection
action find
entity Germany
relation head of state
action find
entity German presidential election, 2010
relation participant
type common name
{'AND': [['Germany', 'head of state', {'concept': 'common name'}], ['German presidential election, 2010', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:German_presidential_election,_2010 property:participant ?d . resource:Germany property:head_of_state ?d }
[]
common name
Q2542 Q2540
SYSTEM
Horst Köhler, Christian Wulff
Q2542 Q2540
AND((Q183,P35,c(Q502895)), (Q707063,P710,c(Q502895)))
action filter_type
action intersection
action find
entity Q183
relation P35
action find
entity Q707063
relation P710
type Q502895
[ANSWERS]
{'AND': [['Q183', 'P35', {'concept': 'Q502895'}], ['Q707063', 'P710', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q707063 property:P710 ?d . resource:Q183 property:P35 ?d }
Horst Köhler Christian Wulff
Horst Köhler Christian Wulff
action filter_type
action intersection
action find
entity Germany
relation head of state
action find
entity German presidential election, 2010
relation participant
type common name
{'AND': [['Germany', 'head of state', {'concept': 'common name'}], ['German presidential election, 2010', 'participant', {'concept': 'common name'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:German_presidential_election,_2010 property:participant ?d . resource:Germany property:head_of_state ?d }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q1048835
USER
How many political territories are the countries of citizenship of that person ?
(Q2540,P27,c(Q1048835))
['Q2540', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2540 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
['Christian Wulff', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Christian_Wulff property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q2542
SYSTEM
Did you mean Horst Köhler ?
(Q2542,P27,c(Q1048835)) (Q2540,P27,c(Q1048835))
[ANSWER]
['Q2542', 'P27', {'concept': 'Q1048835'}] ['Q2540', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2540 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean Horst Köhler ?
Horst Köhler
['Horst Köhler', 'country of citizenship', {'concept': 'political territorial entity'}] ['Christian Wulff', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Christian_Wulff property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Christian Wulff. Could you tell me the answer for that?
(Q2540,P27,c(Q1048835))
Q2540
['Q2540', 'P27', {'concept': 'Q1048835'}]
['Christian Wulff', 'country of citizenship', {'concept': 'political territorial entity'}]
[]
SYSTEM
1
Q183
(Q2540,P27,c(Q1048835))
[ANSWER]
['Q2540', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q2540 property:P27 ?z . ?z rdf:type ontology:Q1048835 }
Germany
1
['Christian Wulff', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Christian_Wulff property:country_of_citizenship ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q23017199
P725
Q502895 Q166142
USER
Which applications have been dubbed by around the same number of people as Marvel Avengers Academy ?
(c(Q166142),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q23017199
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?y ) WHERE { ?z property:P725 ?h . ?z rdf:type ontology:Q166142 . ?h rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Q23017199 property:P725 ?w . ?w rdf:type ontology:Q166142 } } . FILTER ( ?y = ?u ) }
Marvel Avengers Academy
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Marvel Avengers Academy
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?y ) WHERE { ?z property:voice_actor ?h . ?z rdf:type ontology:application . ?h rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Marvel_Avengers_Academy property:voice_actor ?w . ?w rdf:type ontology:application } } . FILTER ( ?y = ?u ) }
[]
common name application
Q1052131 Q1141963 Q870981
SYSTEM
Super Smash Bros. Melee, Star Fox 64, Super Smash Bros.
Q1052131 Q1141963 Q53362 Q870981 Q2578717 Q2061445 Q1207525 Q23017199 Q182548
(c(Q166142),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q23017199
relation P725
type Q166142
[ANSWERS]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?y ) WHERE { ?z property:P725 ?h . ?z rdf:type ontology:Q166142 . ?h rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Q23017199 property:P725 ?w . ?w rdf:type ontology:Q166142 } } . FILTER ( ?y = ?u ) }
Super Smash Bros. Melee Star Fox 64 Bakemonogatari Super Smash Bros. Star Fox Adventures Hyperdimension Neptunia Mk2 Hyperdimension Neptunia Marvel Avengers Academy Date A Live
Super Smash Bros. Melee Star Fox 64 Super Smash Bros.
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Marvel Avengers Academy
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?h ) AS ?y ) WHERE { ?z property:voice_actor ?h . ?z rdf:type ontology:application . ?h rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) WHERE { resource:Marvel_Avengers_Academy property:voice_actor ?w . ?w rdf:type ontology:application } } . FILTER ( ?y = ?u ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1371603
P725
Q502895 Q166142
USER
And also tell me about Star Fox 64 3D?
(c(Q166142),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q1371603
relation P725
type Q166142
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?k ) WHERE { ?x property:P725 ?y . ?x rdf:type ontology:Q166142 . ?y rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?k = ?b ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Q1371603 property:P725 ?u . ?u rdf:type ontology:Q166142 } } }
Star Fox 64 3D
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Star Fox 64 3D
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?k ) WHERE { ?x property:voice_actor ?y . ?x rdf:type ontology:application . ?y rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?k = ?b ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Star_Fox_64_3D property:voice_actor ?u . ?u rdf:type ontology:application } } }
[]
common name application
Q1371603 Q2666042
SYSTEM
Star Fox 64 3D, Star Fox: Assault
Q1371603 Q2666042
(c(Q166142),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q166142
type Q502895
action count
action filter_type
action find
entity Q1371603
relation P725
type Q166142
[ANSWERS]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?k ) WHERE { ?x property:P725 ?y . ?x rdf:type ontology:Q166142 . ?y rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?k = ?b ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Q1371603 property:P725 ?u . ?u rdf:type ontology:Q166142 } } }
Star Fox 64 3D Star Fox: Assault
Star Fox 64 3D Star Fox: Assault
action approx
action find_tuple_counts
relation voice actor
type application
type common name
action count
action filter_type
action find
entity Star Fox 64 3D
relation voice actor
type application
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?y ) AS ?k ) WHERE { ?x property:voice_actor ?y . ?x rdf:type ontology:application . ?y rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?k = ?b ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?b ) WHERE { resource:Star_Fox_64_3D property:voice_actor ?u . ?u rdf:type ontology:application } } }
[]