Simple Question (Direct)
Simple Question
Q6700048
P106
Q12737077
USER
What is the job of Luigi Grassi ?
(Q6700048,P106,c(Q12737077))
action filter_type
action find
entity Q6700048
relation P106
type Q12737077
['Q6700048', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q6700048 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Luigi Grassi
action filter_type
action find
entity Luigi Grassi
relation occupation
type occupation
['Luigi Grassi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Luigi_Grassi property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6700048,P106,c(Q12737077))
action filter_type
action find
entity Q6700048
relation P106
type Q12737077
The job of Luigi Grassi is an [ANSWER]
['Q6700048', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q6700048 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
association football player
The job of Luigi Grassi is an association football player
association football player
action filter_type
action find
entity Luigi Grassi
relation occupation
type occupation
['Luigi Grassi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Luigi_Grassi property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6700048
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q6700048
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q6700048 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Luigi Grassi
action filter_type
action find
entity Luigi Grassi
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Luigi_Grassi property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q6700048
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q6700048 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Italy
Italy is the native country of that person
Italy
action filter_type
action find
entity Luigi Grassi
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Luigi_Grassi property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P162
Q838948
USER
Which work of art created that administrative territory ?
(c(Q838948),P162,Q38)
action filter_type
action find_reverse
entity Q38
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q38']
SELECT DISTINCT ?h WHERE { ?h property:P162 resource:Q38 . ?h rdf:type ontology:Q838948 }
Italy
action filter_type
action find_reverse
entity Italy
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Italy']
SELECT DISTINCT ?h WHERE { ?h property:producer resource:Italy . ?h rdf:type ontology:work_of_art }
[]
work of art
Q2933446
SYSTEM
Calabuch
Q2933446
(c(Q838948),P162,Q38)
action filter_type
action find_reverse
entity Q38
relation P162
type Q838948
[ANSWER] created that administrative territory
[{'concept': 'Q838948'}, 'P162', 'Q38']
SELECT DISTINCT ?h WHERE { ?h property:P162 resource:Q38 . ?h rdf:type ontology:Q838948 }
Calabuch
Calabuch created that administrative territory
Calabuch
action filter_type
action find_reverse
entity Italy
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Italy']
SELECT DISTINCT ?h WHERE { ?h property:producer resource:Italy . ?h rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2933446 Q222791
P58
Q502895
USER
Did Ennio Flaiano serve as the screenwriter for Calabuch ?
(Q2933446,P58,Q222791)
action is_in
entity Q222791
action find
entity Q2933446
relation P58
['Q2933446', 'P58', 'Q222791']
ASK WHERE { resource:Q2933446 property:P58 resource:Q222791 }
Calabuch Ennio Flaiano
action is_in
entity Ennio Flaiano
action find
entity Calabuch
relation screenwriter
['Calabuch', 'screenwriter', 'Ennio Flaiano']
ASK WHERE { resource:Calabuch property:screenwriter resource:Ennio_Flaiano }
[]
common name
SYSTEM
YES
(Q2933446,P58,Q222791)
action is_in
entity Q222791
action find
entity Q2933446
relation P58
[ANSWER]
['Q2933446', 'P58', 'Q222791']
ASK WHERE { resource:Q2933446 property:P58 resource:Q222791 }
Yes
action is_in
entity Ennio Flaiano
action find
entity Calabuch
relation screenwriter
['Calabuch', 'screenwriter', 'Ennio Flaiano']
ASK WHERE { resource:Calabuch property:screenwriter resource:Ennio_Flaiano }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2933446 Q1736108
P86
Q502895
USER
How many people did the compostion for Calabuch or Katharinenkirche ?
(Q2933446,P86,c(Q502895)) (Q1736108,P86,c(Q502895))
action count
action union
action filter_type
action find
entity Q2933446
relation P86
type Q502895
action filter_type
action find
entity Q1736108
relation P86
type Q502895
['Q2933446', 'P86', {'concept': 'Q502895'}] ['Q1736108', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { resource:Q2933446 property:P86 ?r . ?r rdf:type ontology:Q502895 } UNION { resource:Q1736108 property:P86 ?r . ?r rdf:type ontology:Q502895 } }
Calabuch Katharinenkirche
action count
action union
action filter_type
action find
entity Calabuch
relation composer
type common name
action filter_type
action find
entity Katharinenkirche
relation composer
type common name
['Calabuch', 'composer', {'concept': 'common name'}] ['Katharinenkirche', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { resource:Calabuch property:composer ?r . ?r rdf:type ontology:common_name } UNION { resource:Katharinenkirche property:composer ?r . ?r rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q658571 Q1511
(Q2933446,P86,c(Q502895)) (Q1736108,P86,c(Q502895))
action count
action union
action filter_type
action find
entity Q2933446
relation P86
type Q502895
action filter_type
action find
entity Q1736108
relation P86
type Q502895
[ANSWER]
['Q2933446', 'P86', {'concept': 'Q502895'}] ['Q1736108', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { resource:Q2933446 property:P86 ?r . ?r rdf:type ontology:Q502895 } UNION { resource:Q1736108 property:P86 ?r . ?r rdf:type ontology:Q502895 } }
Guido Guerrini Richard Wagner
2
action count
action union
action filter_type
action find
entity Calabuch
relation composer
type common name
action filter_type
action find
entity Katharinenkirche
relation composer
type common name
['Calabuch', 'composer', {'concept': 'common name'}] ['Katharinenkirche', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?u ) WHERE { { resource:Calabuch property:composer ?r . ?r rdf:type ontology:common_name } UNION { resource:Katharinenkirche property:composer ?r . ?r rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P532
Q2235308
USER
Which ship type has Italy as registry port ?
(c(Q2235308),P532,Q38)
action filter_type
action find_reverse
entity Q38
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', 'Q38']
SELECT DISTINCT ?l WHERE { ?l property:P532 resource:Q38 . ?l rdf:type ontology:Q2235308 }
Italy
action filter_type
action find_reverse
entity Italy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Italy']
SELECT DISTINCT ?l WHERE { ?l property:port_of_registry resource:Italy . ?l rdf:type ontology:ship_type }
[]
ship type
Q190542
SYSTEM
Costa Concordia
Q190542
(c(Q2235308),P532,Q38)
action filter_type
action find_reverse
entity Q38
relation P532
type Q2235308
[ANSWER] has Italy as registry port
[{'concept': 'Q2235308'}, 'P532', 'Q38']
SELECT DISTINCT ?l WHERE { ?l property:P532 resource:Q38 . ?l rdf:type ontology:Q2235308 }
Costa Concordia
Costa Concordia has Italy as registry port
Costa Concordia
action filter_type
action find_reverse
entity Italy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', 'Italy']
SELECT DISTINCT ?l WHERE { ?l property:port_of_registry resource:Italy . ?l rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q190542
P793
Q2245405
USER
Which significant event is that ship type associated with ?
(Q190542,P793,c(Q2245405))
action filter_type
action find
entity Q190542
relation P793
type Q2245405
['Q190542', 'P793', {'concept': 'Q2245405'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2245405 . resource:Q190542 property:P793 ?j }
Costa Concordia
action filter_type
action find
entity Costa Concordia
relation significant event
type key event
['Costa Concordia', 'significant event', {'concept': 'key event'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:key_event . resource:Costa_Concordia property:significant_event ?j }
[]
key event
Q14713606
SYSTEM
ship launch
Q14713606
(Q190542,P793,c(Q2245405))
action filter_type
action find
entity Q190542
relation P793
type Q2245405
That ship type is associated with [ANSWER]
['Q190542', 'P793', {'concept': 'Q2245405'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q2245405 . resource:Q190542 property:P793 ?j }
ship launch
That ship type is associated with ship launch
ship launch
action filter_type
action find
entity Costa Concordia
relation significant event
type key event
['Costa Concordia', 'significant event', {'concept': 'key event'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:key_event . resource:Costa_Concordia property:significant_event ?j }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q837777 Q1736108
P47 P17
Q1048835
USER
Which political territories are Katharinenkirche a part of or share the border with Gómara ?
OR((Q1736108,P17,c(Q1048835)), (Q837777,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1736108
relation P17
action find
entity Q837777
relation P47
type Q1048835
{'OR': [['Q1736108', 'P17', {'concept': 'Q1048835'}], ['Q837777', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q837777 property:P47 ?e } UNION { resource:Q1736108 property:P17 ?e } } . ?e rdf:type ontology:Q1048835 }
Gómara Katharinenkirche
action filter_type
action union
action find
entity Katharinenkirche
relation country
action find
entity Gómara
relation shares border with
type political territorial entity
{'OR': [['Katharinenkirche', 'country', {'concept': 'political territorial entity'}], ['Gómara', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Gómara property:shares_border_with ?e } UNION { resource:Katharinenkirche property:country ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q831987 Q829951 Q183 Q483532 Q833410 Q837193 Q835443 Q829175
SYSTEM
Buberos, Almazul, Germany, Aliud, Serón de Nágima, Tejado, Villaseca de Arciel, Aldealafuente
Q831987 Q829951 Q183 Q483532 Q833410 Q837193 Q835443 Q829175
OR((Q1736108,P17,c(Q1048835)), (Q837777,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1736108
relation P17
action find
entity Q837777
relation P47
type Q1048835
[ANSWERS] are Katharinenkirche a part of or share the border with Gómara
{'OR': [['Q1736108', 'P17', {'concept': 'Q1048835'}], ['Q837777', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q837777 property:P47 ?e } UNION { resource:Q1736108 property:P17 ?e } } . ?e rdf:type ontology:Q1048835 }
Buberos Almazul Germany Aliud Serón de Nágima Tejado Villaseca de Arciel Aldealafuente
Buberos, Almazul, Germany, Aliud, Serón de Nágima, Tejado, Villaseca de Arciel and Aldealafuente are Katharinenkirche a part of or share the border with Gómara
Buberos Almazul Germany Aliud Serón de Nágima Tejado Villaseca de Arciel Aldealafuente
action filter_type
action union
action find
entity Katharinenkirche
relation country
action find
entity Gómara
relation shares border with
type political territorial entity
{'OR': [['Katharinenkirche', 'country', {'concept': 'political territorial entity'}], ['Gómara', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Gómara property:shares_border_with ?e } UNION { resource:Katharinenkirche property:country ?e } } . ?e rdf:type ontology:political_territorial_entity }
[]