Simple Question (Direct)
Simple Question
Q950515
P19
Q15617994
USER
Which administrative territory is the place of birth of Mirco Lorenzetto ?
(Q950515,P19,c(Q15617994))
action filter_type
action find
entity Q950515
relation P19
type Q15617994
['Q950515', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q950515 property:P19 ?r . ?r rdf:type ontology:Q15617994 }
Mirco Lorenzetto
action filter_type
action find
entity Mirco Lorenzetto
relation place of birth
type designation for an administrative territorial entity
['Mirco Lorenzetto', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Mirco_Lorenzetto property:place_of_birth ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q47578
SYSTEM
Vittorio Veneto
Q47578
(Q950515,P19,c(Q15617994))
action filter_type
action find
entity Q950515
relation P19
type Q15617994
[ANSWER] is the place of birth of Mirco Lorenzetto
['Q950515', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q950515 property:P19 ?r . ?r rdf:type ontology:Q15617994 }
Vittorio Veneto
Vittorio Veneto is the place of birth of Mirco Lorenzetto
Vittorio Veneto
action filter_type
action find
entity Mirco Lorenzetto
relation place of birth
type designation for an administrative territorial entity
['Mirco Lorenzetto', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Mirco_Lorenzetto property:place_of_birth ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47578
P190
Q15617994
USER
Which administrative territory is partner town of that one ?
(Q47578,P190,c(Q15617994))
action filter_type
action find
entity Q47578
relation P190
type Q15617994
['Q47578', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q47578 property:P190 ?x . ?x rdf:type ontology:Q15617994 }
Vittorio Veneto
action filter_type
action find
entity Vittorio Veneto
relation sister city
type designation for an administrative territorial entity
['Vittorio Veneto', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Vittorio_Veneto property:sister_city ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q270737
SYSTEM
Finale Ligure
Q270737
(Q47578,P190,c(Q15617994))
action filter_type
action find
entity Q47578
relation P190
type Q15617994
[ANSWER] is partner town of that one
['Q47578', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q47578 property:P190 ?x . ?x rdf:type ontology:Q15617994 }
Finale Ligure
Finale Ligure is partner town of that one
Finale Ligure
action filter_type
action find
entity Vittorio Veneto
relation sister city
type designation for an administrative territorial entity
['Vittorio Veneto', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Vittorio_Veneto property:sister_city ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47578
P47
Q56061
USER
Which administrative territories have a shared border with Vittorio Veneto ?
(Q47578,P47,c(Q56061))
action filter_type
action find
entity Q47578
relation P47
type Q56061
['Q47578', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q47578 property:P47 ?n }
Vittorio Veneto
action filter_type
action find
entity Vittorio Veneto
relation shares border with
type administrative territorial entity
['Vittorio Veneto', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Vittorio_Veneto property:shares_border_with ?n }
[]
administrative territorial entity
Q46817 Q46567
SYSTEM
Fregona, Revine Lago
Q46817 Q46567
(Q47578,P47,c(Q56061))
action filter_type
action find
entity Q47578
relation P47
type Q56061
[ANSWERS] have a shared border with Vittorio Veneto
['Q47578', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q47578 property:P47 ?n }
Fregona Revine Lago
Fregona and Revine Lago have a shared border with Vittorio Veneto
Fregona Revine Lago
action filter_type
action find
entity Vittorio Veneto
relation shares border with
type administrative territorial entity
['Vittorio Veneto', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Vittorio_Veneto property:shares_border_with ?n }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q47578
Q15617994
USER
And which administrative territory?
(Q47578,P47,c(Q15617994))
action filter_type
action find
entity Q47578
relation P47
type Q15617994
['Q47578', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q47578 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Vittorio Veneto
action filter_type
action find
entity Vittorio Veneto
relation shares border with
type designation for an administrative territorial entity
['Vittorio Veneto', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Vittorio_Veneto property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q6558 Q40323 Q47224
SYSTEM
Belluno, Limana, Conegliano
Q40323 Q46726 Q6558 Q47371 Q40412 Q29363 Q47224 Q46697
(Q47578,P47,c(Q15617994))
action filter_type
action find
entity Q47578
relation P47
type Q15617994
[ANSWERS]
['Q47578', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q47578 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
Limana San Pietro di Feletto Belluno Tarzo Farra d'Alpago Cappella Maggiore Conegliano Colle Umberto
Belluno Limana Conegliano
action filter_type
action find
entity Vittorio Veneto
relation shares border with
type designation for an administrative territorial entity
['Vittorio Veneto', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Vittorio_Veneto property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q15617994 Q7725634 Q2088357
USER
Which administrative territories are the countries of origin of atleast 514 literary works and musical ensembles ?
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
value 514
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) ?d WHERE { VALUES ( ?i ) { ( ontology:Q7725634 ) ( ontology:Q2088357 ) } . ?m rdf:type ?i } GROUP BY ?d } . FILTER ( ?z >= 514 ) }
action atleast
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
value 514
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) ?d WHERE { VALUES ( ?i ) { ( ontology:literary_work ) ( ontology:musical_ensemble ) } . ?m rdf:type ?i } GROUP BY ?d } . FILTER ( ?z >= 514 ) }
[]
designation for an administrative territorial entity literary work musical ensemble
Q30 Q142 Q145
SYSTEM
United States of America, France, United Kingdom
Q142 Q145 Q30 Q34
(c(Q7725634)|c(Q2088357),P495,c(Q15617994))
action atleast
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q7725634
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
value 514
[ANSWERS] are the countries of origin of atleast 514 literary works and musical ensembles
[[{'concept': 'Q7725634'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) ?d WHERE { VALUES ( ?i ) { ( ontology:Q7725634 ) ( ontology:Q2088357 ) } . ?m rdf:type ?i } GROUP BY ?d } . FILTER ( ?z >= 514 ) }
France United Kingdom United States of America Sweden
United States of America, France and United Kingdom are the countries of origin of atleast 514 literary works and musical ensembles
United States of America France United Kingdom
action atleast
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type literary work
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
value 514
[[{'concept': 'literary work'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) ?d WHERE { VALUES ( ?i ) { ( ontology:literary_work ) ( ontology:musical_ensemble ) } . ?m rdf:type ?i } GROUP BY ?d } . FILTER ( ?z >= 514 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q16
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relations with more number of administrative territories than Canada ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { FILTER ( ?u > ?m ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:Q1048835 . resource:Q16 property:P530 ?q } } . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?u ) WHERE { ?z property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?z } }
Canada
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { FILTER ( ?u > ?m ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Canada property:diplomatic_relation ?q } } . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?u ) WHERE { ?z property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?z } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { FILTER ( ?u > ?m ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:Q1048835 . resource:Q16 property:P530 ?q } } . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?u ) WHERE { ?z property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q1048835 } GROUP BY ?z } }
Germany Australia
2
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { FILTER ( ?u > ?m ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Canada property:diplomatic_relation ?q } } . { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?u ) WHERE { ?z property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:political_territorial_entity } GROUP BY ?z } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q40
P530
Q1048835 Q15617994
USER
And how about Austria?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q40 property:P530 ?m . ?m rdf:type ontology:Q1048835 } } . FILTER ( ?c > ?y ) . { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?c ) WHERE { ?s property:P530 ?b . ?s rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?s } }
Austria
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Austria property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity } } . FILTER ( ?c > ?y ) . { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?c ) WHERE { ?s property:diplomatic_relation ?b . ?s rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Q40 property:P530 ?m . ?m rdf:type ontology:Q1048835 } } . FILTER ( ?c > ?y ) . { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?c ) WHERE { ?s property:P530 ?b . ?s rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q15617994 } GROUP BY ?s } }
Germany Australia Canada
3
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { resource:Austria property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity } } . FILTER ( ?c > ?y ) . { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?c ) WHERE { ?s property:diplomatic_relation ?b . ?s rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q145
P530
Q15617994
USER
How many administrative territories have diplomatic relations with United Kingdom ?
(Q145,P530,c(Q15617994))
action count
action filter_type
action find
entity Q145
relation P530
type Q15617994
['Q145', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q145 property:P530 ?w . ?w rdf:type ontology:Q15617994 }
United Kingdom
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:United_Kingdom property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
7
Q142 Q805 Q801 Q155 Q37 Q403 Q38
(Q145,P530,c(Q15617994))
action count
action filter_type
action find
entity Q145
relation P530
type Q15617994
[ANSWER]
['Q145', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q145 property:P530 ?w . ?w rdf:type ontology:Q15617994 }
France Yemen Israel Brazil Lithuania Serbia Italy
7
action count
action filter_type
action find
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
['United Kingdom', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:United_Kingdom property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q114
P172
Q502895
USER
Who has Kenya as his/her race ?
(c(Q502895),P172,Q114)
action filter_type
action find_reverse
entity Q114
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q114']
SELECT DISTINCT ?h WHERE { ?h property:P172 resource:Q114 . ?h rdf:type ontology:Q502895 }
Kenya
action filter_type
action find_reverse
entity Kenya
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Kenya']
SELECT DISTINCT ?h WHERE { ?h property:ethnic_group resource:Kenya . ?h rdf:type ontology:common_name }
[]
common name
Q6944721
SYSTEM
Mwenda Njoka
Q6944721
(c(Q502895),P172,Q114)
action filter_type
action find_reverse
entity Q114
relation P172
type Q502895
[ANSWER] has Kenya as his/her race
[{'concept': 'Q502895'}, 'P172', 'Q114']
SELECT DISTINCT ?h WHERE { ?h property:P172 resource:Q114 . ?h rdf:type ontology:Q502895 }
Mwenda Njoka
Mwenda Njoka has Kenya as his/her race
Mwenda Njoka
action filter_type
action find_reverse
entity Kenya
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Kenya']
SELECT DISTINCT ?h WHERE { ?h property:ethnic_group resource:Kenya . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P35
Q502895
USER
Who are the heads of state of France ?
(Q142,P35,c(Q502895))
action filter_type
action find
entity Q142
relation P35
type Q502895
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q142 property:P35 ?u . ?u rdf:type ontology:Q502895 }
France
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:France property:head_of_state ?u . ?u rdf:type ontology:common_name }
[]
common name
Q2105 Q2042 Q2038
SYSTEM
Jacques Chirac, Charles de Gaulle, François Mitterrand
Q2105 Q2038 Q157 Q329 Q2042 Q12950 Q2185 Q2124
(Q142,P35,c(Q502895))
action filter_type
action find
entity Q142
relation P35
type Q502895
The heads of state of France are [ANSWERS]
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q142 property:P35 ?u . ?u rdf:type ontology:Q502895 }
Jacques Chirac François Mitterrand François Hollande Nicolas Sarkozy Charles de Gaulle Alain Poher Georges Pompidou Valéry Giscard d'Estaing
The heads of state of France are Jacques Chirac, Charles de Gaulle and François Mitterrand
Jacques Chirac Charles de Gaulle François Mitterrand
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:France property:head_of_state ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2105 Q2042 Q2038
P26
Q502895
USER
Which people are the life partner of Jacques Chirac, Charles de Gaulle and François Mitterrand ?
(c(Q502895),P26,Q2105) (c(Q502895),P26,Q2042) (c(Q502895),P26,Q2038)
action union
action filter_type
action find
entity Q2105
relation P26
type Q502895
action filter_type
action find
entity Q2042
relation P26
type Q502895
action filter_type
action find
entity Q2038
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2105'] [{'concept': 'Q502895'}, 'P26', 'Q2042'] [{'concept': 'Q502895'}, 'P26', 'Q2038']
SELECT DISTINCT ?u WHERE { { resource:Q2105 property:P26 ?u . ?u rdf:type ontology:Q502895 } UNION { resource:Q2042 property:P26 ?u . ?u rdf:type ontology:Q502895 } }
Jacques Chirac Charles de Gaulle François Mitterrand
action union
action filter_type
action find
entity Jacques Chirac
relation spouse
type common name
action filter_type
action find
entity Charles de Gaulle
relation spouse
type common name
action filter_type
action find
entity François Mitterrand
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Jacques Chirac'] [{'concept': 'common name'}, 'spouse', 'Charles de Gaulle'] [{'concept': 'common name'}, 'spouse', 'François Mitterrand']
SELECT DISTINCT ?u WHERE { { resource:Jacques_Chirac property:spouse ?u . ?u rdf:type ontology:common_name } UNION { resource:Charles_de_Gaulle property:spouse ?u . ?u rdf:type ontology:common_name } }
[]
common name
Q431115 Q433393 Q270703
SYSTEM
Bernadette Chirac, Yvonne de Gaulle, Danielle Mitterrand
Q431115 Q433393 Q270703
(c(Q502895),P26,Q2105) (c(Q502895),P26,Q2042) (c(Q502895),P26,Q2038)
action union
action filter_type
action find
entity Q2105
relation P26
type Q502895
action filter_type
action find
entity Q2042
relation P26
type Q502895
action filter_type
action find
entity Q2038
relation P26
type Q502895
[ANSWERS] are the life partner of Jacques Chirac, Charles de Gaulle and François Mitterrand
[{'concept': 'Q502895'}, 'P26', 'Q2105'] [{'concept': 'Q502895'}, 'P26', 'Q2042'] [{'concept': 'Q502895'}, 'P26', 'Q2038']
SELECT DISTINCT ?u WHERE { { resource:Q2105 property:P26 ?u . ?u rdf:type ontology:Q502895 } UNION { resource:Q2042 property:P26 ?u . ?u rdf:type ontology:Q502895 } }
Bernadette Chirac Yvonne de Gaulle Danielle Mitterrand
Bernadette Chirac, Yvonne de Gaulle and Danielle Mitterrand are the life partner of Jacques Chirac, Charles de Gaulle and François Mitterrand
Bernadette Chirac Yvonne de Gaulle Danielle Mitterrand
action union
action filter_type
action find
entity Jacques Chirac
relation spouse
type common name
action filter_type
action find
entity Charles de Gaulle
relation spouse
type common name
action filter_type
action find
entity François Mitterrand
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Jacques Chirac'] [{'concept': 'common name'}, 'spouse', 'Charles de Gaulle'] [{'concept': 'common name'}, 'spouse', 'François Mitterrand']
SELECT DISTINCT ?u WHERE { { resource:Jacques_Chirac property:spouse ?u . ?u rdf:type ontology:common_name } UNION { resource:Charles_de_Gaulle property:spouse ?u . ?u rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270703
P40
Q502895
USER
Who are an offsprings of Danielle Mitterrand ?
(Q270703,P40,c(Q502895))
action filter_type
action find
entity Q270703
relation P40
type Q502895
['Q270703', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q270703 property:P40 ?r }
Danielle Mitterrand
action filter_type
action find
entity Danielle Mitterrand
relation child
type common name
['Danielle Mitterrand', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Danielle_Mitterrand property:child ?r }
[]
common name
Q1684727 Q1524023
SYSTEM
Jean-Christophe Mitterrand, Gilbert Mitterrand
Q1684727 Q1524023
(Q270703,P40,c(Q502895))
action filter_type
action find
entity Q270703
relation P40
type Q502895
An offsprings of Danielle Mitterrand are [ANSWERS]
['Q270703', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q270703 property:P40 ?r }
Jean-Christophe Mitterrand Gilbert Mitterrand
An offsprings of Danielle Mitterrand are Jean-Christophe Mitterrand and Gilbert Mitterrand
Jean-Christophe Mitterrand Gilbert Mitterrand
action filter_type
action find
entity Danielle Mitterrand
relation child
type common name
['Danielle Mitterrand', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Danielle_Mitterrand property:child ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q719263
Q502895
USER
And also tell me about Russ Tamblyn?
(Q719263,P40,c(Q502895))
action filter_type
action find
entity Q719263
relation P40
type Q502895
['Q719263', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q719263 property:P40 ?c . ?c rdf:type ontology:Q502895 }
Russ Tamblyn
action filter_type
action find
entity Russ Tamblyn
relation child
type common name
['Russ Tamblyn', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Russ_Tamblyn property:child ?c . ?c rdf:type ontology:common_name }
[]
common name
Q231128
SYSTEM
Amber Tamblyn
Q231128
(Q719263,P40,c(Q502895))
action filter_type
action find
entity Q719263
relation P40
type Q502895
[ANSWER]
['Q719263', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q719263 property:P40 ?c . ?c rdf:type ontology:Q502895 }
Amber Tamblyn
Amber Tamblyn
action filter_type
action find
entity Russ Tamblyn
relation child
type common name
['Russ Tamblyn', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Russ_Tamblyn property:child ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q719263
P22
Q502895
USER
Which person has Russ Tamblyn as father ?
(c(Q502895),P22,Q719263)
action filter_type
action find_reverse
entity Q719263
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q719263']
SELECT DISTINCT ?j WHERE { ?j property:P22 resource:Q719263 . ?j rdf:type ontology:Q502895 }
Russ Tamblyn
action filter_type
action find_reverse
entity Russ Tamblyn
relation father
type common name
[{'concept': 'common name'}, 'father', 'Russ Tamblyn']
SELECT DISTINCT ?j WHERE { ?j property:father resource:Russ_Tamblyn . ?j rdf:type ontology:common_name }
[]
common name
Q231128
SYSTEM
Amber Tamblyn
Q231128
(c(Q502895),P22,Q719263)
action filter_type
action find_reverse
entity Q719263
relation P22
type Q502895
[ANSWER] has Russ Tamblyn as father
[{'concept': 'Q502895'}, 'P22', 'Q719263']
SELECT DISTINCT ?j WHERE { ?j property:P22 resource:Q719263 . ?j rdf:type ontology:Q502895 }
Amber Tamblyn
Amber Tamblyn has Russ Tamblyn as father
Amber Tamblyn
action filter_type
action find_reverse
entity Russ Tamblyn
relation father
type common name
[{'concept': 'common name'}, 'father', 'Russ Tamblyn']
SELECT DISTINCT ?j WHERE { ?j property:father resource:Russ_Tamblyn . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q231128
P21
Q290
USER
Which sex does that person possess ?
(Q231128,P21,c(Q290))
action filter_type
action find
entity Q231128
relation P21
type Q290
['Q231128', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q231128 property:P21 ?w }
Amber Tamblyn
action filter_type
action find
entity Amber Tamblyn
relation gender
type sex
['Amber Tamblyn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Amber_Tamblyn property:gender ?w }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q231128,P21,c(Q290))
action filter_type
action find
entity Q231128
relation P21
type Q290
That person possesses the [ANSWER]
['Q231128', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q290 . resource:Q231128 property:P21 ?w }
female
That person possesses the female
female
action filter_type
action find
entity Amber Tamblyn
relation gender
type sex
['Amber Tamblyn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:sex . resource:Amber_Tamblyn property:gender ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q231128
P27
Q15617994
USER
Which administrative territory does Amber Tamblyn belong to ?
(Q231128,P27,c(Q15617994))
action filter_type
action find
entity Q231128
relation P27
type Q15617994
['Q231128', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q231128 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Amber Tamblyn
action filter_type
action find
entity Amber Tamblyn
relation country of citizenship
type designation for an administrative territorial entity
['Amber Tamblyn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Amber_Tamblyn property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q231128,P27,c(Q15617994))
action filter_type
action find
entity Q231128
relation P27
type Q15617994
Amber Tamblyn belongs to [ANSWER]
['Q231128', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q231128 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
Amber Tamblyn belongs to United States of America
United States of America
action filter_type
action find
entity Amber Tamblyn
relation country of citizenship
type designation for an administrative territorial entity
['Amber Tamblyn', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Amber_Tamblyn property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]