Simple Question (Direct)
Simple Question
Q4867180
P21
Q290
USER
Which sex does Basil Hayward possess ?
(Q4867180,P21,c(Q290))
action filter_type
action find
entity Q4867180
relation P21
type Q290
['Q4867180', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q4867180 property:P21 ?y . ?y rdf:type ontology:Q290 }
Basil Hayward
action filter_type
action find
entity Basil Hayward
relation gender
type sex
['Basil Hayward', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Basil_Hayward property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4867180,P21,c(Q290))
action filter_type
action find
entity Q4867180
relation P21
type Q290
Basil Hayward possesses [ANSWER]
['Q4867180', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q4867180 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
Basil Hayward possesses male
male
action filter_type
action find
entity Basil Hayward
relation gender
type sex
['Basil Hayward', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Basil_Hayward property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4867180
P641
Q349
USER
Which sport was that person a part of ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q4867180
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q4867180 property:P641 ?k . ?k rdf:type ontology:Q349 }
Basil Hayward
action filter_type
action find
entity Basil Hayward
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Basil_Hayward property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q4867180
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q4867180 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Basil Hayward
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Basil_Hayward property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4867180
P509
Q2057971
USER
What was the cause of death of that person ?
(Q2736,P509,c(Q2057971))
action filter_type
action find
entity Q4867180
relation P509
type Q2057971
['Q2736', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2057971 . resource:Q4867180 property:P509 ?l }
Basil Hayward
action filter_type
action find
entity Basil Hayward
relation cause of death
type health problem
['association football', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:health_problem . resource:Basil_Hayward property:cause_of_death ?l }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q2736,P509,c(Q2057971))
action filter_type
action find
entity Q4867180
relation P509
type Q2057971
The cause of death of that person was a [ANSWER]
['Q2736', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q2057971 . resource:Q4867180 property:P509 ?l }
myocardial infarction
The cause of death of that person was a myocardial infarction
myocardial infarction
action filter_type
action find
entity Basil Hayward
relation cause of death
type health problem
['association football', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:health_problem . resource:Basil_Hayward property:cause_of_death ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4867180
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q12152,P27,c(Q15617994))
action filter_type
action find
entity Q4867180
relation P27
type Q15617994
['Q12152', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q4867180 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Basil Hayward
action filter_type
action find
entity Basil Hayward
relation country of citizenship
type designation for an administrative territorial entity
['myocardial infarction', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Basil_Hayward property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q12152,P27,c(Q15617994))
action filter_type
action find
entity Q4867180
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q12152', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q4867180 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that person a civilian of
United Kingdom
action filter_type
action find
entity Basil Hayward
relation country of citizenship
type designation for an administrative territorial entity
['myocardial infarction', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Basil_Hayward property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q572801
P1408
Q4830453
USER
How many business enterprises have procured license for broadcasting to United Kingdom or Mount Washington ?
(c(Q4830453),P1408,Q145) (c(Q4830453),P1408,Q572801)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P1408
type Q4830453
action filter_type
action find_reverse
entity Q572801
relation P1408
type Q4830453
[{'concept': 'Q4830453'}, 'P1408', 'Q145'] [{'concept': 'Q4830453'}, 'P1408', 'Q572801']
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { ?y property:P1408 resource:Q145 . ?y rdf:type ontology:Q4830453 } UNION { ?y property:P1408 resource:Q572801 . ?y rdf:type ontology:Q4830453 } }
United Kingdom Mount Washington
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation licensed to broadcast to
type business enterprise
action filter_type
action find_reverse
entity Mount Washington
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'United Kingdom'] [{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Mount Washington']
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { ?y property:licensed_to_broadcast_to resource:United_Kingdom . ?y rdf:type ontology:business_enterprise } UNION { ?y property:licensed_to_broadcast_to resource:Mount_Washington . ?y rdf:type ontology:business_enterprise } }
[]
business enterprise
SYSTEM
4
Q191472 Q7950328 Q6459992 Q7280832
(c(Q4830453),P1408,Q145) (c(Q4830453),P1408,Q572801)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P1408
type Q4830453
action filter_type
action find_reverse
entity Q572801
relation P1408
type Q4830453
[ANSWER]
[{'concept': 'Q4830453'}, 'P1408', 'Q145'] [{'concept': 'Q4830453'}, 'P1408', 'Q572801']
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { ?y property:P1408 resource:Q145 . ?y rdf:type ontology:Q4830453 } UNION { ?y property:P1408 resource:Q572801 . ?y rdf:type ontology:Q4830453 } }
BBC One WHOM LSRfm.com Radio Hartlepool
4
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation licensed to broadcast to
type business enterprise
action filter_type
action find_reverse
entity Mount Washington
relation licensed to broadcast to
type business enterprise
[{'concept': 'business enterprise'}, 'licensed to broadcast to', 'United Kingdom'] [{'concept': 'business enterprise'}, 'licensed to broadcast to', 'Mount Washington']
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { ?y property:licensed_to_broadcast_to resource:United_Kingdom . ?y rdf:type ontology:business_enterprise } UNION { ?y property:licensed_to_broadcast_to resource:Mount_Washington . ?y rdf:type ontology:business_enterprise } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with atleast 19 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 19
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?w ) WHERE { ?z property:P530 ?g . ?z rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?w >= 19 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?w ) WHERE { ?z property:diplomatic_relation ?g . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?w >= 19 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q159 Q155 Q30 Q38
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 19
[ANSWERS] have a diplomatic relationship with atleast 19 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?w ) WHERE { ?z property:P530 ?g . ?z rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?w >= 19 ) }
Israel Russia Brazil United States of America Italy
Italy, Brazil and United States of America have a diplomatic relationship with atleast 19 administrative territories
Italy Brazil United States of America
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?g ) AS ?w ) WHERE { ?z property:diplomatic_relation ?g . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?w >= 19 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q1048835
USER
How many administrative territories and political territories share border with that administrative territory ?
(Q30,P47,c(Q15617994)) (Q30,P47,c(Q1048835)) (Q38,P47,c(Q15617994)) (Q38,P47,c(Q1048835)) (Q155,P47,c(Q15617994)) (Q155,P47,c(Q1048835)) (Q30,P47,c(Q15617994)) (Q30,P47,c(Q1048835))
['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q1048835'}] ['Q38', 'P47', {'concept': 'Q15617994'}] ['Q38', 'P47', {'concept': 'Q1048835'}] ['Q155', 'P47', {'concept': 'Q15617994'}] ['Q155', 'P47', {'concept': 'Q1048835'}] ['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } UNION { resource:Q977238 property:P47 ?z } UNION { resource:Q977238 property:P47 ?y } UNION { resource:Q21475816 property:P47 ?z } UNION { resource:Q21475816 property:P47 ?y } UNION { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'political territorial entity'}] ['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'political territorial entity'}] ['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'political territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } UNION { resource:Italy property:shares_border_with ?z } UNION { resource:Italy property:shares_border_with ?y } UNION { resource:Brazil property:shares_border_with ?z } UNION { resource:Brazil property:shares_border_with ?y } UNION { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
designation for an administrative territorial entity political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q38
SYSTEM
Did you mean Italy ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } UNION { resource:Q977238 property:P47 ?z } UNION { resource:Q977238 property:P47 ?y } UNION { resource:Q21475816 property:P47 ?z } UNION { resource:Q21475816 property:P47 ?y } UNION { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Did you mean Italy ?
Italy
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } UNION { resource:Italy property:shares_border_with ?z } UNION { resource:Italy property:shares_border_with ?y } UNION { resource:Brazil property:shares_border_with ?z } UNION { resource:Brazil property:shares_border_with ?y } UNION { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant United States of America. Could you tell me the answer for that?
(Q30,P47,c(Q15617994)) (Q30,P47,c(Q1048835)) (Q38,P47,c(Q15617994)) (Q38,P47,c(Q1048835)) (Q155,P47,c(Q15617994)) (Q155,P47,c(Q1048835)) (Q30,P47,c(Q15617994)) (Q30,P47,c(Q1048835))
Q30
['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q1048835'}] ['Q38', 'P47', {'concept': 'Q15617994'}] ['Q38', 'P47', {'concept': 'Q1048835'}] ['Q155', 'P47', {'concept': 'Q15617994'}] ['Q155', 'P47', {'concept': 'Q1048835'}] ['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q1048835'}]
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'political territorial entity'}] ['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'political territorial entity'}] ['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'political territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'political territorial entity'}]
[]
SYSTEM
12 administrative territories and 2 political territories
Q702 Q804 Q159 Q96 Q17 Q786 Q778 Q241 Q16 Q683 Q710 Q678 Q717 Q790
(Q30,P47,c(Q15617994)) (Q30,P47,c(Q1048835)) (Q38,P47,c(Q15617994)) (Q38,P47,c(Q1048835)) (Q155,P47,c(Q15617994)) (Q155,P47,c(Q1048835)) (Q30,P47,c(Q15617994)) (Q30,P47,c(Q1048835))
[ANSWER]
['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q1048835'}] ['Q38', 'P47', {'concept': 'Q15617994'}] ['Q38', 'P47', {'concept': 'Q1048835'}] ['Q155', 'P47', {'concept': 'Q15617994'}] ['Q155', 'P47', {'concept': 'Q1048835'}] ['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } UNION { resource:Q977238 property:P47 ?z } UNION { resource:Q977238 property:P47 ?y } UNION { resource:Q21475816 property:P47 ?z } UNION { resource:Q21475816 property:P47 ?y } UNION { resource:Q30 property:P47 ?z } UNION { resource:Q30 property:P47 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Federated States of Micronesia Panama Russia Mexico Japan Dominican Republic The Bahamas Cuba Canada Samoa Kiribati Tonga Venezuela Haiti
12 administrative territories and 2 political territories
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'political territorial entity'}] ['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'political territorial entity'}] ['Brazil', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'shares border with', {'concept': 'political territorial entity'}] ['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } UNION { resource:Italy property:shares_border_with ?z } UNION { resource:Italy property:shares_border_with ?y } UNION { resource:Brazil property:shares_border_with ?z } UNION { resource:Brazil property:shares_border_with ?y } UNION { resource:United_States_of_America property:shares_border_with ?z } UNION { resource:United_States_of_America property:shares_border_with ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q15617994 Q376799 Q55488
USER
How many administrative territories are the origin of exactly 1 transport infrastructures and railway stations ?
(c(Q376799)|c(Q55488),P138,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q376799
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q55488
value 1
[[{'concept': 'Q376799'}, {'concept': 'Q55488'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) ?z WHERE { { ?g property:P138 ?z . ?g rdf:type ontology:Q376799 . ?z rdf:type ontology:Q15617994 } UNION { ?g property:P138 ?z . ?z rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q55488 } } GROUP BY ?z } . FILTER ( ?i = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type transport infrastructure
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type railway station
value 1
[[{'concept': 'transport infrastructure'}, {'concept': 'railway station'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) ?z WHERE { { ?g property:named_after ?z . ?g rdf:type ontology:transport_infrastructure . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:named_after ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:railway_station } } GROUP BY ?z } . FILTER ( ?i = 1 ) }
[]
designation for an administrative territorial entity transport infrastructure railway station
SYSTEM
24
Q414 Q1279 Q42777 Q6274 Q43055 Q42509 Q279373 Q3697039 Q58457 Q185619 Q3926245 Q77 Q478142 Q42993 Q42996 Q42419 Q23178 Q2790 Q393594 Q41003 Q3940173 Q4066675 Q42192 Q42441
(c(Q376799)|c(Q55488),P138,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q376799
action find_reverse_tuple_counts
relation P138
type Q15617994
type Q55488
value 1
[ANSWER]
[[{'concept': 'Q376799'}, {'concept': 'Q55488'}], 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) ?z WHERE { { ?g property:P138 ?z . ?g rdf:type ontology:Q376799 . ?z rdf:type ontology:Q15617994 } UNION { ?g property:P138 ?z . ?z rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q55488 } } GROUP BY ?z } . FILTER ( ?i = 1 ) }
Argentina Marche Abbiategrasso Sondrio Gorgonzola Bussero Rovereto Crescenzago Caiazzo Cernusco sul Naviglio QT8 Uruguay Schierstein Gessate Pero Vimodrone Bisceglie Udine Agia Paraskevi Palestro Rogoredo Annino San Donato Milanese Cassina de' Pecchi
24
action count
action equal
action union
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type transport infrastructure
action find_reverse_tuple_counts
relation named after
type designation for an administrative territorial entity
type railway station
value 1
[[{'concept': 'transport infrastructure'}, {'concept': 'railway station'}], 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) ?z WHERE { { ?g property:named_after ?z . ?g rdf:type ontology:transport_infrastructure . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g property:named_after ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:railway_station } } GROUP BY ?z } . FILTER ( ?i = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q3700011 Q14524493
USER
Which administrative territories do around 509 districts of Indonesia and terrains belong to ?
(c(Q3700011)|c(Q14524493),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3700011
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q14524493
value 509
[[{'concept': 'Q3700011'}, {'concept': 'Q14524493'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?s WHERE { { ?n property:P17 ?s . ?s rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q3700011 } UNION { ?n property:P17 ?s . ?s rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q14524493 } } GROUP BY ?s } . FILTER ( ?q = 509 ) }
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type district of Indonesia
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type terrain
value 509
[[{'concept': 'district of Indonesia'}, {'concept': 'terrain'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?s WHERE { { ?n property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:district_of_Indonesia } UNION { ?n property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:terrain } } GROUP BY ?s } . FILTER ( ?q = 509 ) }
[]
designation for an administrative territorial entity district of Indonesia terrain
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q702 Q804 Q801 Q800 Q1256 Q709 Q398 Q805 Q339952 Q419 Q270508 Q668 Q684030 Q2172530 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q784 Q265 Q214 Q640426 Q36678 Q736029 Q712 Q711 Q710 Q717 Q837 Q565812 Q187035 Q399 Q1462 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q517333 Q796 Q794 Q954 Q889 Q2001966 Q326029 Q884 Q958 Q881 Q986 Q219 Q153529 Q695316 Q4628 Q826 Q165040 Q822 Q241 Q242 Q244 Q315667 Q811 Q736 Q153136 Q1210 Q33 Q921 Q31 Q924 Q36 Q34 Q928 Q155019 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q107426 Q424 Q730 Q1282 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q177323 Q313175 Q149621 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q836 Q34762 Q1458 Q786 Q32 Q228 Q3462133 Q227 Q225 Q224 Q223 Q222 Q221 Q815731 Q47261 Q96 Q229 Q347 Q1050 Q977 Q17 Q704288 Q10957559 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q389004 Q754 Q750 Q212 Q213 Q211 Q217 Q1013 Q215 Q218 Q160307 Q164092 Q37 Q1483510 Q912 Q2662372 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q829700 Q1009 Q1008 Q971 Q970 Q239502 Q683 Q15581 Q34020 Q2380910 Q686 Q193152 Q760 Q29 Q574 Q655621 Q2502354 Q154849 Q159856 Q2621010 Q874 Q79 Q696651 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q148499 Q1011 Q945 Q678 Q8575586 Q529605 Q1039 Q672 Q33788 Q929 Q11024667 Q863 Q1049 Q869 Q426025 Q953
(c(Q3700011)|c(Q14524493),P17,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q3700011
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q14524493
value 509
[ANSWERS] around 509 districts of Innesia and terrains belong to
[[{'concept': 'Q3700011'}, {'concept': 'Q14524493'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?s WHERE { { ?n property:P17 ?s . ?s rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q3700011 } UNION { ?n property:P17 ?s . ?s rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q14524493 } } GROUP BY ?s } . FILTER ( ?q = 509 ) }
Federated States of Micronesia Panama Israel Costa Rica Liguria Marshall Islands Bahrain Yemen Principality of Orange-Nassau Peru Andora India Principality of Serbia Electorate of Württemberg Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Dominica Uzbekistan Slovakia Stahnsdorf West Bank Nassau-Siegen Fiji Mongolia Kiribati Venezuela Nepal Principality of Calenberg Principality of Albania Armenia Sardinia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Principality of Polotsk Iraq Iran Zimbabwe Afghanistan Company rule in India Duchy of Brunswick South Korea South Sudan Vietnam Eritrea Bulgaria Duchy of Milan Schwarzburg-Rudolstadt Faroe Islands Maldives Duchy of Parma Lebanon Cuba Belize Barbados Saxe-Weimar Nicaragua Ecuador Habsburg Empire Lombardy Finland Brunei Belgium Tanzania Poland Sweden Philippines Duchy of Lorraine Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Anjou Cambodia Suriname Lazio Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary developing country Saxe-Lauenburg district Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Myanmar Principality of Bayreuth Calabria Dominican Republic Luxembourg Andorra Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Duchy of Bavaria Mexico Cyprus Liechtenstein Swaziland Djibouti Japan Duchy of Holstein Moldavia Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Wallachia Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Lesotho Slovenia Romania Fatimid caliphate Duchy of Saxony Lithuania Principality of Wales Mali Principality of Minsk Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Saxe-Jena Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Samoa Principality of Catalonia Niue Duchy of Zaslawye Vanuatu Great Moravia Saint Lucia Spain East Timor Principality of Transylvania Principality of Goroden Grand Duchy of Tuscany Duchy of Brabant Principality of Vitebsk Turkmenistan Egypt Saxe-Eisenach Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Margraviate of Brandenburg Cape Verde Togo Tonga Umayyad Caliphate Electorate of Hesse Sao Tomé and Príncipe Tuvalu New Caledonia Central African Republic Duchy of Mecklenburg-Schwerin Tajikistan Sudan Thailand Duchy of Savoy Zambia
Italy, Brazil and Georgia around 509 districts of Innesia and terrains belong to
Italy Brazil Georgia
action approx
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type district of Indonesia
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type terrain
value 509
[[{'concept': 'district of Indonesia'}, {'concept': 'terrain'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?q ) ?s WHERE { { ?n property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:district_of_Indonesia } UNION { ?n property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:terrain } } GROUP BY ?s } . FILTER ( ?q = 509 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P463
Q56061 Q484652
USER
How many administrative territories or international organizations were that administrative territory a member of ?
(Q38,P463,c(Q56061)) (Q38,P463,c(Q484652)) (Q38,P463,c(Q56061)) (Q38,P463,c(Q484652)) (Q155,P463,c(Q56061)) (Q155,P463,c(Q484652)) (Q230,P463,c(Q56061)) (Q230,P463,c(Q484652))
['Q38', 'P463', {'concept': 'Q56061'}] ['Q38', 'P463', {'concept': 'Q484652'}] ['Q38', 'P463', {'concept': 'Q56061'}] ['Q38', 'P463', {'concept': 'Q484652'}] ['Q155', 'P463', {'concept': 'Q56061'}] ['Q155', 'P463', {'concept': 'Q484652'}] ['Q230', 'P463', {'concept': 'Q56061'}] ['Q230', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q977238 property:P463 ?z } UNION { resource:Q977238 property:P463 ?y } UNION { resource:Q977238 property:P463 ?z } UNION { resource:Q977238 property:P463 ?y } UNION { resource:Q21475816 property:P463 ?z } UNION { resource:Q21475816 property:P463 ?y } UNION { resource:Q5547323 property:P463 ?z } UNION { resource:Q5547323 property:P463 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q484652 }
['Italy', 'member of', {'concept': 'administrative territorial entity'}] ['Italy', 'member of', {'concept': 'international organization'}] ['Italy', 'member of', {'concept': 'administrative territorial entity'}] ['Italy', 'member of', {'concept': 'international organization'}] ['Brazil', 'member of', {'concept': 'administrative territorial entity'}] ['Brazil', 'member of', {'concept': 'international organization'}] ['Georgia', 'member of', {'concept': 'administrative territorial entity'}] ['Georgia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Italy property:member_of ?z } UNION { resource:Italy property:member_of ?y } UNION { resource:Italy property:member_of ?z } UNION { resource:Italy property:member_of ?y } UNION { resource:Brazil property:member_of ?z } UNION { resource:Brazil property:member_of ?y } UNION { resource:Georgia property:member_of ?z } UNION { resource:Georgia property:member_of ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:international_organization }
[]
administrative territorial entity international organization
Quantitative|Count|Mult. entity type|Clarification
Q230
SYSTEM
Did you mean Georgia ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q977238 property:P463 ?z } UNION { resource:Q977238 property:P463 ?y } UNION { resource:Q977238 property:P463 ?z } UNION { resource:Q977238 property:P463 ?y } UNION { resource:Q21475816 property:P463 ?z } UNION { resource:Q21475816 property:P463 ?y } UNION { resource:Q5547323 property:P463 ?z } UNION { resource:Q5547323 property:P463 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q484652 }
Did you mean Georgia ?
Georgia
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Italy property:member_of ?z } UNION { resource:Italy property:member_of ?y } UNION { resource:Italy property:member_of ?z } UNION { resource:Italy property:member_of ?y } UNION { resource:Brazil property:member_of ?z } UNION { resource:Brazil property:member_of ?y } UNION { resource:Georgia property:member_of ?z } UNION { resource:Georgia property:member_of ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Italy. Could you tell me the answer for that?
(Q38,P463,c(Q56061)) (Q38,P463,c(Q484652)) (Q38,P463,c(Q56061)) (Q38,P463,c(Q484652)) (Q155,P463,c(Q56061)) (Q155,P463,c(Q484652)) (Q230,P463,c(Q56061)) (Q230,P463,c(Q484652))
Q38
['Q38', 'P463', {'concept': 'Q56061'}] ['Q38', 'P463', {'concept': 'Q484652'}] ['Q38', 'P463', {'concept': 'Q56061'}] ['Q38', 'P463', {'concept': 'Q484652'}] ['Q155', 'P463', {'concept': 'Q56061'}] ['Q155', 'P463', {'concept': 'Q484652'}] ['Q230', 'P463', {'concept': 'Q56061'}] ['Q230', 'P463', {'concept': 'Q484652'}]
['Italy', 'member of', {'concept': 'administrative territorial entity'}] ['Italy', 'member of', {'concept': 'international organization'}] ['Italy', 'member of', {'concept': 'administrative territorial entity'}] ['Italy', 'member of', {'concept': 'international organization'}] ['Brazil', 'member of', {'concept': 'administrative territorial entity'}] ['Brazil', 'member of', {'concept': 'international organization'}] ['Georgia', 'member of', {'concept': 'administrative territorial entity'}] ['Georgia', 'member of', {'concept': 'international organization'}]
[]
SYSTEM
27
Q81299 Q1065 Q826700 Q1480793 Q47488 Q7184 Q42262 Q472311 Q605326 Q458 Q188822 Q201054 Q7804 Q842490 Q19771 Q54129 Q1411881 Q17495 Q192177 Q170424 Q37143 Q176815 Q182000 Q8475 Q233611 Q1043527 Q1045198
(Q38,P463,c(Q56061)) (Q38,P463,c(Q484652)) (Q38,P463,c(Q56061)) (Q38,P463,c(Q484652)) (Q155,P463,c(Q56061)) (Q155,P463,c(Q484652)) (Q230,P463,c(Q56061)) (Q230,P463,c(Q484652))
[ANSWER]
['Q38', 'P463', {'concept': 'Q56061'}] ['Q38', 'P463', {'concept': 'Q484652'}] ['Q38', 'P463', {'concept': 'Q56061'}] ['Q38', 'P463', {'concept': 'Q484652'}] ['Q155', 'P463', {'concept': 'Q56061'}] ['Q155', 'P463', {'concept': 'Q484652'}] ['Q230', 'P463', {'concept': 'Q56061'}] ['Q230', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q977238 property:P463 ?z } UNION { resource:Q977238 property:P463 ?y } UNION { resource:Q977238 property:P463 ?z } UNION { resource:Q977238 property:P463 ?y } UNION { resource:Q21475816 property:P463 ?z } UNION { resource:Q21475816 property:P463 ?y } UNION { resource:Q5547323 property:P463 ?z } UNION { resource:Q5547323 property:P463 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations International Energy Agency Nuclear Suppliers Group International Criminal Court North Atlantic Treaty Organisation European Space Agency International Organization for Migration World Customs Organization European Union Asian Development Bank International Maritime Organization International Monetary Fund Organisation for the Prohibition of Chemical Weapons G20 International Labour Organization Group of Ten Universal Postal Union Union for the Mediterranean World Meteorological Organization G8 Inter-Parliamentary Union United Nations Conference on Trade and Development Interpol International Hydrographic Organization Multilateral Investment Guarantee Agency Permanent Court of Arbitration
27
['Italy', 'member of', {'concept': 'administrative territorial entity'}] ['Italy', 'member of', {'concept': 'international organization'}] ['Italy', 'member of', {'concept': 'administrative territorial entity'}] ['Italy', 'member of', {'concept': 'international organization'}] ['Brazil', 'member of', {'concept': 'administrative territorial entity'}] ['Brazil', 'member of', {'concept': 'international organization'}] ['Georgia', 'member of', {'concept': 'administrative territorial entity'}] ['Georgia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Italy property:member_of ?z } UNION { resource:Italy property:member_of ?y } UNION { resource:Italy property:member_of ?z } UNION { resource:Italy property:member_of ?y } UNION { resource:Brazil property:member_of ?z } UNION { resource:Brazil property:member_of ?y } UNION { resource:Georgia property:member_of ?z } UNION { resource:Georgia property:member_of ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P1001
Q192350
USER
Which ministries preside the jurisdiction over Italy ?
(c(Q192350),P1001,Q38)
action filter_type
action find_reverse
entity Q38
relation P1001
type Q192350
[{'concept': 'Q192350'}, 'P1001', 'Q38']
SELECT DISTINCT ?e WHERE { ?e property:P1001 resource:Q38 . ?e rdf:type ontology:Q192350 }
Italy
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?e WHERE { ?e property:applies_to_jurisdiction resource:Italy . ?e rdf:type ontology:ministry }
[]
ministry
Q1347047 Q782620
SYSTEM
Ministry of Cultural Heritage and Activities and Tourism, Ministry of Agricultural, Food and Forestry Policies
Q1347047 Q782620
(c(Q192350),P1001,Q38)
action filter_type
action find_reverse
entity Q38
relation P1001
type Q192350
[ANSWERS]
[{'concept': 'Q192350'}, 'P1001', 'Q38']
SELECT DISTINCT ?e WHERE { ?e property:P1001 resource:Q38 . ?e rdf:type ontology:Q192350 }
Ministry of Cultural Heritage and Activities and Tourism Ministry of Agricultural, Food and Forestry Policies
Ministry of Cultural Heritage and Activities and Tourism and Ministry of Agricultural, Food and Forestry Policies preside the jurisdiction over Italy
Ministry of Cultural Heritage and Activities and Tourism Ministry of Agricultural, Food and Forestry Policies
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type ministry
[{'concept': 'ministry'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?e WHERE { ?e property:applies_to_jurisdiction resource:Italy . ?e rdf:type ontology:ministry }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1347047 Q782620
P39
Q502895
USER
Who were responsible for occupying the position of Ministry of Cultural Heritage and Activities and Tourism and Ministry of Agricultural, Food and Forestry Policies ?
(c(Q502895),P39,Q1347047) (c(Q502895),P39,Q782620)
action union
action filter_type
action find_reverse
entity Q1347047
relation P39
type Q502895
action filter_type
action find_reverse
entity Q782620
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q1347047'] [{'concept': 'Q502895'}, 'P39', 'Q782620']
SELECT DISTINCT ?o WHERE { { ?o property:P39 resource:Q1347047 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P39 resource:Q782620 . ?o rdf:type ontology:Q502895 } }
Ministry of Cultural Heritage and Activities and Tourism Ministry of Agricultural, Food and Forestry Policies
action union
action filter_type
action find_reverse
entity Ministry of Cultural Heritage and Activities and Tourism
relation position held
type common name
action filter_type
action find_reverse
entity Ministry of Agricultural, Food and Forestry Policies
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Ministry of Cultural Heritage and Activities and Tourism'] [{'concept': 'common name'}, 'position held', 'Ministry of Agricultural, Food and Forestry Policies']
SELECT DISTINCT ?o WHERE { { ?o property:position_held resource:Ministry_of_Cultural_Heritage_and_Activities_and_Tourism . ?o rdf:type ontology:common_name } UNION { ?o property:position_held resource:Ministry_of_Agricultural,_Food_and_Forestry_Policies . ?o rdf:type ontology:common_name } }
[]
common name
Q674957 Q3879474 Q3879474
SYSTEM
Nunzia De Girolamo for 2nd, 3rd, Enrico Letta for 1st
Q730966 Q3879474 Q3879474 Q13371788 Q2934352 Q2934352 Q3770066 Q3767639 Q1059394 Q674957 Q1375084
(c(Q502895),P39,Q1347047) (c(Q502895),P39,Q782620)
action union
action filter_type
action find_reverse
entity Q1347047
relation P39
type Q502895
action filter_type
action find_reverse
entity Q782620
relation P39
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P39', 'Q1347047'] [{'concept': 'Q502895'}, 'P39', 'Q782620']
SELECT DISTINCT ?o WHERE { { ?o property:P39 resource:Q1347047 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P39 resource:Q782620 . ?o rdf:type ontology:Q502895 } }
Giancarlo Galan Nunzia De Girolamo Nunzia De Girolamo Maurizio Martina Calogero Antonio Mannino Calogero Antonio Mannino Giuseppe Bartolomei Giovanni Marcora Antonio Bisaglia Enrico Letta Filippo Maria Pandolfi
Enrico Letta, Nunzia De Girolamo and Nunzia De Girolamo were responsible for occupying the position of Ministry of Cultural Heritage and Activities and Tourism and Ministry of Agricultural, Food and Forestry Policies
Enrico Letta Nunzia De Girolamo Nunzia De Girolamo
action union
action filter_type
action find_reverse
entity Ministry of Cultural Heritage and Activities and Tourism
relation position held
type common name
action filter_type
action find_reverse
entity Ministry of Agricultural, Food and Forestry Policies
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Ministry of Cultural Heritage and Activities and Tourism'] [{'concept': 'common name'}, 'position held', 'Ministry of Agricultural, Food and Forestry Policies']
SELECT DISTINCT ?o WHERE { { ?o property:position_held resource:Ministry_of_Cultural_Heritage_and_Activities_and_Tourism . ?o rdf:type ontology:common_name } UNION { ?o property:position_held resource:Ministry_of_Agricultural,_Food_and_Forestry_Policies . ?o rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q674957
P106
Q12737077
USER
What are the professions of that person ?
(Q674957,P106,c(Q12737077))
action filter_type
action find
entity Q674957
relation P106
type Q12737077
['Q674957', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q674957 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Enrico Letta
action filter_type
action find
entity Enrico Letta
relation occupation
type occupation
['Enrico Letta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Enrico_Letta property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q3879474
SYSTEM
Did you mean Nunzia De Girolamo ?
Q674957 Q3879474 Q3879474
(Q674957,P106,c(Q12737077)) (Q3879474,P106,c(Q12737077)) (Q3879474,P106,c(Q12737077))
[ANSWER]
['Q674957', 'P106', {'concept': 'Q12737077'}] ['Q3879474', 'P106', {'concept': 'Q12737077'}] ['Q3879474', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q674957 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Enrico Letta Nunzia De Girolamo Nunzia De Girolamo
Did you mean Nunzia De Girolamo ?
Nunzia De Girolamo
['Enrico Letta', 'occupation', {'concept': 'occupation'}] ['Nunzia De Girolamo', 'occupation', {'concept': 'occupation'}] ['Nunzia De Girolamo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Enrico_Letta property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Enrico Letta. Could you tell me the answer for that?
(Q674957,P106,c(Q12737077))
Q674957
['Q674957', 'P106', {'concept': 'Q12737077'}]
['Enrico Letta', 'occupation', {'concept': 'occupation'}]
[]
Q16631371 Q15980158 Q82955
SYSTEM
academic, non-fiction writer, politician
Q16631371 Q15980158 Q82955
(Q674957,P106,c(Q12737077))
action filter_type
action find
entity Q674957
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q674957', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q674957 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
academic non-fiction writer politician
The professions of that person are academic, non-fiction writer and politician
academic non-fiction writer politician
action filter_type
action find
entity Enrico Letta
relation occupation
type occupation
['Enrico Letta', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Enrico_Letta property:occupation ?z . ?z rdf:type ontology:occupation }
[]