Simple Question (Direct)
Simple Question
Q810966
P802
Q502895
USER
Who were Battista Guarino a pupil of ?
(Q810966,P802,c(Q502895))
action filter_type
action find
entity Q810966
relation P802
type Q502895
['Q810966', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q810966 property:P802 ?h . ?h rdf:type ontology:Q502895 }
Battista Guarino
action filter_type
action find
entity Battista Guarino
relation student
type common name
['Battista Guarino', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Battista_Guarino property:student ?h . ?h rdf:type ontology:common_name }
[]
common name
Q213220 Q365557
SYSTEM
Aldus Manutius, Rodolphus Agricola
Q213220 Q365557
(Q810966,P802,c(Q502895))
action filter_type
action find
entity Q810966
relation P802
type Q502895
[ANSWERS] were Battista Guarino a pupil of
['Q810966', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q810966 property:P802 ?h . ?h rdf:type ontology:Q502895 }
Aldus Manutius Rodolphus Agricola
Aldus Manutius and Rodolphus Agricola were Battista Guarino a pupil of
Aldus Manutius Rodolphus Agricola
action filter_type
action find
entity Battista Guarino
relation student
type common name
['Battista Guarino', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Battista_Guarino property:student ?h . ?h rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q213220
P937
Q56061
USER
Which administrative territory is the work location of that person ?
(Q213220,P937,c(Q56061))
action filter_type
action find
entity Q213220
relation P937
type Q56061
['Q213220', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q213220 property:P937 ?l }
Aldus Manutius
action filter_type
action find
entity Aldus Manutius
relation work location
type administrative territorial entity
['Aldus Manutius', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Aldus_Manutius property:work_location ?l }
[]
administrative territorial entity
Clarification for simple ques.
Q365557
SYSTEM
Did you mean Rodolphus Agricola ?
Q213220 Q365557
(Q213220,P937,c(Q56061)) (Q365557,P937,c(Q56061))
[ANSWER]
['Q213220', 'P937', {'concept': 'Q56061'}] ['Q365557', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q213220 property:P937 ?l }
Aldus Manutius Rodolphus Agricola
Did you mean Rodolphus Agricola ?
Rodolphus Agricola
['Aldus Manutius', 'work location', {'concept': 'administrative territorial entity'}] ['Rodolphus Agricola', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Aldus_Manutius property:work_location ?l }
[]
Simple Question (Coreferenced)
USER
No, I meant Aldus Manutius. Could you tell me the answer for that?
(Q213220,P937,c(Q56061))
Q213220
['Q213220', 'P937', {'concept': 'Q56061'}]
['Aldus Manutius', 'work location', {'concept': 'administrative territorial entity'}]
[]
Q641
SYSTEM
Venice
Q641
(Q213220,P937,c(Q56061))
action filter_type
action find
entity Q213220
relation P937
type Q56061
[ANSWER] is the work location of that person
['Q213220', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q213220 property:P937 ?l }
Venice
Venice is the work location of that person
Venice
action filter_type
action find
entity Aldus Manutius
relation work location
type administrative territorial entity
['Aldus Manutius', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Aldus_Manutius property:work_location ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types have approximately 2 administrative territories as registry port ?
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?q ) WHERE { ?d property:P532 ?w . ?d rdf:type ontology:Q2235308 . ?w rdf:type ontology:Q56061 } GROUP BY ?d } . FILTER ( ?q = 2 ) }
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?q ) WHERE { ?d property:port_of_registry ?w . ?d rdf:type ontology:ship_type . ?w rdf:type ontology:administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?q = 2 ) }
[]
administrative territorial entity ship type
SYSTEM
4
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?q ) WHERE { ?d property:P532 ?w . ?d rdf:type ontology:Q2235308 . ?w rdf:type ontology:Q56061 } GROUP BY ?d } . FILTER ( ?q = 2 ) }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
4
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?q ) WHERE { ?d property:port_of_registry ?w . ?d rdf:type ontology:ship_type . ?w rdf:type ontology:administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?q = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q641
P1376
Q643589
USER
Which department has Venice as its capital ?
(Q641,P1376,c(Q643589))
action filter_type
action find
entity Q641
relation P1376
type Q643589
['Q641', 'P1376', {'concept': 'Q643589'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q643589 . resource:Q641 property:P1376 ?y }
Venice
action filter_type
action find
entity Venice
relation capital of
type department
['Venice', 'capital of', {'concept': 'department'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:department . resource:Venice property:capital_of ?y }
[]
department
Q2825088
SYSTEM
Adriatique
Q2825088
(Q641,P1376,c(Q643589))
action filter_type
action find
entity Q641
relation P1376
type Q643589
[ANSWER] has Venice as its capital
['Q641', 'P1376', {'concept': 'Q643589'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q643589 . resource:Q641 property:P1376 ?y }
Adriatique
Adriatique has Venice as its capital
Adriatique
action filter_type
action find
entity Venice
relation capital of
type department
['Venice', 'capital of', {'concept': 'department'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:department . resource:Venice property:capital_of ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q641
P159
Q43229
USER
Which organizations have HQ at Venice ?
(c(Q43229),P159,Q641)
action filter_type
action find_reverse
entity Q641
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q641']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q43229 . ?y property:P159 resource:Q641 }
Venice
action filter_type
action find_reverse
entity Venice
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Venice']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:organization . ?y property:headquarters_location resource:Venice }
[]
organization
Q847141 Q3661936 Q548005
SYSTEM
Thello, Cassa di Risparmio di Venezia, Azienda del Consorzio Trasporti Veneziano
Q3686182 Q3661936 Q847141 Q6039168 Q7505898 Q548005 Q7334797
(c(Q43229),P159,Q641)
action filter_type
action find_reverse
entity Q641
relation P159
type Q43229
[ANSWERS] have HQ at Venice
[{'concept': 'Q43229'}, 'P159', 'Q641']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q43229 . ?y property:P159 resource:Q641 }
Concessioni Autostradali Venete Cassa di Risparmio di Venezia Thello Institute for Artist Management Shy Azienda del Consorzio Trasporti Veneziano Ring of Fire Studios
Thello, Cassa di Risparmio di Venezia and Azienda del Consorzio Trasporti Veneziano have HQ at Venice
Thello Cassa di Risparmio di Venezia Azienda del Consorzio Trasporti Veneziano
action filter_type
action find_reverse
entity Venice
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Venice']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:organization . ?y property:headquarters_location resource:Venice }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q641
P162
Q838948
USER
What has been developed by that administrative territory ?
(c(Q838948),P162,Q847141) (c(Q838948),P162,Q3661936) (c(Q838948),P162,Q548005)
action filter_type
action find_reverse
entity Q641
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q847141'] [{'concept': 'Q838948'}, 'P162', 'Q3661936'] [{'concept': 'Q838948'}, 'P162', 'Q548005']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q838948 . ?u property:P162 resource:Q641 }
Venice
action filter_type
action find_reverse
entity Venice
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Thello'] [{'concept': 'work of art'}, 'producer', 'Cassa di Risparmio di Venezia'] [{'concept': 'work of art'}, 'producer', 'Azienda del Consorzio Trasporti Veneziano']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:work_of_art . ?u property:producer resource:Venice }
[]
work of art
Q3822571
SYSTEM
The Devil's Gondola
Q3822571
(c(Q838948),P162,Q847141) (c(Q838948),P162,Q3661936) (c(Q838948),P162,Q548005)
action filter_type
action find_reverse
entity Q641
relation P162
type Q838948
[ANSWER] has been developed by that administrative territory
[{'concept': 'Q838948'}, 'P162', 'Q847141'] [{'concept': 'Q838948'}, 'P162', 'Q3661936'] [{'concept': 'Q838948'}, 'P162', 'Q548005']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q838948 . ?u property:P162 resource:Q641 }
The Devil's Gondola
The Devil's Gondola has been developed by that administrative territory
The Devil's Gondola
action filter_type
action find_reverse
entity Venice
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Thello'] [{'concept': 'work of art'}, 'producer', 'Cassa di Risparmio di Venezia'] [{'concept': 'work of art'}, 'producer', 'Azienda del Consorzio Trasporti Veneziano']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:work_of_art . ?u property:producer resource:Venice }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P161
Q502895
USER
How many people starred in that work of art ?
(Q3822571,P161,c(Q502895))
action count
action filter_type
action find
entity Q3822571
relation P161
type Q502895
['Q3822571', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Q3822571 property:P161 ?x . ?x rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity The Devil's Gondola
relation cast member
type common name
["The Devil's Gondola", 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:The_Devil's_Gondola property:cast_member ?x . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
9
Q3659626 Q3877210 Q3763468 Q3659534 Q3732048 Q2159547 Q3831065 Q3836799 Q16525485
(Q3822571,P161,c(Q502895))
action count
action filter_type
action find
entity Q3822571
relation P161
type Q502895
[ANSWER]
['Q3822571', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:Q3822571 property:P161 ?x . ?x rdf:type ontology:Q502895 }
Carlo Micheluzzi Nino Pavese Gianni Cavalieri Carlo Lombardi Erminio Spalla Roberto Mauri Letizia Quaranta Loredana Alfredo Varelli
9
action count
action filter_type
action find
entity The Devil's Gondola
relation cast member
type common name
["The Devil's Gondola", 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { resource:The_Devil's_Gondola property:cast_member ?x . ?x rdf:type ontology:common_name }
[]