Simple Question (Direct)
Simple Question
Q452130
P106
Q28640
USER
What is the profession of Amado Nervo ?
(Q452130,P106,c(Q28640))
action filter_type
action find
entity Q452130
relation P106
type Q28640
['Q452130', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?u WHERE { resource:Q452130 property:P106 ?u . ?u rdf:type ontology:Q28640 }
Amado Nervo
action filter_type
action find
entity Amado Nervo
relation occupation
type profession
['Amado Nervo', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?u WHERE { resource:Amado_Nervo property:occupation ?u . ?u rdf:type ontology:profession }
[]
profession
Q28389
SYSTEM
screenwriter
Q28389
(Q452130,P106,c(Q28640))
action filter_type
action find
entity Q452130
relation P106
type Q28640
The profession of Amado Nervo is a [ANSWER]
['Q452130', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?u WHERE { resource:Q452130 property:P106 ?u . ?u rdf:type ontology:Q28640 }
screenwriter
The profession of Amado Nervo is a screenwriter
screenwriter
action filter_type
action find
entity Amado Nervo
relation occupation
type profession
['Amado Nervo', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?u WHERE { resource:Amado_Nervo property:occupation ?u . ?u rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q452130
P21
Q290
USER
Which sex does that person possess ?
(Q28389,P21,c(Q290))
action filter_type
action find
entity Q452130
relation P21
type Q290
['Q28389', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q452130 property:P21 ?s }
Amado Nervo
action filter_type
action find
entity Amado Nervo
relation gender
type sex
['screenwriter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Amado_Nervo property:gender ?s }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q28389,P21,c(Q290))
action filter_type
action find
entity Q452130
relation P21
type Q290
That person possesses a [ANSWER]
['Q28389', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q452130 property:P21 ?s }
male
That person possesses a male
male
action filter_type
action find
entity Amado Nervo
relation gender
type sex
['screenwriter', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Amado_Nervo property:gender ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q452130
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q452130
relation P20
type Q56061
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q452130 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Amado Nervo
action filter_type
action find
entity Amado Nervo
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Amado_Nervo property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1335
SYSTEM
Montevideo
Q1335
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q452130
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q452130 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Montevideo
The expiration of that person occurred in Montevideo
Montevideo
action filter_type
action find
entity Amado Nervo
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Amado_Nervo property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1335 Q505447 Q149955
P190
Q56061
USER
Is that administrative territory twin town of Waldkirch and Esmeraldas ?
(Q1335,P190,Q505447) (Q1335,P190,Q149955)
action is_in
entity Q1335
action intersection
action find_reverse
entity Q505447
relation P190
action find_reverse
entity Q149955
relation P190
['Q1335', 'P190', 'Q505447'] ['Q1335', 'P190', 'Q149955']
ASK WHERE { resource:Q1335 property:P190 resource:Q149955 . resource:Q1335 property:P190 resource:Q505447 }
Montevideo Waldkirch Esmeraldas
action is_in
entity Montevideo
action intersection
action find_reverse
entity Waldkirch
relation sister city
action find_reverse
entity Esmeraldas
relation sister city
['Montevideo', 'sister city', 'Waldkirch'] ['Montevideo', 'sister city', 'Esmeraldas']
ASK WHERE { resource:Montevideo property:sister_city resource:Esmeraldas . resource:Montevideo property:sister_city resource:Waldkirch }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q1335,P190,Q505447) (Q1335,P190,Q149955)
action is_in
entity Q1335
action intersection
action find_reverse
entity Q505447
relation P190
action find_reverse
entity Q149955
relation P190
[ANSWER]
['Q1335', 'P190', 'Q505447'] ['Q1335', 'P190', 'Q149955']
ASK WHERE { resource:Q1335 property:P190 resource:Q149955 . resource:Q1335 property:P190 resource:Q505447 }
NO and YES respectively
action is_in
entity Montevideo
action intersection
action find_reverse
entity Waldkirch
relation sister city
action find_reverse
entity Esmeraldas
relation sister city
['Montevideo', 'sister city', 'Waldkirch'] ['Montevideo', 'sister city', 'Esmeraldas']
ASK WHERE { resource:Montevideo property:sister_city resource:Esmeraldas . resource:Montevideo property:sister_city resource:Waldkirch }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1335
P190
Q15617994 Q515
USER
How many administrative territories and cities are twin town of Montevideo ?
(c(Q15617994),P190,Q1335) (c(Q515),P190,Q1335)
action count
action union
action filter_type
action find_reverse
entity Q1335
relation P190
type Q15617994
action filter_type
action find_reverse
entity Q1335
relation P190
type Q515
[{'concept': 'Q15617994'}, 'P190', 'Q1335'] [{'concept': 'Q515'}, 'P190', 'Q1335']
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { VALUES ( ?o ) { ( ontology:Q15617994 ) ( ontology:Q515 ) } . ?r rdf:type ?o }
Montevideo
action count
action union
action filter_type
action find_reverse
entity Montevideo
relation sister city
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Montevideo
relation sister city
type city
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Montevideo'] [{'concept': 'city'}, 'sister city', 'Montevideo']
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { VALUES ( ?o ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:city ) } . ?r rdf:type ?o }
[]
designation for an administrative territorial entity city
SYSTEM
1 administrative territories and 3 cities
Q1533 Q1486 Q52599 Q44244
(c(Q15617994),P190,Q1335) (c(Q515),P190,Q1335)
action count
action union
action filter_type
action find_reverse
entity Q1335
relation P190
type Q15617994
action filter_type
action find_reverse
entity Q1335
relation P190
type Q515
[ANSWER]
[{'concept': 'Q15617994'}, 'P190', 'Q1335'] [{'concept': 'Q515'}, 'P190', 'Q1335']
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { VALUES ( ?o ) { ( ontology:Q15617994 ) ( ontology:Q515 ) } . ?r rdf:type ?o }
Caracas Buenos Aires Marsico Nuovo Santa Fe
1 administrative territories and 3 cities
action count
action union
action filter_type
action find_reverse
entity Montevideo
relation sister city
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Montevideo
relation sister city
type city
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Montevideo'] [{'concept': 'city'}, 'sister city', 'Montevideo']
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { VALUES ( ?o ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:city ) } . ?r rdf:type ?o }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9899 Q1335
P190
Q56061
USER
Which administrative territories are the sister cities of Montevideo or Amsterdam ?
OR((Q1335,P190,c(Q56061)), (Q9899,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1335
relation P190
action find
entity Q9899
relation P190
type Q56061
{'OR': [['Q1335', 'P190', {'concept': 'Q56061'}], ['Q9899', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { ?n property:P190 ?c . VALUES ( ?n ) { ( resource:Q1335 ) ( resource:Q9899 ) } } . ?c rdf:type ontology:Q56061 }
Amsterdam Montevideo
action filter_type
action union
action find
entity Montevideo
relation sister city
action find
entity Amsterdam
relation sister city
type administrative territorial entity
{'OR': [['Montevideo', 'sister city', {'concept': 'administrative territorial entity'}], ['Amsterdam', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { ?n property:sister_city ?c . VALUES ( ?n ) { ( resource:Montevideo ) ( resource:Amsterdam ) } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q15682 Q149955 Q18125 Q3274 Q1748 Q24639 Q239 Q65 Q134494 Q47837
SYSTEM
Some of them are Cádiz, Esmeraldas, Manchester, Managua, Copenhagen, Vancouver, Brussels, Los Angeles, Győr, El Aaiún
Q134494 Q18125 Q649 Q3274 Q44059 Q824594 Q3856 Q34820 Q1524 Q1489 Q4361 Q33935 Q1748 Q149955 Q47837 Q84 Q406 Q24639 Q174 Q172 Q15682 Q239 Q2807 Q597 Q956 Q65 Q1085
OR((Q1335,P190,c(Q56061)), (Q9899,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1335
relation P190
action find
entity Q9899
relation P190
type Q56061
[ANSWERS] are the sister cities of Montevideo or Amsterdam
{'OR': [['Q1335', 'P190', {'concept': 'Q56061'}], ['Q9899', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { ?n property:P190 ?c . VALUES ( ?n ) { ( resource:Q1335 ) ( resource:Q9899 ) } } . ?c rdf:type ontology:Q56061 }
Győr Manchester Moscow Managua La Plata Nador Nicosia Santo Domingo Athens Mexico City Curitiba Tel Aviv Copenhagen Esmeraldas El Aaiún London Istanbul Vancouver São Paulo Toronto Cádiz Brussels Madrid Lisbon Beijing Los Angeles Prague
Cádiz, Esmeraldas, Manchester, Managua, Copenhagen, Vancouver, Brussels, Los Angeles, Győr and El Aaiún are the sister cities of Montevideo or Amsterdam
Cádiz Esmeraldas Manchester Managua Copenhagen Vancouver Brussels Los Angeles Győr El Aaiún
action filter_type
action union
action find
entity Montevideo
relation sister city
action find
entity Amsterdam
relation sister city
type administrative territorial entity
{'OR': [['Montevideo', 'sister city', {'concept': 'administrative territorial entity'}], ['Amsterdam', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { ?n property:sister_city ?c . VALUES ( ?n ) { ( resource:Montevideo ) ( resource:Amsterdam ) } } . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q9899
P47
Q13220204 Q56061
USER
How many administrative country subdivisions or administrative territories share the border with Amsterdam ?
(Q9899,P47,c(Q13220204)) (Q9899,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q9899
relation P47
type Q13220204
action filter_type
action find
entity Q9899
relation P47
type Q56061
['Q9899', 'P47', {'concept': 'Q13220204'}] ['Q9899', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z rdf:type ?e . VALUES ( ?e ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } }
Amsterdam
action count
action union
action filter_type
action find
entity Amsterdam
relation shares border with
type second-level administrative country subdivision
action filter_type
action find
entity Amsterdam
relation shares border with
type administrative territorial entity
['Amsterdam', 'shares border with', {'concept': 'second-level administrative country subdivision'}] ['Amsterdam', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z rdf:type ?e . VALUES ( ?e ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } }
[]
second-level administrative country subdivision administrative territorial entity
SYSTEM
13
Q9921 Q9924 Q18335889 Q9971 Q9942 Q9953 Q9974 Q83178 Q9951 Q9913 Q9978 Q9898 Q10036
(Q9899,P47,c(Q13220204)) (Q9899,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q9899
relation P47
type Q13220204
action filter_type
action find
entity Q9899
relation P47
type Q56061
[ANSWER]
['Q9899', 'P47', {'concept': 'Q13220204'}] ['Q9899', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z rdf:type ?e . VALUES ( ?e ) { ( ontology:Q13220204 ) ( ontology:Q56061 ) } }
Haarlemmerliede en Spaarnwoude Haarlemmermeer Gooise Meren Waterland Landsmeer Ouder-Amstel Weesp Almere Oostzaan Diemen Zaanstad Amstelveen De Ronde Venen
13
action count
action union
action filter_type
action find
entity Amsterdam
relation shares border with
type second-level administrative country subdivision
action filter_type
action find
entity Amsterdam
relation shares border with
type administrative territorial entity
['Amsterdam', 'shares border with', {'concept': 'second-level administrative country subdivision'}] ['Amsterdam', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z rdf:type ?e . VALUES ( ?e ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:administrative_territorial_entity ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9899
P190
Q56061
USER
How many administrative territories are sister towns of Amsterdam ?
(Q9899,P190,c(Q56061))
action count
action filter_type
action find
entity Q9899
relation P190
type Q56061
['Q9899', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q9899 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Amsterdam
action count
action filter_type
action find
entity Amsterdam
relation sister city
type administrative territorial entity
['Amsterdam', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Amsterdam property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
16
Q18125 Q649 Q3274 Q824594 Q3856 Q1524 Q1748 Q33935 Q84 Q406 Q24639 Q172 Q239 Q956 Q65 Q1085
(Q9899,P190,c(Q56061))
action count
action filter_type
action find
entity Q9899
relation P190
type Q56061
[ANSWER]
['Q9899', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q9899 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Manchester Moscow Managua Nador Nicosia Athens Copenhagen Tel Aviv London Istanbul Vancouver Toronto Brussels Beijing Los Angeles Prague
16
action count
action filter_type
action find
entity Amsterdam
relation sister city
type administrative territorial entity
['Amsterdam', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Amsterdam property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q65
P740
Q43229
USER
What were formed at Los Angeles ?
(c(Q43229),P740,Q65)
action filter_type
action find_reverse
entity Q65
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q65']
SELECT DISTINCT ?a WHERE { ?a property:P740 resource:Q65 . ?a rdf:type ontology:Q43229 }
Los Angeles
action filter_type
action find_reverse
entity Los Angeles
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Los Angeles']
SELECT DISTINCT ?a WHERE { ?a property:location_of_formation resource:Los_Angeles . ?a rdf:type ontology:organization }
[]
organization
Q2470307 Q1728446 Q3046549
SYSTEM
Guess, Korn/Ferry, East West Bank
Q5380468 Q5463772 Q4762104 Q4938392 Q1494445 Q1728446 Q4631070 Q4051072 Q5970126 Q5579832 Q3296752 Q4036234 Q4999880 Q5036530 Q755616 Q4005797 Q4743295 Q8075010 Q17083018 Q5137765 Q18205509 Q3315004 Q4189507 Q1535053 Q19903218 Q4880179 Q16162601 Q3866755 Q7053150 Q5014530 Q6810643 Q3046549 Q7893650 Q4053059 Q6062792 Q7406077 Q315736 Q2470307 Q1141151 Q5005985 Q16829645 Q5121091 Q620802 Q16970853 Q3438131 Q2741255 Q6024463 Q18359270 Q2645655 Q4045139 Q3055169 Q3352642 Q5210028 Q6697887 Q11296819 Q4411116 Q5009281 Q5148553 Q2576666 Q5236595 Q5189328 Q2583997 Q5116465 Q7076120 Q5514765 Q1060537
(c(Q43229),P740,Q65)
action filter_type
action find_reverse
entity Q65
relation P740
type Q43229
S [ANSWERS] were formed at Los Angeles
[{'concept': 'Q43229'}, 'P740', 'Q65']
SELECT DISTINCT ?a WHERE { ?a property:P740 resource:Q65 . ?a rdf:type ontology:Q43229 }
Entertainment Studios Fnbox Angel City Outcasts Boingo Wireless Garrett AiResearch Korn/Ferry 21st Century Insurance The Fibonaccis ID public relations Golden State Mutual Life Insurance Company Dualstar Cirrus Burning Sensations Captain Ahab Athletic Model Guild Universal Studios Home Entertainment American Career College Zugara Network Automation Coal Porters Beyond Meat Mini Mansions Cathay Bank Golden State Foods Clean Comedians Beethoven's Wig Gemini Syndrome Mpower Pictures Norms Restaurants CTB/McGraw-Hill Mel Bernie Company East West Bank United Western Recorders West Indian Girl Iolo technologies Salter Group Tokyopop Guess Cross Colours C.A. Walker Research Solutions Digi+Phonics Cinsay Inc. Two Steps from Hell Anna's Linens Rodarte IM Global IndieVest Jenni Rivera Fashion Strife Necessary Response TASCAM One Race Films Dakota Moon Lucky Dragons Kitson Rubicon Project CBS Television Distribution Color Force CBS Television Studios David Lieberman Artists' Representatives Crown Coach Corporation Mellowdrone Univision Communications Ocean Way Recording GTX Corp Forever 21
S Guess, Korn/Ferry and East West Bank were formed at Los Angeles
Guess Korn/Ferry East West Bank
action filter_type
action find_reverse
entity Los Angeles
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Los Angeles']
SELECT DISTINCT ?a WHERE { ?a property:location_of_formation resource:Los_Angeles . ?a rdf:type ontology:organization }
[]