Simple Question (Direct)
Simple Question
Q6172949
P1412
Q34770
USER
Which language can Álvaro Villalba Rubio read ?
(Q6172949,P1412,c(Q34770))
action filter_type
action find
entity Q6172949
relation P1412
type Q34770
['Q6172949', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q6172949 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Álvaro Villalba Rubio
action filter_type
action find
entity Álvaro Villalba Rubio
relation languages spoken, written or signed
type language
['Álvaro Villalba Rubio', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Álvaro_Villalba_Rubio property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6172949,P1412,c(Q34770))
action filter_type
action find
entity Q6172949
relation P1412
type Q34770
Álvaro Villalba Rubio can read in [ANSWER]
['Q6172949', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q6172949 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Spanish
Álvaro Villalba Rubio can read in Spanish
Spanish
action filter_type
action find
entity Álvaro Villalba Rubio
relation languages spoken, written or signed
type language
['Álvaro Villalba Rubio', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Álvaro_Villalba_Rubio property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6172949
P20
Q56061
USER
Where did the demise of Álvaro Villalba Rubio occur ?
(Q6172949,P20,c(Q56061))
action filter_type
action find
entity Q6172949
relation P20
type Q56061
['Q6172949', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q6172949 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Álvaro Villalba Rubio
action filter_type
action find
entity Álvaro Villalba Rubio
relation place of death
type administrative territorial entity
['Álvaro Villalba Rubio', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Álvaro_Villalba_Rubio property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13153
SYSTEM
Ronda
Q13153
(Q6172949,P20,c(Q56061))
action filter_type
action find
entity Q6172949
relation P20
type Q56061
The demise of Álvaro Villalba Rubio occurred in [ANSWER]
['Q6172949', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q6172949 property:P20 ?y . ?y rdf:type ontology:Q56061 }
Ronda
The demise of Álvaro Villalba Rubio occurred in Ronda
Ronda
action filter_type
action find
entity Álvaro Villalba Rubio
relation place of death
type administrative territorial entity
['Álvaro Villalba Rubio', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Álvaro_Villalba_Rubio property:place_of_death ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13153
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that administrative territory ?
(Q13153,P1313,c(Q12737077))
action filter_type
action find
entity Q13153
relation P1313
type Q12737077
['Q13153', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q13153 property:P1313 ?l }
Ronda
action filter_type
action find
entity Ronda
relation office held by head of government
type occupation
['Ronda', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Ronda property:office_held_by_head_of_government ?l }
[]
occupation
Q26690802
SYSTEM
mayor of Ronda
Q26690802
(Q13153,P1313,c(Q12737077))
action filter_type
action find
entity Q13153
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
['Q13153', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q13153 property:P1313 ?l }
mayor of Ronda
The mayor of Ronda serves as the political office that is fulfilled by the head of the government of that administrative territory
mayor of Ronda
action filter_type
action find
entity Ronda
relation office held by head of government
type occupation
['Ronda', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Ronda property:office_held_by_head_of_government ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that occupation present in ?
(Q26690802,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26690802
relation P17
type Q15617994
['Q26690802', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q26690802 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity mayor of Ronda
relation country
type designation for an administrative territorial entity
['mayor of Ronda', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:mayor_of_Ronda property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q29
(Q26690802,P17,c(Q15617994))
action count
action filter_type
action find
entity Q26690802
relation P17
type Q15617994
[ANSWER]
['Q26690802', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q26690802 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Spain
1
action count
action filter_type
action find
entity mayor of Ronda
relation country
type designation for an administrative territorial entity
['mayor of Ronda', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:mayor_of_Ronda property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q937857 Q13153
P19 P106
Q502895
USER
Which people were born at Ronda and are not working as association football player ?
AND((c(Q502895),P19,Q13153), NOT((c(Q502895),P106,Q937857)))
action filter_type
action difference
action find_reverse
entity Q13153
relation P19
action find_reverse
entity Q937857
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q13153'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q937857']]}]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P19 resource:Q13153 . MINUS { ?o property:P106 resource:Q937857 } }
association football player Ronda
action filter_type
action difference
action find_reverse
entity Ronda
relation place of birth
action find_reverse
entity association football player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Ronda'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'association football player']]}]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:place_of_birth resource:Ronda . MINUS { ?o property:occupation resource:association_football_player } }
[]
common name
Q3186554 Q2331699 Q2377333 Q2893913 Q305975 Q5942981 Q3742984 Q2428973 Q2857429 Q15051543
SYSTEM
Some of them are José Romero, Agustín de Ahumada, Juan Romero, Antonio de los Ríos y Rosas, Abbas Ibn Firnas, José María Granados, Fernando de los Ríos, Cayetano Ordóñez, Antonio Romero, Manuel Olivencia Ruiz
Q5559363 Q1280790 Q3442076 Q21105654 Q761732 Q18783451 Q5293550 Q305975 Q5934609 Q3186554 Q2618507 Q3742984 Q2377333 Q2857429 Q520504 Q965825 Q4734490 Q2428973 Q2893913 Q5857920 Q15051543 Q6056614 Q2331699 Q2618393 Q2602121 Q5952106 Q5942981
AND((c(Q502895),P19,Q13153), NOT((c(Q502895),P106,Q937857)))
action filter_type
action difference
action find_reverse
entity Q13153
relation P19
action find_reverse
entity Q937857
relation P106
type Q502895
[ANSWERS] were born at Ronda and are not working as association football player
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q13153'], {'NOT': [[{'concept': 'Q502895'}, 'P106', 'Q937857']]}]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . ?o property:P19 resource:Q13153 . MINUS { ?o property:P106 resource:Q937857 } }
David Delfín Joaquín Peinado Rosa Conde José María García-Blanco Francisco Giner de los Ríos Rafael Tejada de Ronda Ibn Abbad al-Rundi Abbas Ibn Firnas Jorge Blanco Mena José Romero Antonio Ordóñez Fernando de los Ríos Juan Romero Antonio Romero Vicente Espinel Pedro Romero Alonso Vázquez Cayetano Ordóñez Antonio de los Ríos y Rosas Pedro Nolasco Aurioles Aguado Manuel Olivencia Ruiz Paca Aguilera Agustín de Ahumada Francisco Romero José Manuel Rodriguez Delgado Juan Pérez de Guzmán y Gallo José María Granados
José Romero, Agustín de Ahumada, Juan Romero, Antonio de los Ríos y Rosas, Abbas Ibn Firnas, José María Granados, Fernando de los Ríos, Cayetano Ordóñez, Antonio Romero and Manuel Olivencia Ruiz were born at Ronda and are not working as association football player
José Romero Agustín de Ahumada Juan Romero Antonio de los Ríos y Rosas Abbas Ibn Firnas José María Granados Fernando de los Ríos Cayetano Ordóñez Antonio Romero Manuel Olivencia Ruiz
action filter_type
action difference
action find_reverse
entity Ronda
relation place of birth
action find_reverse
entity association football player
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Ronda'], {'NOT': [[{'concept': 'common name'}, 'occupation', 'association football player']]}]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . ?o property:place_of_birth resource:Ronda . MINUS { ?o property:occupation resource:association_football_player } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q386724
USER
How many works have been dubbed by around 7 people ?
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 7
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { ?e property:P725 ?x . ?e rdf:type ontology:Q386724 . ?x rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?c = 7 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
value 7
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { ?e property:voice_actor ?x . ?e rdf:type ontology:work . ?x rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?c = 7 ) }
[]
common name work
SYSTEM
11
Q26987217 Q26701981 Q27627540 Q24175397 Q26390366 Q26715049 Q26299860 Q25858085 Q26457246 Q13516675 Q26829863
(c(Q386724),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q386724
type Q502895
value 7
[ANSWER]
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { ?e property:P725 ?x . ?e rdf:type ontology:Q386724 . ?x rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?c = 7 ) }
Hércules y la visita de Zeus Hércules y el grifo Doctor Strange (Doctor Extraño) Capitán América: El primer vengador Hércules y el rey de Tesalia Peter y el dragón Hércules y el primer médico del mundo Alicia a través del espejo Hércules y el arma secreta Sakura Trick Angry Birds: La película
11
action count
action approx
action find_tuple_counts
relation voice actor
type work
type common name
value 7
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { ?e property:voice_actor ?x . ?e rdf:type ontology:work . ?x rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?c = 7 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q744831
P1303
Q34379 Q502895
USER
Which musical instruments are played by less number of people than Mridangam ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q744831
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?f < ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P1303 resource:Q744831 . ?h rdf:type ontology:Q502895 } } }
Mridangam
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Mridangam
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?f < ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:instrument resource:Mridangam . ?h rdf:type ontology:common_name } } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q744831
relation P1303
type Q502895
[ANSWERS] are played by less number of people than Mridangam
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?f < ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P1303 resource:Q744831 . ?h rdf:type ontology:Q502895 } } }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by less number of people than Mridangam
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Mridangam
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?f ) WHERE { ?c property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?f < ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:instrument resource:Mridangam . ?h rdf:type ontology:common_name } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q8192 Q2001982 Q34770
USER
How many languages have writing system as exactly 3 writing systems and notations ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action equal
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 3
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?e WHERE { { ?e property:P282 ?p . ?p rdf:type ontology:Q2001982 . ?e rdf:type ontology:Q34770 } UNION { ?e rdf:type ontology:Q34770 . ?p rdf:type ontology:Q8192 . ?e property:P282 ?p } } GROUP BY ?e } . FILTER ( ?k = 3 ) }
action count
action equal
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 3
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?e WHERE { { ?e property:writing_system ?p . ?p rdf:type ontology:notation . ?e rdf:type ontology:language } UNION { ?e rdf:type ontology:language . ?p rdf:type ontology:writing_system . ?e property:writing_system ?p } } GROUP BY ?e } . FILTER ( ?k = 3 ) }
[]
writing system notation language
SYSTEM
1
Q182695
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action equal
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 3
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?e WHERE { { ?e property:P282 ?p . ?p rdf:type ontology:Q2001982 . ?e rdf:type ontology:Q34770 } UNION { ?e rdf:type ontology:Q34770 . ?p rdf:type ontology:Q8192 . ?e property:P282 ?p } } GROUP BY ?e } . FILTER ( ?k = 3 ) }
Late Old Japanese
1
action count
action equal
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 3
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) ?e WHERE { { ?e property:writing_system ?p . ?p rdf:type ontology:notation . ?e rdf:type ontology:language } UNION { ?e rdf:type ontology:language . ?p rdf:type ontology:writing_system . ?e property:writing_system ?p } } GROUP BY ?e } . FILTER ( ?k = 3 ) }
[]