Simple Question (Direct)
Simple Question
Q290468
P734
Q82799
USER
Who is associated with Evelyn King ?
(Q290468,P734,c(Q82799))
action filter_type
action find
entity Q290468
relation P734
type Q82799
['Q290468', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q290468 property:P734 ?j . ?j rdf:type ontology:Q82799 }
Evelyn King
action filter_type
action find
entity Evelyn King
relation family name
type name
['Evelyn King', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Evelyn_King property:family_name ?j . ?j rdf:type ontology:name }
[]
name
Q535214
SYSTEM
King
Q535214
(Q290468,P734,c(Q82799))
action filter_type
action find
entity Q290468
relation P734
type Q82799
[ANSWER] is associated with Evelyn [ANSWER]
['Q290468', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?j WHERE { resource:Q290468 property:P734 ?j . ?j rdf:type ontology:Q82799 }
King
King is associated with Evelyn King
King
action filter_type
action find
entity Evelyn King
relation family name
type name
['Evelyn King', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?j WHERE { resource:Evelyn_King property:family_name ?j . ?j rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q290468
P175
Q7725634
USER
Which literary works gave the performance of that person ?
(c(Q7725634),P175,Q535214)
action filter_type
action find_reverse
entity Q290468
relation P175
type Q7725634
[{'concept': 'Q7725634'}, 'P175', 'Q535214']
SELECT DISTINCT ?o WHERE { ?o property:P175 resource:Q290468 . ?o rdf:type ontology:Q7725634 }
Evelyn King
action filter_type
action find_reverse
entity Evelyn King
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'King']
SELECT DISTINCT ?o WHERE { ?o property:performer resource:Evelyn_King . ?o rdf:type ontology:literary_work }
[]
literary work
Q5991028 Q7487497
SYSTEM
If You Want My Lovin', Shame
Q5991028 Q7487497
(c(Q7725634),P175,Q535214)
action filter_type
action find_reverse
entity Q290468
relation P175
type Q7725634
If You want My Lovin' and Shame gave the performance of that person
[{'concept': 'Q7725634'}, 'P175', 'Q535214']
SELECT DISTINCT ?o WHERE { ?o property:P175 resource:Q290468 . ?o rdf:type ontology:Q7725634 }
If You Want My Lovin' Shame
If You want My Lovin' and Shame gave the performance of that person
If You Want My Lovin' Shame
action filter_type
action find_reverse
entity Evelyn King
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'King']
SELECT DISTINCT ?o WHERE { ?o property:performer resource:Evelyn_King . ?o rdf:type ontology:literary_work }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q488353
P19
Q56061
USER
How many administrative territories were Natalie Imbruglia born ?
(Q488353,P19,c(Q56061))
action count
action filter_type
action find
entity Q488353
relation P19
type Q56061
['Q488353', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Q488353 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Natalie Imbruglia
action count
action filter_type
action find
entity Natalie Imbruglia
relation place of birth
type administrative territorial entity
['Natalie Imbruglia', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Natalie_Imbruglia property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q3130
(Q488353,P19,c(Q56061))
action count
action filter_type
action find
entity Q488353
relation P19
type Q56061
[ANSWER]
['Q488353', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Q488353 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Sydney
1
action count
action filter_type
action find
entity Natalie Imbruglia
relation place of birth
type administrative territorial entity
['Natalie Imbruglia', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { resource:Natalie_Imbruglia property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q19697974
Q56061
USER
And how about Witold Święcicki?
(Q19697974,P19,c(Q56061))
action count
action filter_type
action find
entity Q19697974
relation P19
type Q56061
['Q19697974', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q19697974 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Witold Święcicki
action count
action filter_type
action find
entity Witold Święcicki
relation place of birth
type administrative territorial entity
['Witold Święcicki', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Witold_Święcicki property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q19697974,P19,c(Q56061))
action count
action filter_type
action find
entity Q19697974
relation P19
type Q56061
[ANSWER]
['Q19697974', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q19697974 property:P19 ?f . ?f rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Witold Święcicki
relation place of birth
type administrative territorial entity
['Witold Święcicki', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Witold_Święcicki property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q535214 Q176086
P734
Q502895
USER
How many people have King or Derik as surname ?
(c(Q502895),P734,Q535214) (c(Q502895),P734,Q176086)
action count
action union
action filter_type
action find_reverse
entity Q535214
relation P734
type Q502895
action filter_type
action find_reverse
entity Q176086
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q535214'] [{'concept': 'Q502895'}, 'P734', 'Q176086']
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { ?q property:P734 resource:Q176086 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P734 resource:Q535214 . ?q rdf:type ontology:Q502895 } }
King Derik
action count
action union
action filter_type
action find_reverse
entity King
relation family name
type common name
action filter_type
action find_reverse
entity Derik
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'King'] [{'concept': 'common name'}, 'family name', 'Derik']
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { ?q property:family_name resource:Derik . ?q rdf:type ontology:common_name } UNION { ?q property:family_name resource:King . ?q rdf:type ontology:common_name } }
[]
common name
SYSTEM
167
Q15402259 Q1095462 Q3836823 Q749710 Q145173 Q15509336 Q112449 Q643106 Q18638271 Q736225 Q272794 Q4708729 Q923059 Q21556924 Q4912853 Q953554 Q3392877 Q860223 Q2351481 Q24006614 Q1463202 Q1334740 Q6969180 Q366731 Q16575211 Q3837913 Q2832846 Q3481618 Q445648 Q1403519 Q3752021 Q3723493 Q458994 Q971422 Q112536 Q2928642 Q3931219 Q816536 Q4980203 Q673384 Q3703224 Q2345204 Q763044 Q8027 Q3452800 Q461280 Q579902 Q21464833 Q217787 Q3783476 Q128238 Q2040299 Q7000747 Q3992491 Q1659556 Q713198 Q269505 Q543356 Q526445 Q2958563 Q1922188 Q16730869 Q7369266 Q2053693 Q16567113 Q973491 Q25249291 Q128633 Q16631449 Q10588 Q455240 Q1363071 Q6969179 Q297210 Q21517220 Q44809 Q20825622 Q338389 Q3666371 Q22668106 Q3310029 Q290315 Q14918446 Q1690834 Q3473368 Q23662252 Q1631306 Q936186 Q54527 Q54528 Q2978917 Q290468 Q213430 Q5236019 Q541483 Q822531 Q26433947 Q3857411 Q188969 Q436209 Q18636020 Q11322 Q375114 Q6551713 Q207401 Q4020203 Q6490649 Q6999969 Q18638380 Q2440012 Q16930213 Q3618504 Q3941977 Q3931728 Q5289338 Q512896 Q234544 Q3608060 Q7427859 Q233038 Q3505573 Q39829 Q7689038 Q3952845 Q16568685 Q653159 Q202240 Q3938332 Q924150 Q3984815 Q6480877 Q436237 Q3948338 Q18670959 Q2959529 Q21557035 Q3849808 Q3783802 Q2010690 Q437741 Q370377 Q298985 Q344977 Q479622 Q2997510 Q580473 Q24576872 Q3607715 Q2832979 Q979221 Q4382250 Q456794 Q1079861 Q1060908 Q1338334 Q3611283 Q469568 Q546369 Q707117 Q6123807 Q671520 Q3990666 Q292470 Q3990661 Q1604798 Q966827 Q25028591
(c(Q502895),P734,Q535214) (c(Q502895),P734,Q176086)
action count
action union
action filter_type
action find_reverse
entity Q535214
relation P734
type Q502895
action filter_type
action find_reverse
entity Q176086
relation P734
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P734', 'Q535214'] [{'concept': 'Q502895'}, 'P734', 'Q176086']
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { ?q property:P734 resource:Q176086 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P734 resource:Q535214 . ?q rdf:type ontology:Q502895 } }
Wright King Clarence King Lorelei King Steve King Zalman King Aja Naomi King Stacey King Alan King Chuck King Bob King Laurie R. King Alastair King Charles King Ellen King Billy King Peter King Winfred King Charles King Chris King Senna Deriks James King Perry King Nathan King Ernest King Tony King Loyd King Stephen King Shawn King Kaki King Paul King Frankie King Ellen King Yolanda King Ed King Joey King Burton L. King Rebecca Ann King Benjamin King Bryan King Rich King David King Maurice King Jim King Martin Luther King, Jr. Rufus King Mary King Alexander King Philippa King Carole King Harriet King Shaun King Jamie King Ron King Tom King Li Tchoan King Mark King Henry King Dwight King Andy King Charles Bird King Mervyn King I. Marlene King Ross D. King Jack King Jared King Gregory King William King William Lyon Mackenzie King Eddy King Marlon King Diana King Leamon King Nathan King Kerry King Moynan King Albert King Jim King Rodney King Charles Daly King Jackie King Michel King Danielle King David King Joanne King Sarah King Susan King Alex King Dave King Billie Jean King Vania King Cleo King Evelyn King Larry King David King Gerard King Bernard King William Charles Holland King Mike King B. B. King Freddie King Sonny King Louis King Horatio King Linda King Ledley King Christine King Farris Larry L. King Dan King Cali King Adrienne King Mollie King Anthony King Rowena King Reggie King Dolly King Erik King Regina King Albert King Savannah King Jaime King Susan Hogan Stephen King Tavarres King Scott King Kate King Graham King Allan King Robert King Emmit King Terry King Lamar King Joshua King Sandy King Daniel King Charles King Tessa King Marquette King Haynes King Jamie King Mary-Claire King Joe Hill William R. King Don King Phillip King Dennis King James King Carlyle King Alan King Alex King Michael Patrick King Chris Thomas King Rufus King Dennis King Georgia King Phillip Parker King Alfred Daniel Williams King Joyce King Ted King Owen King Jaime King John King Thomas King Isis King Thomas Joseph King Simon King Jimmy King Lilly King
167
action count
action union
action filter_type
action find_reverse
entity King
relation family name
type common name
action filter_type
action find_reverse
entity Derik
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'King'] [{'concept': 'common name'}, 'family name', 'Derik']
SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { { ?q property:family_name resource:Derik . ?q rdf:type ontology:common_name } UNION { ?q property:family_name resource:King . ?q rdf:type ontology:common_name } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6251237 Q488353
P27
Q1048835
USER
Which political territories do Natalie Imbruglia or John Oliver belong to ?
OR((Q488353,P27,c(Q1048835)), (Q6251237,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q488353
relation P27
action find
entity Q6251237
relation P27
type Q1048835
{'OR': [['Q488353', 'P27', {'concept': 'Q1048835'}], ['Q6251237', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q6251237 property:P27 ?t } UNION { resource:Q488353 property:P27 ?t } } . ?t rdf:type ontology:Q1048835 }
John Oliver Natalie Imbruglia
action filter_type
action union
action find
entity Natalie Imbruglia
relation country of citizenship
action find
entity John Oliver
relation country of citizenship
type political territorial entity
{'OR': [['Natalie Imbruglia', 'country of citizenship', {'concept': 'political territorial entity'}], ['John Oliver', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:John_Oliver property:country_of_citizenship ?t } UNION { resource:Natalie_Imbruglia property:country_of_citizenship ?t } } . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
OR((Q488353,P27,c(Q1048835)), (Q6251237,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q488353
relation P27
action find
entity Q6251237
relation P27
type Q1048835
Natalie Imbruglia or John Oliver belong to the [ANSWER]
{'OR': [['Q488353', 'P27', {'concept': 'Q1048835'}], ['Q6251237', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q6251237 property:P27 ?t } UNION { resource:Q488353 property:P27 ?t } } . ?t rdf:type ontology:Q1048835 }
Australia
Natalie Imbruglia or John Oliver belong to the Australia
Australia
action filter_type
action union
action find
entity Natalie Imbruglia
relation country of citizenship
action find
entity John Oliver
relation country of citizenship
type political territorial entity
{'OR': [['Natalie Imbruglia', 'country of citizenship', {'concept': 'political territorial entity'}], ['John Oliver', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:John_Oliver property:country_of_citizenship ?t } UNION { resource:Natalie_Imbruglia property:country_of_citizenship ?t } } . ?t rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q15416 Q9332 Q7725634
USER
Which literary works are a part of exactly 1 television programs or behaviors ?
(c(Q7725634),P361,c(Q15416)|c(Q9332))
action equal
action union
action find_tuple_counts
relation P361
type Q7725634
type Q15416
action find_tuple_counts
relation P361
type Q7725634
type Q9332
value 1
[{'concept': 'Q7725634'}, 'P361', [{'concept': 'Q15416'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?z ) WHERE { VALUES ( ?f ) { ( ontology:Q9332 ) ( ontology:Q15416 ) } . ?t rdf:type ?f } GROUP BY ?k } . FILTER ( ?z = 1 ) }
action equal
action union
action find_tuple_counts
relation part of
type literary work
type television program
action find_tuple_counts
relation part of
type literary work
type behavior
value 1
[{'concept': 'literary work'}, 'part of', [{'concept': 'television program'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?z ) WHERE { VALUES ( ?f ) { ( ontology:behavior ) ( ontology:television_program ) } . ?t rdf:type ?f } GROUP BY ?k } . FILTER ( ?z = 1 ) }
[]
television program behavior literary work
Q16966903 Q3018956 Q21072617
SYSTEM
Peter Gunn, Dernière Chance, Slovenia in the Junior Eurovision Song Contest 2015
Q3018956 Q400216 Q16966903 Q21072617 Q6013472
(c(Q7725634),P361,c(Q15416)|c(Q9332))
action equal
action union
action find_tuple_counts
relation P361
type Q7725634
type Q15416
action find_tuple_counts
relation P361
type Q7725634
type Q9332
value 1
[ANSWERS] are a part of exactly 1 television programs or behaviors
[{'concept': 'Q7725634'}, 'P361', [{'concept': 'Q15416'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?z ) WHERE { VALUES ( ?f ) { ( ontology:Q9332 ) ( ontology:Q15416 ) } . ?t rdf:type ?f } GROUP BY ?k } . FILTER ( ?z = 1 ) }
Dernière Chance Ahesta Bero Peter Gunn Slovenia in the Junior Eurovision Song Contest 2015 Inama Nushif
Peter Gunn, Dernière Chance and Slovenia in the Junior Eurovision Song Contest 2015 are a part of exactly 1 television programs or behaviors
Peter Gunn Dernière Chance Slovenia in the Junior Eurovision Song Contest 2015
action equal
action union
action find_tuple_counts
relation part of
type literary work
type television program
action find_tuple_counts
relation part of
type literary work
type behavior
value 1
[{'concept': 'literary work'}, 'part of', [{'concept': 'television program'}, {'concept': 'behavior'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?t ) AS ?z ) WHERE { VALUES ( ?f ) { ( ontology:behavior ) ( ontology:television_program ) } . ?t rdf:type ?f } GROUP BY ?k } . FILTER ( ?z = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q408 Q9356614
P122
Q1307214
USER
How many forms of government are the types of government for Australia or Temeria ?
(Q408,P122,c(Q1307214)) (Q9356614,P122,c(Q1307214))
action count
action union
action filter_type
action find
entity Q408
relation P122
type Q1307214
action filter_type
action find
entity Q9356614
relation P122
type Q1307214
['Q408', 'P122', {'concept': 'Q1307214'}] ['Q9356614', 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { resource:Q408 property:P122 ?k . ?k rdf:type ontology:Q1307214 } UNION { resource:Q9356614 property:P122 ?k . ?k rdf:type ontology:Q1307214 } }
Australia Temeria
action count
action union
action filter_type
action find
entity Australia
relation basic form of government
type form of government
action filter_type
action find
entity Temeria
relation basic form of government
type form of government
['Australia', 'basic form of government', {'concept': 'form of government'}] ['Temeria', 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { resource:Australia property:basic_form_of_government ?k . ?k rdf:type ontology:form_of_government } UNION { resource:Temeria property:basic_form_of_government ?k . ?k rdf:type ontology:form_of_government } }
[]
form of government
SYSTEM
2
Q7269 Q43702
(Q408,P122,c(Q1307214)) (Q9356614,P122,c(Q1307214))
action count
action union
action filter_type
action find
entity Q408
relation P122
type Q1307214
action filter_type
action find
entity Q9356614
relation P122
type Q1307214
[ANSWER]
['Q408', 'P122', {'concept': 'Q1307214'}] ['Q9356614', 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { resource:Q408 property:P122 ?k . ?k rdf:type ontology:Q1307214 } UNION { resource:Q9356614 property:P122 ?k . ?k rdf:type ontology:Q1307214 } }
monarchy federation
2
action count
action union
action filter_type
action find
entity Australia
relation basic form of government
type form of government
action filter_type
action find
entity Temeria
relation basic form of government
type form of government
['Australia', 'basic form of government', {'concept': 'form of government'}] ['Temeria', 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { resource:Australia property:basic_form_of_government ?k . ?k rdf:type ontology:form_of_government } UNION { resource:Temeria property:basic_form_of_government ?k . ?k rdf:type ontology:form_of_government } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P740
Q2088357
USER
Which are the musical ensembles that originates at Australia ?
(c(Q2088357),P740,Q408)
action filter_type
action find_reverse
entity Q408
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q408']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2088357 . ?z property:P740 resource:Q408 }
Australia
action filter_type
action find_reverse
entity Australia
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Australia']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:musical_ensemble . ?z property:location_of_formation resource:Australia }
[]
musical ensemble
Q7776316 Q915366 Q7429893
SYSTEM
The Wrights, Horde, Scandal'us
Q915366 Q7429893 Q7445785 Q7763657 Q1058926 Q7776316
(c(Q2088357),P740,Q408)
action filter_type
action find_reverse
entity Q408
relation P740
type Q2088357
The musical ensembles that originates at Australia are [ANSWERS]
[{'concept': 'Q2088357'}, 'P740', 'Q408']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2088357 . ?z property:P740 resource:Q408 }
Horde Scandal'us Seeker Lover Keeper The Shaolin Afronauts Yolanda Be Cool The Wrights
The musical ensembles that originates at Australia are The Wrights, Horde and Scandal'us
The Wrights Horde Scandal'us
action filter_type
action find_reverse
entity Australia
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Australia']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:musical_ensemble . ?z property:location_of_formation resource:Australia }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7429893
P136
Q151885
USER
Which concept can be considered as genre of that musical ensemble ?
(Q7429893,P136,c(Q151885))
action filter_type
action find
entity Q7429893
relation P136
type Q151885
['Q7429893', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q7429893 property:P136 ?h . ?h rdf:type ontology:Q151885 }
Scandal'us
action filter_type
action find
entity Scandal'us
relation genre
type concept
["Scandal'us", 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:Scandal'us property:genre ?h . ?h rdf:type ontology:concept }
[]
concept
Clarification for simple ques.
Q7776316
SYSTEM
Did you mean The Wrights ?
Q7776316 Q915366 Q7429893
(Q7776316,P136,c(Q151885)) (Q915366,P136,c(Q151885)) (Q7429893,P136,c(Q151885))
[ANSWER]
['Q7776316', 'P136', {'concept': 'Q151885'}] ['Q915366', 'P136', {'concept': 'Q151885'}] ['Q7429893', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q7429893 property:P136 ?h . ?h rdf:type ontology:Q151885 }
The Wrights Horde Scandal'us
Did you mean The Wrights ?
The Wrights
['The Wrights', 'genre', {'concept': 'concept'}] ['Horde', 'genre', {'concept': 'concept'}] ["Scandal'us", 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:Scandal'us property:genre ?h . ?h rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
USER
No, I meant Scandal'us. Could you tell me the answer for that?
(Q7429893,P136,c(Q151885))
Q7429893
['Q7429893', 'P136', {'concept': 'Q151885'}]
["Scandal'us", 'genre', {'concept': 'concept'}]
[]
Q37073
SYSTEM
pop music
Q37073
(Q7429893,P136,c(Q151885))
action filter_type
action find
entity Q7429893
relation P136
type Q151885
[ANSWER] can be considered as genre of that musical ensemble
['Q7429893', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q7429893 property:P136 ?h . ?h rdf:type ontology:Q151885 }
pop music
Pop music can be considered as genre of that musical ensemble
pop music
action filter_type
action find
entity Scandal'us
relation genre
type concept
["Scandal'us", 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:Scandal'us property:genre ?h . ?h rdf:type ontology:concept }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q11266977
P706
Q1048835 Q151885
USER
Which political territories are greater number of concepts located on than Epirus ?
(c(Q151885),P706,c(Q1048835))
action greater
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q151885
action count
action filter_type
action find
entity Q11266977
relation P706
type Q1048835
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:P706 ?p . ?p rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q151885 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q11266977 property:P706 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?c > ?x ) }
Epirus
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type concept
action count
action filter_type
action find
entity Epirus
relation located on terrain feature
type political territorial entity
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:located_on_terrain_feature ?p . ?p rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:concept } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Epirus property:located_on_terrain_feature ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?c > ?x ) }
[]
political territorial entity concept
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
(c(Q151885),P706,c(Q1048835))
action greater
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q151885
action count
action filter_type
action find
entity Q11266977
relation P706
type Q1048835
[ANSWERS] are greater number of concepts located on than Epirus
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:P706 ?p . ?p rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q151885 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Q11266977 property:P706 ?i . ?i rdf:type ontology:Q1048835 } } . FILTER ( ?c > ?x ) }
Germany Denmark
Germany and Denmark are greater number of concepts located on than Epirus
Germany Denmark
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type concept
action count
action filter_type
action find
entity Epirus
relation located on terrain feature
type political territorial entity
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?c ) WHERE { ?j property:located_on_terrain_feature ?p . ?p rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:concept } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { resource:Epirus property:located_on_terrain_feature ?i . ?i rdf:type ontology:political_territorial_entity } } . FILTER ( ?c > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q40
P706
Q1048835 Q151885
USER
And what about Austria?
(c(Q151885),P706,c(Q1048835))
action greater
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q151885
action count
action filter_type
action find
entity Q40
relation P706
type Q1048835
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:P706 ?j . ?b rdf:type ontology:Q151885 . ?j rdf:type ontology:Q1048835 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q40 property:P706 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?l > ?s ) }
Austria
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type concept
action count
action filter_type
action find
entity Austria
relation located on terrain feature
type political territorial entity
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:located_on_terrain_feature ?j . ?b rdf:type ontology:concept . ?j rdf:type ontology:political_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Austria property:located_on_terrain_feature ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?l > ?s ) }
[]
political territorial entity concept
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
(c(Q151885),P706,c(Q1048835))
action greater
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q151885
action count
action filter_type
action find
entity Q40
relation P706
type Q1048835
[ANSWERS]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:P706 ?j . ?b rdf:type ontology:Q151885 . ?j rdf:type ontology:Q1048835 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q40 property:P706 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?l > ?s ) }
Germany Denmark
Germany Denmark
action greater
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type concept
action count
action filter_type
action find
entity Austria
relation located on terrain feature
type political territorial entity
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?l ) WHERE { ?b property:located_on_terrain_feature ?j . ?b rdf:type ontology:concept . ?j rdf:type ontology:political_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Austria property:located_on_terrain_feature ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?l > ?s ) }
[]