Simple Question (Direct)
Simple Question
Q5887544
P734
Q82799
USER
Who is associated with Robert Johansson ?
(Q5887544,P734,c(Q82799))
action filter_type
action find
entity Q5887544
relation P734
type Q82799
['Q5887544', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q5887544 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Robert Johansson
action filter_type
action find
entity Robert Johansson
relation family name
type name
['Robert Johansson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Robert_Johansson property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q1699018
SYSTEM
Johansson
Q1699018
(Q5887544,P734,c(Q82799))
action filter_type
action find
entity Q5887544
relation P734
type Q82799
[ANSWER] is associated with Robert [ANSWER]
['Q5887544', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q5887544 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Johansson
Johansson is associated with Robert Johansson
Johansson
action filter_type
action find
entity Robert Johansson
relation family name
type name
['Robert Johansson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Robert_Johansson property:family_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5887544
P937
Q56061
USER
What is the work location of that person ?
(Q1699018,P937,c(Q56061))
action filter_type
action find
entity Q5887544
relation P937
type Q56061
['Q1699018', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q5887544 property:P937 ?b . ?b rdf:type ontology:Q56061 }
Robert Johansson
action filter_type
action find
entity Robert Johansson
relation work location
type administrative territorial entity
['Johansson', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Robert_Johansson property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(Q1699018,P937,c(Q56061))
action filter_type
action find
entity Q5887544
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q1699018', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q5887544 property:P937 ?b . ?b rdf:type ontology:Q56061 }
Stockholm
The work location of that person is in Stockholm
Stockholm
action filter_type
action find
entity Robert Johansson
relation work location
type administrative territorial entity
['Johansson', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Robert_Johansson property:work_location ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1754
P6
Q502895
USER
Which person is the head of government of that administrative territory ?
(Q1754,P6,c(Q502895))
action filter_type
action find
entity Q1754
relation P6
type Q502895
['Q1754', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1754 property:P6 ?q . ?q rdf:type ontology:Q502895 }
Stockholm
action filter_type
action find
entity Stockholm
relation head of government
type common name
['Stockholm', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Stockholm property:head_of_government ?q . ?q rdf:type ontology:common_name }
[]
common name
Q4990192
SYSTEM
Karin Wanngård
Q4990192
(Q1754,P6,c(Q502895))
action filter_type
action find
entity Q1754
relation P6
type Q502895
[ANSWER] is the head of government of that administrative territory
['Q1754', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q1754 property:P6 ?q . ?q rdf:type ontology:Q502895 }
Karin Wanngård
Karin Wanngård is the head of government of that administrative territory
Karin Wanngård
action filter_type
action find
entity Stockholm
relation head of government
type common name
['Stockholm', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Stockholm property:head_of_government ?q . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q4990192 Q52644 Q435221
P27
Q15617994
USER
Is that person a citizen of Rapolla and Altdorf ?
(Q4990192,P27,Q52644) (Q4990192,P27,Q435221)
action is_in
entity Q4990192
action intersection
action find_reverse
entity Q52644
relation P27
action find_reverse
entity Q435221
relation P27
['Q4990192', 'P27', 'Q52644'] ['Q4990192', 'P27', 'Q435221']
ASK WHERE { resource:Q4990192 property:P27 resource:Q52644 . resource:Q4990192 property:P27 resource:Q435221 }
Karin Wanngård Rapolla Altdorf
action is_in
entity Karin Wanngård
action intersection
action find_reverse
entity Rapolla
relation country of citizenship
action find_reverse
entity Altdorf
relation country of citizenship
['Karin Wanngård', 'country of citizenship', 'Rapolla'] ['Karin Wanngård', 'country of citizenship', 'Altdorf']
ASK WHERE { resource:Karin_Wanngård property:country_of_citizenship resource:Rapolla . resource:Karin_Wanngård property:country_of_citizenship resource:Altdorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4990192,P27,Q52644) (Q4990192,P27,Q435221)
action is_in
entity Q4990192
action intersection
action find_reverse
entity Q52644
relation P27
action find_reverse
entity Q435221
relation P27
[ANSWER]
['Q4990192', 'P27', 'Q52644'] ['Q4990192', 'P27', 'Q435221']
ASK WHERE { resource:Q4990192 property:P27 resource:Q52644 . resource:Q4990192 property:P27 resource:Q435221 }
No
action is_in
entity Karin Wanngård
action intersection
action find_reverse
entity Rapolla
relation country of citizenship
action find_reverse
entity Altdorf
relation country of citizenship
['Karin Wanngård', 'country of citizenship', 'Rapolla'] ['Karin Wanngård', 'country of citizenship', 'Altdorf']
ASK WHERE { resource:Karin_Wanngård property:country_of_citizenship resource:Rapolla . resource:Karin_Wanngård property:country_of_citizenship resource:Altdorf }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4990192 Q7356093
P102
Q7210356
USER
How many political organizations are Karin Wanngård or Rod a member of ?
(Q4990192,P102,c(Q7210356)) (Q7356093,P102,c(Q7210356))
action count
action union
action filter_type
action find
entity Q4990192
relation P102
type Q7210356
action filter_type
action find
entity Q7356093
relation P102
type Q7210356
['Q4990192', 'P102', {'concept': 'Q7210356'}] ['Q7356093', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?u property:P102 ?j . VALUES ( ?u ) { ( resource:Q4990192 ) ( resource:Q7356093 ) } }
Karin Wanngård Rod
action count
action union
action filter_type
action find
entity Karin Wanngård
relation member of political party
type political organization
action filter_type
action find
entity Rod
relation member of political party
type political organization
['Karin Wanngård', 'member of political party', {'concept': 'political organization'}] ['Rod', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?u property:member_of_political_party ?j . VALUES ( ?u ) { ( resource:Karin_Wanngård ) ( resource:Rod ) } }
[]
political organization
SYSTEM
2
Q105112 Q29468
(Q4990192,P102,c(Q7210356)) (Q7356093,P102,c(Q7210356))
action count
action union
action filter_type
action find
entity Q4990192
relation P102
type Q7210356
action filter_type
action find
entity Q7356093
relation P102
type Q7210356
[ANSWER]
['Q4990192', 'P102', {'concept': 'Q7210356'}] ['Q7356093', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?u property:P102 ?j . VALUES ( ?u ) { ( resource:Q4990192 ) ( resource:Q7356093 ) } }
Swedish Social Democratic Party Republican Party
2
action count
action union
action filter_type
action find
entity Karin Wanngård
relation member of political party
type political organization
action filter_type
action find
entity Rod
relation member of political party
type political organization
['Karin Wanngård', 'member of political party', {'concept': 'political organization'}] ['Rod', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) WHERE { ?u property:member_of_political_party ?j . VALUES ( ?u ) { ( resource:Karin_Wanngård ) ( resource:Rod ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q500834 Q15991303
USER
Which people were considered to be the statistical leader of exactly 3 tournaments and association football leagues ?
(c(Q500834)|c(Q15991303),P3279,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
value 3
[[{'concept': 'Q500834'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?d ) WHERE { { ?n property:P3279 ?j . ?j rdf:type ontology:Q502895 . ?n rdf:type ontology:Q500834 } UNION { ?n property:P3279 ?j . ?j rdf:type ontology:Q502895 . ?n rdf:type ontology:Q15991303 } } GROUP BY ?j } . FILTER ( ?d = 3 ) }
action equal
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
value 3
[[{'concept': 'tournament'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?d ) WHERE { { ?n property:statistical_leader ?j . ?j rdf:type ontology:common_name . ?n rdf:type ontology:tournament } UNION { ?n property:statistical_leader ?j . ?j rdf:type ontology:common_name . ?n rdf:type ontology:association_football_league } } GROUP BY ?j } . FILTER ( ?d = 3 ) }
[]
common name tournament association football league
Q310519 Q152871
SYSTEM
Ulf Kirsten, Karl-Heinz Rummenigge
Q310519 Q152871
(c(Q500834)|c(Q15991303),P3279,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q15991303
value 3
[ANSWERS] were considered to be the statistical leader of exactly 3 tournaments and association football leagues
[[{'concept': 'Q500834'}, {'concept': 'Q15991303'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?d ) WHERE { { ?n property:P3279 ?j . ?j rdf:type ontology:Q502895 . ?n rdf:type ontology:Q500834 } UNION { ?n property:P3279 ?j . ?j rdf:type ontology:Q502895 . ?n rdf:type ontology:Q15991303 } } GROUP BY ?j } . FILTER ( ?d = 3 ) }
Ulf Kirsten Karl-Heinz Rummenigge
Ulf Kirsten and Karl-Heinz Rummenigge were considered to be the statistical leader of exactly 3 tournaments and association football leagues
Ulf Kirsten Karl-Heinz Rummenigge
action equal
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
action find_reverse_tuple_counts
relation statistical leader
type common name
type association football league
value 3
[[{'concept': 'tournament'}, {'concept': 'association football league'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?d ) WHERE { { ?n property:statistical_leader ?j . ?j rdf:type ontology:common_name . ?n rdf:type ontology:tournament } UNION { ?n property:statistical_leader ?j . ?j rdf:type ontology:common_name . ?n rdf:type ontology:association_football_league } } GROUP BY ?j } . FILTER ( ?d = 3 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q52644
P19 P21
Q502895
USER
Which people have location of birth at Rapolla and are a male ?
AND((c(Q502895),P19,Q52644), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q52644
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q52644'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P21 resource:Q6581097 . ?f property:P19 resource:Q52644 . ?f rdf:type ontology:Q502895 }
male Rapolla
action filter_type
action intersection
action find_reverse
entity Rapolla
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Rapolla'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:gender resource:male . ?f property:place_of_birth resource:Rapolla . ?f rdf:type ontology:common_name }
[]
common name
Q3876157 Q4015117 Q3639342
SYSTEM
Nicola Chiaromonte, Vito Paradiso, Biagio Guarnaccio
Q3876157 Q4015117 Q3639342
AND((c(Q502895),P19,Q52644), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q52644
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have location of birth at Rapolla and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q52644'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P21 resource:Q6581097 . ?f property:P19 resource:Q52644 . ?f rdf:type ontology:Q502895 }
Nicola Chiaromonte Vito Paradiso Biagio Guarnaccio
Nicola Chiaromonte, Vito Paradiso and Biagio Guarnaccio have location of birth at Rapolla and are a male
Nicola Chiaromonte Vito Paradiso Biagio Guarnaccio
action filter_type
action intersection
action find_reverse
entity Rapolla
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Rapolla'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:gender resource:male . ?f property:place_of_birth resource:Rapolla . ?f rdf:type ontology:common_name }
[]