Simple Question (Direct)
Simple Question
Q509292
P106
Q12737077
USER
Which occupation is the profession of Daniele Galloppa ?
(Q509292,P106,c(Q12737077))
action filter_type
action find
entity Q509292
relation P106
type Q12737077
['Q509292', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q509292 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Daniele Galloppa
action filter_type
action find
entity Daniele Galloppa
relation occupation
type occupation
['Daniele Galloppa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Daniele_Galloppa property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q509292,P106,c(Q12737077))
action filter_type
action find
entity Q509292
relation P106
type Q12737077
Player [ANSWER] is the profession of Daniele Galloppa
['Q509292', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q509292 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Daniele Galloppa
association football player
action filter_type
action find
entity Daniele Galloppa
relation occupation
type occupation
['Daniele Galloppa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Daniele_Galloppa property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q509292
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q509292
relation P19
type Q56061
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q509292 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Daniele Galloppa
action filter_type
action find
entity Daniele Galloppa
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Daniele_Galloppa property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q937857,P19,c(Q56061))
action filter_type
action find
entity Q509292
relation P19
type Q56061
That person was born in [ANSWER]
['Q937857', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q509292 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Rome
That person was born in Rome
Rome
action filter_type
action find
entity Daniele Galloppa
relation place of birth
type administrative territorial entity
['association football player', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Daniele_Galloppa property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q220 Q1490 Q8717
P190
Q56061
USER
Is that administrative territory a sister city of Tokyo and Seville ?
(Q220,P190,Q1490) (Q220,P190,Q8717)
action is_in
entity Q220
action intersection
action find_reverse
entity Q1490
relation P190
action find_reverse
entity Q8717
relation P190
['Q220', 'P190', 'Q1490'] ['Q220', 'P190', 'Q8717']
ASK WHERE { resource:Q220 property:P190 resource:Q1490 . resource:Q220 property:P190 resource:Q8717 }
Rome Tokyo Seville
action is_in
entity Rome
action intersection
action find_reverse
entity Tokyo
relation sister city
action find_reverse
entity Seville
relation sister city
['Rome', 'sister city', 'Tokyo'] ['Rome', 'sister city', 'Seville']
ASK WHERE { resource:Rome property:sister_city resource:Tokyo . resource:Rome property:sister_city resource:Seville }
[]
administrative territorial entity
SYSTEM
YES
(Q220,P190,Q1490) (Q220,P190,Q8717)
action is_in
entity Q220
action intersection
action find_reverse
entity Q1490
relation P190
action find_reverse
entity Q8717
relation P190
[ANSWER]
['Q220', 'P190', 'Q1490'] ['Q220', 'P190', 'Q8717']
ASK WHERE { resource:Q220 property:P190 resource:Q1490 . resource:Q220 property:P190 resource:Q8717 }
Yes
action is_in
entity Rome
action intersection
action find_reverse
entity Tokyo
relation sister city
action find_reverse
entity Seville
relation sister city
['Rome', 'sister city', 'Tokyo'] ['Rome', 'sister city', 'Seville']
ASK WHERE { resource:Rome property:sister_city resource:Tokyo . resource:Rome property:sister_city resource:Seville }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q509292 Q51256
P27
Q15617994
USER
Is Daniele Galloppa an inhabitant of Ortona ?
(Q509292,P27,Q51256)
action is_in
entity Q51256
action find
entity Q509292
relation P27
['Q509292', 'P27', 'Q51256']
ASK WHERE { resource:Q509292 property:P27 resource:Q51256 }
Daniele Galloppa Ortona
action is_in
entity Ortona
action find
entity Daniele Galloppa
relation country of citizenship
['Daniele Galloppa', 'country of citizenship', 'Ortona']
ASK WHERE { resource:Daniele_Galloppa property:country_of_citizenship resource:Ortona }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q509292,P27,Q51256)
action is_in
entity Q51256
action find
entity Q509292
relation P27
[ANSWER]
['Q509292', 'P27', 'Q51256']
ASK WHERE { resource:Q509292 property:P27 resource:Q51256 }
No
action is_in
entity Ortona
action find
entity Daniele Galloppa
relation country of citizenship
['Daniele Galloppa', 'country of citizenship', 'Ortona']
ASK WHERE { resource:Daniele_Galloppa property:country_of_citizenship resource:Ortona }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q220 Q242926
P47
Q15617994
USER
Does Marino, Lazio share border with Rome ?
(Q220,P47,Q242926)
action is_in
entity Q242926
action find
entity Q220
relation P47
['Q220', 'P47', 'Q242926']
ASK WHERE { resource:Q220 property:P47 resource:Q242926 }
Rome Marino, Lazio
action is_in
entity Marino, Lazio
action find
entity Rome
relation shares border with
['Rome', 'shares border with', 'Marino, Lazio']
ASK WHERE { resource:Rome property:shares_border_with resource:Marino,_Lazio }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q220,P47,Q242926)
action is_in
entity Q242926
action find
entity Q220
relation P47
[ANSWER]
['Q220', 'P47', 'Q242926']
ASK WHERE { resource:Q220 property:P47 resource:Q242926 }
Yes
action is_in
entity Marino, Lazio
action find
entity Rome
relation shares border with
['Rome', 'shares border with', 'Marino, Lazio']
ASK WHERE { resource:Rome property:shares_border_with resource:Marino,_Lazio }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81732
P17
Q1048835
USER
Which political territory is Bernsdorf, Bautzen present in ?
(Q81732,P17,c(Q1048835))
action filter_type
action find
entity Q81732
relation P17
type Q1048835
['Q81732', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q81732 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Bernsdorf, Bautzen
action filter_type
action find
entity Bernsdorf, Bautzen
relation country
type political territorial entity
['Bernsdorf, Bautzen', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Bernsdorf,_Bautzen property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q81732,P17,c(Q1048835))
action filter_type
action find
entity Q81732
relation P17
type Q1048835
[ANSWER] is Bernsdorf, Bautzen present in
['Q81732', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q81732 property:P17 ?e . ?e rdf:type ontology:Q1048835 }
Germany
Germany is Bernsdorf, Bautzen present in
Germany
action filter_type
action find
entity Bernsdorf, Bautzen
relation country
type political territorial entity
['Bernsdorf, Bautzen', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Bernsdorf,_Bautzen property:country ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q81732 Q19882329
P47
Q15617994
USER
How many administrative territories share the border with Bernsdorf, Bautzen or Bhelupura ?
(Q81732,P47,c(Q15617994)) (Q19882329,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q81732
relation P47
type Q15617994
action filter_type
action find
entity Q19882329
relation P47
type Q15617994
['Q81732', 'P47', {'concept': 'Q15617994'}] ['Q19882329', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?n ) { ( resource:Q81732 ) ( resource:Q19882329 ) } . ?n property:P47 ?y }
Bernsdorf, Bautzen Bhelupura
action count
action union
action filter_type
action find
entity Bernsdorf, Bautzen
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Bhelupura
relation shares border with
type designation for an administrative territorial entity
['Bernsdorf, Bautzen', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Bhelupura', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?n ) { ( resource:Bernsdorf,_Bautzen ) ( resource:Bhelupura ) } . ?n property:shares_border_with ?y }
[]
designation for an administrative territorial entity
SYSTEM
6
Q93294 Q588878 Q14904 Q93293 Q93273 Q81740
(Q81732,P47,c(Q15617994)) (Q19882329,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q81732
relation P47
type Q15617994
action filter_type
action find
entity Q19882329
relation P47
type Q15617994
[ANSWER]
['Q81732', 'P47', {'concept': 'Q15617994'}] ['Q19882329', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?n ) { ( resource:Q81732 ) ( resource:Q19882329 ) } . ?n property:P47 ?y }
Schwepnitz Grünewald Hoyerswerda Schönteichen Oßling Lauta
6
action count
action union
action filter_type
action find
entity Bernsdorf, Bautzen
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Bhelupura
relation shares border with
type designation for an administrative territorial entity
['Bernsdorf, Bautzen', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Bhelupura', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?h ) WHERE { VALUES ( ?n ) { ( resource:Bernsdorf,_Bautzen ) ( resource:Bhelupura ) } . ?n property:shares_border_with ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q220
P609
Q83620
USER
Which thoroughfare is Rome a destination for ?
(c(Q83620),P609,Q220)
action filter_type
action find_reverse
entity Q220
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q220']
SELECT DISTINCT ?f WHERE { ?f property:P609 resource:Q220 . ?f rdf:type ontology:Q83620 }
Rome
action filter_type
action find_reverse
entity Rome
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Rome']
SELECT DISTINCT ?f WHERE { ?f property:terminus_location resource:Rome . ?f rdf:type ontology:thoroughfare }
[]
thoroughfare
Q313416
SYSTEM
European route E35
Q313416
(c(Q83620),P609,Q220)
action filter_type
action find_reverse
entity Q220
relation P609
type Q83620
Which thoroughfare is Rome a destination for
[{'concept': 'Q83620'}, 'P609', 'Q220']
SELECT DISTINCT ?f WHERE { ?f property:P609 resource:Q220 . ?f rdf:type ontology:Q83620 }
European route E35
Which thoroughfare is Rome a destination for
European route E35
action filter_type
action find_reverse
entity Rome
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Rome']
SELECT DISTINCT ?f WHERE { ?f property:terminus_location resource:Rome . ?f rdf:type ontology:thoroughfare }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q220
P1376
Q7275
USER
What has that administrative territory as its capital ?
(Q313416,P1376,c(Q7275))
action filter_type
action find
entity Q220
relation P1376
type Q7275
['Q313416', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q220 property:P1376 ?v . ?v rdf:type ontology:Q7275 }
Rome
action filter_type
action find
entity Rome
relation capital of
type state
['European route E35', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Rome property:capital_of ?v . ?v rdf:type ontology:state }
[]
state
Q170174
SYSTEM
Papal States
Q170174
(Q313416,P1376,c(Q7275))
action filter_type
action find
entity Q220
relation P1376
type Q7275
[ANSWER] has that administrative territory as its capital
['Q313416', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q220 property:P1376 ?v . ?v rdf:type ontology:Q7275 }
Papal States
Papal States has that administrative territory as its capital
Papal States
action filter_type
action find
entity Rome
relation capital of
type state
['European route E35', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Rome property:capital_of ?v . ?v rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P85
Q7725634 Q7275
USER
How many states have an anthem named approximately the same number of literary works as that state ?
(c(Q7275),P85,c(Q7725634))
action count
action approx
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action count
action filter_type
action find
entity Q170174
relation P85
type Q7275
[{'concept': 'Q7275'}, 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?t ) WHERE { ?d property:P85 ?v . ?d rdf:type ontology:Q7275 . ?v rdf:type ontology:Q7725634 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q170174 property:P85 ?s . ?s rdf:type ontology:Q7275 } } . FILTER ( ?t = ?h ) }
action count
action approx
action find_tuple_counts
relation anthem
type state
type literary work
action count
action filter_type
action find
entity Papal States
relation anthem
type state
[{'concept': 'state'}, 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?t ) WHERE { ?d property:anthem ?v . ?d rdf:type ontology:state . ?v rdf:type ontology:literary_work } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Papal_States property:anthem ?s . ?s rdf:type ontology:state } } . FILTER ( ?t = ?h ) }
[]
literary work state
SYSTEM
30
Q797527 Q2414171 Q174193 Q1028835 Q713750 Q2006542 Q1649871 Q652560 Q203493 Q147909 Q58202 Q112558 Q518101 Q207272 Q153015 Q49910 Q696242 Q71092 Q15180 Q210542 Q7318 Q1072140 Q248452 Q1775277 Q153660 Q70972 Q211274 Q370736 Q541455 Q41304
(c(Q7275),P85,c(Q7725634))
action count
action approx
action find_tuple_counts
relation P85
type Q7275
type Q7725634
action count
action filter_type
action find
entity Q170174
relation P85
type Q7275
[ANSWER]
[{'concept': 'Q7275'}, 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?t ) WHERE { ?d property:P85 ?v . ?d rdf:type ontology:Q7275 . ?v rdf:type ontology:Q7725634 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Q170174 property:P85 ?s . ?s rdf:type ontology:Q7275 } } . FILTER ( ?t = ?h ) }
British Togoland First Brazilian Republic United Kingdom of Great Britain and Ireland British Cameroons West Germany Dominion of Pakistan Kingdom of Poland West Indies Federation Kingdom of Romania Kingdom of Bulgaria July Monarchy Republic of Saugeais First Republic of Austria Second Polish Republic Kingdom of Saxony Colony of Aden Reorganized National Government of China Second French Empire Soviet Union Second Brazilian Republic Nazi Germany Roman Republic British North America Dominion of India Italian Social Republic Kingdom of France People's Republic of Poland Cape Colony Anglo-Egyptian Sudan Weimar Republic
30
action count
action approx
action find_tuple_counts
relation anthem
type state
type literary work
action count
action filter_type
action find
entity Papal States
relation anthem
type state
[{'concept': 'state'}, 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?z ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?t ) WHERE { ?d property:anthem ?v . ?d rdf:type ontology:state . ?v rdf:type ontology:literary_work } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { resource:Papal_States property:anthem ?s . ?s rdf:type ontology:state } } . FILTER ( ?t = ?h ) }
[]