Simple Question (Direct)
Simple Question
Q6218991
P27
Q15617994
USER
Which administrative territory does John Anderson belong to ?
(Q6218991,P27,c(Q15617994))
action filter_type
action find
entity Q6218991
relation P27
type Q15617994
['Q6218991', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q6218991 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
John Anderson
action filter_type
action find
entity John Anderson
relation country of citizenship
type designation for an administrative territorial entity
['John Anderson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:John_Anderson property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6218991,P27,c(Q15617994))
action filter_type
action find
entity Q6218991
relation P27
type Q15617994
John Anderson belongs to [ANSWER]
['Q6218991', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q6218991 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
United States of America
John Anderson belongs to United States of America
United States of America
action filter_type
action find
entity John Anderson
relation country of citizenship
type designation for an administrative territorial entity
['John Anderson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:John_Anderson property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6218991
P106
Q151885
USER
Which concept has that person as his/her 's career ?
(Q30,P106,c(Q151885))
action filter_type
action find
entity Q6218991
relation P106
type Q151885
['Q30', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q6218991 property:P106 ?a . ?a rdf:type ontology:Q151885 }
John Anderson
action filter_type
action find
entity John Anderson
relation occupation
type concept
['United States of America', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:John_Anderson property:occupation ?a . ?a rdf:type ontology:concept }
[]
concept
Q10871364
SYSTEM
baseball player
Q10871364
(Q30,P106,c(Q151885))
action filter_type
action find
entity Q6218991
relation P106
type Q151885
Player [ANSWER] has that person as his/her 's career
['Q30', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { resource:Q6218991 property:P106 ?a . ?a rdf:type ontology:Q151885 }
baseball player
Player baseball player has that person as his/her 's career
baseball player
action filter_type
action find
entity John Anderson
relation occupation
type concept
['United States of America', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { resource:John_Anderson property:occupation ?a . ?a rdf:type ontology:concept }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P425
Q31629 Q11410 Q151885
USER
Which concepts do around the same number of types of sport and games belong to as that concept ?
(c(Q151885),P425,c(Q31629)|c(Q11410))
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q31629
action find_tuple_counts
relation P425
type Q151885
type Q11410
action count
action filter_multi_types
action find
entity Q10871364
relation P425
type Q31629
type Q11410
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q31629'}, {'concept': 'Q11410'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?i ) { ( ontology:Q31629 ) ( ontology:Q11410 ) } . ?r rdf:type ?i } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s rdf:type ?g . VALUES ( ?g ) { ( ontology:Q31629 ) ( ontology:Q11410 ) } } . resource:Q10871364 property:P425 ?s } } . FILTER ( ?x = ?f ) }
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type type of sport
action find_tuple_counts
relation field of this occupation
type concept
type game
action count
action filter_multi_types
action find
entity baseball player
relation field of this occupation
type type of sport
type game
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'type of sport'}, {'concept': 'game'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?i ) { ( ontology:type_of_sport ) ( ontology:game ) } . ?r rdf:type ?i } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s rdf:type ?g . VALUES ( ?g ) { ( ontology:type_of_sport ) ( ontology:game ) } } . resource:baseball_player property:field_of_this_occupation ?s } } . FILTER ( ?x = ?f ) }
[]
type of sport game concept
SYSTEM
154
Q15978337 Q12020057 Q19509201 Q275186 Q22962951 Q775318 Q21625815 Q389565 Q21694268 Q4621445 Q19890761 Q11690405 Q15472169 Q24698392 Q15077007 Q214917 Q15980704 Q20725072 Q5501373 Q10732476 Q15627169 Q14948222 Q24262584 Q1939892 Q4353426 Q20971451 Q181043 Q10370560 Q3303297 Q15962734 Q2467532 Q12039558 Q17351861 Q16003550 Q2159907 Q1476215 Q24259627 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 Q10871364 Q13381376 Q26248338 Q1201898 Q16278103 Q16240266 Q13381863 Q1021386 Q193432 Q20740414 Q1636680 Q20650523 Q11499147 Q26102 Q1409420 Q5307556 Q2500638 Q855091 Q860918 Q23770318 Q17176618 Q3578589 Q890103 Q455011 Q4197743 Q15966439 Q7535502 Q3562775 Q16003594 Q20747150 Q20965770 Q19509237 Q13382749 Q20650518 Q23375738 Q1251441 Q18120029 Q15982795 Q18814798 Q1413522 Q15020911 Q15986555 Q1714828 Q22082717 Q26219487 Q3242115 Q3738757 Q1934684 Q17769800 Q12761281 Q2901587 Q22810659 Q322170 Q13472585 Q21286455 Q27431213 Q23761019 Q10729326 Q1344452 Q16755977 Q3014296 Q27158601 Q21081635 Q273283 Q12216234 Q1184268 Q455595 Q23663603 Q4964182 Q23038345 Q4887411 Q15095148 Q27247215 Q12327806 Q10866633 Q931260 Q15253558 Q20706626 Q637304 Q12912932 Q10843402 Q15883433
(c(Q151885),P425,c(Q31629)|c(Q11410))
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q31629
action find_tuple_counts
relation P425
type Q151885
type Q11410
action count
action filter_multi_types
action find
entity Q10871364
relation P425
type Q31629
type Q11410
[ANSWER]
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q31629'}, {'concept': 'Q11410'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?i ) { ( ontology:Q31629 ) ( ontology:Q11410 ) } . ?r rdf:type ?i } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s rdf:type ?g . VALUES ( ?g ) { ( ontology:Q31629 ) ( ontology:Q11410 ) } } . resource:Q10871364 property:P425 ?s } } . FILTER ( ?x = ?f ) }
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 money mule radiesthesist dissident sertanista ironmaster mutineer exorcist Go player Gaelic football player pacifist criminal human rights activist motorcycle trials rider 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 baseball player weightlifter dutarist Shahidka squash player pickpocket fencer civil rights advocate fan base jumper Renaissance humanist brigand political activist whistleblower feudatory drill instructor 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 crocheter leader bibliophile bodybuilder wheelchair tennis player impostor amateur astronomer chess organiser hunter eugenicist cross country runner revolutionary counterfeiter housewife slave trader fence yogi nightclub owner suffragette philanthropist critic of religions cookery writer intern pirate discoverer racial theorist 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 mass murderer
154
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type type of sport
action find_tuple_counts
relation field of this occupation
type concept
type game
action count
action filter_multi_types
action find
entity baseball player
relation field of this occupation
type type of sport
type game
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'type of sport'}, {'concept': 'game'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?x ) WHERE { VALUES ( ?i ) { ( ontology:type_of_sport ) ( ontology:game ) } . ?r rdf:type ?i } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s rdf:type ?g . VALUES ( ?g ) { ( ontology:type_of_sport ) ( ontology:game ) } } . resource:baseball_player property:field_of_this_occupation ?s } } . FILTER ( ?x = ?f ) }
[]