Simple Question (Direct)
Simple Question
Q556409
P463
Q484652
USER
Which international organization was Algirdas Saudargas a member of ?
(Q556409,P463,c(Q484652))
action filter_type
action find
entity Q556409
relation P463
type Q484652
['Q556409', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?l WHERE { resource:Q556409 property:P463 ?l . ?l rdf:type ontology:Q484652 }
Algirdas Saudargas
action filter_type
action find
entity Algirdas Saudargas
relation member of
type international organization
['Algirdas Saudargas', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?l WHERE { resource:Algirdas_Saudargas property:member_of ?l . ?l rdf:type ontology:international_organization }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q556409,P463,c(Q484652))
action filter_type
action find
entity Q556409
relation P463
type Q484652
[ANSWER]
['Q556409', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?l WHERE { resource:Q556409 property:P463 ?l . ?l rdf:type ontology:Q484652 }
Parliamentary Assembly of the Council of Europe
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Algirdas Saudargas
relation member of
type international organization
['Algirdas Saudargas', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?l WHERE { resource:Algirdas_Saudargas property:member_of ?l . ?l rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q556409
P102
Q7210356
USER
Which political organization is Algirdas Saudargas a member of ?
(Q556409,P102,c(Q7210356))
action filter_type
action find
entity Q556409
relation P102
type Q7210356
['Q556409', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q556409 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Algirdas Saudargas
action filter_type
action find
entity Algirdas Saudargas
relation member of political party
type political organization
['Algirdas Saudargas', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Algirdas_Saudargas property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
political organization
Q81556
SYSTEM
Homeland Union
Q81556
(Q556409,P102,c(Q7210356))
action filter_type
action find
entity Q556409
relation P102
type Q7210356
[ANSWER]
['Q556409', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?a WHERE { resource:Q556409 property:P102 ?a . ?a rdf:type ontology:Q7210356 }
Homeland Union
Homeland Union
action filter_type
action find
entity Algirdas Saudargas
relation member of political party
type political organization
['Algirdas Saudargas', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?a WHERE { resource:Algirdas_Saudargas property:member_of_political_party ?a . ?a rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q556409
P19
Q56061
USER
Which administrative territory is the birthplace of Algirdas Saudargas ?
(Q556409,P19,c(Q56061))
action filter_type
action find
entity Q556409
relation P19
type Q56061
['Q556409', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q556409 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Algirdas Saudargas
action filter_type
action find
entity Algirdas Saudargas
relation place of birth
type administrative territorial entity
['Algirdas Saudargas', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Algirdas_Saudargas property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4115712
SYSTEM
Kaunas
Q4115712
(Q556409,P19,c(Q56061))
action filter_type
action find
entity Q556409
relation P19
type Q56061
[ANSWER]
['Q556409', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q556409 property:P19 ?b . ?b rdf:type ontology:Q56061 }
Kaunas
Kaunas
action filter_type
action find
entity Algirdas Saudargas
relation place of birth
type administrative territorial entity
['Algirdas Saudargas', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Algirdas_Saudargas property:place_of_birth ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81556
P488
Q502895
USER
Who chaired Homeland Union ?
(Q81556,P488,c(Q502895))
action filter_type
action find
entity Q81556
relation P488
type Q502895
['Q81556', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q81556 property:P488 ?c }
Homeland Union
action filter_type
action find
entity Homeland Union
relation chairperson
type common name
['Homeland Union', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Homeland_Union property:chairperson ?c }
[]
common name
Q57663
SYSTEM
Andrius Kubilius
Q57663
(Q81556,P488,c(Q502895))
action filter_type
action find
entity Q81556
relation P488
type Q502895
[ANSWER]
['Q81556', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q81556 property:P488 ?c }
Andrius Kubilius
Andrius Kubilius
action filter_type
action find
entity Homeland Union
relation chairperson
type common name
['Homeland Union', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:Homeland_Union property:chairperson ?c }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1421227
Q502895
USER
And how about Official Monster Raving Loony Party?
(Q1421227,P488,c(Q502895))
action filter_type
action find
entity Q1421227
relation P488
type Q502895
['Q1421227', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1421227 property:P488 ?d . ?d rdf:type ontology:Q502895 }
Official Monster Raving Loony Party
action filter_type
action find
entity Official Monster Raving Loony Party
relation chairperson
type common name
['Official Monster Raving Loony Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Official_Monster_Raving_Loony_Party property:chairperson ?d . ?d rdf:type ontology:common_name }
[]
common name
Q5922334 Q1380926
SYSTEM
Alan Hope, David Sutch
Q5922334 Q1380926
(Q1421227,P488,c(Q502895))
action filter_type
action find
entity Q1421227
relation P488
type Q502895
[ANSWERS]
['Q1421227', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q1421227 property:P488 ?d . ?d rdf:type ontology:Q502895 }
Alan Hope David Sutch
Alan Hope David Sutch
action filter_type
action find
entity Official Monster Raving Loony Party
relation chairperson
type common name
['Official Monster Raving Loony Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Official_Monster_Raving_Loony_Party property:chairperson ?d . ?d rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q13471616
P725
Q502895 Q6619679
USER
How many fictional humanoids had their voice dubbing done by around the same number of people as Mr. Bean ?
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q13471616
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?p ) WHERE { ?w property:P725 ?c . ?w rdf:type ontology:Q6619679 . ?c rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q13471616 property:P725 ?i . ?i rdf:type ontology:Q6619679 } } . FILTER ( ?p = ?j ) }
Mr. Bean
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Mr. Bean
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?p ) WHERE { ?w property:voice_actor ?c . ?w rdf:type ontology:fictional_humanoid . ?c rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Mr._Bean property:voice_actor ?i . ?i rdf:type ontology:fictional_humanoid } } . FILTER ( ?p = ?j ) }
[]
common name fictional humanoid
SYSTEM
25
Q1623086 Q1205263 Q4992177 Q24010814 Q819585 Q1079617 Q718965 Q3784876 Q4006757 Q15614636 Q1148698 Q1056953 Q250221 Q3149148 Q18156023 Q6989902 Q15726744 Q601978 Q757015 Q15620419 Q13471616 Q12879 Q19796729 Q716636 Q1154920
(c(Q6619679),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q13471616
relation P725
type Q6619679
[ANSWER]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?p ) WHERE { ?w property:P725 ?c . ?w rdf:type ontology:Q6619679 . ?c rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q13471616 property:P725 ?i . ?i rdf:type ontology:Q6619679 } } . FILTER ( ?p = ?j ) }
Hector Barbossa Eli Vance Cave Johnson Deckard Cain Jaina Proudmoore Wallace Breen Hinata Hyuga Henrietta Utena Tenjo Anna (Disney) Ai Haibara Minsc Alyx Vance Imoen Maud Pie Neku Sakuraba Silver Spoon Kyon Sailor Moon Elsa Mr. Bean Toph Beifong Michelle Mr. Burns Father Grigori
25
action count
action approx
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Mr. Bean
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?p ) WHERE { ?w property:voice_actor ?c . ?w rdf:type ontology:fictional_humanoid . ?c rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Mr._Bean property:voice_actor ?i . ?i rdf:type ontology:fictional_humanoid } } . FILTER ( ?p = ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q4115712
P190
Q1048835 Q486972
USER
How many political territories or human settlements are the sister cities of Kaunas ?
(Q4115712,P190,c(Q1048835)) (Q4115712,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q4115712
relation P190
type Q1048835
action filter_type
action find
entity Q4115712
relation P190
type Q486972
['Q4115712', 'P190', {'concept': 'Q1048835'}] ['Q4115712', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { resource:Q4115712 property:P190 ?h . ?h rdf:type ontology:Q1048835 } UNION { resource:Q4115712 property:P190 ?h . ?h rdf:type ontology:Q486972 } }
Kaunas
action count
action union
action filter_type
action find
entity Kaunas
relation sister city
type political territorial entity
action filter_type
action find
entity Kaunas
relation sister city
type human settlement
['Kaunas', 'sister city', {'concept': 'political territorial entity'}] ['Kaunas', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { resource:Kaunas property:sister_city ?h . ?h rdf:type ontology:political_territorial_entity } UNION { resource:Kaunas property:sister_city ?h . ?h rdf:type ontology:human_settlement } }
[]
political territorial entity human settlement
SYSTEM
2
Q1799 Q68744
(Q4115712,P190,c(Q1048835)) (Q4115712,P190,c(Q486972))
action count
action union
action filter_type
action find
entity Q4115712
relation P190
type Q1048835
action filter_type
action find
entity Q4115712
relation P190
type Q486972
[ANSWER]
['Q4115712', 'P190', {'concept': 'Q1048835'}] ['Q4115712', 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { resource:Q4115712 property:P190 ?h . ?h rdf:type ontology:Q1048835 } UNION { resource:Q4115712 property:P190 ?h . ?h rdf:type ontology:Q486972 } }
Wrocław Xiamen
2
action count
action union
action filter_type
action find
entity Kaunas
relation sister city
type political territorial entity
action filter_type
action find
entity Kaunas
relation sister city
type human settlement
['Kaunas', 'sister city', {'concept': 'political territorial entity'}] ['Kaunas', 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { resource:Kaunas property:sister_city ?h . ?h rdf:type ontology:political_territorial_entity } UNION { resource:Kaunas property:sister_city ?h . ?h rdf:type ontology:human_settlement } }
[]
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 atleast 518 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 518
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?q >= 518 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 518
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?q >= 518 ) }
[]
musical instrument common name
SYSTEM
8
Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 518
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?q >= 518 ) }
bass guitar double bass piano trumpet cello violin organ drum kit
8
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 518
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?q ) WHERE { ?v property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?q >= 518 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q125322
P106
Q12737077
USER
What is the job of Johann Heinrich Ulrich ?
(Q125322,P106,c(Q12737077))
action filter_type
action find
entity Q125322
relation P106
type Q12737077
['Q125322', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q125322 property:P106 ?l }
Johann Heinrich Ulrich
action filter_type
action find
entity Johann Heinrich Ulrich
relation occupation
type occupation
['Johann Heinrich Ulrich', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Johann_Heinrich_Ulrich property:occupation ?l }
[]
occupation
Q1234713
SYSTEM
theologian
Q1234713
(Q125322,P106,c(Q12737077))
action filter_type
action find
entity Q125322
relation P106
type Q12737077
[ANSWER]
['Q125322', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q125322 property:P106 ?l }
theologian
theologian
action filter_type
action find
entity Johann Heinrich Ulrich
relation occupation
type occupation
['Johann Heinrich Ulrich', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Johann_Heinrich_Ulrich property:occupation ?l }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18577116
Q12737077
USER
And what about Thomas Watts?
(Q18577116,P106,c(Q12737077))
action filter_type
action find
entity Q18577116
relation P106
type Q12737077
['Q18577116', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q18577116 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Thomas Watts
action filter_type
action find
entity Thomas Watts
relation occupation
type occupation
['Thomas Watts', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Thomas_Watts property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q182436
SYSTEM
librarian
Q182436
(Q18577116,P106,c(Q12737077))
action filter_type
action find
entity Q18577116
relation P106
type Q12737077
[ANSWER]
['Q18577116', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q18577116 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
librarian
librarian
action filter_type
action find
entity Thomas Watts
relation occupation
type occupation
['Thomas Watts', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Thomas_Watts property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q182436 Q44248
P417
Q502895
USER
Is Jerome the patron saint of that occupation ?
(Q182436,P417,Q44248)
action is_in
entity Q44248
action find
entity Q182436
relation P417
['Q182436', 'P417', 'Q44248']
ASK WHERE { resource:Q182436 property:P417 resource:Q44248 }
librarian Jerome
action is_in
entity Jerome
action find
entity librarian
relation patron saint
['librarian', 'patron saint', 'Jerome']
ASK WHERE { resource:librarian property:patron_saint resource:Jerome }
[]
common name
SYSTEM
YES
(Q182436,P417,Q44248)
action is_in
entity Q44248
action find
entity Q182436
relation P417
[ANSWER]
['Q182436', 'P417', 'Q44248']
ASK WHERE { resource:Q182436 property:P417 resource:Q44248 }
Yes
action is_in
entity Jerome
action find
entity librarian
relation patron saint
['librarian', 'patron saint', 'Jerome']
ASK WHERE { resource:librarian property:patron_saint resource:Jerome }
[]