Simple Question (Direct)
Simple Question
Q2043289
P735
Q82799
USER
What is forename of Aureliano Blanquet ?
(Q2043289,P735,c(Q82799))
action filter_type
action find
entity Q2043289
relation P735
type Q82799
['Q2043289', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q2043289 property:P735 ?z . ?z rdf:type ontology:Q82799 }
Aureliano Blanquet
action filter_type
action find
entity Aureliano Blanquet
relation given name
type name
['Aureliano Blanquet', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Aureliano_Blanquet property:given_name ?z . ?z rdf:type ontology:name }
[]
name
Q15635200
SYSTEM
Aureliano
Q15635200
(Q2043289,P735,c(Q82799))
action filter_type
action find
entity Q2043289
relation P735
type Q82799
Forename of [ANSWER] Blanquet is of [ANSWER]
['Q2043289', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q2043289 property:P735 ?z . ?z rdf:type ontology:Q82799 }
Aureliano
Forename of Aureliano Blanquet is of Aureliano
Aureliano
action filter_type
action find
entity Aureliano Blanquet
relation given name
type name
['Aureliano Blanquet', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Aureliano_Blanquet property:given_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2043289
P27
Q15617994
USER
Which administrative territory is Aureliano Blanquet a civilian of ?
(Q2043289,P27,c(Q15617994))
action filter_type
action find
entity Q2043289
relation P27
type Q15617994
['Q2043289', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q2043289 property:P27 ?e }
Aureliano Blanquet
action filter_type
action find
entity Aureliano Blanquet
relation country of citizenship
type designation for an administrative territorial entity
['Aureliano Blanquet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Aureliano_Blanquet property:country_of_citizenship ?e }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q2043289,P27,c(Q15617994))
action filter_type
action find
entity Q2043289
relation P27
type Q15617994
[ANSWER] is Aureliano Blanquet a civilian of
['Q2043289', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . resource:Q2043289 property:P27 ?e }
Mexico
Mexico is Aureliano Blanquet a civilian of
Mexico
action filter_type
action find
entity Aureliano Blanquet
relation country of citizenship
type designation for an administrative territorial entity
['Aureliano Blanquet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Aureliano_Blanquet property:country_of_citizenship ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2043289
P607
Q5569988
USER
What was the glittering generality that Aureliano Blanquet took part in
(Q2043289,P607,c(Q5569988))
action filter_type
action find
entity Q2043289
relation P607
type Q5569988
['Q2043289', 'P607', {'concept': 'Q5569988'}]
SELECT DISTINCT ?o WHERE { resource:Q2043289 property:P607 ?o . ?o rdf:type ontology:Q5569988 }
Aureliano Blanquet
action filter_type
action find
entity Aureliano Blanquet
relation conflict
type glittering generality
['Aureliano Blanquet', 'conflict', {'concept': 'glittering generality'}]
SELECT DISTINCT ?o WHERE { resource:Aureliano_Blanquet property:conflict ?o . ?o rdf:type ontology:glittering_generality }
[]
glittering generality
Q214426
SYSTEM
Revolucion mexicana
Q214426
(Q2043289,P607,c(Q5569988))
action filter_type
action find
entity Q2043289
relation P607
type Q5569988
The glittering generality that Aureliano Blanquet took part in was the [ANSWER]
['Q2043289', 'P607', {'concept': 'Q5569988'}]
SELECT DISTINCT ?o WHERE { resource:Q2043289 property:P607 ?o . ?o rdf:type ontology:Q5569988 }
Revolucion mexicana
The glittering generality that Aureliano Blanquet took part in was the Revolucion mexicana
Revolucion mexicana
action filter_type
action find
entity Aureliano Blanquet
relation conflict
type glittering generality
['Aureliano Blanquet', 'conflict', {'concept': 'glittering generality'}]
SELECT DISTINCT ?o WHERE { resource:Aureliano_Blanquet property:conflict ?o . ?o rdf:type ontology:glittering_generality }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2043289
P21
Q290
USER
What is the sex of Aureliano Blanquet ?
(Q2043289,P21,c(Q290))
action filter_type
action find
entity Q2043289
relation P21
type Q290
['Q2043289', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q2043289 property:P21 ?x }
Aureliano Blanquet
action filter_type
action find
entity Aureliano Blanquet
relation gender
type sex
['Aureliano Blanquet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Aureliano_Blanquet property:gender ?x }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2043289,P21,c(Q290))
action filter_type
action find
entity Q2043289
relation P21
type Q290
The sex of Aureliano Blanquet is the [ANSWER]
['Q2043289', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q290 . resource:Q2043289 property:P21 ?x }
male
The sex of Aureliano Blanquet is the male
male
action filter_type
action find
entity Aureliano Blanquet
relation gender
type sex
['Aureliano Blanquet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sex . resource:Aureliano_Blanquet property:gender ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2043289
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q2043289
relation P1412
type Q34770
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q2043289 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Aureliano Blanquet
action filter_type
action find
entity Aureliano Blanquet
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Aureliano_Blanquet property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q2043289
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { resource:Q2043289 property:P1412 ?l . ?l rdf:type ontology:Q34770 }
Spanish
Spanish is that person capable of writing
Spanish
action filter_type
action find
entity Aureliano Blanquet
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { resource:Aureliano_Blanquet property:languages_spoken,_written_or_signed ?l . ?l rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q257634
P282
Q8192 Q34770
USER
How many writing systems are used as the scripts for around the same number of languages as Ge'ez script ?
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q257634
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g rdf:type ontology:Q8192 . resource:Q257634 property:P282 ?g } } . FILTER ( ?u = ?f ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P282 ?h . ?b rdf:type ontology:Q34770 . ?h rdf:type ontology:Q8192 } GROUP BY ?h } }
Ge'ez script
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Ge'ez script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g rdf:type ontology:writing_system . resource:Ge'ez_script property:writing_system ?g } } . FILTER ( ?u = ?f ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:writing_system ?h . ?b rdf:type ontology:language . ?h rdf:type ontology:writing_system } GROUP BY ?h } }
[]
writing system language
SYSTEM
29
Q854968 Q689894 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q26803
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q257634
relation P282
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g rdf:type ontology:Q8192 . resource:Q257634 property:P282 ?g } } . FILTER ( ?u = ?f ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P282 ?h . ?b rdf:type ontology:Q34770 . ?h rdf:type ontology:Q8192 } GROUP BY ?h } }
Burmese alphabet Gurmukhī alphabet Ge'ez script Vietnamese Braille Inuktitut syllabics Brahmic script Limbu alphabet Telugu script Tocharian alphabet Khmer alphabet Ranjana alphabet Sinhala script Tai Tham alphabet Batak alphabet Modi alphabet Thaana Devanagari Bengali alphabet Balinese alphabet Uyghur Arabic alphabet Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform Tamil script
29
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Ge'ez script
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g rdf:type ontology:writing_system . resource:Ge'ez_script property:writing_system ?g } } . FILTER ( ?u = ?f ) . { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:writing_system ?h . ?b rdf:type ontology:language . ?h rdf:type ontology:writing_system } GROUP BY ?h } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q13099004
P138
Q39546 Q486972 Q82799
USER
How many names come from greater number of tools or human settlements than Larsen ?
(c(Q82799),P138,c(Q39546)|c(Q486972))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q39546
action find_tuple_counts
relation P138
type Q82799
type Q486972
action count
action filter_multi_types
action find
entity Q13099004
relation P138
type Q39546
type Q486972
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?h WHERE { ?m rdf:type ?l . VALUES ( ?l ) { ( ontology:Q39546 ) ( ontology:Q486972 ) } } GROUP BY ?h } . FILTER ( ?w > ?a ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q13099004 property:P138 ?s . { { ?s rdf:type ontology:Q39546 } UNION { ?s rdf:type ontology:Q486972 } } } } }
Larsen
action count
action greater
action union
action find_tuple_counts
relation named after
type name
type tool
action find_tuple_counts
relation named after
type name
type human settlement
action count
action filter_multi_types
action find
entity Larsen
relation named after
type tool
type human settlement
[{'concept': 'name'}, 'named after', [{'concept': 'tool'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?h WHERE { ?m rdf:type ?l . VALUES ( ?l ) { ( ontology:tool ) ( ontology:human_settlement ) } } GROUP BY ?h } . FILTER ( ?w > ?a ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Larsen property:named_after ?s . { { ?s rdf:type ontology:tool } UNION { ?s rdf:type ontology:human_settlement } } } } }
[]
tool human settlement name
SYSTEM
3
Q27022433 Q25058808 Q17625919
(c(Q82799),P138,c(Q39546)|c(Q486972))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q39546
action find_tuple_counts
relation P138
type Q82799
type Q486972
action count
action filter_multi_types
action find
entity Q13099004
relation P138
type Q39546
type Q486972
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?h WHERE { ?m rdf:type ?l . VALUES ( ?l ) { ( ontology:Q39546 ) ( ontology:Q486972 ) } } GROUP BY ?h } . FILTER ( ?w > ?a ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q13099004 property:P138 ?s . { { ?s rdf:type ontology:Q39546 } UNION { ?s rdf:type ontology:Q486972 } } } } }
Danziger Dumoulin Du Moulin
3
action count
action greater
action union
action find_tuple_counts
relation named after
type name
type tool
action find_tuple_counts
relation named after
type name
type human settlement
action count
action filter_multi_types
action find
entity Larsen
relation named after
type tool
type human settlement
[{'concept': 'name'}, 'named after', [{'concept': 'tool'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?h WHERE { ?m rdf:type ?l . VALUES ( ?l ) { ( ontology:tool ) ( ontology:human_settlement ) } } GROUP BY ?h } . FILTER ( ?w > ?a ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Larsen property:named_after ?s . { { ?s rdf:type ontology:tool } UNION { ?s rdf:type ontology:human_settlement } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q19899706
P138
Q39546 Q486972 Q82799
USER
And what about Sawyer?
(c(Q82799),P138,c(Q39546)|c(Q486972))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q39546
action find_tuple_counts
relation P138
type Q82799
type Q486972
action count
action filter_multi_types
action find
entity Q19899706
relation P138
type Q39546
type Q486972
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?o WHERE { { ?o property:P138 ?k . ?o rdf:type ontology:Q82799 . ?k rdf:type ontology:Q39546 } UNION { ?o property:P138 ?k . ?o rdf:type ontology:Q82799 . ?k rdf:type ontology:Q486972 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { { VALUES ( ?t ) { ( ontology:Q39546 ) ( ontology:Q486972 ) } . ?n rdf:type ?t } . resource:Q19899706 property:P138 ?n } } . FILTER ( ?b > ?a ) }
Sawyer
action count
action greater
action union
action find_tuple_counts
relation named after
type name
type tool
action find_tuple_counts
relation named after
type name
type human settlement
action count
action filter_multi_types
action find
entity Sawyer
relation named after
type tool
type human settlement
[{'concept': 'name'}, 'named after', [{'concept': 'tool'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?o WHERE { { ?o property:named_after ?k . ?o rdf:type ontology:name . ?k rdf:type ontology:tool } UNION { ?o property:named_after ?k . ?o rdf:type ontology:name . ?k rdf:type ontology:human_settlement } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { { VALUES ( ?t ) { ( ontology:tool ) ( ontology:human_settlement ) } . ?n rdf:type ?t } . resource:Sawyer property:named_after ?n } } . FILTER ( ?b > ?a ) }
[]
tool human settlement name
SYSTEM
3
Q27022433 Q25058808 Q17625919
(c(Q82799),P138,c(Q39546)|c(Q486972))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q82799
type Q39546
action find_tuple_counts
relation P138
type Q82799
type Q486972
action count
action filter_multi_types
action find
entity Q19899706
relation P138
type Q39546
type Q486972
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q39546'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?o WHERE { { ?o property:P138 ?k . ?o rdf:type ontology:Q82799 . ?k rdf:type ontology:Q39546 } UNION { ?o property:P138 ?k . ?o rdf:type ontology:Q82799 . ?k rdf:type ontology:Q486972 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { { VALUES ( ?t ) { ( ontology:Q39546 ) ( ontology:Q486972 ) } . ?n rdf:type ?t } . resource:Q19899706 property:P138 ?n } } . FILTER ( ?b > ?a ) }
Danziger Dumoulin Du Moulin
3
action count
action greater
action union
action find_tuple_counts
relation named after
type name
type tool
action find_tuple_counts
relation named after
type name
type human settlement
action count
action filter_multi_types
action find
entity Sawyer
relation named after
type tool
type human settlement
[{'concept': 'name'}, 'named after', [{'concept': 'tool'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) ?o WHERE { { ?o property:named_after ?k . ?o rdf:type ontology:name . ?k rdf:type ontology:tool } UNION { ?o property:named_after ?k . ?o rdf:type ontology:name . ?k rdf:type ontology:human_settlement } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?a ) WHERE { { VALUES ( ?t ) { ( ontology:tool ) ( ontology:human_settlement ) } . ?n rdf:type ?t } . resource:Sawyer property:named_after ?n } } . FILTER ( ?b > ?a ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18688134 Q2043289
P19
Q486972
USER
Which human settlements were Aureliano Blanquet or Jorge Juraidini born in ?
OR((Q2043289,P19,c(Q486972)), (Q18688134,P19,c(Q486972)))
action filter_type
action union
action find
entity Q2043289
relation P19
action find
entity Q18688134
relation P19
type Q486972
{'OR': [['Q2043289', 'P19', {'concept': 'Q486972'}], ['Q18688134', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q486972 . { { resource:Q2043289 property:P19 ?d } UNION { resource:Q18688134 property:P19 ?d } } }
Jorge Juraidini Aureliano Blanquet
action filter_type
action union
action find
entity Aureliano Blanquet
relation place of birth
action find
entity Jorge Juraidini
relation place of birth
type human settlement
{'OR': [['Aureliano Blanquet', 'place of birth', {'concept': 'human settlement'}], ['Jorge Juraidini', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:human_settlement . { { resource:Aureliano_Blanquet property:place_of_birth ?d } UNION { resource:Jorge_Juraidini property:place_of_birth ?d } } }
[]
human settlement
Q7708625 Q200252
SYSTEM
Teziutlán, Morelia
Q7708625 Q200252
OR((Q2043289,P19,c(Q486972)), (Q18688134,P19,c(Q486972)))
action filter_type
action union
action find
entity Q2043289
relation P19
action find
entity Q18688134
relation P19
type Q486972
[ANSWERS]
{'OR': [['Q2043289', 'P19', {'concept': 'Q486972'}], ['Q18688134', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q486972 . { { resource:Q2043289 property:P19 ?d } UNION { resource:Q18688134 property:P19 ?d } } }
Teziutlán Morelia
Which human settlements were Aureliano Blanquet or Jorge Juraidini born in
Teziutlán Morelia
action filter_type
action union
action find
entity Aureliano Blanquet
relation place of birth
action find
entity Jorge Juraidini
relation place of birth
type human settlement
{'OR': [['Aureliano Blanquet', 'place of birth', {'concept': 'human settlement'}], ['Jorge Juraidini', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:human_settlement . { { resource:Aureliano_Blanquet property:place_of_birth ?d } UNION { resource:Jorge_Juraidini property:place_of_birth ?d } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21061062 Q15635200
P735
Q502895
USER
Which people have Aureliano or Takaki as first name ?
OR((c(Q502895),P735,Q15635200), (c(Q502895),P735,Q21061062))
action filter_type
action union
action find_reverse
entity Q15635200
relation P735
action find_reverse
entity Q21061062
relation P735
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P735', 'Q15635200'], [{'concept': 'Q502895'}, 'P735', 'Q21061062']]}
SELECT DISTINCT ?v WHERE { { ?v property:P735 ?g . VALUES ( ?g ) { ( resource:Q15635200 ) ( resource:Q21061062 ) } } . ?v rdf:type ontology:Q502895 }
Takaki Aureliano
action filter_type
action union
action find_reverse
entity Aureliano
relation given name
action find_reverse
entity Takaki
relation given name
type common name
{'OR': [[{'concept': 'common name'}, 'given name', 'Aureliano'], [{'concept': 'common name'}, 'given name', 'Takaki']]}
SELECT DISTINCT ?v WHERE { { ?v property:given_name ?g . VALUES ( ?g ) { ( resource:Aureliano ) ( resource:Takaki ) } } . ?v rdf:type ontology:common_name }
[]
common name
Q11593994 Q9046919 Q11580448 Q3393337 Q16334673 Q3629790 Q5711942 Q21777199 Q2043289 Q361064
SYSTEM
Some of them are Takaki Fukumitsu, Takaki Ishida, Takaki Shirasuka, Aureliano Linares Rivas, Aureliano Estévez, Aureliano Faifofer, Aureliano García Tello, Aureliano Amadei, Aureliano Blanquet, Aureliano Torres
Q11580448 Q21777199 Q16495339 Q3629792 Q3629790 Q11386845 Q9046919 Q5711942 Q17160394 Q16495340 Q5711958 Q16495342 Q775440 Q8209263 Q8209261 Q5711956 Q2263241 Q5711952 Q11427810 Q5711950 Q775431 Q11408458 Q8209281 Q12383947 Q3393337 Q775391 Q4822242 Q1403669 Q4822244 Q4822247 Q9638198 Q2568957 Q11564484 Q16334673 Q4283871 Q716760 Q11460781 Q2872066 Q18718827 Q4822241 Q11476193 Q11431937 Q11474577 Q12254498 Q2043289 Q11411084 Q5711947 Q11675039 Q16495338 Q11359289 Q14086815 Q11593994 Q361064 Q9638193 Q1625596 Q9638184
OR((c(Q502895),P735,Q15635200), (c(Q502895),P735,Q21061062))
action filter_type
action union
action find_reverse
entity Q15635200
relation P735
action find_reverse
entity Q21061062
relation P735
type Q502895
[ANSWERS] have Aureliano or Takaki as first name
{'OR': [[{'concept': 'Q502895'}, 'P735', 'Q15635200'], [{'concept': 'Q502895'}, 'P735', 'Q21061062']]}
SELECT DISTINCT ?v WHERE { { ?v property:P735 ?g . VALUES ( ?g ) { ( resource:Q15635200 ) ( resource:Q21061062 ) } } . ?v rdf:type ontology:Q502895 }
Takaki Shirasuka Aureliano Amadei Aureliano de Figueiredo Pinto Aureliano Coutinho, Viscount of Sepetiba Aureliano Faifofer Takaki Kurasawa Takaki Ishida Aureliano García Tello Takaki Soga Aureliano Pimentel Aureliano Álvarez-Coque Aureliano Valadão Furquim Aureliano Sánchez Arango Aureliano Lima Aureliano Lessa Aureliano Villarán Saint Aurelianus Aureliano Tapia Méndez Takaki Horigome Aureliano Rivera Aureliano Pertile Takaki Minami Aureliano Beruete Aureliano Pereira Aureliano Linares Rivas Aureliano Fernández-Guerra Aureliano Oyarzún Aureliano de Beruete Aureliano Milani Aureliano Urrutia Aureliano de Mira Fernandes Aureliano Chaves Takaki Mizoguchi Aureliano Estévez Takaki Shigemitsu Aureliano Bolognesi Takaki Konari Aurelian of Réôme Aureliano Argento Aureliano Maestre de San Juan Takaki Shimanami Takaki Ōkubo Takaki Iwato Aureliano González Aureliano Blanquet Takaki Furuyama Aureliano Negrín Takaki Toriumi Aureliano Capelo Veloso Takaki Kamimura Aureliano Manuel Fernandez Justel Takaki Fukumitsu Aureliano Torres Aureliano Tavares Bastos Aureliano Brandolini Aureliano Leite
Takaki Fukumitsu, Takaki Ishida, Takaki Shirasuka, Aureliano Linares Rivas, Aureliano Estévez, Aureliano Faifofer, Aureliano García Tello, Aureliano Amadei, Aureliano Blanquet and Aureliano Torres have Aureliano or Takaki as first name
Takaki Fukumitsu Takaki Ishida Takaki Shirasuka Aureliano Linares Rivas Aureliano Estévez Aureliano Faifofer Aureliano García Tello Aureliano Amadei Aureliano Blanquet Aureliano Torres
action filter_type
action union
action find_reverse
entity Aureliano
relation given name
action find_reverse
entity Takaki
relation given name
type common name
{'OR': [[{'concept': 'common name'}, 'given name', 'Aureliano'], [{'concept': 'common name'}, 'given name', 'Takaki']]}
SELECT DISTINCT ?v WHERE { { ?v property:given_name ?g . VALUES ( ?g ) { ( resource:Aureliano ) ( resource:Takaki ) } } . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 1399 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1399
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?o = 1399 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1399
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?o = 1399 ) }
[]
musical instrument common name
Q81982 Q80284 Q46185
SYSTEM
harpsichord, viola, bass guitar
Q80284 Q46185 Q80019 Q81982 Q206987 Q8338 Q8371 Q3382191 Q1444 Q128309 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1399
[ANSWERS] are played by around 1399 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?o = 1399 ) }
viola bass guitar double bass harpsichord vibraphone trumpet cello upright piano organ drum kit electronic keyboard drum
Harpsichord, viola and bass guitar are played by around 1399 people
harpsichord viola bass guitar
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1399
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?s ) AS ?o ) WHERE { ?s property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?o = 1399 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3393337
P102
Q7278
USER
Which political party is Aureliano Linares Rivas a member of ?
(Q3393337,P102,c(Q7278))
action filter_type
action find
entity Q3393337
relation P102
type Q7278
['Q3393337', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?x WHERE { resource:Q3393337 property:P102 ?x . ?x rdf:type ontology:Q7278 }
Aureliano Linares Rivas
action filter_type
action find
entity Aureliano Linares Rivas
relation member of political party
type political party
['Aureliano Linares Rivas', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?x WHERE { resource:Aureliano_Linares_Rivas property:member_of_political_party ?x . ?x rdf:type ontology:political_party }
[]
political party
Q3047700
SYSTEM
Liberal-Conservative Party
Q3047700
(Q3393337,P102,c(Q7278))
action filter_type
action find
entity Q3393337
relation P102
type Q7278
[ANSWER] is Aureliano Linares Rivas a member of
['Q3393337', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?x WHERE { resource:Q3393337 property:P102 ?x . ?x rdf:type ontology:Q7278 }
Liberal-Conservative Party
Liberal-Conservative Party is Aureliano Linares Rivas a member of
Liberal-Conservative Party
action filter_type
action find
entity Aureliano Linares Rivas
relation member of political party
type political party
['Aureliano Linares Rivas', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?x WHERE { resource:Aureliano_Linares_Rivas property:member_of_political_party ?x . ?x rdf:type ontology:political_party }
[]