Simple Question (Direct)
Simple Question
Q2978276
P39
Q12737077
USER
Which occupations were the positions occupied by Claude Wilquin ?
(Q2978276,P39,c(Q12737077))
action filter_type
action find
entity Q2978276
relation P39
type Q12737077
['Q2978276', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q2978276 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Claude Wilquin
action filter_type
action find
entity Claude Wilquin
relation position held
type occupation
['Claude Wilquin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Claude_Wilquin property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q382617 Q3044918
SYSTEM
maire, member of the French National Assembly
Q382617 Q3044918
(Q2978276,P39,c(Q12737077))
action filter_type
action find
entity Q2978276
relation P39
type Q12737077
[ANSWERS]
['Q2978276', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q2978276 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
maire member of the French National Assembly
The maire and member of the French National Assembly were the positions occupied by Claude Wilquin
maire member of the French National Assembly
action filter_type
action find
entity Claude Wilquin
relation position held
type occupation
['Claude Wilquin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Claude_Wilquin property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2978276
P463
Q484652
USER
Which international organization was Claude Wilquin a member of ?
(Q2978276,P463,c(Q484652))
action filter_type
action find
entity Q2978276
relation P463
type Q484652
['Q2978276', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q484652 . resource:Q2978276 property:P463 ?q }
Claude Wilquin
action filter_type
action find
entity Claude Wilquin
relation member of
type international organization
['Claude Wilquin', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:international_organization . resource:Claude_Wilquin property:member_of ?q }
[]
international organization
Q939743
SYSTEM
Parliamentary Assembly of the Council of Europe
Q939743
(Q2978276,P463,c(Q484652))
action filter_type
action find
entity Q2978276
relation P463
type Q484652
The [ANSWER] was Claude Wilquin a member of
['Q2978276', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q484652 . resource:Q2978276 property:P463 ?q }
Parliamentary Assembly of the Council of Europe
The Parliamentary Assembly of the Council of Europe was Claude Wilquin a member of
Parliamentary Assembly of the Council of Europe
action filter_type
action find
entity Claude Wilquin
relation member of
type international organization
['Claude Wilquin', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:international_organization . resource:Claude_Wilquin property:member_of ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q3516658 Q11060274
USER
How many occupations are depicted in approximately 1 heraldic symbols and prints ?
(c(Q3516658)|c(Q11060274),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
value 1
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?f WHERE { { ?g property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q11060274 } UNION { ?g property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q3516658 } } GROUP BY ?f } . FILTER ( ?a = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type print
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?f WHERE { { ?g property:depicts ?f . ?f rdf:type ontology:occupation . ?g rdf:type ontology:print } UNION { ?g property:depicts ?f . ?f rdf:type ontology:occupation . ?g rdf:type ontology:heraldic_symbol } } GROUP BY ?f } . FILTER ( ?a = 1 ) }
[]
occupation heraldic symbol print
SYSTEM
11
Q2486919 Q131512 Q1250916 Q376924 Q848466 Q20489032 Q1509714 Q11063 Q838811 Q2251335 Q639669
(c(Q3516658)|c(Q11060274),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
value 1
[ANSWER]
[[{'concept': 'Q3516658'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?f WHERE { { ?g property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q11060274 } UNION { ?g property:P180 ?f . ?f rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q3516658 } } GROUP BY ?f } . FILTER ( ?a = 1 ) }
standard-bearer farmer warrior courtesan courier salt pan worker porter astronomer peasant school teacher musician
11
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type occupation
type print
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'print'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) ?f WHERE { { ?g property:depicts ?f . ?f rdf:type ontology:occupation . ?g rdf:type ontology:print } UNION { ?g property:depicts ?f . ?f rdf:type ontology:occupation . ?g rdf:type ontology:heraldic_symbol } } GROUP BY ?f } . FILTER ( ?a = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q236960 Q2978276
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Claude Wilquin or Heather Nova ?
OR((Q2978276,P27,c(Q15617994)), (Q236960,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2978276
relation P27
action find
entity Q236960
relation P27
type Q15617994
{'OR': [['Q2978276', 'P27', {'concept': 'Q15617994'}], ['Q236960', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q2978276 property:P27 ?z } UNION { resource:Q236960 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Heather Nova Claude Wilquin
action filter_type
action union
action find
entity Claude Wilquin
relation country of citizenship
action find
entity Heather Nova
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Claude Wilquin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Heather Nova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Claude_Wilquin property:country_of_citizenship ?z } UNION { resource:Heather_Nova property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q145
SYSTEM
France, United Kingdom
Q142 Q145
OR((Q2978276,P27,c(Q15617994)), (Q236960,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2978276
relation P27
action find
entity Q236960
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Claude Wilquin or Heather Nova
{'OR': [['Q2978276', 'P27', {'concept': 'Q15617994'}], ['Q236960', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q2978276 property:P27 ?z } UNION { resource:Q236960 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
France United Kingdom
France and United Kingdom are the countries of citizenship of Claude Wilquin or Heather Nova
France United Kingdom
action filter_type
action union
action find
entity Claude Wilquin
relation country of citizenship
action find
entity Heather Nova
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Claude Wilquin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Heather Nova', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Claude_Wilquin property:country_of_citizenship ?z } UNION { resource:Heather_Nova property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q110365
P495
Q838948
USER
Does Dancer in the Dark originate at those administrative territories ?
(Q110365,P495,Q142) (Q110365,P495,Q145)
action is_in
entity prev_answer
action find
entity Q110365
relation P495
['Q110365', 'P495', 'Q142'] ['Q110365', 'P495', 'Q145']
ASK WHERE { resource:Q110365 property:P495 ?r . VALUES ( ?r ) { ( resource:Q142 ) ( resource:Q145 ) } }
Dancer in the Dark
action is_in
entity prev_answer
action find
entity Dancer in the Dark
relation country of origin
['Dancer in the Dark', 'country of origin', 'France'] ['Dancer in the Dark', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Dancer_in_the_Dark property:country_of_origin ?r . VALUES ( ?r ) { ( resource:France ) ( resource:United_Kingdom ) } }
[]
work of art
SYSTEM
YES
(Q110365,P495,Q142) (Q110365,P495,Q145)
action is_in
entity prev_answer
action find
entity Q110365
relation P495
[ANSWER]
['Q110365', 'P495', 'Q142'] ['Q110365', 'P495', 'Q145']
ASK WHERE { resource:Q110365 property:P495 ?r . VALUES ( ?r ) { ( resource:Q142 ) ( resource:Q145 ) } }
Yes
action is_in
entity prev_answer
action find
entity Dancer in the Dark
relation country of origin
['Dancer in the Dark', 'country of origin', 'France'] ['Dancer in the Dark', 'country of origin', 'United Kingdom']
ASK WHERE { resource:Dancer_in_the_Dark property:country_of_origin ?r . VALUES ( ?r ) { ( resource:France ) ( resource:United_Kingdom ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q15617994 Q515 Q56061
USER
How many administrative territories have exactly 3 cities or administrative territories as their capital ?
(c(Q515)|c(Q56061),P1376,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
value 3
[[{'concept': 'Q515'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { FILTER ( ?y = 3 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?g WHERE { { ?d property:P1376 ?g . ?d rdf:type ontology:Q515 . ?g rdf:type ontology:Q15617994 } UNION { ?d rdf:type ontology:Q56061 . ?g rdf:type ontology:Q15617994 . ?d property:P1376 ?g } } GROUP BY ?g } }
action count
action equal
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
value 3
[[{'concept': 'city'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { FILTER ( ?y = 3 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?g WHERE { { ?d property:capital_of ?g . ?d rdf:type ontology:city . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:capital_of ?g } } GROUP BY ?g } }
[]
designation for an administrative territorial entity city administrative territorial entity
SYSTEM
3
Q252 Q258 Q160307
(c(Q515)|c(Q56061),P1376,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q515
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q56061
value 3
[ANSWER]
[[{'concept': 'Q515'}, {'concept': 'Q56061'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { FILTER ( ?y = 3 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?g WHERE { { ?d property:P1376 ?g . ?d rdf:type ontology:Q515 . ?g rdf:type ontology:Q15617994 } UNION { ?d rdf:type ontology:Q56061 . ?g rdf:type ontology:Q15617994 . ?d property:P1376 ?g } } GROUP BY ?g } }
Indonesia South Africa Fatimid caliphate
3
action count
action equal
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type city
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type administrative territorial entity
value 3
[[{'concept': 'city'}, {'concept': 'administrative territorial entity'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { FILTER ( ?y = 3 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?g WHERE { { ?d property:capital_of ?g . ?d rdf:type ontology:city . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:capital_of ?g } } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P276
Q874405
USER
What is located at United Kingdom ?
(c(Q874405),P276,Q145)
action filter_type
action find_reverse
entity Q145
relation P276
type Q874405
[{'concept': 'Q874405'}, 'P276', 'Q145']
SELECT DISTINCT ?c WHERE { ?c property:P276 resource:Q145 . ?c rdf:type ontology:Q874405 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation location
type social group
[{'concept': 'social group'}, 'location', 'United Kingdom']
SELECT DISTINCT ?c WHERE { ?c property:location resource:United_Kingdom . ?c rdf:type ontology:social_group }
[]
social group
Q22079776
SYSTEM
Vote Leave
Q22079776
(c(Q874405),P276,Q145)
action filter_type
action find_reverse
entity Q145
relation P276
type Q874405
[ANSWER] is located at United Kingdom
[{'concept': 'Q874405'}, 'P276', 'Q145']
SELECT DISTINCT ?c WHERE { ?c property:P276 resource:Q145 . ?c rdf:type ontology:Q874405 }
Vote Leave
Vote Leave is located at United Kingdom
Vote Leave
action filter_type
action find_reverse
entity United Kingdom
relation location
type social group
[{'concept': 'social group'}, 'location', 'United Kingdom']
SELECT DISTINCT ?c WHERE { ?c property:location resource:United_Kingdom . ?c rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2978276
P19
Q20667921
USER
Where was Claude Wilquin born ?
(Q2978276,P19,c(Q20667921))
action filter_type
action find
entity Q2978276
relation P19
type Q20667921
['Q2978276', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q2978276 property:P19 ?l . ?l rdf:type ontology:Q20667921 }
Claude Wilquin
action filter_type
action find
entity Claude Wilquin
relation place of birth
type type of french administrative division
['Claude Wilquin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Claude_Wilquin property:place_of_birth ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q992443
SYSTEM
Burbure
Q992443
(Q2978276,P19,c(Q20667921))
action filter_type
action find
entity Q2978276
relation P19
type Q20667921
Claude Wilquin was born in [ANSWER]
['Q2978276', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?l WHERE { resource:Q2978276 property:P19 ?l . ?l rdf:type ontology:Q20667921 }
Burbure
Claude Wilquin was born in Burbure
Burbure
action filter_type
action find
entity Claude Wilquin
relation place of birth
type type of french administrative division
['Claude Wilquin', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?l WHERE { resource:Claude_Wilquin property:place_of_birth ?l . ?l rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2978276
P21
Q290
USER
Which sex does that person possess ?
(Q992443,P21,c(Q290))
action filter_type
action find
entity Q2978276
relation P21
type Q290
['Q992443', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q2978276 property:P21 ?t . ?t rdf:type ontology:Q290 }
Claude Wilquin
action filter_type
action find
entity Claude Wilquin
relation gender
type sex
['Burbure', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Claude_Wilquin property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q992443,P21,c(Q290))
action filter_type
action find
entity Q2978276
relation P21
type Q290
That person possesses a [ANSWER]
['Q992443', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q2978276 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Claude Wilquin
relation gender
type sex
['Burbure', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Claude_Wilquin property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2978276
P106
Q12737077
USER
Which occupation is the profession of Claude Wilquin ?
(Q2978276,P106,c(Q12737077))
action filter_type
action find
entity Q2978276
relation P106
type Q12737077
['Q2978276', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q2978276 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Claude Wilquin
action filter_type
action find
entity Claude Wilquin
relation occupation
type occupation
['Claude Wilquin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Claude_Wilquin property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2978276,P106,c(Q12737077))
action filter_type
action find
entity Q2978276
relation P106
type Q12737077
The [ANSWER] is the profession of Claude Wilquin
['Q2978276', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q2978276 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
politician
The politician is the profession of Claude Wilquin
politician
action filter_type
action find
entity Claude Wilquin
relation occupation
type occupation
['Claude Wilquin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Claude_Wilquin property:occupation ?j . ?j rdf:type ontology:occupation }
[]