Simple Question (Direct)
Simple Question
Q5615959
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Guilherme Conceição Cardoso ?
(Q5615959,P27,c(Q15617994))
action filter_type
action find
entity Q5615959
relation P27
type Q15617994
['Q5615959', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q5615959 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Guilherme Conceição Cardoso
action filter_type
action find
entity Guilherme Conceição Cardoso
relation country of citizenship
type designation for an administrative territorial entity
['Guilherme Conceição Cardoso', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Guilherme_Conceição_Cardoso property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q5615959,P27,c(Q15617994))
action filter_type
action find
entity Q5615959
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Guilherme Conceição Cardoso
['Q5615959', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q5615959 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Brazil
Brazil is the country of citizenship of Guilherme Conceição Cardoso
Brazil
action filter_type
action find
entity Guilherme Conceição Cardoso
relation country of citizenship
type designation for an administrative territorial entity
['Guilherme Conceição Cardoso', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Guilherme_Conceição_Cardoso property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5615959
P641
Q349
USER
Which sport did that person participate in ?
(Q155,P641,c(Q349))
action filter_type
action find
entity Q5615959
relation P641
type Q349
['Q155', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q5615959 property:P641 ?h . ?h rdf:type ontology:Q349 }
Guilherme Conceição Cardoso
action filter_type
action find
entity Guilherme Conceição Cardoso
relation sport
type sport
['Brazil', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Guilherme_Conceição_Cardoso property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q155,P641,c(Q349))
action filter_type
action find
entity Q5615959
relation P641
type Q349
That person participated in [ANSWER]
['Q155', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q5615959 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Guilherme Conceição Cardoso
relation sport
type sport
['Brazil', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Guilherme_Conceição_Cardoso property:sport ?h . ?h rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with max number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?c ) WHERE { ?v property:P530 ?m . ?v rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?c = ?h ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?g ) WHERE { ?s property:P530 ?u . ?s rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?s } } }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?c ) WHERE { ?v property:diplomatic_relation ?m . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?c = ?h ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?g ) WHERE { ?s property:diplomatic_relation ?u . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] have a diplomatic relationship with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?c ) WHERE { ?v property:P530 ?m . ?v rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?v } . FILTER ( ?c = ?h ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?g ) WHERE { ?s property:P530 ?u . ?s rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q15617994 } GROUP BY ?s } } }
Italy
Italy have a diplomatic relationship with max number of administrative territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?m ) AS ?c ) WHERE { ?v property:diplomatic_relation ?m . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?v } . FILTER ( ?c = ?h ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?u ) AS ?g ) WHERE { ?s property:diplomatic_relation ?u . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q38 Q4428116 Q19978457
P47
Q1048835
USER
Does Italy share border with Solovivka and Ringstaholm County ?
(Q38,P47,Q4428116) (Q38,P47,Q19978457)
action is_in
entity Q38
action intersection
action find_reverse
entity Q4428116
relation P47
action find_reverse
entity Q19978457
relation P47
['Q38', 'P47', 'Q4428116'] ['Q38', 'P47', 'Q19978457']
ASK WHERE { resource:Q38 property:P47 resource:Q4428116 . resource:Q38 property:P47 resource:Q19978457 }
Italy Solovivka Ringstaholm County
action is_in
entity Italy
action intersection
action find_reverse
entity Solovivka
relation shares border with
action find_reverse
entity Ringstaholm County
relation shares border with
['Italy', 'shares border with', 'Solovivka'] ['Italy', 'shares border with', 'Ringstaholm County']
ASK WHERE { resource:Italy property:shares_border_with resource:Solovivka . resource:Italy property:shares_border_with resource:Ringstaholm_County }
[]
political territorial entity
SYSTEM
NO
(Q38,P47,Q4428116) (Q38,P47,Q19978457)
action is_in
entity Q38
action intersection
action find_reverse
entity Q4428116
relation P47
action find_reverse
entity Q19978457
relation P47
[ANSWER]
['Q38', 'P47', 'Q4428116'] ['Q38', 'P47', 'Q19978457']
ASK WHERE { resource:Q38 property:P47 resource:Q4428116 . resource:Q38 property:P47 resource:Q19978457 }
No
action is_in
entity Italy
action intersection
action find_reverse
entity Solovivka
relation shares border with
action find_reverse
entity Ringstaholm County
relation shares border with
['Italy', 'shares border with', 'Solovivka'] ['Italy', 'shares border with', 'Ringstaholm County']
ASK WHERE { resource:Italy property:shares_border_with resource:Solovivka . resource:Italy property:shares_border_with resource:Ringstaholm_County }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5615959 Q5826089 Q11783587
P19
Q56061
USER
Does Guilherme Conceição Cardoso have place of birth as Rezgah, Khuzestan and Mitford ?
(Q5615959,P19,Q5826089) (Q5615959,P19,Q11783587)
action is_in
entity Q5615959
action intersection
action find_reverse
entity Q5826089
relation P19
action find_reverse
entity Q11783587
relation P19
['Q5615959', 'P19', 'Q5826089'] ['Q5615959', 'P19', 'Q11783587']
ASK WHERE { resource:Q5615959 property:P19 resource:Q5826089 . resource:Q5615959 property:P19 resource:Q11783587 }
Guilherme Conceição Cardoso Rezgah, Khuzestan Mitford
action is_in
entity Guilherme Conceição Cardoso
action intersection
action find_reverse
entity Rezgah, Khuzestan
relation place of birth
action find_reverse
entity Mitford
relation place of birth
['Guilherme Conceição Cardoso', 'place of birth', 'Rezgah, Khuzestan'] ['Guilherme Conceição Cardoso', 'place of birth', 'Mitford']
ASK WHERE { resource:Guilherme_Conceição_Cardoso property:place_of_birth resource:Rezgah,_Khuzestan . resource:Guilherme_Conceição_Cardoso property:place_of_birth resource:Mitford }
[]
administrative territorial entity
SYSTEM
NO
(Q5615959,P19,Q5826089) (Q5615959,P19,Q11783587)
action is_in
entity Q5615959
action intersection
action find_reverse
entity Q5826089
relation P19
action find_reverse
entity Q11783587
relation P19
[ANSWER]
['Q5615959', 'P19', 'Q5826089'] ['Q5615959', 'P19', 'Q11783587']
ASK WHERE { resource:Q5615959 property:P19 resource:Q5826089 . resource:Q5615959 property:P19 resource:Q11783587 }
No
action is_in
entity Guilherme Conceição Cardoso
action intersection
action find_reverse
entity Rezgah, Khuzestan
relation place of birth
action find_reverse
entity Mitford
relation place of birth
['Guilherme Conceição Cardoso', 'place of birth', 'Rezgah, Khuzestan'] ['Guilherme Conceição Cardoso', 'place of birth', 'Mitford']
ASK WHERE { resource:Guilherme_Conceição_Cardoso property:place_of_birth resource:Rezgah,_Khuzestan . resource:Guilherme_Conceição_Cardoso property:place_of_birth resource:Mitford }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q778
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with lesser number of administrative territories than The Bahamas ?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?w ) WHERE { ?f property:P530 ?a . ?f rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q778 property:P530 ?k . ?k rdf:type ontology:Q1048835 } } . FILTER ( ?w < ?g ) }
The Bahamas
action count
action less
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 The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?w ) WHERE { ?f property:diplomatic_relation ?a . ?f rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:The_Bahamas property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity } } . FILTER ( ?w < ?g ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?w ) WHERE { ?f property:P530 ?a . ?f rdf:type ontology:Q1048835 . ?a rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q778 property:P530 ?k . ?k rdf:type ontology:Q1048835 } } . FILTER ( ?w < ?g ) }
Solomon Islands Papua New Guinea
2
action count
action less
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 The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?a ) AS ?w ) WHERE { ?f property:diplomatic_relation ?a . ?f rdf:type ontology:political_territorial_entity . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:The_Bahamas property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity } } . FILTER ( ?w < ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P206
Q15324
USER
Which body of water is situated close to Italy ?
(Q38,P206,c(Q15324))
action filter_type
action find
entity Q38
relation P206
type Q15324
['Q38', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?r WHERE { resource:Q38 property:P206 ?r . ?r rdf:type ontology:Q15324 }
Italy
action filter_type
action find
entity Italy
relation located next to body of water
type body of water
['Italy', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?r WHERE { resource:Italy property:located_next_to_body_of_water ?r . ?r rdf:type ontology:body_of_water }
[]
body of water
Q13924
SYSTEM
Adriatic Sea
Q13924
(Q38,P206,c(Q15324))
action filter_type
action find
entity Q38
relation P206
type Q15324
Sea [ANSWER] is situated close to Italy
['Q38', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?r WHERE { resource:Q38 property:P206 ?r . ?r rdf:type ontology:Q15324 }
Adriatic Sea
Sea Adriatic Sea is situated close to Italy
Adriatic Sea
action filter_type
action find
entity Italy
relation located next to body of water
type body of water
['Italy', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?r WHERE { resource:Italy property:located_next_to_body_of_water ?r . ?r rdf:type ontology:body_of_water }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P206
Q15324 Q123705
USER
How many bodies of water are situated close to less number of neighborhoods than that body of water ?
(c(Q123705),P206,c(Q15324))
action count
action less
action find_tuple_counts
relation P206
type Q15324
type Q123705
action count
action filter_type
action find
entity Q13924
relation P206
type Q15324
[{'concept': 'Q123705'}, 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?z ) WHERE { ?u property:P206 ?s . ?u rdf:type ontology:Q15324 . ?s rdf:type ontology:Q123705 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q13924 property:P206 ?j . ?j rdf:type ontology:Q15324 } } . FILTER ( ?z < ?x ) }
action count
action less
action find_tuple_counts
relation located next to body of water
type body of water
type neighborhood
action count
action filter_type
action find
entity Adriatic Sea
relation located next to body of water
type body of water
[{'concept': 'neighborhood'}, 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?z ) WHERE { ?u property:located_next_to_body_of_water ?s . ?u rdf:type ontology:body_of_water . ?s rdf:type ontology:neighborhood } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Adriatic_Sea property:located_next_to_body_of_water ?j . ?j rdf:type ontology:body_of_water } } . FILTER ( ?z < ?x ) }
[]
body of water neighborhood
SYSTEM
0
(c(Q123705),P206,c(Q15324))
action count
action less
action find_tuple_counts
relation P206
type Q15324
type Q123705
action count
action filter_type
action find
entity Q13924
relation P206
type Q15324
[ANSWER]
[{'concept': 'Q123705'}, 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?z ) WHERE { ?u property:P206 ?s . ?u rdf:type ontology:Q15324 . ?s rdf:type ontology:Q123705 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q13924 property:P206 ?j . ?j rdf:type ontology:Q15324 } } . FILTER ( ?z < ?x ) }
0
action count
action less
action find_tuple_counts
relation located next to body of water
type body of water
type neighborhood
action count
action filter_type
action find
entity Adriatic Sea
relation located next to body of water
type body of water
[{'concept': 'neighborhood'}, 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?s ) AS ?z ) WHERE { ?u property:located_next_to_body_of_water ?s . ?u rdf:type ontology:body_of_water . ?s rdf:type ontology:neighborhood } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Adriatic_Sea property:located_next_to_body_of_water ?j . ?j rdf:type ontology:body_of_water } } . FILTER ( ?z < ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P159
Q43229
USER
Which organizations have their HQ location at Italy ?
(c(Q43229),P159,Q38)
action filter_type
action find_reverse
entity Q38
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q38']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q43229 . ?u property:P159 resource:Q38 }
Italy
action filter_type
action find_reverse
entity Italy
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Italy']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:organization . ?u property:headquarters_location resource:Italy }
[]
organization
Q16536952 Q3929491 Q3622240
SYSTEM
Carlo Erba, Rai Cinema, Arflex
Q5014784 Q3622240 Q950042 Q16536952 Q3963794 Q3006985 Q80281 Q5421217 Q5311237 Q16566756 Q7611729 Q5445259 Q3459850 Q5025085 Q15970921 Q3929491 Q3777372 Q22443127 Q17020270
(c(Q43229),P159,Q38)
action filter_type
action find_reverse
entity Q38
relation P159
type Q43229
[ANSWERS] have their HQ location at Italy
[{'concept': 'Q43229'}, 'P159', 'Q38']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q43229 . ?u property:P159 resource:Q38 }
CVS Ferrari Arflex Stone Island Carlo Erba Società del quartetto di Milano dV Giochi FPT Industrial Expert System S.p.A. Ducati Energia Italiaonline Stevanato Group Ferrari Belotti Socimi Cambiocasa Pardini Rai Cinema Giochi Preziosi Tecnomare Hacking Team
Carlo Erba, Rai Cinema and Arflex have their HQ location at Italy
Carlo Erba Rai Cinema Arflex
action filter_type
action find_reverse
entity Italy
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Italy']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:organization . ?u property:headquarters_location resource:Italy }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3929491
P740
Q56061
USER
What is the location of formation of that organization ?
(Q3929491,P740,c(Q56061))
action filter_type
action find
entity Q3929491
relation P740
type Q56061
['Q3929491', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3929491 property:P740 ?w . ?w rdf:type ontology:Q56061 }
Rai Cinema
action filter_type
action find
entity Rai Cinema
relation location of formation
type administrative territorial entity
['Rai Cinema', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Rai_Cinema property:location_of_formation ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q16536952
SYSTEM
Did you mean Carlo Erba ?
Q16536952 Q3929491 Q3622240
(Q16536952,P740,c(Q56061)) (Q3929491,P740,c(Q56061)) (Q3622240,P740,c(Q56061))
[ANSWER]
['Q16536952', 'P740', {'concept': 'Q56061'}] ['Q3929491', 'P740', {'concept': 'Q56061'}] ['Q3622240', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3929491 property:P740 ?w . ?w rdf:type ontology:Q56061 }
Carlo Erba Rai Cinema Arflex
Did you mean Carlo Erba ?
Carlo Erba
['Carlo Erba', 'location of formation', {'concept': 'administrative territorial entity'}] ['Rai Cinema', 'location of formation', {'concept': 'administrative territorial entity'}] ['Arflex', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Rai_Cinema property:location_of_formation ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Rai Cinema. Could you tell me the answer for that?
(Q3929491,P740,c(Q56061))
Q3929491
['Q3929491', 'P740', {'concept': 'Q56061'}]
['Rai Cinema', 'location of formation', {'concept': 'administrative territorial entity'}]
[]
Q220
SYSTEM
Rome
Q220
(Q3929491,P740,c(Q56061))
action filter_type
action find
entity Q3929491
relation P740
type Q56061
The location of formation of that organization is in [ANSWER]
['Q3929491', 'P740', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3929491 property:P740 ?w . ?w rdf:type ontology:Q56061 }
Rome
The location of formation of that organization is in Rome
Rome
action filter_type
action find
entity Rai Cinema
relation location of formation
type administrative territorial entity
['Rai Cinema', 'location of formation', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Rai_Cinema property:location_of_formation ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q220 Q5351202 Q38
P17
Q15617994
USER
Is that administrative territory situated in El Dorado Union High School District and Italy ?
(Q220,P17,Q5351202) (Q220,P17,Q38)
action is_in
entity Q220
action intersection
action find_reverse
entity Q5351202
relation P17
action find_reverse
entity Q38
relation P17
['Q220', 'P17', 'Q5351202'] ['Q220', 'P17', 'Q38']
ASK WHERE { resource:Q220 property:P17 resource:Q5351202 . resource:Q220 property:P17 resource:Q38 }
Rome El Dorado Union High School District Italy
action is_in
entity Rome
action intersection
action find_reverse
entity El Dorado Union High School District
relation country
action find_reverse
entity Italy
relation country
['Rome', 'country', 'El Dorado Union High School District'] ['Rome', 'country', 'Italy']
ASK WHERE { resource:Rome property:country resource:El_Dorado_Union_High_School_District . resource:Rome property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q220,P17,Q5351202) (Q220,P17,Q38)
action is_in
entity Q220
action intersection
action find_reverse
entity Q5351202
relation P17
action find_reverse
entity Q38
relation P17
[ANSWER]
['Q220', 'P17', 'Q5351202'] ['Q220', 'P17', 'Q38']
ASK WHERE { resource:Q220 property:P17 resource:Q5351202 . resource:Q220 property:P17 resource:Q38 }
NO and YES respectively
action is_in
entity Rome
action intersection
action find_reverse
entity El Dorado Union High School District
relation country
action find_reverse
entity Italy
relation country
['Rome', 'country', 'El Dorado Union High School District'] ['Rome', 'country', 'Italy']
ASK WHERE { resource:Rome property:country resource:El_Dorado_Union_High_School_District . resource:Rome property:country resource:Italy }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P1376
Q15617994
USER
What have that administrative territory as their capital ?
action filter_type
action find
entity Q220
relation P1376
type Q15617994
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q220 property:P1376 ?z }
Rome
action filter_type
action find
entity Rome
relation capital of
type designation for an administrative territorial entity
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rome property:capital_of ?z }
[]
designation for an administrative territorial entity
Q38 Q1282 Q1558632
SYSTEM
Italy, Lazio, Rome
Q1282 Q38 Q1558632 Q3528124
action filter_type
action find
entity Q220
relation P1376
type Q15617994
[ANSWERS] have that administrative territory as their capital
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q220 property:P1376 ?z }
Lazio Italy Rome Tibre
Italy, Lazio and Rome have that administrative territory as their capital
Italy Lazio Rome
action filter_type
action find
entity Rome
relation capital of
type designation for an administrative territorial entity
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Rome property:capital_of ?z }
[]