Simple Question (Direct)
Simple Question
Q2965237
P27
Q15617994
USER
Which administrative territory does Christian Eloy belong to ?
(Q2965237,P27,c(Q15617994))
action filter_type
action find
entity Q2965237
relation P27
type Q15617994
['Q2965237', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q2965237 property:P27 ?d }
Christian Eloy
action filter_type
action find
entity Christian Eloy
relation country of citizenship
type designation for an administrative territorial entity
['Christian Eloy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Christian_Eloy property:country_of_citizenship ?d }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2965237,P27,c(Q15617994))
action filter_type
action find
entity Q2965237
relation P27
type Q15617994
Christian Eloy belongs to [ANSWER]
['Q2965237', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q2965237 property:P27 ?d }
France
Christian Eloy belongs to France
France
action filter_type
action find
entity Christian Eloy
relation country of citizenship
type designation for an administrative territorial entity
['Christian Eloy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Christian_Eloy property:country_of_citizenship ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P47
Q515
USER
Which city is bordered by that administrative territory ?
(Q142,P47,c(Q515))
action filter_type
action find
entity Q142
relation P47
type Q515
['Q142', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q142 property:P47 ?q . ?q rdf:type ontology:Q515 }
France
action filter_type
action find
entity France
relation shares border with
type city
['France', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:France property:shares_border_with ?q . ?q rdf:type ontology:city }
[]
city
Q235
SYSTEM
Monaco
Q235
(Q142,P47,c(Q515))
action filter_type
action find
entity Q142
relation P47
type Q515
[ANSWER] is bordered by that administrative territory
['Q142', 'P47', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { resource:Q142 property:P47 ?q . ?q rdf:type ontology:Q515 }
Monaco
Monaco is bordered by that administrative territory
Monaco
action filter_type
action find
entity France
relation shares border with
type city
['France', 'shares border with', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { resource:France property:shares_border_with ?q . ?q rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q235
P740
Q43229
USER
Which organizations were formed at that city ?
(c(Q43229),P740,Q235)
action filter_type
action find_reverse
entity Q235
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q235']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q43229 . ?q property:P740 resource:Q235 }
Monaco
action filter_type
action find_reverse
entity Monaco
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Monaco']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:organization . ?q property:location_of_formation resource:Monaco }
[]
organization
Q935874 Q1162190 Q1121143
SYSTEM
Monaco Telecom, Société des bains de mer de Monaco, Compagnie des Autobus de Monaco
Q1121143 Q1162190 Q2990223 Q2286599 Q3821074 Q935874
(c(Q43229),P740,Q235)
action filter_type
action find_reverse
entity Q235
relation P740
type Q43229
[ANSWERS] were formed at that city
[{'concept': 'Q43229'}, 'P740', 'Q235']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q43229 . ?q property:P740 resource:Q235 }
Compagnie des Autobus de Monaco Société des bains de mer de Monaco Compagnie Monégasque de Banque Silversea Cruises La Poste Monaco Monaco Telecom
Monaco Telecom, Société des bains de mer de Monaco and Compagnie des Autobus de Monaco were formed at that city
Monaco Telecom Société des bains de mer de Monaco Compagnie des Autobus de Monaco
action filter_type
action find_reverse
entity Monaco
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Monaco']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:organization . ?q property:location_of_formation resource:Monaco }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P740
Q515
USER
How many cities are the locations of formation of that organization ?
(Q1121143,P740,c(Q515))
['Q1121143', 'P740', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1121143 property:P740 ?z . ?z rdf:type ontology:Q7930989 }
['Compagnie des Autobus de Monaco', 'location of formation', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Compagnie_des_Autobus_de_Monaco property:location_of_formation ?z . ?z rdf:type ontology:city }
[]
city
Quantitative|Count|Single entity type|Clarification
Q935874
SYSTEM
Did you mean Monaco Telecom ?
(Q935874,P740,c(Q515)) (Q1162190,P740,c(Q515)) (Q1121143,P740,c(Q515))
[ANSWER]
['Q935874', 'P740', {'concept': 'Q515'}] ['Q1162190', 'P740', {'concept': 'Q515'}] ['Q1121143', 'P740', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1121143 property:P740 ?z . ?z rdf:type ontology:Q7930989 }
Did you mean Monaco Telecom ?
Monaco Telecom
['Monaco Telecom', 'location of formation', {'concept': 'city'}] ['Société des bains de mer de Monaco', 'location of formation', {'concept': 'city'}] ['Compagnie des Autobus de Monaco', 'location of formation', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Compagnie_des_Autobus_de_Monaco property:location_of_formation ?z . ?z rdf:type ontology:city }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Compagnie des Autobus de Monaco. Could you tell me the answer for that?
(Q1121143,P740,c(Q515))
Q1121143
['Q1121143', 'P740', {'concept': 'Q515'}]
['Compagnie des Autobus de Monaco', 'location of formation', {'concept': 'city'}]
[]
SYSTEM
1
Q235
(Q1121143,P740,c(Q515))
[ANSWER]
['Q1121143', 'P740', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q1121143 property:P740 ?z . ?z rdf:type ontology:Q7930989 }
Monaco
1
['Compagnie des Autobus de Monaco', 'location of formation', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Compagnie_des_Autobus_de_Monaco property:location_of_formation ?z . ?z rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q235
P122
Q22676587
USER
What best describes the type of government of Monaco ?
(Q235,P122,c(Q22676587))
action filter_type
action find
entity Q235
relation P122
type Q22676587
['Q235', 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q22676587 . resource:Q235 property:P122 ?j }
Monaco
action filter_type
action find
entity Monaco
relation basic form of government
type monarchic system
['Monaco', 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:monarchic_system . resource:Monaco property:basic_form_of_government ?j }
[]
monarchic system
Q849242
SYSTEM
hereditary monarchy
Q849242
(Q235,P122,c(Q22676587))
action filter_type
action find
entity Q235
relation P122
type Q22676587
[ANSWER] best describes the type of government of Monaco
['Q235', 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q22676587 . resource:Q235 property:P122 ?j }
hereditary monarchy
Hereditary monarchy best describes the type of government of Monaco
hereditary monarchy
action filter_type
action find
entity Monaco
relation basic form of government
type monarchic system
['Monaco', 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:monarchic_system . resource:Monaco property:basic_form_of_government ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q235
P1376
Q123705
USER
Which neighborhood is the capital of Monaco ?
(c(Q123705),P1376,Q235)
action filter_type
action find_reverse
entity Q235
relation P1376
type Q123705
[{'concept': 'Q123705'}, 'P1376', 'Q235']
SELECT DISTINCT ?i WHERE { ?i property:P1376 resource:Q235 . ?i rdf:type ontology:Q123705 }
Monaco
action filter_type
action find_reverse
entity Monaco
relation capital of
type neighborhood
[{'concept': 'neighborhood'}, 'capital of', 'Monaco']
SELECT DISTINCT ?i WHERE { ?i property:capital_of resource:Monaco . ?i rdf:type ontology:neighborhood }
[]
neighborhood
Q55115
SYSTEM
Monaco-Ville
Q55115
(c(Q123705),P1376,Q235)
action filter_type
action find_reverse
entity Q235
relation P1376
type Q123705
Monaco [ANSWER] is the capital of Monaco
[{'concept': 'Q123705'}, 'P1376', 'Q235']
SELECT DISTINCT ?i WHERE { ?i property:P1376 resource:Q235 . ?i rdf:type ontology:Q123705 }
Monaco-Ville
Monaco Monaco-Ville is the capital of Monaco
Monaco-Ville
action filter_type
action find_reverse
entity Monaco
relation capital of
type neighborhood
[{'concept': 'neighborhood'}, 'capital of', 'Monaco']
SELECT DISTINCT ?i WHERE { ?i property:capital_of resource:Monaco . ?i rdf:type ontology:neighborhood }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55115
P17
Q515
USER
Which city is that neighborhood a part of ?
(Q55115,P17,c(Q515))
action filter_type
action find
entity Q55115
relation P17
type Q515
['Q55115', 'P17', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q55115 property:P17 ?n . ?n rdf:type ontology:Q515 }
Monaco-Ville
action filter_type
action find
entity Monaco-Ville
relation country
type city
['Monaco-Ville', 'country', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Monaco-Ville property:country ?n . ?n rdf:type ontology:city }
[]
city
Q235
SYSTEM
Monaco
Q235
(Q55115,P17,c(Q515))
action filter_type
action find
entity Q55115
relation P17
type Q515
[ANSWER] is that neighborhood a part of
['Q55115', 'P17', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q55115 property:P17 ?n . ?n rdf:type ontology:Q515 }
Monaco
Monaco is that neighborhood a part of
Monaco
action filter_type
action find
entity Monaco-Ville
relation country
type city
['Monaco-Ville', 'country', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Monaco-Ville property:country ?n . ?n rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q235
P85
Q7725634
USER
What is the anthem for that city ?
(Q235,P85,c(Q7725634))
action filter_type
action find
entity Q235
relation P85
type Q7725634
['Q235', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?j WHERE { resource:Q235 property:P85 ?j . ?j rdf:type ontology:Q7725634 }
Monaco
action filter_type
action find
entity Monaco
relation anthem
type literary work
['Monaco', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?j WHERE { resource:Monaco property:anthem ?j . ?j rdf:type ontology:literary_work }
[]
literary work
Q336321
SYSTEM
Hymne Monégasque
Q336321
(Q235,P85,c(Q7725634))
action filter_type
action find
entity Q235
relation P85
type Q7725634
The anthem for that city is the [ANSWER]
['Q235', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?j WHERE { resource:Q235 property:P85 ?j . ?j rdf:type ontology:Q7725634 }
Hymne Monégasque
The anthem for that city is the Hymne Monégasque
Hymne Monégasque
action filter_type
action find
entity Monaco
relation anthem
type literary work
['Monaco', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?j WHERE { resource:Monaco property:anthem ?j . ?j rdf:type ontology:literary_work }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q336321
P86
Q502895
USER
Which person composed that literary work ?
(Q336321,P86,c(Q502895))
action filter_type
action find
entity Q336321
relation P86
type Q502895
['Q336321', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q336321 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Hymne Monégasque
action filter_type
action find
entity Hymne Monégasque
relation composer
type common name
['Hymne Monégasque', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Hymne_Monégasque property:composer ?x . ?x rdf:type ontology:common_name }
[]
common name
Q5075023
SYSTEM
Charles Albrecht
Q5075023
(Q336321,P86,c(Q502895))
action filter_type
action find
entity Q336321
relation P86
type Q502895
[ANSWER] composed that literary work
['Q336321', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q336321 property:P86 ?x . ?x rdf:type ontology:Q502895 }
Charles Albrecht
Charles Albrecht composed that literary work
Charles Albrecht
action filter_type
action find
entity Hymne Monégasque
relation composer
type common name
['Hymne Monégasque', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Hymne_Monégasque property:composer ?x . ?x rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q5075023 Q369753 Q281795
P106
Q12737077
USER
Does that person have a job as Lord Lieutenant of Hampshire and gilder ?
(Q5075023,P106,Q369753) (Q5075023,P106,Q281795)
action is_in
entity Q5075023
action intersection
action find_reverse
entity Q369753
relation P106
action find_reverse
entity Q281795
relation P106
['Q5075023', 'P106', 'Q369753'] ['Q5075023', 'P106', 'Q281795']
ASK WHERE { resource:Q5075023 property:P106 resource:Q369753 . resource:Q5075023 property:P106 resource:Q281795 }
Charles Albrecht Lord Lieutenant of Hampshire gilder
action is_in
entity Charles Albrecht
action intersection
action find_reverse
entity Lord Lieutenant of Hampshire
relation occupation
action find_reverse
entity gilder
relation occupation
['Charles Albrecht', 'occupation', 'Lord Lieutenant of Hampshire'] ['Charles Albrecht', 'occupation', 'gilder']
ASK WHERE { resource:Charles_Albrecht property:occupation resource:Lord_Lieutenant_of_Hampshire . resource:Charles_Albrecht property:occupation resource:gilder }
[]
occupation
SYSTEM
NO
(Q5075023,P106,Q369753) (Q5075023,P106,Q281795)
action is_in
entity Q5075023
action intersection
action find_reverse
entity Q369753
relation P106
action find_reverse
entity Q281795
relation P106
[ANSWER]
['Q5075023', 'P106', 'Q369753'] ['Q5075023', 'P106', 'Q281795']
ASK WHERE { resource:Q5075023 property:P106 resource:Q369753 . resource:Q5075023 property:P106 resource:Q281795 }
No
action is_in
entity Charles Albrecht
action intersection
action find_reverse
entity Lord Lieutenant of Hampshire
relation occupation
action find_reverse
entity gilder
relation occupation
['Charles Albrecht', 'occupation', 'Lord Lieutenant of Hampshire'] ['Charles Albrecht', 'occupation', 'gilder']
ASK WHERE { resource:Charles_Albrecht property:occupation resource:Lord_Lieutenant_of_Hampshire . resource:Charles_Albrecht property:occupation resource:gilder }
[]