Simple Question (Direct)
Simple Question
Q981928
P119
Q39614
USER
Which cemeteries are the places of burial of Jean François de Saint-Lambert ?
(Q981928,P119,c(Q39614))
action filter_type
action find
entity Q981928
relation P119
type Q39614
['Q981928', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?g WHERE { resource:Q981928 property:P119 ?g . ?g rdf:type ontology:Q39614 }
Jean François de Saint-Lambert
action filter_type
action find
entity Jean François de Saint-Lambert
relation place of burial
type cemetery
['Jean François de Saint-Lambert', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?g WHERE { resource:Jean_François_de_Saint-Lambert property:place_of_burial ?g . ?g rdf:type ontology:cemetery }
[]
cemetery
Q746647 Q311
SYSTEM
Montmartre Cemetery, Père Lachaise Cemetery
Q746647 Q311
(Q981928,P119,c(Q39614))
action filter_type
action find
entity Q981928
relation P119
type Q39614
The places of burial of Jean François de Saint-Lambert are in [ANSWERS]
['Q981928', 'P119', {'concept': 'Q39614'}]
SELECT DISTINCT ?g WHERE { resource:Q981928 property:P119 ?g . ?g rdf:type ontology:Q39614 }
Montmartre Cemetery Père Lachaise Cemetery
The places of burial of Jean François de Saint-Lambert are in Montmartre Cemetery and Père Lachaise Cemetery
Montmartre Cemetery Père Lachaise Cemetery
action filter_type
action find
entity Jean François de Saint-Lambert
relation place of burial
type cemetery
['Jean François de Saint-Lambert', 'place of burial', {'concept': 'cemetery'}]
SELECT DISTINCT ?g WHERE { resource:Jean_François_de_Saint-Lambert property:place_of_burial ?g . ?g rdf:type ontology:cemetery }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q746647 Q311
P669
Q79007
USER
Which streets are those cemeteries located on ?
(Q746647,P669,c(Q79007)) (Q311,P669,c(Q79007))
action filter_type
action find
entity prev_answer
relation P669
type Q79007
['Q746647', 'P669', {'concept': 'Q79007'}] ['Q311', 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?x ) { ( resource:Q746647 ) ( resource:Q311 ) } . ?c rdf:type ontology:Q79007 . ?x property:P669 ?c }
Montmartre Cemetery Père Lachaise Cemetery
action filter_type
action find
entity prev_answer
relation located on street
type street
['Montmartre Cemetery', 'located on street', {'concept': 'street'}] ['Père Lachaise Cemetery', 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?x ) { ( resource:Montmartre_Cemetery ) ( resource:Père_Lachaise_Cemetery ) } . ?c rdf:type ontology:street . ?x property:located_on_street ?c }
[]
street
Q2873818 Q2921989
SYSTEM
avenue Rachel, boulevard de Ménilmontant
Q2873818 Q2921989
(Q746647,P669,c(Q79007)) (Q311,P669,c(Q79007))
action filter_type
action find
entity prev_answer
relation P669
type Q79007
Those cemeteries are located at [ANSWERS]
['Q746647', 'P669', {'concept': 'Q79007'}] ['Q311', 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?x ) { ( resource:Q746647 ) ( resource:Q311 ) } . ?c rdf:type ontology:Q79007 . ?x property:P669 ?c }
avenue Rachel boulevard de Ménilmontant
Those cemeteries are located at avenue Rachel and boulevard de Ménilmontant
avenue Rachel boulevard de Ménilmontant
action filter_type
action find
entity prev_answer
relation located on street
type street
['Montmartre Cemetery', 'located on street', {'concept': 'street'}] ['Père Lachaise Cemetery', 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?c WHERE { VALUES ( ?x ) { ( resource:Montmartre_Cemetery ) ( resource:Père_Lachaise_Cemetery ) } . ?c rdf:type ontology:street . ?x property:located_on_street ?c }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2921989
P138
Q486972
USER
Which human settlement is namesake of that street ?
(Q2921989,P138,c(Q486972))
action filter_type
action find
entity Q2921989
relation P138
type Q486972
['Q2921989', 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ?l WHERE { resource:Q2921989 property:P138 ?l . ?l rdf:type ontology:Q486972 }
boulevard de Ménilmontant
action filter_type
action find
entity boulevard de Ménilmontant
relation named after
type human settlement
['boulevard de Ménilmontant', 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ?l WHERE { resource:boulevard_de_Ménilmontant property:named_after ?l . ?l rdf:type ontology:human_settlement }
[]
human settlement
Clarification for simple ques.
Q2873818
SYSTEM
Did you mean avenue Rachel ?
Q2873818 Q2921989
(Q2873818,P138,c(Q486972)) (Q2921989,P138,c(Q486972))
[ANSWER]
['Q2873818', 'P138', {'concept': 'Q486972'}] ['Q2921989', 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ?l WHERE { resource:Q2921989 property:P138 ?l . ?l rdf:type ontology:Q486972 }
avenue Rachel boulevard de Ménilmontant
Did you mean avenue Rachel ?
avenue Rachel
['avenue Rachel', 'named after', {'concept': 'human settlement'}] ['boulevard de Ménilmontant', 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ?l WHERE { resource:boulevard_de_Ménilmontant property:named_after ?l . ?l rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
USER
No, I meant boulevard de Ménilmontant. Could you tell me the answer for that?
(Q2921989,P138,c(Q486972))
Q2921989
['Q2921989', 'P138', {'concept': 'Q486972'}]
['boulevard de Ménilmontant', 'named after', {'concept': 'human settlement'}]
[]
Q2701404
SYSTEM
Ménilmontant
Q2701404
(Q2921989,P138,c(Q486972))
action filter_type
action find
entity Q2921989
relation P138
type Q486972
In [ANSWER] is namesake of that street
['Q2921989', 'P138', {'concept': 'Q486972'}]
SELECT DISTINCT ?l WHERE { resource:Q2921989 property:P138 ?l . ?l rdf:type ontology:Q486972 }
Ménilmontant
In Ménilmontant is namesake of that street
Ménilmontant
action filter_type
action find
entity boulevard de Ménilmontant
relation named after
type human settlement
['boulevard de Ménilmontant', 'named after', {'concept': 'human settlement'}]
SELECT DISTINCT ?l WHERE { resource:boulevard_de_Ménilmontant property:named_after ?l . ?l rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P190
Q486972 Q1048835
USER
Which political territories are twin city of max number of human settlements ?
(c(Q1048835),P190,c(Q486972))
action argmax
action find_tuple_counts
relation P190
type Q1048835
type Q486972
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?x ) { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?w ) WHERE { ?m property:P190 ?b . ?m rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q486972 } GROUP BY ?m } } . FILTER ( ?y = ?x ) . { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?y ) WHERE { ?z property:P190 ?e . ?z rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q486972 } GROUP BY ?z } }
action argmax
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?x ) { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?w ) WHERE { ?m property:sister_city ?b . ?m rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:human_settlement } GROUP BY ?m } } . FILTER ( ?y = ?x ) . { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?y ) WHERE { ?z property:sister_city ?e . ?z rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:human_settlement } GROUP BY ?z } }
[]
human settlement political territorial entity
Q615722
SYSTEM
Santa Fe
Q615722
(c(Q1048835),P190,c(Q486972))
action argmax
action find_tuple_counts
relation P190
type Q1048835
type Q486972
[ANSWER] is twin city of max number of human settlements
[{'concept': 'Q1048835'}, 'P190', {'concept': 'Q486972'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?x ) { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?w ) WHERE { ?m property:P190 ?b . ?m rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q486972 } GROUP BY ?m } } . FILTER ( ?y = ?x ) . { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?y ) WHERE { ?z property:P190 ?e . ?z rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q486972 } GROUP BY ?z } }
Santa Fe
Santa Fe is twin city of max number of human settlements
Santa Fe
action argmax
action find_tuple_counts
relation sister city
type political territorial entity
type human settlement
[{'concept': 'political territorial entity'}, 'sister city', {'concept': 'human settlement'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?x ) { SELECT DISTINCT ?m ( COUNT ( ?b ) AS ?w ) WHERE { ?m property:sister_city ?b . ?m rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:human_settlement } GROUP BY ?m } } . FILTER ( ?y = ?x ) . { SELECT DISTINCT ?z ( COUNT ( ?e ) AS ?y ) WHERE { ?z property:sister_city ?e . ?z rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:human_settlement } GROUP BY ?z } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q615722 Q8810
P47
Q56061
USER
Does Granada share border with Santa Fe ?
(Q615722,P47,Q8810)
action is_in
entity Q8810
action find
entity Q615722
relation P47
['Q615722', 'P47', 'Q8810']
ASK WHERE { resource:Q615722 property:P47 resource:Q8810 }
Santa Fe Granada
action is_in
entity Granada
action find
entity Santa Fe
relation shares border with
['Santa Fe', 'shares border with', 'Granada']
ASK WHERE { resource:Santa_Fe property:shares_border_with resource:Granada }
[]
administrative territorial entity
SYSTEM
YES
(Q615722,P47,Q8810)
action is_in
entity Q8810
action find
entity Q615722
relation P47
[ANSWER]
['Q615722', 'P47', 'Q8810']
ASK WHERE { resource:Q615722 property:P47 resource:Q8810 }
Yes
action is_in
entity Granada
action find
entity Santa Fe
relation shares border with
['Santa Fe', 'shares border with', 'Granada']
ASK WHERE { resource:Santa_Fe property:shares_border_with resource:Granada }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q615722
P159
Q4830453
USER
Which business enterprise has its HQ location at Santa Fe ?
(c(Q4830453),P159,Q615722)
action filter_type
action find_reverse
entity Q615722
relation P159
type Q4830453
[{'concept': 'Q4830453'}, 'P159', 'Q615722']
SELECT DISTINCT ?x WHERE { ?x property:P159 resource:Q615722 . ?x rdf:type ontology:Q4830453 }
Santa Fe
action filter_type
action find_reverse
entity Santa Fe
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Santa Fe']
SELECT DISTINCT ?x WHERE { ?x property:headquarters_location resource:Santa_Fe . ?x rdf:type ontology:business_enterprise }
[]
business enterprise
Q1328397
SYSTEM
Hurtan
Q1328397
(c(Q4830453),P159,Q615722)
action filter_type
action find_reverse
entity Q615722
relation P159
type Q4830453
[ANSWER] has its HQ location at Santa Fe
[{'concept': 'Q4830453'}, 'P159', 'Q615722']
SELECT DISTINCT ?x WHERE { ?x property:P159 resource:Q615722 . ?x rdf:type ontology:Q4830453 }
Hurtan
Hurtan has its HQ location at Santa Fe
Hurtan
action filter_type
action find_reverse
entity Santa Fe
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Santa Fe']
SELECT DISTINCT ?x WHERE { ?x property:headquarters_location resource:Santa_Fe . ?x rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1328397
P17
Q15617994
USER
Which administrative territory is that business enterprise present in ?
(Q1328397,P17,c(Q15617994))
action filter_type
action find
entity Q1328397
relation P17
type Q15617994
['Q1328397', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1328397 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Hurtan
action filter_type
action find
entity Hurtan
relation country
type designation for an administrative territorial entity
['Hurtan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Hurtan property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q1328397,P17,c(Q15617994))
action filter_type
action find
entity Q1328397
relation P17
type Q15617994
That business enterprise is in [ANSWER]
['Q1328397', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1328397 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Spain
That business enterprise is in Spain
Spain
action filter_type
action find
entity Hurtan
relation country
type designation for an administrative territorial entity
['Hurtan', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Hurtan property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]