Simple Question (Direct)
Simple Question
Q383177
P19
Q515
USER
Which city was Sorj Chalandon born in ?
(Q383177,P19,c(Q515))
action filter_type
action find
entity Q383177
relation P19
type Q515
['Q383177', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q383177 property:P19 ?h . ?h rdf:type ontology:Q515 }
Sorj Chalandon
action filter_type
action find
entity Sorj Chalandon
relation place of birth
type city
['Sorj Chalandon', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Sorj_Chalandon property:place_of_birth ?h . ?h rdf:type ontology:city }
[]
city
Q3572
SYSTEM
Tunis
Q3572
(Q383177,P19,c(Q515))
action filter_type
action find
entity Q383177
relation P19
type Q515
Sorj Chalandon was born in [ANSWER]
['Q383177', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?h WHERE { resource:Q383177 property:P19 ?h . ?h rdf:type ontology:Q515 }
Tunis
Sorj Chalandon was born in Tunis
Tunis
action filter_type
action find
entity Sorj Chalandon
relation place of birth
type city
['Sorj Chalandon', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?h WHERE { resource:Sorj_Chalandon property:place_of_birth ?h . ?h rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q383177
P50
Q2342494
USER
Which collectable was written by that person ?
(c(Q2342494),P50,Q3572)
action filter_type
action find_reverse
entity Q383177
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q3572']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2342494 . ?x property:P50 resource:Q383177 }
Sorj Chalandon
action filter_type
action find_reverse
entity Sorj Chalandon
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Tunis']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:collectable . ?x property:author resource:Sorj_Chalandon }
[]
collectable
Q3428186
SYSTEM
Return to Killybegs
Q3428186
(c(Q2342494),P50,Q3572)
action filter_type
action find_reverse
entity Q383177
relation P50
type Q2342494
[ANSWER] was written by that person
[{'concept': 'Q2342494'}, 'P50', 'Q3572']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q2342494 . ?x property:P50 resource:Q383177 }
Return to Killybegs
Return to Killybegs was written by that person
Return to Killybegs
action filter_type
action find_reverse
entity Sorj Chalandon
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Tunis']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:collectable . ?x property:author resource:Sorj_Chalandon }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3428186 Q490817
P495
Q15617994
USER
Is Godrano the origin of that collectable ?
(Q3428186,P495,Q490817)
action is_in
entity Q490817
action find
entity Q3428186
relation P495
['Q3428186', 'P495', 'Q490817']
ASK WHERE { resource:Q3428186 property:P495 resource:Q490817 }
Return to Killybegs Godrano
action is_in
entity Godrano
action find
entity Return to Killybegs
relation country of origin
['Return to Killybegs', 'country of origin', 'Godrano']
ASK WHERE { resource:Return_to_Killybegs property:country_of_origin resource:Godrano }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3428186,P495,Q490817)
action is_in
entity Q490817
action find
entity Q3428186
relation P495
[ANSWER]
['Q3428186', 'P495', 'Q490817']
ASK WHERE { resource:Q3428186 property:P495 resource:Q490817 }
No
action is_in
entity Godrano
action find
entity Return to Killybegs
relation country of origin
['Return to Killybegs', 'country of origin', 'Godrano']
ASK WHERE { resource:Return_to_Killybegs property:country_of_origin resource:Godrano }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3428186
P136
Q1792379
USER
What can be considered as category for that collectable ?
action filter_type
action find
entity Q3428186
relation P136
type Q1792379
SELECT DISTINCT ?e WHERE { resource:Q3428186 property:P136 ?e . ?e rdf:type ontology:Q1792379 }
Return to Killybegs
action filter_type
action find
entity Return to Killybegs
relation genre
type art genre
SELECT DISTINCT ?e WHERE { resource:Return_to_Killybegs property:genre ?e . ?e rdf:type ontology:art_genre }
[]
art genre
Q8261
SYSTEM
novel
Q8261
action filter_type
action find
entity Q3428186
relation P136
type Q1792379
A [ANSWER] can be considered as category for that collectable
SELECT DISTINCT ?e WHERE { resource:Q3428186 property:P136 ?e . ?e rdf:type ontology:Q1792379 }
novel
A novel can be considered as category for that collectable
novel
action filter_type
action find
entity Return to Killybegs
relation genre
type art genre
SELECT DISTINCT ?e WHERE { resource:Return_to_Killybegs property:genre ?e . ?e rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15619164 Q12737077 Q1792379
USER
How many art genres demonstrate exactly 2 abstract beings or occupations ?
(c(Q1792379),P180,c(Q15619164)|c(Q12737077))
action count
action equal
action union
action find_tuple_counts
relation P180
type Q1792379
type Q15619164
action find_tuple_counts
relation P180
type Q1792379
type Q12737077
value 2
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q15619164'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { FILTER ( ?b = 2 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?x WHERE { { ?x rdf:type ontology:Q1792379 . ?n rdf:type ontology:Q15619164 . ?x property:P180 ?n } UNION { ?n rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q1792379 . ?x property:P180 ?n } } GROUP BY ?x } }
action count
action equal
action union
action find_tuple_counts
relation depicts
type art genre
type abstract being
action find_tuple_counts
relation depicts
type art genre
type occupation
value 2
[{'concept': 'art genre'}, 'depicts', [{'concept': 'abstract being'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { FILTER ( ?b = 2 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?x WHERE { { ?x rdf:type ontology:art_genre . ?n rdf:type ontology:abstract_being . ?x property:depicts ?n } UNION { ?n rdf:type ontology:occupation . ?x rdf:type ontology:art_genre . ?x property:depicts ?n } } GROUP BY ?x } }
[]
abstract being occupation art genre
SYSTEM
1
Q22915045
(c(Q1792379),P180,c(Q15619164)|c(Q12737077))
action count
action equal
action union
action find_tuple_counts
relation P180
type Q1792379
type Q15619164
action find_tuple_counts
relation P180
type Q1792379
type Q12737077
value 2
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q15619164'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { FILTER ( ?b = 2 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?x WHERE { { ?x rdf:type ontology:Q1792379 . ?n rdf:type ontology:Q15619164 . ?x property:P180 ?n } UNION { ?n rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q1792379 . ?x property:P180 ?n } } GROUP BY ?x } }
Zinc sculptures of the Pori town hall
1
action count
action equal
action union
action find_tuple_counts
relation depicts
type art genre
type abstract being
action find_tuple_counts
relation depicts
type art genre
type occupation
value 2
[{'concept': 'art genre'}, 'depicts', [{'concept': 'abstract being'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { FILTER ( ?b = 2 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?x WHERE { { ?x rdf:type ontology:art_genre . ?n rdf:type ontology:abstract_being . ?x property:depicts ?n } UNION { ?n rdf:type ontology:occupation . ?x rdf:type ontology:art_genre . ?x property:depicts ?n } } GROUP BY ?x } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3572
P1376
Q7275
USER
Which state has Tunis has its first city ?
(Q3572,P1376,c(Q7275))
action filter_type
action find
entity Q3572
relation P1376
type Q7275
['Q3572', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q3572 property:P1376 ?i . ?i rdf:type ontology:Q7275 }
Tunis
action filter_type
action find
entity Tunis
relation capital of
type state
['Tunis', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Tunis property:capital_of ?i . ?i rdf:type ontology:state }
[]
state
Q752662
SYSTEM
Hafsid dynasty
Q752662
(Q3572,P1376,c(Q7275))
action filter_type
action find
entity Q3572
relation P1376
type Q7275
[ANSWER] has Tunis has its first city
['Q3572', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?i WHERE { resource:Q3572 property:P1376 ?i . ?i rdf:type ontology:Q7275 }
Hafsid dynasty
Hafsid dynasty has Tunis has its first city
Hafsid dynasty
action filter_type
action find
entity Tunis
relation capital of
type state
['Tunis', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?i WHERE { resource:Tunis property:capital_of ?i . ?i rdf:type ontology:state }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3572
Q15617994
USER
And which administrative territory?
(Q3572,P1376,c(Q15617994))
action filter_type
action find
entity Q3572
relation P1376
type Q15617994
['Q3572', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q3572 property:P1376 ?r . ?r rdf:type ontology:Q15617994 }
Tunis
action filter_type
action find
entity Tunis
relation capital of
type designation for an administrative territorial entity
['Tunis', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Tunis property:capital_of ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q948
SYSTEM
Tunisia
Q948
(Q3572,P1376,c(Q15617994))
action filter_type
action find
entity Q3572
relation P1376
type Q15617994
[ANSWER]
['Q3572', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q3572 property:P1376 ?r . ?r rdf:type ontology:Q15617994 }
Tunisia
Tunisia
action filter_type
action find
entity Tunis
relation capital of
type designation for an administrative territorial entity
['Tunis', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Tunis property:capital_of ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q948
P159
Q874405
USER
Which social groups have the principal seat at that administrative territory ?
(c(Q874405),P159,Q948)
action filter_type
action find_reverse
entity Q948
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q948']
SELECT DISTINCT ?c WHERE { ?c property:P159 resource:Q948 . ?c rdf:type ontology:Q874405 }
Tunisia
action filter_type
action find_reverse
entity Tunisia
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Tunisia']
SELECT DISTINCT ?c WHERE { ?c property:headquarters_location resource:Tunisia . ?c rdf:type ontology:social_group }
[]
social group
Q4867789 Q3075847
SYSTEM
Basma Association, Tunisian National Solidarity Fund
Q4867789 Q3075847
(c(Q874405),P159,Q948)
action filter_type
action find_reverse
entity Q948
relation P159
type Q874405
[ANSWERS] have the principal seat at that administrative territory
[{'concept': 'Q874405'}, 'P159', 'Q948']
SELECT DISTINCT ?c WHERE { ?c property:P159 resource:Q948 . ?c rdf:type ontology:Q874405 }
Basma Association Tunisian National Solidarity Fund
Basma Association and Tunisian National Solidarity Fund have the principal seat at that administrative territory
Basma Association Tunisian National Solidarity Fund
action filter_type
action find_reverse
entity Tunisia
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Tunisia']
SELECT DISTINCT ?c WHERE { ?c property:headquarters_location resource:Tunisia . ?c rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q948
P47
Q15617994
USER
Which administrative territories share border with Tunisia ?
(c(Q15617994),P47,Q948)
action filter_type
action find
entity Q948
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q948']
SELECT DISTINCT ?b WHERE { resource:Q948 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
Tunisia
action filter_type
action find
entity Tunisia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Tunisia']
SELECT DISTINCT ?b WHERE { resource:Tunisia property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q262 Q1016
SYSTEM
Algeria, Libya
Q262 Q1016
(c(Q15617994),P47,Q948)
action filter_type
action find
entity Q948
relation P47
type Q15617994
[ANSWERS] share border with Tunisia
[{'concept': 'Q15617994'}, 'P47', 'Q948']
SELECT DISTINCT ?b WHERE { resource:Q948 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
Algeria Libya
Algeria and Libya share border with Tunisia
Algeria Libya
action filter_type
action find
entity Tunisia
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Tunisia']
SELECT DISTINCT ?b WHERE { resource:Tunisia property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q262 Q1016
P463
Q874405
USER
What social groups had those administrative territories as their member ?
(Q262,P463,c(Q874405)) (Q1016,P463,c(Q874405))
action filter_type
action find
entity prev_answer
relation P463
type Q874405
['Q262', 'P463', {'concept': 'Q874405'}] ['Q1016', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q874405 . ?y property:P463 ?x . VALUES ( ?y ) { ( resource:Q262 ) ( resource:Q1016 ) } }
Algeria Libya
action filter_type
action find
entity prev_answer
relation member of
type social group
['Algeria', 'member of', {'concept': 'social group'}] ['Libya', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:social_group . ?y property:member_of ?x . VALUES ( ?y ) { ( resource:Algeria ) ( resource:Libya ) } }
[]
social group
Q47543 Q47543
SYSTEM
Organisation of Islamic Cooperation
Q47543 Q47543
(Q262,P463,c(Q874405)) (Q1016,P463,c(Q874405))
action filter_type
action find
entity prev_answer
relation P463
type Q874405
[ANSWER] and [ANSWER] had those administrative territories as their member
['Q262', 'P463', {'concept': 'Q874405'}] ['Q1016', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q874405 . ?y property:P463 ?x . VALUES ( ?y ) { ( resource:Q262 ) ( resource:Q1016 ) } }
Organisation of Islamic Cooperation Organisation of Islamic Cooperation
Organisation of Islamic Cooperation and Organisation of Islamic Cooperation had those administrative territories as their member
Organisation of Islamic Cooperation Organisation of Islamic Cooperation
action filter_type
action find
entity prev_answer
relation member of
type social group
['Algeria', 'member of', {'concept': 'social group'}] ['Libya', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:social_group . ?y property:member_of ?x . VALUES ( ?y ) { ( resource:Algeria ) ( resource:Libya ) } }
[]