Simple Question (Direct)
Simple Question
Q751052
P641
Q349
USER
What was the sport that Luis-Augusto García was a part of ?
(Q751052,P641,c(Q349))
action filter_type
action find
entity Q751052
relation P641
type Q349
['Q751052', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q751052 property:P641 ?j . ?j rdf:type ontology:Q349 }
Luis-Augusto García
action filter_type
action find
entity Luis-Augusto García
relation sport
type sport
['Luis-Augusto García', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Luis-Augusto_García property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q751052,P641,c(Q349))
action filter_type
action find
entity Q751052
relation P641
type Q349
The sport that Luis-Augusto García was a part of was h [ANSWER]
['Q751052', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q751052 property:P641 ?j . ?j rdf:type ontology:Q349 }
association football
The sport that Luis-Augusto García was a part of was h association football
association football
action filter_type
action find
entity Luis-Augusto García
relation sport
type sport
['Luis-Augusto García', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Luis-Augusto_García property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q751052
P1412
Q34770
USER
Which language is spoken by Luis-Augusto García ?
(Q751052,P1412,c(Q34770))
action filter_type
action find
entity Q751052
relation P1412
type Q34770
['Q751052', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q751052 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Luis-Augusto García
action filter_type
action find
entity Luis-Augusto García
relation languages spoken, written or signed
type language
['Luis-Augusto García', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Luis-Augusto_García property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q751052,P1412,c(Q34770))
action filter_type
action find
entity Q751052
relation P1412
type Q34770
[ANSWER] is spoken by Luis-Augusto García
['Q751052', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q751052 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by Luis-Augusto García
Spanish
action filter_type
action find
entity Luis-Augusto García
relation languages spoken, written or signed
type language
['Luis-Augusto García', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Luis-Augusto_García property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P282
Q2001982 Q8192 Q34770
USER
How many languages adopt approximately the same number of notations or writing systems as the writing system as that language ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q1321
relation P282
type Q2001982
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?f WHERE { { ?f property:P282 ?a . ?f rdf:type ontology:Q34770 . ?a rdf:type ontology:Q2001982 } UNION { ?f rdf:type ontology:Q34770 . ?a rdf:type ontology:Q8192 . ?f property:P282 ?a } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Q1321 property:P282 ?b . { { ?b rdf:type ontology:Q2001982 } UNION { ?b rdf:type ontology:Q8192 } } } } . FILTER ( ?n = ?r ) }
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Spanish
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?f WHERE { { ?f property:writing_system ?a . ?f rdf:type ontology:language . ?a rdf:type ontology:notation } UNION { ?f rdf:type ontology:language . ?a rdf:type ontology:writing_system . ?f property:writing_system ?a } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Spanish property:writing_system ?b . { { ?b rdf:type ontology:notation } UNION { ?b rdf:type ontology:writing_system } } } } . FILTER ( ?n = ?r ) }
[]
notation writing system language
SYSTEM
49
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q1321
relation P282
type Q2001982
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?f WHERE { { ?f property:P282 ?a . ?f rdf:type ontology:Q34770 . ?a rdf:type ontology:Q2001982 } UNION { ?f rdf:type ontology:Q34770 . ?a rdf:type ontology:Q8192 . ?f property:P282 ?a } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Q1321 property:P282 ?b . { { ?b rdf:type ontology:Q2001982 } UNION { ?b rdf:type ontology:Q8192 } } } } . FILTER ( ?n = ?r ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
49
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Spanish
relation writing system
type notation
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) ?f WHERE { { ?f property:writing_system ?a . ?f rdf:type ontology:language . ?a rdf:type ontology:notation } UNION { ?f rdf:type ontology:language . ?a rdf:type ontology:writing_system . ?f property:writing_system ?a } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { resource:Spanish property:writing_system ?b . { { ?b rdf:type ontology:notation } UNION { ?b rdf:type ontology:writing_system } } } } . FILTER ( ?n = ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q751052
P106
Q12737077
USER
What do Luis-Augusto García do for a living ?
(Q751052,P106,c(Q12737077))
action filter_type
action find
entity Q751052
relation P106
type Q12737077
['Q751052', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q751052 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Luis-Augusto García
action filter_type
action find
entity Luis-Augusto García
relation occupation
type occupation
['Luis-Augusto García', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Luis-Augusto_García property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q10833314 Q628099 Q937857
SYSTEM
tennis player, association football manager, association football player
Q10833314 Q628099 Q937857
(Q751052,P106,c(Q12737077))
action filter_type
action find
entity Q751052
relation P106
type Q12737077
Luis-Augusto García do for a living professional [ANSWERS]
['Q751052', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q751052 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
tennis player association football manager association football player
Luis-Augusto García do for a living professional tennis player, association football manager and association football player
tennis player association football manager association football player
action filter_type
action find
entity Luis-Augusto García
relation occupation
type occupation
['Luis-Augusto García', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Luis-Augusto_García property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q10833314 Q628099 Q937857
P425
Q349
USER
Which sports have those ones as the associated field of occupation ?
(Q10833314,P425,c(Q349)) (Q628099,P425,c(Q349)) (Q937857,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
['Q10833314', 'P425', {'concept': 'Q349'}] ['Q628099', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . ?z property:P425 ?p . VALUES ( ?z ) { ( resource:Q10833314 ) ( resource:Q628099 ) ( resource:Q937857 ) } }
tennis player association football manager association football player
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['tennis player', 'field of this occupation', {'concept': 'sport'}] ['association football manager', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . ?z property:field_of_this_occupation ?p . VALUES ( ?z ) { ( resource:tennis_player ) ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
sport
Q847 Q2736 Q2736
SYSTEM
tennis for 1st, association football for 2nd, 3rd
Q847 Q2736 Q2736
(Q10833314,P425,c(Q349)) (Q628099,P425,c(Q349)) (Q937857,P425,c(Q349))
action filter_type
action find
entity prev_answer
relation P425
type Q349
[ANSWERS]
['Q10833314', 'P425', {'concept': 'Q349'}] ['Q628099', 'P425', {'concept': 'Q349'}] ['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q349 . ?z property:P425 ?p . VALUES ( ?z ) { ( resource:Q10833314 ) ( resource:Q628099 ) ( resource:Q937857 ) } }
tennis association football association football
Tennis, association football and association football have those ones as the associated field of occupation
tennis association football association football
action filter_type
action find
entity prev_answer
relation field of this occupation
type sport
['tennis player', 'field of this occupation', {'concept': 'sport'}] ['association football manager', 'field of this occupation', {'concept': 'sport'}] ['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sport . ?z property:field_of_this_occupation ?p . VALUES ( ?z ) { ( resource:tennis_player ) ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7713932
Q1496967
USER
And how about The Anti-Pamela; or Feign’d Innocence Detected?
(Q7713932,P495,c(Q1496967))
action filter_type
action find
entity Q7713932
relation P495
type Q1496967
['Q7713932', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1496967 . resource:Q7713932 property:P495 ?s }
The Anti-Pamela; or Feign’d Innocence Detected
action filter_type
action find
entity The Anti-Pamela; or Feign’d Innocence Detected
relation country of origin
type territorial entity
['The Anti-Pamela; or Feign’d Innocence Detected', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:territorial_entity . resource:The_Anti-Pamela;_or_Feign’d_Innocence_Detected property:country_of_origin ?s }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q7713932,P495,c(Q1496967))
action filter_type
action find
entity Q7713932
relation P495
type Q1496967
[ANSWER]
['Q7713932', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1496967 . resource:Q7713932 property:P495 ?s }
England
England
action filter_type
action find
entity The Anti-Pamela; or Feign’d Innocence Detected
relation country of origin
type territorial entity
['The Anti-Pamela; or Feign’d Innocence Detected', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:territorial_entity . resource:The_Anti-Pamela;_or_Feign’d_Innocence_Detected property:country_of_origin ?s }
[]