Simple Question (Direct)
Simple Question
Q3545199
P26
Q502895
USER
Which people are the spouses of Kaho Minami ?
(Q3545199,P26,c(Q502895))
action filter_type
action find
entity Q3545199
relation P26
type Q502895
['Q3545199', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3545199 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Kaho Minami
action filter_type
action find
entity Kaho Minami
relation spouse
type common name
['Kaho Minami', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Kaho_Minami property:spouse ?a . ?a rdf:type ontology:common_name }
[]
common name
Q211553 Q1143660
SYSTEM
Ken Watanabe, Hitonari Tsuji
Q211553 Q1143660
(Q3545199,P26,c(Q502895))
action filter_type
action find
entity Q3545199
relation P26
type Q502895
[ANSWERS] are the spouses of Kaho Minami
['Q3545199', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q3545199 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Ken Watanabe Hitonari Tsuji
Ken Watanabe and Hitonari Tsuji are the spouses of Kaho Minami
Ken Watanabe Hitonari Tsuji
action filter_type
action find
entity Kaho Minami
relation spouse
type common name
['Kaho Minami', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Kaho_Minami property:spouse ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1143660
P21
Q290
USER
What is the sex of Hitonari Tsuji ?
(Q1143660,P21,c(Q290))
action filter_type
action find
entity Q1143660
relation P21
type Q290
['Q1143660', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1143660 property:P21 ?g . ?g rdf:type ontology:Q290 }
Hitonari Tsuji
action filter_type
action find
entity Hitonari Tsuji
relation gender
type sex
['Hitonari Tsuji', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Hitonari_Tsuji property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1143660,P21,c(Q290))
action filter_type
action find
entity Q1143660
relation P21
type Q290
The sex of Hitonari Tsuji is the [ANSWER]
['Q1143660', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q1143660 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
The sex of Hitonari Tsuji is the male
male
action filter_type
action find
entity Hitonari Tsuji
relation gender
type sex
['Hitonari Tsuji', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Hitonari_Tsuji property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1143660
P136
Q151885
USER
What is the genre of that person ?
(Q6581097,P136,c(Q151885))
action filter_type
action find
entity Q1143660
relation P136
type Q151885
['Q6581097', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q1143660 property:P136 ?a . ?a rdf:type ontology:Q151885 }
Hitonari Tsuji
action filter_type
action find
entity Hitonari Tsuji
relation genre
type concept
['male', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Hitonari_Tsuji property:genre ?a . ?a rdf:type ontology:concept }
[]
concept
Q11399
SYSTEM
rock music
Q11399
(Q6581097,P136,c(Q151885))
action filter_type
action find
entity Q1143660
relation P136
type Q151885
The genre of that person is a [ANSWER]
['Q6581097', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q1143660 property:P136 ?a . ?a rdf:type ontology:Q151885 }
rock music
The genre of that person is a rock music
rock music
action filter_type
action find
entity Hitonari Tsuji
relation genre
type concept
['male', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:Hitonari_Tsuji property:genre ?a . ?a rdf:type ontology:concept }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21167527 Q1143660
P636 P136
Q151885
USER
Which concepts are the genre of Hitonari Tsuji or are the way to administer acetic acid exposure ?
OR((Q1143660,P136,c(Q151885)), (Q21167527,P636,c(Q151885)))
action filter_type
action union
action find
entity Q1143660
relation P136
action find
entity Q21167527
relation P636
type Q151885
{'OR': [['Q1143660', 'P136', {'concept': 'Q151885'}], ['Q21167527', 'P636', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q151885 . { { resource:Q1143660 property:P136 ?f } UNION { resource:Q21167527 property:P636 ?f } } }
acetic acid exposure Hitonari Tsuji
action filter_type
action union
action find
entity Hitonari Tsuji
relation genre
action find
entity acetic acid exposure
relation route of administration
type concept
{'OR': [['Hitonari Tsuji', 'genre', {'concept': 'concept'}], ['acetic acid exposure', 'route of administration', {'concept': 'concept'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:concept . { { resource:Hitonari_Tsuji property:genre ?f } UNION { resource:acetic_acid_exposure property:route_of_administration ?f } } }
[]
concept
Q1663054 Q21074571 Q10268830 Q11399 Q4669896
SYSTEM
ingestion, eye contact, inhalation, rock music, skin absorption
Q1663054 Q21074571 Q10268830 Q11399 Q4669896
OR((Q1143660,P136,c(Q151885)), (Q21167527,P636,c(Q151885)))
action filter_type
action union
action find
entity Q1143660
relation P136
action find
entity Q21167527
relation P636
type Q151885
[ANSWERS] are the genre of Hitonari Tsuji or are the way to administer acetic acid exposure
{'OR': [['Q1143660', 'P136', {'concept': 'Q151885'}], ['Q21167527', 'P636', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q151885 . { { resource:Q1143660 property:P136 ?f } UNION { resource:Q21167527 property:P636 ?f } } }
ingestion eye contact inhalation rock music skin absorption
Ingestion, eye contact, inhalation, rock music and skin absorption are the genre of Hitonari Tsuji or are the way to administer acetic acid exposure
ingestion eye contact inhalation rock music skin absorption
action filter_type
action union
action find
entity Hitonari Tsuji
relation genre
action find
entity acetic acid exposure
relation route of administration
type concept
{'OR': [['Hitonari Tsuji', 'genre', {'concept': 'concept'}], ['acetic acid exposure', 'route of administration', {'concept': 'concept'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:concept . { { resource:Hitonari_Tsuji property:genre ?f } UNION { resource:acetic_acid_exposure property:route_of_administration ?f } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P636
Q3505252 Q12136
USER
How many drug overdoses or diseases have that concept as their route of administration ?
(c(Q3505252),P636,Q4669896) (c(Q12136),P636,Q4669896) (c(Q3505252),P636,Q1663054) (c(Q12136),P636,Q1663054) (c(Q3505252),P636,Q21074571) (c(Q12136),P636,Q21074571) (c(Q3505252),P636,Q10268830) (c(Q12136),P636,Q10268830) (c(Q3505252),P636,Q11399) (c(Q12136),P636,Q11399) (c(Q3505252),P636,Q4669896) (c(Q12136),P636,Q4669896)
[{'concept': 'Q3505252'}, 'P636', 'Q4669896'] [{'concept': 'Q12136'}, 'P636', 'Q4669896'] [{'concept': 'Q3505252'}, 'P636', 'Q1663054'] [{'concept': 'Q12136'}, 'P636', 'Q1663054'] [{'concept': 'Q3505252'}, 'P636', 'Q21074571'] [{'concept': 'Q12136'}, 'P636', 'Q21074571'] [{'concept': 'Q3505252'}, 'P636', 'Q10268830'] [{'concept': 'Q12136'}, 'P636', 'Q10268830'] [{'concept': 'Q3505252'}, 'P636', 'Q11399'] [{'concept': 'Q12136'}, 'P636', 'Q11399'] [{'concept': 'Q3505252'}, 'P636', 'Q4669896'] [{'concept': 'Q12136'}, 'P636', 'Q4669896']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q621636 resource:Q4669896 } UNION { ?y property:Q621636 resource:Q4669896 } UNION { ?z property:Q621636 resource:Q1663054 } UNION { ?y property:Q621636 resource:Q1663054 } UNION { ?z property:Q621636 resource:Q633546 } UNION { ?y property:Q621636 resource:Q633546 } UNION { ?z property:Q621636 resource:Q840343 } UNION { ?y property:Q621636 resource:Q840343 } UNION { ?z property:Q621636 resource:Q16882165 } UNION { ?y property:Q621636 resource:Q16882165 } UNION { ?z property:Q621636 resource:Q4669896 } UNION { ?y property:Q621636 resource:Q4669896 } } . ?z rdf:type ontology:Q3505252 . ?y rdf:type ontology:Q12136 }
[{'concept': 'drug overdose'}, 'route of administration', 'skin absorption'] [{'concept': 'disease'}, 'route of administration', 'skin absorption'] [{'concept': 'drug overdose'}, 'route of administration', 'ingestion'] [{'concept': 'disease'}, 'route of administration', 'ingestion'] [{'concept': 'drug overdose'}, 'route of administration', 'eye contact'] [{'concept': 'disease'}, 'route of administration', 'eye contact'] [{'concept': 'drug overdose'}, 'route of administration', 'inhalation'] [{'concept': 'disease'}, 'route of administration', 'inhalation'] [{'concept': 'drug overdose'}, 'route of administration', 'rock music'] [{'concept': 'disease'}, 'route of administration', 'rock music'] [{'concept': 'drug overdose'}, 'route of administration', 'skin absorption'] [{'concept': 'disease'}, 'route of administration', 'skin absorption']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:route_of_administration resource:skin_absorption } UNION { ?y property:route_of_administration resource:skin_absorption } UNION { ?z property:route_of_administration resource:ingestion } UNION { ?y property:route_of_administration resource:ingestion } UNION { ?z property:route_of_administration resource:eye_contact } UNION { ?y property:route_of_administration resource:eye_contact } UNION { ?z property:route_of_administration resource:inhalation } UNION { ?y property:route_of_administration resource:inhalation } UNION { ?z property:route_of_administration resource:rock_music } UNION { ?y property:route_of_administration resource:rock_music } UNION { ?z property:route_of_administration resource:skin_absorption } UNION { ?y property:route_of_administration resource:skin_absorption } } . ?z rdf:type ontology:drug_overdose . ?y rdf:type ontology:disease }
[]
drug overdose disease
Quantitative|Count|Mult. entity type|Clarification
Q10268830
SYSTEM
Did you mean inhalation ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q621636 resource:Q4669896 } UNION { ?y property:Q621636 resource:Q4669896 } UNION { ?z property:Q621636 resource:Q1663054 } UNION { ?y property:Q621636 resource:Q1663054 } UNION { ?z property:Q621636 resource:Q633546 } UNION { ?y property:Q621636 resource:Q633546 } UNION { ?z property:Q621636 resource:Q840343 } UNION { ?y property:Q621636 resource:Q840343 } UNION { ?z property:Q621636 resource:Q16882165 } UNION { ?y property:Q621636 resource:Q16882165 } UNION { ?z property:Q621636 resource:Q4669896 } UNION { ?y property:Q621636 resource:Q4669896 } } . ?z rdf:type ontology:Q3505252 . ?y rdf:type ontology:Q12136 }
Did you mean inhalation ?
inhalation
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:route_of_administration resource:skin_absorption } UNION { ?y property:route_of_administration resource:skin_absorption } UNION { ?z property:route_of_administration resource:ingestion } UNION { ?y property:route_of_administration resource:ingestion } UNION { ?z property:route_of_administration resource:eye_contact } UNION { ?y property:route_of_administration resource:eye_contact } UNION { ?z property:route_of_administration resource:inhalation } UNION { ?y property:route_of_administration resource:inhalation } UNION { ?z property:route_of_administration resource:rock_music } UNION { ?y property:route_of_administration resource:rock_music } UNION { ?z property:route_of_administration resource:skin_absorption } UNION { ?y property:route_of_administration resource:skin_absorption } } . ?z rdf:type ontology:drug_overdose . ?y rdf:type ontology:disease }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant skin absorption. Could you tell me the answer for that?
(c(Q3505252),P636,Q4669896) (c(Q12136),P636,Q4669896) (c(Q3505252),P636,Q1663054) (c(Q12136),P636,Q1663054) (c(Q3505252),P636,Q21074571) (c(Q12136),P636,Q21074571) (c(Q3505252),P636,Q10268830) (c(Q12136),P636,Q10268830) (c(Q3505252),P636,Q11399) (c(Q12136),P636,Q11399) (c(Q3505252),P636,Q4669896) (c(Q12136),P636,Q4669896)
Q4669896
[{'concept': 'Q3505252'}, 'P636', 'Q4669896'] [{'concept': 'Q12136'}, 'P636', 'Q4669896'] [{'concept': 'Q3505252'}, 'P636', 'Q1663054'] [{'concept': 'Q12136'}, 'P636', 'Q1663054'] [{'concept': 'Q3505252'}, 'P636', 'Q21074571'] [{'concept': 'Q12136'}, 'P636', 'Q21074571'] [{'concept': 'Q3505252'}, 'P636', 'Q10268830'] [{'concept': 'Q12136'}, 'P636', 'Q10268830'] [{'concept': 'Q3505252'}, 'P636', 'Q11399'] [{'concept': 'Q12136'}, 'P636', 'Q11399'] [{'concept': 'Q3505252'}, 'P636', 'Q4669896'] [{'concept': 'Q12136'}, 'P636', 'Q4669896']
[{'concept': 'drug overdose'}, 'route of administration', 'skin absorption'] [{'concept': 'disease'}, 'route of administration', 'skin absorption'] [{'concept': 'drug overdose'}, 'route of administration', 'ingestion'] [{'concept': 'disease'}, 'route of administration', 'ingestion'] [{'concept': 'drug overdose'}, 'route of administration', 'eye contact'] [{'concept': 'disease'}, 'route of administration', 'eye contact'] [{'concept': 'drug overdose'}, 'route of administration', 'inhalation'] [{'concept': 'disease'}, 'route of administration', 'inhalation'] [{'concept': 'drug overdose'}, 'route of administration', 'rock music'] [{'concept': 'disease'}, 'route of administration', 'rock music'] [{'concept': 'drug overdose'}, 'route of administration', 'skin absorption'] [{'concept': 'disease'}, 'route of administration', 'skin absorption']
[]
SYSTEM
4
Q21504884 Q125367 Q110315 Q730249
(c(Q3505252),P636,Q4669896) (c(Q12136),P636,Q4669896) (c(Q3505252),P636,Q1663054) (c(Q12136),P636,Q1663054) (c(Q3505252),P636,Q21074571) (c(Q12136),P636,Q21074571) (c(Q3505252),P636,Q10268830) (c(Q12136),P636,Q10268830) (c(Q3505252),P636,Q11399) (c(Q12136),P636,Q11399) (c(Q3505252),P636,Q4669896) (c(Q12136),P636,Q4669896)
[ANSWER]
[{'concept': 'Q3505252'}, 'P636', 'Q4669896'] [{'concept': 'Q12136'}, 'P636', 'Q4669896'] [{'concept': 'Q3505252'}, 'P636', 'Q1663054'] [{'concept': 'Q12136'}, 'P636', 'Q1663054'] [{'concept': 'Q3505252'}, 'P636', 'Q21074571'] [{'concept': 'Q12136'}, 'P636', 'Q21074571'] [{'concept': 'Q3505252'}, 'P636', 'Q10268830'] [{'concept': 'Q12136'}, 'P636', 'Q10268830'] [{'concept': 'Q3505252'}, 'P636', 'Q11399'] [{'concept': 'Q12136'}, 'P636', 'Q11399'] [{'concept': 'Q3505252'}, 'P636', 'Q4669896'] [{'concept': 'Q12136'}, 'P636', 'Q4669896']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q621636 resource:Q4669896 } UNION { ?y property:Q621636 resource:Q4669896 } UNION { ?z property:Q621636 resource:Q1663054 } UNION { ?y property:Q621636 resource:Q1663054 } UNION { ?z property:Q621636 resource:Q633546 } UNION { ?y property:Q621636 resource:Q633546 } UNION { ?z property:Q621636 resource:Q840343 } UNION { ?y property:Q621636 resource:Q840343 } UNION { ?z property:Q621636 resource:Q16882165 } UNION { ?y property:Q621636 resource:Q16882165 } UNION { ?z property:Q621636 resource:Q4669896 } UNION { ?y property:Q621636 resource:Q4669896 } } . ?z rdf:type ontology:Q3505252 . ?y rdf:type ontology:Q12136 }
fentanyl toxicity carbon monoxide poisoning lead poisoning arsenic poisoning
4
[{'concept': 'drug overdose'}, 'route of administration', 'skin absorption'] [{'concept': 'disease'}, 'route of administration', 'skin absorption'] [{'concept': 'drug overdose'}, 'route of administration', 'ingestion'] [{'concept': 'disease'}, 'route of administration', 'ingestion'] [{'concept': 'drug overdose'}, 'route of administration', 'eye contact'] [{'concept': 'disease'}, 'route of administration', 'eye contact'] [{'concept': 'drug overdose'}, 'route of administration', 'inhalation'] [{'concept': 'disease'}, 'route of administration', 'inhalation'] [{'concept': 'drug overdose'}, 'route of administration', 'rock music'] [{'concept': 'disease'}, 'route of administration', 'rock music'] [{'concept': 'drug overdose'}, 'route of administration', 'skin absorption'] [{'concept': 'disease'}, 'route of administration', 'skin absorption']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:route_of_administration resource:skin_absorption } UNION { ?y property:route_of_administration resource:skin_absorption } UNION { ?z property:route_of_administration resource:ingestion } UNION { ?y property:route_of_administration resource:ingestion } UNION { ?z property:route_of_administration resource:eye_contact } UNION { ?y property:route_of_administration resource:eye_contact } UNION { ?z property:route_of_administration resource:inhalation } UNION { ?y property:route_of_administration resource:inhalation } UNION { ?z property:route_of_administration resource:rock_music } UNION { ?y property:route_of_administration resource:rock_music } UNION { ?z property:route_of_administration resource:skin_absorption } UNION { ?y property:route_of_administration resource:skin_absorption } } . ?z rdf:type ontology:drug_overdose . ?y rdf:type ontology:disease }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P425
Q28797 Q3769299 Q151885
USER
How many concepts have atmost 1 applied sciences or human behaviours as thier field of occupation ?
(c(Q151885),P425,c(Q28797)|c(Q3769299))
action count
action atmost
action union
action find_tuple_counts
relation P425
type Q151885
type Q28797
action find_tuple_counts
relation P425
type Q151885
type Q3769299
value 1
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q28797'}, {'concept': 'Q3769299'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?m WHERE { { ?m property:P425 ?b . ?m rdf:type ontology:Q151885 . ?b rdf:type ontology:Q28797 } UNION { ?m property:P425 ?b . ?m rdf:type ontology:Q151885 . ?b rdf:type ontology:Q3769299 } } GROUP BY ?m } . FILTER ( ?h <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation field of this occupation
type concept
type applied science
action find_tuple_counts
relation field of this occupation
type concept
type human behaviour
value 1
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'applied science'}, {'concept': 'human behaviour'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?m WHERE { { ?m property:field_of_this_occupation ?b . ?m rdf:type ontology:concept . ?b rdf:type ontology:applied_science } UNION { ?m property:field_of_this_occupation ?b . ?m rdf:type ontology:concept . ?b rdf:type ontology:human_behaviour } } GROUP BY ?m } . FILTER ( ?h <= 1 ) }
[]
applied science human behaviour concept
SYSTEM
168
Q15978337 Q12020057 Q19509201 Q275186 Q22962951 Q775318 Q21625815 Q389565 Q21694268 Q4621445 Q19890761 Q11690405 Q15472169 Q24698392 Q15077007 Q214917 Q15980704 Q20725072 Q5501373 Q10732476 Q15627169 Q14948222 Q24262584 Q1939892 Q20726620 Q4353426 Q20971451 Q181043 Q9394993 Q10370560 Q3303297 Q15962734 Q2467532 Q12039558 Q17351861 Q13382576 Q16003550 Q2159907 Q1476215 Q24259627 Q20708269 Q17010072 Q12773225 Q24293741 Q18510179 Q18515558 Q12961474 Q5027838 Q19890746 Q18510172 Q18617002 Q22336956 Q779458 Q23770547 Q21263917 Q12004621 Q21084228 Q21694753 Q12797895 Q14616728 Q304787 Q18667447 Q1125062 Q13464374 Q3595924 Q18702210 Q2066131 Q16830344 Q27431227 Q18810049 Q16323111 Q15954665 Q1414937 Q4854747 Q2873500 Q4330518 Q11513337 Q26270618 Q10871364 Q13381376 Q26248338 Q1201898 Q16278103 Q27532776 Q16240266 Q13381863 Q1021386 Q193432 Q20740414 Q1636680 Q20650523 Q11499147 Q26102 Q1409420 Q21578283 Q5307556 Q21121588 Q2500638 Q855091 Q860918 Q23770318 Q17176618 Q3578589 Q890103 Q455011 Q4197743 Q15966439 Q7535502 Q3562775 Q16003594 Q20747150 Q20965770 Q19509237 Q13382749 Q20650518 Q16004471 Q23375738 Q1251441 Q18120029 Q15982795 Q18814798 Q1413522 Q19801627 Q15020911 Q15986555 Q1714828 Q22082717 Q26219487 Q15709642 Q3242115 Q3738757 Q1934684 Q17769800 Q12761281 Q2901587 Q22810659 Q322170 Q13472585 Q21286455 Q27431213 Q23761019 Q10729326 Q1344452 Q16755977 Q5276395 Q3014296 Q27158601 Q21081635 Q273283 Q12216234 Q1184268 Q455595 Q23663603 Q4964182 Q23038345 Q4887411 Q15095148 Q27247215 Q12327806 Q10866633 Q931260 Q15253558 Q20706626 Q637304 Q12912932 Q10843402 Q18664049 Q15883433
(c(Q151885),P425,c(Q28797)|c(Q3769299))
action count
action atmost
action union
action find_tuple_counts
relation P425
type Q151885
type Q28797
action find_tuple_counts
relation P425
type Q151885
type Q3769299
value 1
[ANSWER]
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q28797'}, {'concept': 'Q3769299'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?m WHERE { { ?m property:P425 ?b . ?m rdf:type ontology:Q151885 . ?b rdf:type ontology:Q28797 } UNION { ?m property:P425 ?b . ?m rdf:type ontology:Q151885 . ?b rdf:type ontology:Q3769299 } } GROUP BY ?m } . FILTER ( ?h <= 1 ) }
social critic homeopath LGBT rights activist gang rapist internaut melomaniac ticket controller amateur photographer vigilante artivist hooligan patron of the arts antiimperialist podcaster playwright matchmaker torturer freight conductor art collector trade unionist con artist bible translator Amateur radio operator knife thrower money mule radiesthesist dissident ice skater sertanista ironmaster mutineer exorcist Go player Gaelic football player rower pacifist criminal human rights activist motorcycle trials rider scrabble player militant slave anarcho-syndicalist abolitionist futsal player anarchist campaign manager Internet activist women's rights activist dollmaker humanitarian ascetic Serologist medical student fortune-teller money counterfeiter semiologist occultist runner dowsing pesäpallo player rebel tug of war competitor Qāriʾ bandy player sportsperson feminist figure of scandal cosplayer peace activist antisemit combatant bandurist adventurer research subject athletics competitor rowing person baseball player weightlifter dutarist Shahidka squash player rowing umpire pickpocket fencer civil rights advocate fan base jumper Renaissance humanist brigand political activist whistleblower feudatory rowing official drill instructor rowing coach creator guitarist Esperantist Otologist smuggler environmentalist mule Shill player war criminal Skinner thief socialist guerrilla winter sports practitioner animal rights advocate polar explorer bank robber kayaker crocheter leader bibliophile bodybuilder wheelchair tennis player impostor ski mountaineer amateur astronomer chess organiser hunter eugenicist cross country runner snowboarder revolutionary counterfeiter housewife slave trader fence yogi nightclub owner suffragette philanthropist critic of religions cookery writer intern pirate discoverer racial theorist gamer motorcycle racer weaver ocean rower beggar Water-seller delinquent amateur acupuncturist philosopher Wikipedian benefactor graffiti artist confidence trickster motocross rider speed skater murderer activist arms trafficker Pickup artist mufassir swimmer ski-orienteer mass murderer
168
action count
action atmost
action union
action find_tuple_counts
relation field of this occupation
type concept
type applied science
action find_tuple_counts
relation field of this occupation
type concept
type human behaviour
value 1
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'applied science'}, {'concept': 'human behaviour'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) ?m WHERE { { ?m property:field_of_this_occupation ?b . ?m rdf:type ontology:concept . ?b rdf:type ontology:applied_science } UNION { ?m property:field_of_this_occupation ?b . ?m rdf:type ontology:concept . ?b rdf:type ontology:human_behaviour } } GROUP BY ?m } . FILTER ( ?h <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3545199
P735
Q82799
USER
What is the firstname of Kaho Minami ?
(Q3545199,P735,c(Q82799))
action filter_type
action find
entity Q3545199
relation P735
type Q82799
['Q3545199', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q3545199 property:P735 ?i . ?i rdf:type ontology:Q82799 }
Kaho Minami
action filter_type
action find
entity Kaho Minami
relation given name
type name
['Kaho Minami', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Kaho_Minami property:given_name ?i . ?i rdf:type ontology:name }
[]
name
Q14624992
SYSTEM
Kaho
Q14624992
(Q3545199,P735,c(Q82799))
action filter_type
action find
entity Q3545199
relation P735
type Q82799
The firstname of [ANSWER] Minami is of [ANSWER]
['Q3545199', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q3545199 property:P735 ?i . ?i rdf:type ontology:Q82799 }
Kaho
The firstname of Kaho Minami is of Kaho
Kaho
action filter_type
action find
entity Kaho Minami
relation given name
type name
['Kaho Minami', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Kaho_Minami property:given_name ?i . ?i rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1143660
P26
Q502895
USER
How many people are married to Hitonari Tsuji ?
(c(Q502895),P26,Q1143660)
action count
action filter_type
action find_reverse
entity Q1143660
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1143660']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P26 resource:Q1143660 . ?s rdf:type ontology:Q502895 }
Hitonari Tsuji
action count
action filter_type
action find_reverse
entity Hitonari Tsuji
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hitonari Tsuji']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:spouse resource:Hitonari_Tsuji . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q1318594 Q3545199
(c(Q502895),P26,Q1143660)
action count
action filter_type
action find_reverse
entity Q1143660
relation P26
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q1143660']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:P26 resource:Q1143660 . ?s rdf:type ontology:Q502895 }
Miho Nakayama Kaho Minami
2
action count
action filter_type
action find_reverse
entity Hitonari Tsuji
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hitonari Tsuji']
SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { ?s property:spouse resource:Hitonari_Tsuji . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1143660
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
action filter_type
action find
entity Q1143660
relation P106
type Q12737077
SELECT DISTINCT ?f WHERE { resource:Q1143660 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Hitonari Tsuji
action filter_type
action find
entity Hitonari Tsuji
relation occupation
type occupation
SELECT DISTINCT ?f WHERE { resource:Hitonari_Tsuji property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q822146 Q36834 Q6625963
SYSTEM
lyricist, composer, novelist
Q2705098 Q488205 Q6625963 Q177220 Q639669 Q36180 Q49757 Q943995 Q822146 Q36834
action filter_type
action find
entity Q1143660
relation P106
type Q12737077
The [ANSWERS] have that person as his/her 's career
SELECT DISTINCT ?f WHERE { resource:Q1143660 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
tarento singer-songwriter novelist singer musician writer poet impresario lyricist composer
The lyricist, composer and novelist have that person as his/her 's career
lyricist composer novelist
action filter_type
action find
entity Hitonari Tsuji
relation occupation
type occupation
SELECT DISTINCT ?f WHERE { resource:Hitonari_Tsuji property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3545199
P734
Q82799
USER
Who has the surname Kaho Minami ?
(Q3545199,P734,c(Q82799))
action filter_type
action find
entity Q3545199
relation P734
type Q82799
['Q3545199', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q3545199 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Kaho Minami
action filter_type
action find
entity Kaho Minami
relation family name
type name
['Kaho Minami', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Kaho_Minami property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q24090532
SYSTEM
Minami
Q24090532
(Q3545199,P734,c(Q82799))
action filter_type
action find
entity Q3545199
relation P734
type Q82799
[ANSWER] has the surname Kaho [ANSWER]
['Q3545199', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q3545199 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Minami
Minami has the surname Kaho Minami
Minami
action filter_type
action find
entity Kaho Minami
relation family name
type name
['Kaho Minami', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Kaho_Minami property:family_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3545199
P161
Q838948
USER
What are the name of works of art staring that person ?
(c(Q838948),P161,Q24090532)
action filter_type
action find_reverse
entity Q3545199
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q24090532']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q838948 . ?f property:P161 resource:Q3545199 }
Kaho Minami
action filter_type
action find_reverse
entity Kaho Minami
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Minami']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:work_of_art . ?f property:cast_member resource:Kaho_Minami }
[]
work of art
Q1533961 Q2754817 Q5352806
SYSTEM
Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack, The Great Yokai War, Hankyū Densha
Q7376319 Q11262515 Q7746359 Q5352806 Q11281746 Q7534750 Q6005277 Q5915809 Q18126439 Q7813788 Q1533961 Q2754817
(c(Q838948),P161,Q24090532)
action filter_type
action find_reverse
entity Q3545199
relation P161
type Q838948
The name of works of art staring that person are [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q24090532']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q838948 . ?f property:P161 resource:Q3545199 }
Ruby Fruit The Geisha House The Laughing Frog Hankyū Densha Chronicle of My Mother Sketches of Kaitan City Immoral Affairs Household X Kabukicho Love Hotel Tokyo: The Last War Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack The Great Yokai War
The name of works of art staring that person are Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack, The Great Yokai War and Hankyū Densha
Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack The Great Yokai War Hankyū Densha
action filter_type
action find_reverse
entity Kaho Minami
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Minami']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:work_of_art . ?f property:cast_member resource:Kaho_Minami }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1533961 Q2754817 Q5352806
P161
Q502895
USER
Who were casted in Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack, The Great Yokai War and Hankyū Densha ?
(Q1533961,P161,c(Q502895)) (Q2754817,P161,c(Q502895)) (Q5352806,P161,c(Q502895))
action union
action filter_type
action find
entity Q1533961
relation P161
type Q502895
action filter_type
action find
entity Q2754817
relation P161
type Q502895
action filter_type
action find
entity Q5352806
relation P161
type Q502895
['Q1533961', 'P161', {'concept': 'Q502895'}] ['Q2754817', 'P161', {'concept': 'Q502895'}] ['Q5352806', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?n property:P161 ?h . VALUES ( ?n ) { ( resource:Q1533961 ) ( resource:Q2754817 ) } }
Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack The Great Yokai War Hankyū Densha
action union
action filter_type
action find
entity Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack
relation cast member
type common name
action filter_type
action find
entity The Great Yokai War
relation cast member
type common name
action filter_type
action find
entity Hankyū Densha
relation cast member
type common name
['Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack', 'cast member', {'concept': 'common name'}] ['The Great Yokai War', 'cast member', {'concept': 'common name'}] ['Hankyū Densha', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?n property:cast_member ?h . VALUES ( ?n ) { ( resource:Godzilla,_Mothra_and_King_Ghidorah:_Giant_Monsters_All-Out_Attack ) ( resource:The_Great_Yokai_War ) } }
[]
common name
Q3098359 Q852322 Q1154179
SYSTEM
Masahiko Tsugawa, Ryudo Uzaki, Naoto Takenaka
Q3098359 Q938317 Q3276150 Q3547262 Q3545199 Q333194 Q3959632 Q4207975 Q3548303 Q11522975 Q6141871 Q4701171 Q1036275 Q852322 Q3131365 Q3545180 Q1041744 Q1154179 Q1067530 Q3545199 Q1041546 Q31768 Q1154140 Q1148827 Q3045594 Q11638839 Q1139492 Q234094 Q1139734 Q1317219 Q1040991 Q5966080 Q1191674 Q3545199 Q1154775 Q871576 Q1321889 Q1135649 Q940596 Q542510
(Q1533961,P161,c(Q502895)) (Q2754817,P161,c(Q502895)) (Q5352806,P161,c(Q502895))
action union
action filter_type
action find
entity Q1533961
relation P161
type Q502895
action filter_type
action find
entity Q2754817
relation P161
type Q502895
action filter_type
action find
entity Q5352806
relation P161
type Q502895
[ANSWERS] were casted in Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack, The Great Yokai War and Hankyū Densha
['Q1533961', 'P161', {'concept': 'Q502895'}] ['Q2754817', 'P161', {'concept': 'Q502895'}] ['Q5352806', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?n property:P161 ?h . VALUES ( ?n ) { ( resource:Q1533961 ) ( resource:Q2754817 ) } }
Masahiko Tsugawa Hideyo Amamoto Chiharu Niiyama Hiroyuki Watanabe Kaho Minami Kōichi Yamadera Shirō Sano Katsuo Nakamura Masahiro Kobayashi Kunio Murai Mizuho Yoshida Akira Ohashi Ryō Kase Ryudo Uzaki Tomoe Shinohara Mai Takahashi Kiyoshiro Imawano Naoto Takenaka Kenichi Endō Kaho Minami Ryūnosuke Kamiki Sadao Abe Hiroyuki Miyasako Riko Narumi Takashi Okamura Masaomi Kondō Bunta Sugawara Chiaki Kuriyama Etsushi Toyokawa Suzuka Morita Saki Aibu Ryo Katsuji Miki Nakatani Kaho Minami Erika Toda Kasumi Arimura Tetsuji Tamayama Mana Ashida Mitsuki Tanimura Nobuko Miyamoto
Masahiko Tsugawa, Ryudo Uzaki and Naoto Takenaka were casted in Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack, The Great Yokai War and Hankyū Densha
Masahiko Tsugawa Ryudo Uzaki Naoto Takenaka
action union
action filter_type
action find
entity Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack
relation cast member
type common name
action filter_type
action find
entity The Great Yokai War
relation cast member
type common name
action filter_type
action find
entity Hankyū Densha
relation cast member
type common name
['Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack', 'cast member', {'concept': 'common name'}] ['The Great Yokai War', 'cast member', {'concept': 'common name'}] ['Hankyū Densha', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?n property:cast_member ?h . VALUES ( ?n ) { ( resource:Godzilla,_Mothra_and_King_Ghidorah:_Giant_Monsters_All-Out_Attack ) ( resource:The_Great_Yokai_War ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1533961
P921
Q16521
USER
What was the main subject in the work Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack ?
(Q1533961,P921,c(Q16521))
action filter_type
action find
entity Q1533961
relation P921
type Q16521
['Q1533961', 'P921', {'concept': 'Q16521'}]
SELECT DISTINCT ?u WHERE { resource:Q1533961 property:P921 ?u . ?u rdf:type ontology:Q16521 }
Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack
action filter_type
action find
entity Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack
relation main subject
type taxon
['Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack', 'main subject', {'concept': 'taxon'}]
SELECT DISTINCT ?u WHERE { resource:Godzilla,_Mothra_and_King_Ghidorah:_Giant_Monsters_All-Out_Attack property:main_subject ?u . ?u rdf:type ontology:taxon }
[]
taxon
Q430
SYSTEM
dinosaur
Q430
(Q1533961,P921,c(Q16521))
action filter_type
action find
entity Q1533961
relation P921
type Q16521
The main subject in the work Godzilla , Mothra and King Ghidorah : Giant Monsters All-Out Attack was a [ANSWER]
['Q1533961', 'P921', {'concept': 'Q16521'}]
SELECT DISTINCT ?u WHERE { resource:Q1533961 property:P921 ?u . ?u rdf:type ontology:Q16521 }
dinosaur
The main subject in the work Godzilla , Mothra and King Ghidorah : Giant Monsters All-Out Attack was a dinosaur
dinosaur
action filter_type
action find
entity Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack
relation main subject
type taxon
['Godzilla, Mothra and King Ghidorah: Giant Monsters All-Out Attack', 'main subject', {'concept': 'taxon'}]
SELECT DISTINCT ?u WHERE { resource:Godzilla,_Mothra_and_King_Ghidorah:_Giant_Monsters_All-Out_Attack property:main_subject ?u . ?u rdf:type ontology:taxon }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q568483 Q3545199
P27
Q15617994
USER
Which administrative territories are the native countriesof Kaho Minami or Jan de Vries ?
OR((Q3545199,P27,c(Q15617994)), (Q568483,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3545199
relation P27
action find
entity Q568483
relation P27
type Q15617994
{'OR': [['Q3545199', 'P27', {'concept': 'Q15617994'}], ['Q568483', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q3545199 property:P27 ?v } UNION { resource:Q568483 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Jan de Vries Kaho Minami
action filter_type
action union
action find
entity Kaho Minami
relation country of citizenship
action find
entity Jan de Vries
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kaho Minami', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jan de Vries', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Kaho_Minami property:country_of_citizenship ?v } UNION { resource:Jan_de_Vries property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q29999
SYSTEM
Japan, Kingdom of the Netherlands
Q17 Q29999
OR((Q3545199,P27,c(Q15617994)), (Q568483,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3545199
relation P27
action find
entity Q568483
relation P27
type Q15617994
[ANSWERS] are the native countriesof Kaho Minami or Jan de Vries
{'OR': [['Q3545199', 'P27', {'concept': 'Q15617994'}], ['Q568483', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q3545199 property:P27 ?v } UNION { resource:Q568483 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Japan Kingdom of the Netherlands
Japan and Kingdom of the Netherlands are the native countriesof Kaho Minami or Jan de Vries
Japan Kingdom of the Netherlands
action filter_type
action union
action find
entity Kaho Minami
relation country of citizenship
action find
entity Jan de Vries
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kaho Minami', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jan de Vries', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Kaho_Minami property:country_of_citizenship ?v } UNION { resource:Jan_de_Vries property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]