Simple Question (Direct)
Simple Question
Q5933862
P106
Q151885
USER
What is the profession of Hugo Chila ?
(Q5933862,P106,c(Q151885))
action filter_type
action find
entity Q5933862
relation P106
type Q151885
['Q5933862', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { resource:Q5933862 property:P106 ?o . ?o rdf:type ontology:Q151885 }
Hugo Chila
action filter_type
action find
entity Hugo Chila
relation occupation
type concept
['Hugo Chila', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { resource:Hugo_Chila property:occupation ?o . ?o rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q5933862,P106,c(Q151885))
action filter_type
action find
entity Q5933862
relation P106
type Q151885
The profession of Hugo Chila is an [ANSWER]
['Q5933862', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { resource:Q5933862 property:P106 ?o . ?o rdf:type ontology:Q151885 }
athletics competitor
The profession of Hugo Chila is an athletics competitor
athletics competitor
action filter_type
action find
entity Hugo Chila
relation occupation
type concept
['Hugo Chila', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { resource:Hugo_Chila property:occupation ?o . ?o rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11513337
P425
Q31629
USER
Which type of sport has that concept as the associated field of occupation ?
(Q11513337,P425,c(Q31629))
action filter_type
action find
entity Q11513337
relation P425
type Q31629
['Q11513337', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { resource:Q11513337 property:P425 ?z . ?z rdf:type ontology:Q31629 }
athletics competitor
action filter_type
action find
entity athletics competitor
relation field of this occupation
type type of sport
['athletics competitor', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { resource:athletics_competitor property:field_of_this_occupation ?z . ?z rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q11513337,P425,c(Q31629))
action filter_type
action find
entity Q11513337
relation P425
type Q31629
[ANSWER] has that concept as the associated field of occupation
['Q11513337', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?z WHERE { resource:Q11513337 property:P425 ?z . ?z rdf:type ontology:Q31629 }
athletics
Athletics has that concept as the associated field of occupation
athletics
action filter_type
action find
entity athletics competitor
relation field of this occupation
type type of sport
['athletics competitor', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?z WHERE { resource:athletics_competitor property:field_of_this_occupation ?z . ?z rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5933862
P2416
Q349
USER
Which sport was Hugo Chila a contestant of ?
(Q5933862,P2416,c(Q349))
action filter_type
action find
entity Q5933862
relation P2416
type Q349
['Q5933862', 'P2416', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q5933862 property:P2416 ?h }
Hugo Chila
action filter_type
action find
entity Hugo Chila
relation sports discipline competed in
type sport
['Hugo Chila', 'sports discipline competed in', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:Hugo_Chila property:sports_discipline_competed_in ?h }
[]
sport
Q170737
SYSTEM
long jump
Q170737
(Q5933862,P2416,c(Q349))
action filter_type
action find
entity Q5933862
relation P2416
type Q349
Hugo Chila was a [ANSWER]
['Q5933862', 'P2416', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q349 . resource:Q5933862 property:P2416 ?h }
long jump
Hugo Chila was a long jump
long jump
action filter_type
action find
entity Hugo Chila
relation sports discipline competed in
type sport
['Hugo Chila', 'sports discipline competed in', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sport . resource:Hugo_Chila property:sports_discipline_competed_in ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5933862
P641
Q31629
USER
What was the type of sport that Hugo Chila was a part of ?
(Q5933862,P641,c(Q31629))
action filter_type
action find
entity Q5933862
relation P641
type Q31629
['Q5933862', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { resource:Q5933862 property:P641 ?f . ?f rdf:type ontology:Q31629 }
Hugo Chila
action filter_type
action find
entity Hugo Chila
relation sport
type type of sport
['Hugo Chila', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { resource:Hugo_Chila property:sport ?f . ?f rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q5933862,P641,c(Q31629))
action filter_type
action find
entity Q5933862
relation P641
type Q31629
The type of sport that Hugo Chila was a part of was h [ANSWER]
['Q5933862', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { resource:Q5933862 property:P641 ?f . ?f rdf:type ontology:Q31629 }
athletics
The type of sport that Hugo Chila was a part of was h athletics
athletics
action filter_type
action find
entity Hugo Chila
relation sport
type type of sport
['Hugo Chila', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { resource:Hugo_Chila property:sport ?f . ?f rdf:type ontology:type_of_sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5933862
P21
Q290
USER
Which sex does Hugo Chila have ?
(Q5933862,P21,c(Q290))
action filter_type
action find
entity Q5933862
relation P21
type Q290
['Q5933862', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5933862 property:P21 ?i . ?i rdf:type ontology:Q290 }
Hugo Chila
action filter_type
action find
entity Hugo Chila
relation gender
type sex
['Hugo Chila', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Hugo_Chila property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5933862,P21,c(Q290))
action filter_type
action find
entity Q5933862
relation P21
type Q290
Hugo Chila has a [ANSWER]
['Q5933862', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q5933862 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Hugo Chila has a male
male
action filter_type
action find
entity Hugo Chila
relation gender
type sex
['Hugo Chila', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Hugo_Chila property:gender ?i . ?i rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q20747150
P425
Q336 Q7748 Q151885
USER
Which concepts have approximately the same number of sciences and laws as thier field of occupation as guerrilla ?
(c(Q151885),P425,c(Q336)|c(Q7748))
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q336
action find_tuple_counts
relation P425
type Q151885
type Q7748
action count
action filter_multi_types
action find
entity Q20747150
relation P425
type Q336
type Q7748
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q336'}, {'concept': 'Q7748'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?l WHERE { { ?l property:P425 ?n . ?n rdf:type ontology:Q336 . ?l rdf:type ontology:Q151885 } UNION { ?l property:P425 ?n . ?l rdf:type ontology:Q151885 . ?n rdf:type ontology:Q7748 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q20747150 property:P425 ?f . { { ?f rdf:type ontology:Q7748 } UNION { ?f rdf:type ontology:Q336 } } } } . FILTER ( ?w = ?q ) }
guerrilla
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type science
action find_tuple_counts
relation field of this occupation
type concept
type law
action count
action filter_multi_types
action find
entity guerrilla
relation field of this occupation
type science
type law
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'science'}, {'concept': 'law'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?l WHERE { { ?l property:field_of_this_occupation ?n . ?n rdf:type ontology:science . ?l rdf:type ontology:concept } UNION { ?l property:field_of_this_occupation ?n . ?l rdf:type ontology:concept . ?n rdf:type ontology:law } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:guerrilla property:field_of_this_occupation ?f . { { ?f rdf:type ontology:law } UNION { ?f rdf:type ontology:science } } } } . FILTER ( ?w = ?q ) }
[]
science law concept
Q1934684 Q4964182 Q23038345
SYSTEM
housewife, philosopher, Wikipedian
Q15978337 Q12020057 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 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 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(Q336)|c(Q7748))
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q336
action find_tuple_counts
relation P425
type Q151885
type Q7748
action count
action filter_multi_types
action find
entity Q20747150
relation P425
type Q336
type Q7748
[ANSWERS] have approximately the same number of sciences and laws as thier field of occupation as guerrilla
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q336'}, {'concept': 'Q7748'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?l WHERE { { ?l property:P425 ?n . ?n rdf:type ontology:Q336 . ?l rdf:type ontology:Q151885 } UNION { ?l property:P425 ?n . ?l rdf:type ontology:Q151885 . ?n rdf:type ontology:Q7748 } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:Q20747150 property:P425 ?f . { { ?f rdf:type ontology:Q7748 } UNION { ?f rdf:type ontology:Q336 } } } } . FILTER ( ?w = ?q ) }
social critic homeopath 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 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 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
Housewife, philosopher and Wikipedian have approximately the same number of sciences and laws as thier field of occupation as guerrilla
housewife philosopher Wikipedian
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type science
action find_tuple_counts
relation field of this occupation
type concept
type law
action count
action filter_multi_types
action find
entity guerrilla
relation field of this occupation
type science
type law
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'science'}, {'concept': 'law'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) ?l WHERE { { ?l property:field_of_this_occupation ?n . ?n rdf:type ontology:science . ?l rdf:type ontology:concept } UNION { ?l property:field_of_this_occupation ?n . ?l rdf:type ontology:concept . ?n rdf:type ontology:law } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) WHERE { resource:guerrilla property:field_of_this_occupation ?f . { { ?f rdf:type ontology:law } UNION { ?f rdf:type ontology:science } } } } . FILTER ( ?w = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q21578283
P425
Q336 Q7748 Q151885
USER
And what about rowing official?
(c(Q151885),P425,c(Q336)|c(Q7748))
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q336
action find_tuple_counts
relation P425
type Q151885
type Q7748
action count
action filter_multi_types
action find
entity Q21578283
relation P425
type Q336
type Q7748
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q336'}, {'concept': 'Q7748'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?i ) WHERE { { ?w property:P425 ?u . ?w rdf:type ontology:Q151885 . ?u rdf:type ontology:Q336 } UNION { ?w property:P425 ?u . ?w rdf:type ontology:Q151885 . ?u rdf:type ontology:Q7748 } } GROUP BY ?w } . FILTER ( ?i = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q21578283 property:P425 ?f . { { ?f rdf:type ontology:Q7748 } UNION { ?f rdf:type ontology:Q336 } } } } }
rowing official
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type science
action find_tuple_counts
relation field of this occupation
type concept
type law
action count
action filter_multi_types
action find
entity rowing official
relation field of this occupation
type science
type law
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'science'}, {'concept': 'law'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?i ) WHERE { { ?w property:field_of_this_occupation ?u . ?w rdf:type ontology:concept . ?u rdf:type ontology:science } UNION { ?w property:field_of_this_occupation ?u . ?w rdf:type ontology:concept . ?u rdf:type ontology:law } } GROUP BY ?w } . FILTER ( ?i = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:rowing_official property:field_of_this_occupation ?f . { { ?f rdf:type ontology:law } UNION { ?f rdf:type ontology:science } } } } }
[]
science law concept
Q1934684 Q4964182 Q23038345
SYSTEM
housewife, philosopher, Wikipedian
Q15978337 Q12020057 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 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 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(Q336)|c(Q7748))
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q336
action find_tuple_counts
relation P425
type Q151885
type Q7748
action count
action filter_multi_types
action find
entity Q21578283
relation P425
type Q336
type Q7748
[ANSWERS]
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q336'}, {'concept': 'Q7748'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?i ) WHERE { { ?w property:P425 ?u . ?w rdf:type ontology:Q151885 . ?u rdf:type ontology:Q336 } UNION { ?w property:P425 ?u . ?w rdf:type ontology:Q151885 . ?u rdf:type ontology:Q7748 } } GROUP BY ?w } . FILTER ( ?i = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:Q21578283 property:P425 ?f . { { ?f rdf:type ontology:Q7748 } UNION { ?f rdf:type ontology:Q336 } } } } }
social critic homeopath 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 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 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
housewife philosopher Wikipedian
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type science
action find_tuple_counts
relation field of this occupation
type concept
type law
action count
action filter_multi_types
action find
entity rowing official
relation field of this occupation
type science
type law
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'science'}, {'concept': 'law'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?u ) AS ?i ) WHERE { { ?w property:field_of_this_occupation ?u . ?w rdf:type ontology:concept . ?u rdf:type ontology:science } UNION { ?w property:field_of_this_occupation ?u . ?w rdf:type ontology:concept . ?u rdf:type ontology:law } } GROUP BY ?w } . FILTER ( ?i = ?v ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?v ) WHERE { resource:rowing_official property:field_of_this_occupation ?f . { { ?f rdf:type ontology:law } UNION { ?f rdf:type ontology:science } } } } }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q21578283
Q31629
USER
And which type of sport?
(Q21578283,P425,c(Q31629))
action filter_type
action find
entity Q21578283
relation P425
type Q31629
['Q21578283', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { resource:Q21578283 property:P425 ?f . ?f rdf:type ontology:Q31629 }
rowing official
action filter_type
action find
entity rowing official
relation field of this occupation
type type of sport
['rowing official', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { resource:rowing_official property:field_of_this_occupation ?f . ?f rdf:type ontology:type_of_sport }
[]
type of sport
Q159354
SYSTEM
rowing
Q159354
(Q21578283,P425,c(Q31629))
action filter_type
action find
entity Q21578283
relation P425
type Q31629
[ANSWER]
['Q21578283', 'P425', {'concept': 'Q31629'}]
SELECT DISTINCT ?f WHERE { resource:Q21578283 property:P425 ?f . ?f rdf:type ontology:Q31629 }
rowing
rowing
action filter_type
action find
entity rowing official
relation field of this occupation
type type of sport
['rowing official', 'field of this occupation', {'concept': 'type of sport'}]
SELECT DISTINCT ?f WHERE { resource:rowing_official property:field_of_this_occupation ?f . ?f rdf:type ontology:type_of_sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q271669 Q1048835 Q151885
USER
Which concepts are located in around 1 landforms and political territories ?
(c(Q151885),P706,c(Q271669)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P706
type Q151885
type Q271669
action find_tuple_counts
relation P706
type Q151885
type Q1048835
value 1
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?p WHERE { { ?p property:P706 ?w . ?w rdf:type ontology:Q271669 . ?p rdf:type ontology:Q151885 } UNION { ?p property:P706 ?w . ?w rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q151885 } } GROUP BY ?p } . FILTER ( ?d = 1 ) }
action approx
action union
action find_tuple_counts
relation located on terrain feature
type concept
type landform
action find_tuple_counts
relation located on terrain feature
type concept
type political territorial entity
value 1
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?p WHERE { { ?p property:located_on_terrain_feature ?w . ?w rdf:type ontology:landform . ?p rdf:type ontology:concept } UNION { ?p property:located_on_terrain_feature ?w . ?w rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:concept } } GROUP BY ?p } . FILTER ( ?d = 1 ) }
[]
landform political territorial entity concept
Q611017 Q1090851 Q1241067
SYSTEM
Lusatian culture, Châtelperronian, Old Europe
Q13409799 Q1049966 Q2624476 Q1090851 Q134178 Q1362485 Q2666408 Q1241067 Q611017
(c(Q151885),P706,c(Q271669)|c(Q1048835))
action approx
action union
action find_tuple_counts
relation P706
type Q151885
type Q271669
action find_tuple_counts
relation P706
type Q151885
type Q1048835
value 1
[ANSWERS] are located in around 1 landforms and political territories
[{'concept': 'Q151885'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?p WHERE { { ?p property:P706 ?w . ?w rdf:type ontology:Q271669 . ?p rdf:type ontology:Q151885 } UNION { ?p property:P706 ?w . ?w rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q151885 } } GROUP BY ?p } . FILTER ( ?d = 1 ) }
Argaric culture Castro culture Marajoara culture Châtelperronian Minoan civilization Ertebølle culture Asturian culture Old Europe Lusatian culture
Lusatian culture, Châtelperronian and Old Europe are located in around 1 landforms and political territories
Lusatian culture Châtelperronian Old Europe
action approx
action union
action find_tuple_counts
relation located on terrain feature
type concept
type landform
action find_tuple_counts
relation located on terrain feature
type concept
type political territorial entity
value 1
[{'concept': 'concept'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) ?p WHERE { { ?p property:located_on_terrain_feature ?w . ?w rdf:type ontology:landform . ?p rdf:type ontology:concept } UNION { ?p property:located_on_terrain_feature ?w . ?w rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:concept } } GROUP BY ?p } . FILTER ( ?d = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q611017 Q1090851 Q1241067
P361
Q1790144
USER
Which units of time are Lusatian culture, Châtelperronian and Old Europe a portion of ?
(Q611017,P361,c(Q1790144)) (Q1090851,P361,c(Q1790144)) (Q1241067,P361,c(Q1790144))
action union
action filter_type
action find
entity Q611017
relation P361
type Q1790144
action filter_type
action find
entity Q1090851
relation P361
type Q1790144
action filter_type
action find
entity Q1241067
relation P361
type Q1790144
['Q611017', 'P361', {'concept': 'Q1790144'}] ['Q1090851', 'P361', {'concept': 'Q1790144'}] ['Q1241067', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ?l WHERE { { resource:Q611017 property:P361 ?l . ?l rdf:type ontology:Q1790144 } UNION { resource:Q1090851 property:P361 ?l . ?l rdf:type ontology:Q1790144 } }
Lusatian culture Châtelperronian Old Europe
action union
action filter_type
action find
entity Lusatian culture
relation part of
type unit of time
action filter_type
action find
entity Châtelperronian
relation part of
type unit of time
action filter_type
action find
entity Old Europe
relation part of
type unit of time
['Lusatian culture', 'part of', {'concept': 'unit of time'}] ['Châtelperronian', 'part of', {'concept': 'unit of time'}] ['Old Europe', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ?l WHERE { { resource:Lusatian_culture property:part_of ?l . ?l rdf:type ontology:unit_of_time } UNION { resource:Châtelperronian property:part_of ?l . ?l rdf:type ontology:unit_of_time } }
[]
unit of time
Q479505 Q11764 Q626270
SYSTEM
Upper Paleolithic, Iron Age, Middle Paleolithic
Q11764 Q479505 Q626270 Q130253
(Q611017,P361,c(Q1790144)) (Q1090851,P361,c(Q1790144)) (Q1241067,P361,c(Q1790144))
action union
action filter_type
action find
entity Q611017
relation P361
type Q1790144
action filter_type
action find
entity Q1090851
relation P361
type Q1790144
action filter_type
action find
entity Q1241067
relation P361
type Q1790144
[ANSWERS] are Lusatian culture, Châtelperronian and Old Europe a portion of
['Q611017', 'P361', {'concept': 'Q1790144'}] ['Q1090851', 'P361', {'concept': 'Q1790144'}] ['Q1241067', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ?l WHERE { { resource:Q611017 property:P361 ?l . ?l rdf:type ontology:Q1790144 } UNION { resource:Q1090851 property:P361 ?l . ?l rdf:type ontology:Q1790144 } }
Iron Age Upper Paleolithic Middle Paleolithic Chalcolithic
Upper Paleolithic, Iron Age and Middle Paleolithic are Lusatian culture, Châtelperronian and Old Europe a portion of
Upper Paleolithic Iron Age Middle Paleolithic
action union
action filter_type
action find
entity Lusatian culture
relation part of
type unit of time
action filter_type
action find
entity Châtelperronian
relation part of
type unit of time
action filter_type
action find
entity Old Europe
relation part of
type unit of time
['Lusatian culture', 'part of', {'concept': 'unit of time'}] ['Châtelperronian', 'part of', {'concept': 'unit of time'}] ['Old Europe', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ?l WHERE { { resource:Lusatian_culture property:part_of ?l . ?l rdf:type ontology:unit_of_time } UNION { resource:Châtelperronian property:part_of ?l . ?l rdf:type ontology:unit_of_time } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11764
P138
Q10675206
USER
Which ingredient is namesake of Iron Age ?
(Q11764,P138,c(Q10675206))
action filter_type
action find
entity Q11764
relation P138
type Q10675206
['Q11764', 'P138', {'concept': 'Q10675206'}]
SELECT DISTINCT ?j WHERE { resource:Q11764 property:P138 ?j . ?j rdf:type ontology:Q10675206 }
Iron Age
action filter_type
action find
entity Iron Age
relation named after
type ingredient
['Iron Age', 'named after', {'concept': 'ingredient'}]
SELECT DISTINCT ?j WHERE { resource:Iron_Age property:named_after ?j . ?j rdf:type ontology:ingredient }
[]
ingredient
Q677
SYSTEM
Iron
Q677
(Q11764,P138,c(Q10675206))
action filter_type
action find
entity Q11764
relation P138
type Q10675206
[ANSWER] is namesake of [ANSWER] Age
['Q11764', 'P138', {'concept': 'Q10675206'}]
SELECT DISTINCT ?j WHERE { resource:Q11764 property:P138 ?j . ?j rdf:type ontology:Q10675206 }
Iron
Iron is namesake of Iron Age
Iron
action filter_type
action find
entity Iron Age
relation named after
type ingredient
['Iron Age', 'named after', {'concept': 'ingredient'}]
SELECT DISTINCT ?j WHERE { resource:Iron_Age property:named_after ?j . ?j rdf:type ontology:ingredient }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q677
P2175
Q2057971
USER
Which health problems are cured by that ingredient ?
(Q677,P2175,c(Q2057971))
action filter_type
action find
entity Q677
relation P2175
type Q2057971
['Q677', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2057971 . resource:Q677 property:P2175 ?i }
Iron
action filter_type
action find
entity Iron
relation medical condition treated
type health problem
['Iron', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:health_problem . resource:Iron property:medical_condition_treated ?i }
[]
health problem
Q954674 Q2306782
SYSTEM
iron deficiency anemia, hypochromic anemia
Q954674 Q2306782
(Q677,P2175,c(Q2057971))
action filter_type
action find
entity Q677
relation P2175
type Q2057971
[ANSWERS] are cured by that ingredient
['Q677', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2057971 . resource:Q677 property:P2175 ?i }
iron deficiency anemia hypochromic anemia
Iron deficiency anemia and hypochromic anemia are cured by that ingredient
iron deficiency anemia hypochromic anemia
action filter_type
action find
entity Iron
relation medical condition treated
type health problem
['Iron', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:health_problem . resource:Iron property:medical_condition_treated ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q155683
Q2057971
USER
And how about calcipotriol?
(Q155683,P2175,c(Q2057971))
action filter_type
action find
entity Q155683
relation P2175
type Q2057971
['Q155683', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?q WHERE { resource:Q155683 property:P2175 ?q . ?q rdf:type ontology:Q2057971 }
calcipotriol
action filter_type
action find
entity calcipotriol
relation medical condition treated
type health problem
['calcipotriol', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?q WHERE { resource:calcipotriol property:medical_condition_treated ?q . ?q rdf:type ontology:health_problem }
[]
health problem
Q4676432 Q79928
SYSTEM
pustulosis of palm and sole, acne
Q4676432 Q79928
(Q155683,P2175,c(Q2057971))
action filter_type
action find
entity Q155683
relation P2175
type Q2057971
[ANSWERS]
['Q155683', 'P2175', {'concept': 'Q2057971'}]
SELECT DISTINCT ?q WHERE { resource:Q155683 property:P2175 ?q . ?q rdf:type ontology:Q2057971 }
pustulosis of palm and sole acne
pustulosis of palm and sole acne
action filter_type
action find
entity calcipotriol
relation medical condition treated
type health problem
['calcipotriol', 'medical condition treated', {'concept': 'health problem'}]
SELECT DISTINCT ?q WHERE { resource:calcipotriol property:medical_condition_treated ?q . ?q rdf:type ontology:health_problem }
[]