Simple Question (Direct)
Simple Question
Q2370831
P734
Q82799
USER
Which name is associated with Sven-Erik Westerberg ?
(Q2370831,P734,c(Q82799))
action filter_type
action find
entity Q2370831
relation P734
type Q82799
['Q2370831', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q2370831 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Sven-Erik Westerberg
action filter_type
action find
entity Sven-Erik Westerberg
relation family name
type name
['Sven-Erik Westerberg', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Sven-Erik_Westerberg property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q20787547
SYSTEM
Westerberg
Q20787547
(Q2370831,P734,c(Q82799))
action filter_type
action find
entity Q2370831
relation P734
type Q82799
[ANSWER] is associated with Sven-Erik [ANSWER]
['Q2370831', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q2370831 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Westerberg
Westerberg is associated with Sven-Erik Westerberg
Westerberg
action filter_type
action find
entity Sven-Erik Westerberg
relation family name
type name
['Sven-Erik Westerberg', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Sven-Erik_Westerberg property:family_name ?i . ?i rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q20787547 Q856300
P734
Q502895
USER
How many people have Westerberg or Meng as surname ?
(c(Q502895),P734,Q20787547) (c(Q502895),P734,Q856300)
action count
action union
action filter_type
action find_reverse
entity Q20787547
relation P734
type Q502895
action filter_type
action find_reverse
entity Q856300
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q20787547'] [{'concept': 'Q502895'}, 'P734', 'Q856300']
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { ?q property:P734 resource:Q20787547 . ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q502895 . ?q property:P734 resource:Q856300 } }
Westerberg Meng
action count
action union
action filter_type
action find_reverse
entity Westerberg
relation family name
type common name
action filter_type
action find_reverse
entity Meng
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Westerberg'] [{'concept': 'common name'}, 'family name', 'Meng']
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { ?q property:family_name resource:Westerberg . ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:common_name . ?q property:family_name resource:Meng } }
[]
common name
SYSTEM
15
Q1375199 Q6237584 Q4721790 Q1365182 Q4990357 Q455589 Q3506566 Q6237552 Q17265757 Q10684718 Q17265754 Q2057168 Q2370831 Q13836888 Q1994924
(c(Q502895),P734,Q20787547) (c(Q502895),P734,Q856300)
action count
action union
action filter_type
action find_reverse
entity Q20787547
relation P734
type Q502895
action filter_type
action find_reverse
entity Q856300
relation P734
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P734', 'Q20787547'] [{'concept': 'Q502895'}, 'P734', 'Q856300']
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { ?q property:P734 resource:Q20787547 . ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q502895 . ?q property:P734 resource:Q856300 } }
Per Westerberg Karl Martin Westerberg Alf Westerberg Meng Jianzhu Karin Westerberg Meng Haoran Swen Westerberg Johan August Westerberg Folke Westerberg Sven Westerberg Axel Westerberg Jesper Westerberg Sven-Erik Westerberg Erik Westerberg Stig Westerberg
15
action count
action union
action filter_type
action find_reverse
entity Westerberg
relation family name
type common name
action filter_type
action find_reverse
entity Meng
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Westerberg'] [{'concept': 'common name'}, 'family name', 'Meng']
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { ?q property:family_name resource:Westerberg . ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:common_name . ?q property:family_name resource:Meng } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2370831
P641
Q349
USER
Which sport was Sven-Erik Westerberg a part of ?
(Q2370831,P641,c(Q349))
action filter_type
action find
entity Q2370831
relation P641
type Q349
['Q2370831', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q2370831 property:P641 ?n . ?n rdf:type ontology:Q349 }
Sven-Erik Westerberg
action filter_type
action find
entity Sven-Erik Westerberg
relation sport
type sport
['Sven-Erik Westerberg', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Sven-Erik_Westerberg property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2370831,P641,c(Q349))
action filter_type
action find
entity Q2370831
relation P641
type Q349
The [ANSWER] was Sven-Erik Westerberg a part of
['Q2370831', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q2370831 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
The association football was Sven-Erik Westerberg a part of
association football
action filter_type
action find
entity Sven-Erik Westerberg
relation sport
type sport
['Sven-Erik Westerberg', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Sven-Erik_Westerberg property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5551053
Q349
USER
And what about German Beriyev?
(Q5551053,P641,c(Q349))
action filter_type
action find
entity Q5551053
relation P641
type Q349
['Q5551053', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q5551053 property:P641 ?i . ?i rdf:type ontology:Q349 }
German Beriyev
action filter_type
action find
entity German Beriyev
relation sport
type sport
['German Beriyev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:German_Beriyev property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5551053,P641,c(Q349))
action filter_type
action find
entity Q5551053
relation P641
type Q349
[ANSWER]
['Q5551053', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q5551053 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity German Beriyev
relation sport
type sport
['German Beriyev', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:German_Beriyev property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5551053
P21
Q290
USER
What is the sex of German Beriyev ?
(Q5551053,P21,c(Q290))
action filter_type
action find
entity Q5551053
relation P21
type Q290
['Q5551053', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q5551053 property:P21 ?y . ?y rdf:type ontology:Q290 }
German Beriyev
action filter_type
action find
entity German Beriyev
relation gender
type sex
['German Beriyev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:German_Beriyev property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5551053,P21,c(Q290))
action filter_type
action find
entity Q5551053
relation P21
type Q290
The sex of German Beriyev is the [ANSWER]
['Q5551053', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q5551053 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
The sex of German Beriyev is the male
male
action filter_type
action find
entity German Beriyev
relation gender
type sex
['German Beriyev', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:German_Beriyev property:gender ?y . ?y rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q27464741
P21
Q502895
USER
Is Suliana Fate a that sex ?
(Q27464741,P21,Q6581097)
action is_in
entity Q27464741
action find
entity Q6581097
relation P21
['Q27464741', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q27464741 }
male Suliana Fate
action is_in
entity Suliana Fate
action find
entity male
relation gender
['Suliana Fate', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Suliana_Fate }
[]
common name
SYSTEM
NO
(Q27464741,P21,Q6581097)
action is_in
entity Q27464741
action find
entity Q6581097
relation P21
[ANSWER]
['Q27464741', 'P21', 'Q6581097']
ASK WHERE { resource:Q6581097 property:P21 resource:Q27464741 }
No
action is_in
entity Suliana Fate
action find
entity male
relation gender
['Suliana Fate', 'gender', 'male']
ASK WHERE { resource:male property:gender resource:Suliana_Fate }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q809506
P180
Q838948
USER
How many works of art demonstrate male or Bartolomeo Colleoni ?
(c(Q838948),P180,Q6581097) (c(Q838948),P180,Q809506)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q838948
action filter_type
action find_reverse
entity Q809506
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q6581097'] [{'concept': 'Q838948'}, 'P180', 'Q809506']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u property:P180 resource:Q6581097 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P180 resource:Q809506 . ?u rdf:type ontology:Q838948 } }
male Bartolomeo Colleoni
action count
action union
action filter_type
action find_reverse
entity male
relation depicts
type work of art
action filter_type
action find_reverse
entity Bartolomeo Colleoni
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'male'] [{'concept': 'work of art'}, 'depicts', 'Bartolomeo Colleoni']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u property:depicts resource:male . ?u rdf:type ontology:work_of_art } UNION { ?u property:depicts resource:Bartolomeo_Colleoni . ?u rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
2
Q473237 Q21141687
(c(Q838948),P180,Q6581097) (c(Q838948),P180,Q809506)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P180
type Q838948
action filter_type
action find_reverse
entity Q809506
relation P180
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q6581097'] [{'concept': 'Q838948'}, 'P180', 'Q809506']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u property:P180 resource:Q6581097 . ?u rdf:type ontology:Q838948 } UNION { ?u property:P180 resource:Q809506 . ?u rdf:type ontology:Q838948 } }
Statue of Bartolomeo Colleoni Equestrian statue of Bartolomeo Colleoni
2
action count
action union
action filter_type
action find_reverse
entity male
relation depicts
type work of art
action filter_type
action find_reverse
entity Bartolomeo Colleoni
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'male'] [{'concept': 'work of art'}, 'depicts', 'Bartolomeo Colleoni']
SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) WHERE { { ?u property:depicts resource:male . ?u rdf:type ontology:work_of_art } UNION { ?u property:depicts resource:Bartolomeo_Colleoni . ?u rdf:type ontology:work_of_art } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
How many languages are approximately 121 names in ?
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 121
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P407 ?f . ?f rdf:type ontology:Q34770 . ?a rdf:type ontology:Q82799 } GROUP BY ?f } . FILTER ( ?d = 121 ) }
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 121
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?a rdf:type ontology:name } GROUP BY ?f } . FILTER ( ?d = 121 ) }
[]
language name
SYSTEM
2
Q1321 Q652
(c(Q82799),P407,c(Q34770))
action count
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 121
[ANSWER]
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P407 ?f . ?f rdf:type ontology:Q34770 . ?a rdf:type ontology:Q82799 } GROUP BY ?f } . FILTER ( ?d = 121 ) }
Spanish Italian
2
action count
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 121
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?a rdf:type ontology:name } GROUP BY ?f } . FILTER ( ?d = 121 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2370831
P27
Q15617994
USER
Which administrative territory is the native country of Sven-Erik Westerberg ?
(Q2370831,P27,c(Q15617994))
action filter_type
action find
entity Q2370831
relation P27
type Q15617994
['Q2370831', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q2370831 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Sven-Erik Westerberg
action filter_type
action find
entity Sven-Erik Westerberg
relation country of citizenship
type designation for an administrative territorial entity
['Sven-Erik Westerberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Sven-Erik_Westerberg property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q2370831,P27,c(Q15617994))
action filter_type
action find
entity Q2370831
relation P27
type Q15617994
[ANSWER] is the native country of Sven-Erik Westerberg
['Q2370831', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q2370831 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Sweden
Sweden is the native country of Sven-Erik Westerberg
Sweden
action filter_type
action find
entity Sven-Erik Westerberg
relation country of citizenship
type designation for an administrative territorial entity
['Sven-Erik Westerberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Sven-Erik_Westerberg property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P463
Q43229
USER
How many organizations had that administrative territory as their member ?
(Q34,P463,c(Q43229))
action count
action filter_type
action find
entity Q34
relation P463
type Q43229
['Q34', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q34 property:P463 ?w . ?w rdf:type ontology:Q43229 }
action count
action filter_type
action find
entity Sweden
relation member of
type organization
['Sweden', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Sweden property:member_of ?w . ?w rdf:type ontology:organization }
[]
organization
SYSTEM
8
Q340195 Q899770 Q41550 Q656801 Q151991 Q191384 Q7825 Q827525
(Q34,P463,c(Q43229))
action count
action filter_type
action find
entity Q34
relation P463
type Q43229
[ANSWER]
['Q34', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Q34 property:P463 ?w . ?w rdf:type ontology:Q43229 }
African Development Bank International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation European Southern Observatory International Bank for Reconstruction and Development World Trade Organization International Development Association
8
action count
action filter_type
action find
entity Sweden
relation member of
type organization
['Sweden', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { resource:Sweden property:member_of ?w . ?w rdf:type ontology:organization }
[]