Simple Question (Direct)
Simple Question
Q674648
P21
Q290
USER
Which sex does Dean Kent possess ?
(Q674648,P21,c(Q290))
action filter_type
action find
entity Q674648
relation P21
type Q290
['Q674648', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q674648 property:P21 ?u . ?u rdf:type ontology:Q290 }
Dean Kent
action filter_type
action find
entity Dean Kent
relation gender
type sex
['Dean Kent', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Dean_Kent property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q674648,P21,c(Q290))
action filter_type
action find
entity Q674648
relation P21
type Q290
Dean Kent possesses [ANSWER]
['Q674648', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q674648 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
Dean Kent possesses male
male
action filter_type
action find
entity Dean Kent
relation gender
type sex
['Dean Kent', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Dean_Kent property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q674648
P106
Q151885
USER
What is the profession of that person ?
(Q6581097,P106,c(Q151885))
action filter_type
action find
entity Q674648
relation P106
type Q151885
['Q6581097', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { resource:Q674648 property:P106 ?k . ?k rdf:type ontology:Q151885 }
Dean Kent
action filter_type
action find
entity Dean Kent
relation occupation
type concept
['male', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { resource:Dean_Kent property:occupation ?k . ?k rdf:type ontology:concept }
[]
concept
Q10843402
SYSTEM
swimmer
Q10843402
(Q6581097,P106,c(Q151885))
action filter_type
action find
entity Q674648
relation P106
type Q151885
The profession of that person is the [ANSWER]
['Q6581097', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { resource:Q674648 property:P106 ?k . ?k rdf:type ontology:Q151885 }
swimmer
The profession of that person is the swimmer
swimmer
action filter_type
action find
entity Dean Kent
relation occupation
type concept
['male', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { resource:Dean_Kent property:occupation ?k . ?k rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P425
Q151885 Q3249551 Q151885
USER
How many concepts do around the same number of concepts and processes belong to as that concept ?
(c(Q151885),P425,c(Q151885)|c(Q3249551))
action count
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q151885
action find_tuple_counts
relation P425
type Q151885
type Q3249551
action count
action filter_multi_types
action find
entity Q10843402
relation P425
type Q151885
type Q3249551
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q151885'}, {'concept': 'Q3249551'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q10843402 property:P425 ?y . { VALUES ( ?i ) { ( ontology:Q151885 ) ( ontology:Q3249551 ) } . ?y rdf:type ?i } } } . FILTER ( ?v = ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?u WHERE { VALUES ( ?a ) { ( ontology:Q151885 ) ( ontology:Q3249551 ) } . ?w rdf:type ?a } GROUP BY ?u } }
action count
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type concept
action find_tuple_counts
relation field of this occupation
type concept
type process
action count
action filter_multi_types
action find
entity swimmer
relation field of this occupation
type concept
type process
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'concept'}, {'concept': 'process'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:swimmer property:field_of_this_occupation ?y . { VALUES ( ?i ) { ( ontology:concept ) ( ontology:process ) } . ?y rdf:type ?i } } } . FILTER ( ?v = ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?u WHERE { VALUES ( ?a ) { ( ontology:concept ) ( ontology:process ) } . ?w rdf:type ?a } GROUP BY ?u } }
[]
concept process concept
SYSTEM
164
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 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 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 Q17769800 Q12761281 Q2901587 Q22810659 Q322170 Q13472585 Q21286455 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(Q151885)|c(Q3249551))
action count
action approx
action union
action find_tuple_counts
relation P425
type Q151885
type Q151885
action find_tuple_counts
relation P425
type Q151885
type Q3249551
action count
action filter_multi_types
action find
entity Q10843402
relation P425
type Q151885
type Q3249551
[ANSWER]
[{'concept': 'Q151885'}, 'P425', [{'concept': 'Q151885'}, {'concept': 'Q3249551'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q10843402 property:P425 ?y . { VALUES ( ?i ) { ( ontology:Q151885 ) ( ontology:Q3249551 ) } . ?y rdf:type ?i } } } . FILTER ( ?v = ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?u WHERE { VALUES ( ?a ) { ( ontology:Q151885 ) ( ontology:Q3249551 ) } . ?w rdf:type ?a } GROUP BY ?u } }
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 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 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 slave trader fence yogi nightclub owner suffragette philanthropist critic of religions 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
164
action count
action approx
action union
action find_tuple_counts
relation field of this occupation
type concept
type concept
action find_tuple_counts
relation field of this occupation
type concept
type process
action count
action filter_multi_types
action find
entity swimmer
relation field of this occupation
type concept
type process
[{'concept': 'concept'}, 'field of this occupation', [{'concept': 'concept'}, {'concept': 'process'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:swimmer property:field_of_this_occupation ?y . { VALUES ( ?i ) { ( ontology:concept ) ( ontology:process ) } . ?y rdf:type ?i } } } . FILTER ( ?v = ?o ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) ?u WHERE { VALUES ( ?a ) { ( ontology:concept ) ( ontology:process ) } . ?w rdf:type ?a } GROUP BY ?u } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P655
Q502895 Q571 Q234460
USER
How many people did the translation of approximately 4 books and texts ?
(c(Q571)|c(Q234460),P655,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
value 4
[[{'concept': 'Q571'}, {'concept': 'Q234460'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?y ) WHERE { { ?k property:P655 ?o . ?o rdf:type ontology:Q502895 . ?k rdf:type ontology:Q234460 } UNION { ?k property:P655 ?o . ?o rdf:type ontology:Q502895 . ?k rdf:type ontology:Q571 } } GROUP BY ?o } . FILTER ( ?y = 4 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type text
value 4
[[{'concept': 'book'}, {'concept': 'text'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?y ) WHERE { { ?k property:translator ?o . ?o rdf:type ontology:common_name . ?k rdf:type ontology:text } UNION { ?k property:translator ?o . ?o rdf:type ontology:common_name . ?k rdf:type ontology:book } } GROUP BY ?o } . FILTER ( ?y = 4 ) }
[]
common name book text
SYSTEM
3
Q3156735 Q532457 Q1287990
(c(Q571)|c(Q234460),P655,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q571
action find_reverse_tuple_counts
relation P655
type Q502895
type Q234460
value 4
[ANSWER]
[[{'concept': 'Q571'}, {'concept': 'Q234460'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?y ) WHERE { { ?k property:P655 ?o . ?o rdf:type ontology:Q502895 . ?k rdf:type ontology:Q234460 } UNION { ?k property:P655 ?o . ?o rdf:type ontology:Q502895 . ?k rdf:type ontology:Q571 } } GROUP BY ?o } . FILTER ( ?y = 4 ) }
J.-Wladimir Bienstock Edward FitzGerald James Legge
3
action count
action approx
action union
action find_reverse_tuple_counts
relation translator
type common name
type book
action find_reverse_tuple_counts
relation translator
type common name
type text
value 4
[[{'concept': 'book'}, {'concept': 'text'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?k ) AS ?y ) WHERE { { ?k property:translator ?o . ?o rdf:type ontology:common_name . ?k rdf:type ontology:text } UNION { ?k property:translator ?o . ?o rdf:type ontology:common_name . ?k rdf:type ontology:book } } GROUP BY ?o } . FILTER ( ?y = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10843402
P180
Q838948
USER
Which works of art demonstrate swimmer ?
(c(Q838948),P180,Q10843402)
action filter_type
action find_reverse
entity Q10843402
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q10843402']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P180 resource:Q10843402 }
swimmer
action filter_type
action find_reverse
entity swimmer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'swimmer']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:depicts resource:swimmer }
[]
work of art
Q23315502 Q5174011
SYSTEM
...Dans le bonheur, Cosmetic Spoon: Young Girl Swimming
Q23315502 Q5174011
(c(Q838948),P180,Q10843402)
action filter_type
action find_reverse
entity Q10843402
relation P180
type Q838948
[ANSWERS] demonstrate swimmer
[{'concept': 'Q838948'}, 'P180', 'Q10843402']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P180 resource:Q10843402 }
...Dans le bonheur Cosmetic Spoon: Young Girl Swimming
...Dans le bonheur and Cosmetic Spoon: Young Girl Swimming demonstrate swimmer
...Dans le bonheur Cosmetic Spoon: Young Girl Swimming
action filter_type
action find_reverse
entity swimmer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'swimmer']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:depicts resource:swimmer }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5174011
P276
Q1299240
USER
Where is that work of art located ?
(Q5174011,P276,c(Q1299240))
action filter_type
action find
entity Q5174011
relation P276
type Q1299240
['Q5174011', 'P276', {'concept': 'Q1299240'}]
SELECT DISTINCT ?c WHERE { resource:Q5174011 property:P276 ?c . ?c rdf:type ontology:Q1299240 }
Cosmetic Spoon: Young Girl Swimming
action filter_type
action find
entity Cosmetic Spoon: Young Girl Swimming
relation location
type interior space
['Cosmetic Spoon: Young Girl Swimming', 'location', {'concept': 'interior space'}]
SELECT DISTINCT ?c WHERE { resource:Cosmetic_Spoon:_Young_Girl_Swimming property:location ?c . ?c rdf:type ontology:interior_space }
[]
interior space
Clarification for simple ques.
Q23315502
SYSTEM
Did you mean ...Dans le bonheur ?
Q23315502 Q5174011
(Q23315502,P276,c(Q1299240)) (Q5174011,P276,c(Q1299240))
[ANSWER]
['Q23315502', 'P276', {'concept': 'Q1299240'}] ['Q5174011', 'P276', {'concept': 'Q1299240'}]
SELECT DISTINCT ?c WHERE { resource:Q5174011 property:P276 ?c . ?c rdf:type ontology:Q1299240 }
...Dans le bonheur Cosmetic Spoon: Young Girl Swimming
Did you mean ...Dans le bonheur ?
...Dans le bonheur
['...Dans le bonheur', 'location', {'concept': 'interior space'}] ['Cosmetic Spoon: Young Girl Swimming', 'location', {'concept': 'interior space'}]
SELECT DISTINCT ?c WHERE { resource:Cosmetic_Spoon:_Young_Girl_Swimming property:location ?c . ?c rdf:type ontology:interior_space }
[]
Simple Question (Coreferenced)
USER
No, I meant Cosmetic Spoon: Young Girl Swimming. Could you tell me the answer for that?
(Q5174011,P276,c(Q1299240))
Q5174011
['Q5174011', 'P276', {'concept': 'Q1299240'}]
['Cosmetic Spoon: Young Girl Swimming', 'location', {'concept': 'interior space'}]
[]
Q19300899
SYSTEM
Egyptian antiquities, room 9
Q19300899
(Q5174011,P276,c(Q1299240))
action filter_type
action find
entity Q5174011
relation P276
type Q1299240
That work of art is located in [ANSWER]
['Q5174011', 'P276', {'concept': 'Q1299240'}]
SELECT DISTINCT ?c WHERE { resource:Q5174011 property:P276 ?c . ?c rdf:type ontology:Q1299240 }
Egyptian antiquities, room 9
That work of art is located in Egyptian antiquities, room 9
Egyptian antiquities, room 9
action filter_type
action find
entity Cosmetic Spoon: Young Girl Swimming
relation location
type interior space
['Cosmetic Spoon: Young Girl Swimming', 'location', {'concept': 'interior space'}]
SELECT DISTINCT ?c WHERE { resource:Cosmetic_Spoon:_Young_Girl_Swimming property:location ?c . ?c rdf:type ontology:interior_space }
[]