Simple Question (Direct)
Simple Question
Q453556
P58
Q502895
USER
Who served as the screenwriter for The Naked Truth ?
(Q453556,P58,c(Q502895))
action filter_type
action find
entity Q453556
relation P58
type Q502895
['Q453556', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q453556 property:P58 ?m }
The Naked Truth
action filter_type
action find
entity The Naked Truth
relation screenwriter
type common name
['The Naked Truth', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:The_Naked_Truth property:screenwriter ?m }
[]
common name
Q601971
SYSTEM
Michael Pertwee
Q601971
(Q453556,P58,c(Q502895))
action filter_type
action find
entity Q453556
relation P58
type Q502895
[ANSWER] served as the screenwriter for The Naked Truth
['Q453556', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q453556 property:P58 ?m }
Michael Pertwee
Michael Pertwee served as the screenwriter for The Naked Truth
Michael Pertwee
action filter_type
action find
entity The Naked Truth
relation screenwriter
type common name
['The Naked Truth', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:The_Naked_Truth property:screenwriter ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q453556
P162
Q502895
USER
Who is the producer of The Naked Truth ?
(Q453556,P162,c(Q502895))
action filter_type
action find
entity Q453556
relation P162
type Q502895
['Q453556', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q453556 property:P162 ?p . ?p rdf:type ontology:Q502895 }
The Naked Truth
action filter_type
action find
entity The Naked Truth
relation producer
type common name
['The Naked Truth', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:The_Naked_Truth property:producer ?p . ?p rdf:type ontology:common_name }
[]
common name
Q1485091
SYSTEM
Mario Zampi
Q1485091
(Q453556,P162,c(Q502895))
action filter_type
action find
entity Q453556
relation P162
type Q502895
The producer of The Naked Truth is [ANSWER]
['Q453556', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q453556 property:P162 ?p . ?p rdf:type ontology:Q502895 }
Mario Zampi
The producer of The Naked Truth is Mario Zampi
Mario Zampi
action filter_type
action find
entity The Naked Truth
relation producer
type common name
['The Naked Truth', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:The_Naked_Truth property:producer ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q453556
P161
Q502895
USER
Which people were casted in that work of art ?
(Q1485091,P161,c(Q502895))
action filter_type
action find
entity Q453556
relation P161
type Q502895
['Q1485091', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q453556 property:P161 ?q . ?q rdf:type ontology:Q502895 }
The Naked Truth
action filter_type
action find
entity The Naked Truth
relation cast member
type common name
['Mario Zampi', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_Naked_Truth property:cast_member ?q . ?q rdf:type ontology:common_name }
[]
common name
Q177984 Q449036 Q313001
SYSTEM
Peter Sellers, Joan Sims, David Lodge
Q7364630 Q434900 Q177984 Q1343896 Q449036 Q440360 Q934270 Q313001 Q711129 Q676629
(Q1485091,P161,c(Q502895))
action filter_type
action find
entity Q453556
relation P161
type Q502895
[ANSWERS] were casted in that work of art
['Q1485091', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q453556 property:P161 ?q . ?q rdf:type ontology:Q502895 }
Ronald Adam Shirley Eaton Peter Sellers Wilfrid Lawson Joan Sims Miles Malleson Dennis Price David Lodge Terry-Thomas Kenneth Griffith
Peter Sellers, Joan Sims and David Lodge were casted in that work of art
Peter Sellers Joan Sims David Lodge
action filter_type
action find
entity The Naked Truth
relation cast member
type common name
['Mario Zampi', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_Naked_Truth property:cast_member ?q . ?q rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2608472 Q601971
P27
Q15617994
USER
Which administrative territories are Michael Pertwee or Jan Nijenhuis an inhabitant of ?
OR((Q601971,P27,c(Q15617994)), (Q2608472,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q601971
relation P27
action find
entity Q2608472
relation P27
type Q15617994
{'OR': [['Q601971', 'P27', {'concept': 'Q15617994'}], ['Q2608472', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?r ) { ( resource:Q601971 ) ( resource:Q2608472 ) } . ?r property:P27 ?b } . ?b rdf:type ontology:Q15617994 }
Jan Nijenhuis Michael Pertwee
action filter_type
action union
action find
entity Michael Pertwee
relation country of citizenship
action find
entity Jan Nijenhuis
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Michael Pertwee', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jan Nijenhuis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?r ) { ( resource:Michael_Pertwee ) ( resource:Jan_Nijenhuis ) } . ?r property:country_of_citizenship ?b } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q145
SYSTEM
Kingdom of the Netherlands, United Kingdom
Q29999 Q145
OR((Q601971,P27,c(Q15617994)), (Q2608472,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q601971
relation P27
action find
entity Q2608472
relation P27
type Q15617994
[ANSWERS] are Michael Pertwee or Jan Nijenhuis an inhabitant of
{'OR': [['Q601971', 'P27', {'concept': 'Q15617994'}], ['Q2608472', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?r ) { ( resource:Q601971 ) ( resource:Q2608472 ) } . ?r property:P27 ?b } . ?b rdf:type ontology:Q15617994 }
Kingdom of the Netherlands United Kingdom
Kingdom of the Netherlands and United Kingdom are Michael Pertwee or Jan Nijenhuis an inhabitant of
Kingdom of the Netherlands United Kingdom
action filter_type
action union
action find
entity Michael Pertwee
relation country of citizenship
action find
entity Jan Nijenhuis
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Michael Pertwee', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jan Nijenhuis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?r ) { ( resource:Michael_Pertwee ) ( resource:Jan_Nijenhuis ) } . ?r property:country_of_citizenship ?b } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1299 Q177984
P175
Q7725634
USER
Which literary works delivered the performance of Peter Sellers or The Beatles ?
OR((c(Q7725634),P175,Q177984), (c(Q7725634),P175,Q1299))
action filter_type
action union
action find_reverse
entity Q177984
relation P175
action find_reverse
entity Q1299
relation P175
type Q7725634
{'OR': [[{'concept': 'Q7725634'}, 'P175', 'Q177984'], [{'concept': 'Q7725634'}, 'P175', 'Q1299']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P175 resource:Q177984 } UNION { ?k property:P175 resource:Q1299 } } . ?k rdf:type ontology:Q7725634 }
The Beatles Peter Sellers
action filter_type
action union
action find_reverse
entity Peter Sellers
relation performer
action find_reverse
entity The Beatles
relation performer
type literary work
{'OR': [[{'concept': 'literary work'}, 'performer', 'Peter Sellers'], [{'concept': 'literary work'}, 'performer', 'The Beatles']]}
SELECT DISTINCT ?k WHERE { { { ?k property:performer resource:Peter_Sellers } UNION { ?k property:performer resource:The_Beatles } } . ?k rdf:type ontology:literary_work }
[]
literary work
Q541835 Q2270058 Q1865731 Q1353749 Q1326986 Q210406 Q1426279 Q1799542 Q368735 Q210642
SYSTEM
Some of them are Within You Without You, Got to Get You into My Life, Cry Baby Cry, Michelle, Sgt. Pepper's Lonely Hearts Club Band, Golden Slumbers, Get Back, Ask Me Why, With a Little Help from My Friends, Her Majesty
Q614579 Q5977369 Q614577 Q568291 Q2495613 Q2566592 Q176098 Q2619535 Q2272704 Q2276129 Q2375266 Q610889 Q2069916 Q1303515 Q2422716 Q783912 Q1472175 Q762429 Q1045409 Q2374626 Q7157530 Q2421251 Q2075600 Q2412360 Q1926993 Q2565530 Q909909 Q2352484 Q1875036 Q6728290 Q723178 Q2315826 Q1050831 Q10543339 Q532784 Q2287303 Q937141 Q2418642 Q637470 Q2419579 Q2270058 Q604803 Q965926 Q1141022 Q2030118 Q541835 Q963500 Q2343711 Q2361900 Q2074908 Q342879 Q1920202 Q574914 Q1326986 Q1416923 Q2450813 Q2454985 Q2344244 Q2331523 Q2374210 Q754877 Q2072824 Q4850834 Q2072064 Q864783 Q2361855 Q2004908 Q210406 Q210409 Q2455161 Q1123514 Q2089654 Q778055 Q2168321 Q300385 Q2618533 Q2445811 Q2319841 Q518902 Q1754375 Q2302341 Q184259 Q632027 Q1507914 Q1348634 Q2455350 Q1187321 Q2566313 Q2009848 Q210642 Q513179 Q2445861 Q1324384 Q1933052 Q2287190 Q2080335 Q369809 Q654206 Q675353 Q1327000 Q7044731 Q210391 Q5583491 Q1757167 Q210395 Q210397 Q17776094 Q674779 Q922778 Q1352599 Q2271266 Q1353749 Q1418994 Q1865731 Q1799542 Q2446282 Q210389 Q1044095 Q1445981 Q2302244 Q630338 Q880719 Q2630434 Q2367685 Q210475 Q1418568 Q2328202 Q2035545 Q210306 Q210304 Q761517 Q610258 Q210301 Q1346881 Q959812 Q391180 Q1099033 Q2341642 Q4052978 Q2982380 Q1935345 Q305505 Q548046 Q2498225 Q2005617 Q1616910 Q762165 Q2270883 Q11705442 Q517978 Q2036112 Q2173222 Q202698 Q182537 Q2075370 Q600839 Q1057533 Q2359480 Q1343063 Q1426279 Q368735 Q1966111 Q210299
OR((c(Q7725634),P175,Q177984), (c(Q7725634),P175,Q1299))
action filter_type
action union
action find_reverse
entity Q177984
relation P175
action find_reverse
entity Q1299
relation P175
type Q7725634
[ANSWERS]
{'OR': [[{'concept': 'Q7725634'}, 'P175', 'Q177984'], [{'concept': 'Q7725634'}, 'P175', 'Q1299']]}
SELECT DISTINCT ?k WHERE { { { ?k property:P175 resource:Q177984 } UNION { ?k property:P175 resource:Q1299 } } . ?k rdf:type ontology:Q7725634 }
Magical Mystery Tour I Got to Find My Baby A Beginning You Like Me Too Much Tell Me Why What's the New Mary Jane All You Need Is Love Revolution I've Got a Feeling Sgt. Pepper’s Lonely Hearts Club Band (Reprise) I Want to Tell You I Should Have Known Better And Your Bird Can Sing Eight Days a Week There's a Place Misery Julia I'm a Loser Carry That Weight You Won't See Me Peace of Mind/The Candle Burns All I've Got to Do This Boy One After 909 No Reply Every Little Thing Drive My Car If You've Got Trouble Savoy Truffle Madman Lucy in the Sky with Diamonds Yer Blues We Can Work It Out Kansas City/Hey, Hey, Hey, Hey Good Morning Good Morning Girl Two of Us Thank You Girl Dear Prudence What You're Doing Got to Get You into My Life The Night Before Norwegian Wood When I'm Sixty-Four When the Levee Breaks Within You Without You Long, Long, Long Honey Pie Rocky Raccoon I Will Across the Universe The Fool on the Hill Don't Bother Me Sgt. Pepper's Lonely Hearts Club Band Happiness Is a Warm Gun I've Just Seen a Face It's Only Love I Need You Piggies Doctor Robert Love Me Do Dig a Pony Bali Ha'i Flying Can't Buy Me Love I'll Follow the Sun Everybody's Got Something to Hide Except Me and My Monkey Golden Slumbers I Want You (She's So Heavy) I'll Be Back Mother Nature's Son Why Don't We Do It in the Road? Please Mr. Postman Birthday A Day in the Life 12-Bar Original The Word Don't Pass Me By Little Child All My Loving She Said She Said Let It Be Till There Was You I'm So Tired It's All Too Much When I Get Home Only a Northern Song Hold Me Tight Martha My Dear Her Majesty She's Leaving Home I'm Looking Through You In My Life Wild Honey Pie You've Got to Hide Your Love Away Sexy Sadie I Me Mine All Together Now Run for Your Life Lovely Rita No Other Love Maxwell's Silver Hammer Goodness Gracious Me You Know My Name (Look Up the Number) Because Sun King Get Back Blue Jay Way Wait Fixing a Hole It Won't Be Long Michelle Glass Onion Cry Baby Cry Ask Me Why Think for Yourself Octopus's Garden Carnival of Light Don't Ever Change Dig It Tomorrow Never Knows Blackbird Mr. Moonlight What Goes On Polythene Pam Nowhere Man That Means a Lot I'm Only Sleeping She Came In Through the Bathroom Window You Never Give Me Your Money I Don't Want to Spoil the Party Being for the Benefit of Mr. Kite! The End Revolution 9 Ticket to Ride Bésame Mucho I'm Down You're Going to Lose That Girl Watching Rainbows Everybody's Trying to Be My Baby Love You To Good Day Sunshine While My Guitar Gently Weeps Cayenne The Continuing Story of Bungalow Bill Hey Bulldog Boys Baby's in Black You'll Be Mine Getting Better Any Time at All Another Girl Yesterday Taxman Good Night Rain Helter Skelter Not a Second Time Here, There and Everywhere Get Back With a Little Help from My Friends Cry for a Shadow Mean Mr. Mustard
Ask Me Why, With a Little Help from My Friends and Her Majesty delivered the performance of Peter Sellers or The Beatles
Within You Without You Got to Get You into My Life Cry Baby Cry Michelle Sgt. Pepper's Lonely Hearts Club Band Golden Slumbers Get Back Ask Me Why With a Little Help from My Friends Her Majesty
action filter_type
action union
action find_reverse
entity Peter Sellers
relation performer
action find_reverse
entity The Beatles
relation performer
type literary work
{'OR': [[{'concept': 'literary work'}, 'performer', 'Peter Sellers'], [{'concept': 'literary work'}, 'performer', 'The Beatles']]}
SELECT DISTINCT ?k WHERE { { { ?k property:performer resource:Peter_Sellers } UNION { ?k property:performer resource:The_Beatles } } . ?k rdf:type ontology:literary_work }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P658
Q7725634 Q482994
USER
How many literary works were contained in more number of albums than that literary work ?
(c(Q482994),P658,c(Q7725634))
[{'concept': 'Q482994'}, 'P658', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P658 ?y . ?z rdf:type ontology:Q482994 . ?y rdf:type ontology:Q7725634 }
[{'concept': 'album'}, 'tracklist', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:tracklist ?y . ?z rdf:type ontology:album . ?y rdf:type ontology:literary_work }
[]
literary work album
Comparative|Count over More/Less|Single entity type|Clarification
Q541835
SYSTEM
Did you mean Within You Without You ?
(c(Q482994),P658,c(Q7725634))
[ANSWER]
[{'concept': 'Q482994'}, 'P658', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P658 ?y . ?z rdf:type ontology:Q482994 . ?y rdf:type ontology:Q7725634 }
Did you mean Within You Without You ?
Within You Without You
[{'concept': 'album'}, 'tracklist', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:tracklist ?y . ?z rdf:type ontology:album . ?y rdf:type ontology:literary_work }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Get Back. Could you tell me the answer for that?
(c(Q482994),P658,c(Q7725634))
Q1426279
[{'concept': 'Q482994'}, 'P658', {'concept': 'Q7725634'}]
[{'concept': 'album'}, 'tracklist', {'concept': 'literary work'}]
[]
SYSTEM
5
Q2419685 Q380825 Q210218 Q1298754 Q3878822
(c(Q482994),P658,c(Q7725634))
[ANSWER]
[{'concept': 'Q482994'}, 'P658', {'concept': 'Q7725634'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P658 ?y . ?z rdf:type ontology:Q482994 . ?y rdf:type ontology:Q7725634 }
Pledging My Time Thriller Beat It Thank You for the Music Notorious
5
[{'concept': 'album'}, 'tracklist', {'concept': 'literary work'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:tracklist ?y . ?z rdf:type ontology:album . ?y rdf:type ontology:literary_work }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P169
Q502895 Q7397 Q11032
USER
Which people are the chief executives of approximately 1 software or newspapers ?
(c(Q7397)|c(Q11032),P169,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q7397
action find_reverse_tuple_counts
relation P169
type Q502895
type Q11032
value 1
[[{'concept': 'Q7397'}, {'concept': 'Q11032'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7397 ) ( ontology:Q11032 ) } } GROUP BY ?c } . FILTER ( ?s = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type software
action find_reverse_tuple_counts
relation chief executive officer
type common name
type newspaper
value 1
[[{'concept': 'software'}, {'concept': 'newspaper'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:software ) ( ontology:newspaper ) } } GROUP BY ?c } . FILTER ( ?s = 1 ) }
[]
common name software newspaper
Q16236293 Q347418 Q659356
SYSTEM
William LeGate, Gabe Newell, Luis José Sartorius, 1st Count of San Luis
Q1670490 Q16236293 Q16188729 Q347418 Q20203686 Q7688294 Q15064277 Q6070096 Q6161101 Q18344447 Q659356 Q11928620 Q11935031
(c(Q7397)|c(Q11032),P169,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P169
type Q502895
type Q7397
action find_reverse_tuple_counts
relation P169
type Q502895
type Q11032
value 1
[ANSWERS]
[[{'concept': 'Q7397'}, {'concept': 'Q11032'}], 'P169', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:Q7397 ) ( ontology:Q11032 ) } } GROUP BY ?c } . FILTER ( ?s = 1 ) }
Wolfgang Büchner William LeGate Jaume Claramunt i Mesa Gabe Newell José María de Mora Tatsumi Kimishima Andrew Wilson Pedro Sala y Villaret Vicente Díez Canseco Michael Seifert Luis José Sartorius, 1st Count of San Luis Josep Laribal Lastortras Manuel de Lasarte i Rodríguez-Cardoso
William LeGate, Gabe Newell and Luis José Sartorius, 1st Count of San Luis are the chief executives of approximately 1 software or newspapers
William LeGate Gabe Newell Luis José Sartorius, 1st Count of San Luis
action approx
action union
action find_reverse_tuple_counts
relation chief executive officer
type common name
type software
action find_reverse_tuple_counts
relation chief executive officer
type common name
type newspaper
value 1
[[{'concept': 'software'}, {'concept': 'newspaper'}], 'chief executive officer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ?o . VALUES ( ?o ) { ( ontology:software ) ( ontology:newspaper ) } } GROUP BY ?c } . FILTER ( ?s = 1 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q12737077 Q595523
USER
How many occupations or notions are the job of that person ?
(Q16236293,P106,c(Q12737077)) (Q16236293,P106,c(Q595523)) (Q16236293,P106,c(Q12737077)) (Q16236293,P106,c(Q595523)) (Q347418,P106,c(Q12737077)) (Q347418,P106,c(Q595523)) (Q659356,P106,c(Q12737077)) (Q659356,P106,c(Q595523))
['Q16236293', 'P106', {'concept': 'Q12737077'}] ['Q16236293', 'P106', {'concept': 'Q595523'}] ['Q16236293', 'P106', {'concept': 'Q12737077'}] ['Q16236293', 'P106', {'concept': 'Q595523'}] ['Q347418', 'P106', {'concept': 'Q12737077'}] ['Q347418', 'P106', {'concept': 'Q595523'}] ['Q659356', 'P106', {'concept': 'Q12737077'}] ['Q659356', 'P106', {'concept': 'Q595523'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q16236293 property:Q528892 ?z } UNION { resource:Q16236293 property:Q528892 ?y } UNION { resource:Q16236293 property:Q528892 ?z } UNION { resource:Q16236293 property:Q528892 ?y } UNION { resource:Q347418 property:Q528892 ?z } UNION { resource:Q347418 property:Q528892 ?y } UNION { resource:Q659356 property:Q528892 ?z } UNION { resource:Q659356 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q595523 }
['William LeGate', 'occupation', {'concept': 'occupation'}] ['William LeGate', 'occupation', {'concept': 'notion'}] ['William LeGate', 'occupation', {'concept': 'occupation'}] ['William LeGate', 'occupation', {'concept': 'notion'}] ['Gabe Newell', 'occupation', {'concept': 'occupation'}] ['Gabe Newell', 'occupation', {'concept': 'notion'}] ['Luis José Sartorius, 1st Count of San Luis', 'occupation', {'concept': 'occupation'}] ['Luis José Sartorius, 1st Count of San Luis', 'occupation', {'concept': 'notion'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:William_LeGate property:occupation ?z } UNION { resource:William_LeGate property:occupation ?y } UNION { resource:William_LeGate property:occupation ?z } UNION { resource:William_LeGate property:occupation ?y } UNION { resource:Gabe_Newell property:occupation ?z } UNION { resource:Gabe_Newell property:occupation ?y } UNION { resource:Luis_José_Sartorius,_1st_Count_of_San_Luis property:occupation ?z } UNION { resource:Luis_José_Sartorius,_1st_Count_of_San_Luis property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:notion }
[]
occupation notion
Quantitative|Count|Mult. entity type|Clarification
Q659356
SYSTEM
Did you mean Luis José Sartorius, 1st Count of San Luis ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q16236293 property:Q528892 ?z } UNION { resource:Q16236293 property:Q528892 ?y } UNION { resource:Q16236293 property:Q528892 ?z } UNION { resource:Q16236293 property:Q528892 ?y } UNION { resource:Q347418 property:Q528892 ?z } UNION { resource:Q347418 property:Q528892 ?y } UNION { resource:Q659356 property:Q528892 ?z } UNION { resource:Q659356 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q595523 }
Did you mean Luis José Sartorius, 1st Count of San Luis ?
Luis José Sartorius, 1st Count of San Luis
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:William_LeGate property:occupation ?z } UNION { resource:William_LeGate property:occupation ?y } UNION { resource:William_LeGate property:occupation ?z } UNION { resource:William_LeGate property:occupation ?y } UNION { resource:Gabe_Newell property:occupation ?z } UNION { resource:Gabe_Newell property:occupation ?y } UNION { resource:Luis_José_Sartorius,_1st_Count_of_San_Luis property:occupation ?z } UNION { resource:Luis_José_Sartorius,_1st_Count_of_San_Luis property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:notion }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant William LeGate. Could you tell me the answer for that?
(Q16236293,P106,c(Q12737077)) (Q16236293,P106,c(Q595523)) (Q16236293,P106,c(Q12737077)) (Q16236293,P106,c(Q595523)) (Q347418,P106,c(Q12737077)) (Q347418,P106,c(Q595523)) (Q659356,P106,c(Q12737077)) (Q659356,P106,c(Q595523))
Q16236293
['Q16236293', 'P106', {'concept': 'Q12737077'}] ['Q16236293', 'P106', {'concept': 'Q595523'}] ['Q16236293', 'P106', {'concept': 'Q12737077'}] ['Q16236293', 'P106', {'concept': 'Q595523'}] ['Q347418', 'P106', {'concept': 'Q12737077'}] ['Q347418', 'P106', {'concept': 'Q595523'}] ['Q659356', 'P106', {'concept': 'Q12737077'}] ['Q659356', 'P106', {'concept': 'Q595523'}]
['William LeGate', 'occupation', {'concept': 'occupation'}] ['William LeGate', 'occupation', {'concept': 'notion'}] ['William LeGate', 'occupation', {'concept': 'occupation'}] ['William LeGate', 'occupation', {'concept': 'notion'}] ['Gabe Newell', 'occupation', {'concept': 'occupation'}] ['Gabe Newell', 'occupation', {'concept': 'notion'}] ['Luis José Sartorius, 1st Count of San Luis', 'occupation', {'concept': 'occupation'}] ['Luis José Sartorius, 1st Count of San Luis', 'occupation', {'concept': 'notion'}]
[]
SYSTEM
6
Q205375 Q82594 Q484876 Q43845 Q81096 Q131524
(Q16236293,P106,c(Q12737077)) (Q16236293,P106,c(Q595523)) (Q16236293,P106,c(Q12737077)) (Q16236293,P106,c(Q595523)) (Q347418,P106,c(Q12737077)) (Q347418,P106,c(Q595523)) (Q659356,P106,c(Q12737077)) (Q659356,P106,c(Q595523))
[ANSWER]
['Q16236293', 'P106', {'concept': 'Q12737077'}] ['Q16236293', 'P106', {'concept': 'Q595523'}] ['Q16236293', 'P106', {'concept': 'Q12737077'}] ['Q16236293', 'P106', {'concept': 'Q595523'}] ['Q347418', 'P106', {'concept': 'Q12737077'}] ['Q347418', 'P106', {'concept': 'Q595523'}] ['Q659356', 'P106', {'concept': 'Q12737077'}] ['Q659356', 'P106', {'concept': 'Q595523'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q16236293 property:Q528892 ?z } UNION { resource:Q16236293 property:Q528892 ?y } UNION { resource:Q16236293 property:Q528892 ?z } UNION { resource:Q16236293 property:Q528892 ?y } UNION { resource:Q347418 property:Q528892 ?z } UNION { resource:Q347418 property:Q528892 ?y } UNION { resource:Q659356 property:Q528892 ?z } UNION { resource:Q659356 property:Q528892 ?y } } . ?z rdf:type ontology:Q528892 . ?y rdf:type ontology:Q595523 }
inventor computer scientist chief executive officer businessperson engineer entrepreneur
6
['William LeGate', 'occupation', {'concept': 'occupation'}] ['William LeGate', 'occupation', {'concept': 'notion'}] ['William LeGate', 'occupation', {'concept': 'occupation'}] ['William LeGate', 'occupation', {'concept': 'notion'}] ['Gabe Newell', 'occupation', {'concept': 'occupation'}] ['Gabe Newell', 'occupation', {'concept': 'notion'}] ['Luis José Sartorius, 1st Count of San Luis', 'occupation', {'concept': 'occupation'}] ['Luis José Sartorius, 1st Count of San Luis', 'occupation', {'concept': 'notion'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:William_LeGate property:occupation ?z } UNION { resource:William_LeGate property:occupation ?y } UNION { resource:William_LeGate property:occupation ?z } UNION { resource:William_LeGate property:occupation ?y } UNION { resource:Gabe_Newell property:occupation ?z } UNION { resource:Gabe_Newell property:occupation ?y } UNION { resource:Luis_José_Sartorius,_1st_Count_of_San_Luis property:occupation ?z } UNION { resource:Luis_José_Sartorius,_1st_Count_of_San_Luis property:occupation ?y } } . ?z rdf:type ontology:occupation . ?y rdf:type ontology:notion }
[]