Simple Question (Direct)
Simple Question
Q314877
P1303
Q34379
USER
Which musical instrument is played by Patrick Stump ?
(Q314877,P1303,c(Q34379))
action filter_type
action find
entity Q314877
relation P1303
type Q34379
['Q314877', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { resource:Q314877 property:P1303 ?j . ?j rdf:type ontology:Q34379 }
Patrick Stump
action filter_type
action find
entity Patrick Stump
relation instrument
type musical instrument
['Patrick Stump', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { resource:Patrick_Stump property:instrument ?j . ?j rdf:type ontology:musical_instrument }
[]
musical instrument
Q8355
SYSTEM
violin
Q8355
(Q314877,P1303,c(Q34379))
action filter_type
action find
entity Q314877
relation P1303
type Q34379
The [ANSWER] is played by Patrick Stump
['Q314877', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { resource:Q314877 property:P1303 ?j . ?j rdf:type ontology:Q34379 }
violin
The violin is played by Patrick Stump
violin
action filter_type
action find
entity Patrick Stump
relation instrument
type musical instrument
['Patrick Stump', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { resource:Patrick_Stump property:instrument ?j . ?j rdf:type ontology:musical_instrument }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q314877
P86
Q2031291
USER
Which releases are composed by that person ?
(c(Q2031291),P86,Q8355)
action filter_type
action find_reverse
entity Q314877
relation P86
type Q2031291
[{'concept': 'Q2031291'}, 'P86', 'Q8355']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2031291 . ?h property:P86 resource:Q314877 }
Patrick Stump
action filter_type
action find_reverse
entity Patrick Stump
relation composer
type release
[{'concept': 'release'}, 'composer', 'violin']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:release . ?h property:composer resource:Patrick_Stump }
[]
release
Q18786467 Q839322
SYSTEM
Uma Thurman, Infinity on High
Q18786467 Q839322
(c(Q2031291),P86,Q8355)
action filter_type
action find_reverse
entity Q314877
relation P86
type Q2031291
[ANSWERS] are composed by that person
[{'concept': 'Q2031291'}, 'P86', 'Q8355']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2031291 . ?h property:P86 resource:Q314877 }
Uma Thurman Infinity on High
Uma Thurman and Infinity on High are composed by that person
Uma Thurman Infinity on High
action filter_type
action find_reverse
entity Patrick Stump
relation composer
type release
[{'concept': 'release'}, 'composer', 'violin']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:release . ?h property:composer resource:Patrick_Stump }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4931144 Q839322
P27 P495
Q15617994
USER
Which administrative territories are the origin of Infinity on High or are the native countriesof Bo Persson ?
OR((Q839322,P495,c(Q15617994)), (Q4931144,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q839322
relation P495
action find
entity Q4931144
relation P27
type Q15617994
{'OR': [['Q839322', 'P495', {'concept': 'Q15617994'}], ['Q4931144', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q839322 property:P495 ?r } UNION { resource:Q4931144 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Bo Persson Infinity on High
action filter_type
action union
action find
entity Infinity on High
relation country of origin
action find
entity Bo Persson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Infinity on High', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Bo Persson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Infinity_on_High property:country_of_origin ?r } UNION { resource:Bo_Persson property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q34
SYSTEM
United States of America, Sweden
Q30 Q34
OR((Q839322,P495,c(Q15617994)), (Q4931144,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q839322
relation P495
action find
entity Q4931144
relation P27
type Q15617994
[ANSWERS] are the origin of Infinity on High or are the native countriesof Bo Persson
{'OR': [['Q839322', 'P495', {'concept': 'Q15617994'}], ['Q4931144', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q839322 property:P495 ?r } UNION { resource:Q4931144 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
United States of America Sweden
United States of America and Sweden are the origin of Infinity on High or are the native countriesof Bo Persson
United States of America Sweden
action filter_type
action union
action find
entity Infinity on High
relation country of origin
action find
entity Bo Persson
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Infinity on High', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Bo Persson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Infinity_on_High property:country_of_origin ?r } UNION { resource:Bo_Persson property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4931144
P734
Q82799
USER
Who is associated with that person ?
(Q30,P734,c(Q82799)) (Q34,P734,c(Q82799))
action filter_type
action find
entity Q4931144
relation P734
type Q82799
['Q30', 'P734', {'concept': 'Q82799'}] ['Q34', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q4931144 property:P734 ?i }
Bo Persson
action filter_type
action find
entity Bo Persson
relation family name
type name
['United States of America', 'family name', {'concept': 'name'}] ['Sweden', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Bo_Persson property:family_name ?i }
[]
name
Q16881132
SYSTEM
Person
Q16881132
(Q30,P734,c(Q82799)) (Q34,P734,c(Q82799))
action filter_type
action find
entity Q4931144
relation P734
type Q82799
The [ANSWER] is associated with that person
['Q30', 'P734', {'concept': 'Q82799'}] ['Q34', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q4931144 property:P734 ?i }
Person
The Person is associated with that person
Person
action filter_type
action find
entity Bo Persson
relation family name
type name
['United States of America', 'family name', {'concept': 'name'}] ['Sweden', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Bo_Persson property:family_name ?i }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q187507
P658
Q2031291 Q7725634 Q2031291
USER
Which releases contained approximately the same number of releases or literary works as Master of Puppets ?
(c(Q2031291),P658,c(Q2031291)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P658
type Q2031291
type Q2031291
action find_tuple_counts
relation P658
type Q2031291
type Q7725634
action count
action filter_multi_types
action find
entity Q187507
relation P658
type Q2031291
type Q7725634
[{'concept': 'Q2031291'}, 'P658', [{'concept': 'Q2031291'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?z WHERE { VALUES ( ?y ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } . ?d rdf:type ?y } GROUP BY ?z } . FILTER ( ?w = ?p ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Q187507 property:P658 ?s . { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } } } } }
Master of Puppets
action approx
action union
action find_tuple_counts
relation tracklist
type release
type release
action find_tuple_counts
relation tracklist
type release
type literary work
action count
action filter_multi_types
action find
entity Master of Puppets
relation tracklist
type release
type literary work
[{'concept': 'release'}, 'tracklist', [{'concept': 'release'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?z WHERE { VALUES ( ?y ) { ( ontology:release ) ( ontology:literary_work ) } . ?d rdf:type ?y } GROUP BY ?z } . FILTER ( ?w = ?p ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Master_of_Puppets property:tracklist ?s . { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:release ) ( ontology:literary_work ) } } } } }
[]
release literary work release
Q44376 Q3069406 Q15303771
SYSTEM
Invincible, Fernande, Ultraviolence
Q10647863 Q752366 Q2259878 Q1779453 Q869738 Q18398069 Q253004 Q901648 Q19627383 Q1200744 Q945464 Q2359129 Q270690 Q19816402 Q3199410 Q338553 Q902572 Q11245444 Q24324 Q685052 Q656525 Q193477 Q3135078 Q598845 Q268106 Q1929289 Q608698 Q605647 Q909006 Q569856 Q300854 Q1030910 Q162392 Q300344 Q3502571 Q568104 Q14566706 Q259667 Q684280 Q2758096 Q150901 Q1449685 Q482537 Q19824611 Q44289 Q832452 Q1753261 Q1366341 Q483809 Q128447 Q127290 Q3048717 Q45367 Q740161 Q44376 Q744013 Q286672 Q729387 Q251309 Q588352 Q1753076 Q20871907 Q128455 Q15726711 Q483416 Q755085 Q187507 Q208340 Q15303590 Q44142 Q3069406 Q164621 Q155715 Q120631 Q19060 Q152873 Q19842284 Q3284538 Q217211 Q1753252 Q657325 Q2743297 Q3048723 Q205168 Q213516 Q201940 Q1091268 Q15303771 Q23759295
(c(Q2031291),P658,c(Q2031291)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P658
type Q2031291
type Q2031291
action find_tuple_counts
relation P658
type Q2031291
type Q7725634
action count
action filter_multi_types
action find
entity Q187507
relation P658
type Q2031291
type Q7725634
[ANSWERS] contained approximately the same number of releases or literary works as Master of Puppets
[{'concept': 'Q2031291'}, 'P658', [{'concept': 'Q2031291'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?z WHERE { VALUES ( ?y ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } . ?d rdf:type ?y } GROUP BY ?z } . FILTER ( ?w = ?p ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Q187507 property:P658 ?s . { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:Q2031291 ) ( ontology:Q7725634 ) } } } } }
På vårt sätt Born to Run Vintage Violence Slow Train Coming Crises Shadows in the Night Purple Rain What's Going On Blurryface Desire Look Sharp! Shifty Adventures in Nookie Wood Appetite for Destruction Sometime Last Night Kowarenai Ai ga Hoshii no / Get Up! Rapper / Be All Right! The Visitors The Times They Are a-Changin' Sakanaction Pearls of Passion Paris 1919 Ring Ring A Night at the Opera Melon Juice Infidels Bringing It All Back Home Street-Legal Stand by For... HoboSapiens Doolittle Dylan Blood on the Tracks First Time Arrival A Broken Frame Subliminal Another Side of Bob Dylan Racine Carrée The Velvet Underground & Nico Shot of Love Fear The Dark Side of the Moon I Got a Boy Girls' Generation Communion Off the Wall Super Trouper Saved Sexy 8 Beat Oh! Artificial Intelligence Helen of Troy Kirarin Land Unapologetic John Wesley Harding Invincible Waterloo ABBA Who's Next Bob Dylan Rio New Morning Disconnected Walking on Locusts Mr.Mr. Girls' Generation Voulez-Vous Master of Puppets Loud Beyoncé Bad Fernande The Fame Monster Back in Black Nashville Skyline Got to Be There The Joshua Tree Everything Is 4 White on Blonde Highway 61 Revisited Planet Waves Time Out of Mind Artpop Mitsuboshi The Resistance Metallica Led Zeppelin IV Islands Ultraviolence Fallen Angels
Invincible, Fernande and Ultraviolence contained approximately the same number of releases or literary works as Master of Puppets
Invincible Fernande Ultraviolence
action approx
action union
action find_tuple_counts
relation tracklist
type release
type release
action find_tuple_counts
relation tracklist
type release
type literary work
action count
action filter_multi_types
action find
entity Master of Puppets
relation tracklist
type release
type literary work
[{'concept': 'release'}, 'tracklist', [{'concept': 'release'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) ?z WHERE { VALUES ( ?y ) { ( ontology:release ) ( ontology:literary_work ) } . ?d rdf:type ?y } GROUP BY ?z } . FILTER ( ?w = ?p ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?p ) WHERE { resource:Master_of_Puppets property:tracklist ?s . { ?s rdf:type ?a . VALUES ( ?a ) { ( ontology:release ) ( ontology:literary_work ) } } } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q2031291 Q7725634 Q502895
USER
Which releases are more number of literary works or people a part of than that release ?
(c(Q7725634)|c(Q502895),P361,c(Q2031291))
[[{'concept': 'Q7725634'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q2031291'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?w ) { ( ?z ) ( ?x ) } . ?w property:P361 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q2031291 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'literary work'}, {'concept': 'common name'}], 'part of', {'concept': 'release'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?w ) { ( ?z ) ( ?x ) } . ?w property:part_of ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:release . ?x rdf:type ontology:common_name }
[]
release literary work common name
Comparative|More/Less|Mult. entity type|Clarification
Q44376
SYSTEM
Did you mean Invincible ?
(c(Q7725634)|c(Q502895),P361,c(Q2031291))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q2031291'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?w ) { ( ?z ) ( ?x ) } . ?w property:P361 ?y } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q2031291 . ?x rdf:type ontology:Q502895 }
Did you mean Invincible ?
Invincible
[[{'concept': 'literary work'}, {'concept': 'common name'}], 'part of', {'concept': 'release'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?w ) { ( ?z ) ( ?x ) } . ?w property:part_of ?y } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:release . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
No, I meant Ultraviolence. Could you tell me the answer for that?
(c(Q7725634)|c(Q502895),P361,c(Q2031291))
Q15303771
[[{'concept': 'Q7725634'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q2031291'}]
[[{'concept': 'literary work'}, {'concept': 'common name'}], 'part of', {'concept': 'release'}]
[]
Q236009 Q605647 Q2907255
SYSTEM
Talk That Talk, HoboSapiens, BlackAcetate
Q2259878 Q2359129 Q659074 Q685052 Q3060888 Q3343324 Q605647 Q2758096 Q127290 Q16754649 Q128447 Q750081 Q15303590 Q27334705 Q286119 Q27493764 Q2701016 Q2703936 Q135417 Q128455 Q164621 Q1159467 Q17319538 Q2743297 Q205168 Q731908 Q208340 Q2907255 Q14566706 Q838172 Q126988 Q236009 Q193490 Q17429403 Q21152208 Q25935 Q22162599 Q3298216 Q20856989 Q6455943 Q45367 Q17747322 Q1056686 Q22678066 Q1026394 Q27074247 Q21287593 Q18607691 Q745712
(c(Q7725634)|c(Q502895),P361,c(Q2031291))
[ANSWERS] are more number of literary works or people a part of than that release
[[{'concept': 'Q7725634'}, {'concept': 'Q502895'}], 'P361', {'concept': 'Q2031291'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q2031291 . ?x rdf:type ontology:Q502895 }
Vintage Violence Shifty Adventures in Nookie Wood Aladdin Paris 1919 Mise à jour Non homologué HoboSapiens Fear Helen of Troy AKA Artificial Intelligence Selling England by the Pound Beyoncé Lamento Bionic Story of Hope Lacrimosa MP3 Prospekt's March Walking on Locusts The Fame Monster Love? The Endless River Artpop The Resistance Pop Loud BlackAcetate Racine Carrée J.Lo The Academy in Peril Talk That Talk Queen Take Me With You Blue Neighbourhood Lotus Unstoppable Matangi Nine Track Mind L'homme qui me ressemble Unapologetic Hey Stronger Hamilton Breakaway Dumbo Prophecy of Sound The Endless River (bonus disc) The 2nd Law
Talk That Talk, HoboSapiens and BlackAcetate are more number of literary works or people a part of than that release
Talk That Talk HoboSapiens BlackAcetate
[[{'concept': 'literary work'}, {'concept': 'common name'}], 'part of', {'concept': 'release'}]
SELECT DISTINCT ?y WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:release . ?x rdf:type ontology:common_name }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q2031291 Q7725634 Q15619164
USER
How many releases are greater number of literary works and abstract beings a part of than that release ?
(c(Q7725634)|c(Q15619164),P361,c(Q2031291))
[[{'concept': 'Q7725634'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q2031291'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q2031291 . ?x rdf:type ontology:Q15619164 }
[[{'concept': 'literary work'}, {'concept': 'abstract being'}], 'part of', {'concept': 'release'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:release . ?x rdf:type ontology:abstract_being }
[]
release literary work abstract being
Comparative|Count over More/Less|Mult. entity type|Clarification
Q2907255
SYSTEM
Did you mean BlackAcetate ?
(c(Q7725634)|c(Q15619164),P361,c(Q2031291))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q2031291'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q2031291 . ?x rdf:type ontology:Q15619164 }
Did you mean BlackAcetate ?
BlackAcetate
[[{'concept': 'literary work'}, {'concept': 'abstract being'}], 'part of', {'concept': 'release'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:release . ?x rdf:type ontology:abstract_being }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Talk That Talk. Could you tell me the answer for that?
(c(Q7725634)|c(Q15619164),P361,c(Q2031291))
Q236009
[[{'concept': 'Q7725634'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q2031291'}]
[[{'concept': 'literary work'}, {'concept': 'abstract being'}], 'part of', {'concept': 'release'}]
[]
SYSTEM
4
Q128455 Q17319538 Q6455943 Q22678066
(c(Q7725634)|c(Q15619164),P361,c(Q2031291))
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q2031291'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q7725634 . ?y rdf:type ontology:Q2031291 . ?x rdf:type ontology:Q15619164 }
Walking on Locusts The Endless River L'homme qui me ressemble Hamilton
4
[[{'concept': 'literary work'}, {'concept': 'abstract being'}], 'part of', {'concept': 'release'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:literary_work . ?y rdf:type ontology:release . ?x rdf:type ontology:abstract_being }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q16881132
P734 P21
Q502895
USER
Which people have Person as last name and have the gender as male ?
AND((c(Q502895),P734,Q16881132), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q16881132
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q16881132'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P734 resource:Q16881132 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
male Person
action filter_type
action intersection
action find_reverse
entity Person
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Person'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:family_name resource:Person . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
common name
Q16027138 Q6042706 Q297908 Q6043098 Q6043889 Q6043780 Q6043555 Q6042887 Q6043049 Q6042583
SYSTEM
Some of them are Félix Person, Carl Olov Persson, Örjan Persson, Johan Persson, Thorsten Persson, Sven Persson i Appuna, Per Persson, Gunnar Persson, Jerry Persson, Anders Persson i Burlöv
Q6042591 Q6042759 Q3544628 Q6043112 Q6043466 Q6042750 Q2071748 Q6043118 Q2874770 Q14565959 Q6042714 Q6042832 Q3118249 Q6043198 Q5005173 Q6043192 Q6043619 Q3366133 Q24018479 Q481346 Q6043597 Q16633348 Q16633349 Q16633346 Q16633347 Q6043613 Q16633345 Q15725598 Q6043295 Q6043752 Q10600467 Q6043049 Q1367436 Q6043514 Q6043579 Q6043472 Q6043265 Q6043634 Q2676120 Q6043460 Q6042900 Q18631878 Q6042691 Q6042697 Q6043851 Q18245020 Q6043666 Q18245024 Q6043661 Q1719952 Q6043213 Q381010 Q1459831 Q6042610 Q316031 Q19060216 Q11859996 Q6043406 Q6042858 Q4931144 Q3023188 Q6043274 Q16650129 Q18127278 Q515579 Q6042676 Q6043564 Q2053383 Q6042917 Q6043861 Q6042911 Q6043900 Q3675606 Q6042682 Q6043908 Q6042566 Q18202354 Q6043673 Q266224 Q16945455 Q2500117 Q6043377 Q6043107 Q6042602 Q6043796 Q6043555 Q6043242 Q4574312 Q6043744 Q6043314 Q6043249 Q6043423 Q19976922 Q6043083 Q16509274 Q3441733 Q6042789 Q6043642 Q4564102 Q6043055 Q6043484 Q6043480 Q4571019 Q6043766 Q6043923 Q6043369 Q19663075 Q18454600 Q6043309 Q6043542 Q6042874 Q6043780 Q6042656 Q297908 Q6043789 Q6043492 Q6043098 Q2376872 Q6043889 Q6043091 Q6043713 Q16027138 Q6043135 Q6043655 Q6042540 Q6043876 Q6042777 Q6043498 Q6043805 Q5499514 Q6043870 Q6043394 Q6043167 Q6043399 Q6043160 Q6043535 Q1383695 Q23006183 Q1351553 Q3380519 Q138049 Q6043726 Q1453288 Q6042852 Q6042551 Q6042620 Q1360709 Q491232 Q6042558 Q6043152 Q2625684 Q447207 Q6043627 Q1873113 Q6043389 Q15695023 Q16945457 Q6043257 Q6043812 Q6042636 Q6043324 Q6043440 Q5553207 Q6043683 Q6043446 Q6043528 Q6043680 Q5111662 Q18692956 Q6043733 Q6043074 Q53747 Q6043823 Q16741106 Q18245013 Q4994507 Q18245017 Q6043337 Q188208 Q6043221 Q6043433 Q1379017 Q6043453 Q6043129 Q6042743 Q6042583 Q6042628 Q6042806 Q4157818 Q6042924 Q6043830 Q6042706 Q6043931 Q6042887 Q16633350 Q6043605 Q6043330 Q6043235 Q6042736 Q19977144
AND((c(Q502895),P734,Q16881132), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q16881132
relation P734
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Person as last name and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q16881132'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?n WHERE { ?n property:P734 resource:Q16881132 . ?n property:P21 resource:Q6581097 . ?n rdf:type ontology:Q502895 }
Anders Persson i Tofta Daniel Persson i Tällberg Erling Persson Johan Persson i Tidaholm Nils O. Persson Daniel Persson Gösta Persson Johan Persson i Årsta Axel Persson John Persson Carry Persson Esbjörn Persson Grus-Olle Persson Karl-Erik Persson Börje Persson Karl Persson Per Persson i Valnäs Gehnäll Persson Göran Persson Axel W. Persson Per Fritjof Persson Mats Persson Åke Persson Harry Persson Kim Persson Per Persson i Trången Bo Persson Hasse Persson Lennart Persson Stefan Persson Nicklas Persson Jerry Persson Niklas Persson Olof Persson Per Persson Ola Persson Lars Persson i Västvalla Per Ole Persson Bent Persson Nils Persson i Vadensjö Göran Persson Tony Persson Carl Persson Carl Persson i Stallerhult Tommy Persson Magnus Persson Petter Persson Staffan Persson Peter Adolf Persson Karl-Johan Persson Kent Persson (politician) Olaus Petri Peps Persson Andy Persson Torsten Persson Tom Persson François Person Morten Persson Fritz Persson Bo Persson Dennis Persson Lasse Persson Mats Persson Fred Persson Jörgen Persson Bertil Persson Per Persson Ingmar Persson Hans Persson Tore Persson Hans Persson Ture Persson Christer Persson Bror Persson Uffe Persson Anders Persson Frans Oscar Persson Ragnar Persson Markus Persson Stig Persson Urbain-Marie Person Mats Persson Johan Persson i Hult Anders Persson i Mörarp Sven Hugo Persson Per Persson Lars Persson Set Persson Stefan Persson Leo Persson Lars Persson Nils Persson Karl Erik Persson Johan Persson Jonas Persson Nils Persson Einar Persson Per-Anders Persson Frans Persson Joachim Persson Ola Persson i Rinkaby Ola Persson Elov Persson Stefan Persson Yngve Persson Mats Persson François Person Björn Persson Lennart Persson Otto Persson Goy Persson Sven Persson i Appuna Bengt Persson Örjan Persson Sven Gunnar Persson Olle Persson Johan Persson Yves Person Thorsten Persson Johan Persson Rune Persson Félix Person Jonas Persson Peter Persson Alfred Persson Tore Persson Edvard Persson Olle Persson Sven Persson i Norrköping Fredrik Persson Tore Persson Mattias Persson Jöns Persson Mattias Persson Jonathan Persson Olof Persson Nils Persson Per Persson Eric Persson Philippe Person Christer Persson Sigurd Persson Fredrik Persson Fredrik Persson Algot Persson Arne Persson Stig Persson Anders Persson Anders Persson Jonas Persson Jöran Persson Jörgen Persson Per Johan Persson Lucas Persson Mattias Persson Tim Persson Stig Persson Lars Göran Persson Sven O. Persson Olof August Persson Linus Persson Nils Persson i Grytterud Gert Persson Rasmus Persson Nils Persson i Ringstorp Olof Persson i Killebäckstorp Ragnar Persson Christoffer Persson Rickard Persson Simon Persson Johan Persson Göran Persson Sven Yngve Persson Per Oscar Persson Bo Anders Persson Edvard Persson Folke Persson Magnus Persson Åke Persson Kent Persson Nils Birger Persson Joakim Persson Nils Persson i Svensköp Jon Persson Dan Persson Anders Persson i Burlöv August Persson Eric Sigfrid Persson Gunnar Persson Harry Persson Swen Persson Carl Olov Persson Åke Persson Gunnar Persson Åke Persson Per Persson i Norrby Magnus Persson Lars Persson Curt Persson Bertil Persson
Félix Person, Carl Olov Persson, Örjan Persson, Johan Persson, Thorsten Persson, Sven Persson i Appuna, Per Persson, Gunnar Persson, Jerry Persson and Anders Persson i Burlöv have Person as last name and have the gender as male
Félix Person Carl Olov Persson Örjan Persson Johan Persson Thorsten Persson Sven Persson i Appuna Per Persson Gunnar Persson Jerry Persson Anders Persson i Burlöv
action filter_type
action intersection
action find_reverse
entity Person
relation family name
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Person'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?n WHERE { ?n property:family_name resource:Person . ?n property:gender resource:male . ?n rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6043555
P106
Q12737077
USER
What is the profession of that person ?
(Q6043555,P106,c(Q12737077))
action filter_type
action find
entity Q6043555
relation P106
type Q12737077
['Q6043555', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q6043555 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Per Persson
action filter_type
action find
entity Per Persson
relation occupation
type occupation
['Per Persson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Per_Persson property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q16027138
SYSTEM
Did you mean Félix Person ?
Q16027138 Q6042706 Q297908 Q6043098 Q6043889 Q6043780 Q6043555 Q6042887 Q6043049 Q6042583
(Q16027138,P106,c(Q12737077)) (Q6042706,P106,c(Q12737077)) (Q297908,P106,c(Q12737077)) (Q6043098,P106,c(Q12737077)) (Q6043889,P106,c(Q12737077)) (Q6043780,P106,c(Q12737077)) (Q6043555,P106,c(Q12737077)) (Q6042887,P106,c(Q12737077)) (Q6043049,P106,c(Q12737077)) (Q6042583,P106,c(Q12737077))
[ANSWER]
['Q16027138', 'P106', {'concept': 'Q12737077'}] ['Q6042706', 'P106', {'concept': 'Q12737077'}] ['Q297908', 'P106', {'concept': 'Q12737077'}] ['Q6043098', 'P106', {'concept': 'Q12737077'}] ['Q6043889', 'P106', {'concept': 'Q12737077'}] ['Q6043780', 'P106', {'concept': 'Q12737077'}] ['Q6043555', 'P106', {'concept': 'Q12737077'}] ['Q6042887', 'P106', {'concept': 'Q12737077'}] ['Q6043049', 'P106', {'concept': 'Q12737077'}] ['Q6042583', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q6043555 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Félix Person Carl Olov Persson Örjan Persson Johan Persson Thorsten Persson Sven Persson i Appuna Per Persson Gunnar Persson Jerry Persson Anders Persson i Burlöv
Did you mean Félix Person ?
Félix Person
['Félix Person', 'occupation', {'concept': 'occupation'}] ['Carl Olov Persson', 'occupation', {'concept': 'occupation'}] ['Örjan Persson', 'occupation', {'concept': 'occupation'}] ['Johan Persson', 'occupation', {'concept': 'occupation'}] ['Thorsten Persson', 'occupation', {'concept': 'occupation'}] ['Sven Persson i Appuna', 'occupation', {'concept': 'occupation'}] ['Per Persson', 'occupation', {'concept': 'occupation'}] ['Gunnar Persson', 'occupation', {'concept': 'occupation'}] ['Jerry Persson', 'occupation', {'concept': 'occupation'}] ['Anders Persson i Burlöv', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Per_Persson property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Per Persson. Could you tell me the answer for that?
(Q6043555,P106,c(Q12737077))
Q6043555
['Q6043555', 'P106', {'concept': 'Q12737077'}]
['Per Persson', 'occupation', {'concept': 'occupation'}]
[]
Q42973
SYSTEM
architect
Q42973
(Q6043555,P106,c(Q12737077))
action filter_type
action find
entity Q6043555
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q6043555', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q6043555 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
architect
The profession of that person is an architect
architect
action filter_type
action find
entity Per Persson
relation occupation
type occupation
['Per Persson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Per_Persson property:occupation ?p . ?p rdf:type ontology:occupation }
[]