Simple Question (Direct)
Simple Question
Q691421
P21
Q290
USER
Which sex does Marc Uyttendaele have ?
(Q691421,P21,c(Q290))
action filter_type
action find
entity Q691421
relation P21
type Q290
['Q691421', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q691421 property:P21 ?i . ?i rdf:type ontology:Q290 }
Marc Uyttendaele
action filter_type
action find
entity Marc Uyttendaele
relation gender
type sex
['Marc Uyttendaele', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Marc_Uyttendaele property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q691421,P21,c(Q290))
action filter_type
action find
entity Q691421
relation P21
type Q290
Marc Uyttendaele has 1 [ANSWER]
['Q691421', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q691421 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
Marc Uyttendaele has 1 male
male
action filter_type
action find
entity Marc Uyttendaele
relation gender
type sex
['Marc Uyttendaele', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Marc_Uyttendaele property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P69
Q502895
USER
Who was educated at that sex ?
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P69 resource:Q6581097 }
male
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:educated_at resource:male }
[]
common name
Q4662307
SYSTEM
Aaron Parchem
Q4662307
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[ANSWER] was educated at that sex
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P69 resource:Q6581097 }
Aaron Parchem
Aaron Parchem was educated at that sex
Aaron Parchem
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:educated_at resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q4662307 Q4653365
P1344
Q13406554
USER
How many sport competitions did Aaron Parchem or APOEL V.C. participate in ?
(Q4662307,P1344,c(Q13406554)) (Q4653365,P1344,c(Q13406554))
action count
action union
action filter_type
action find
entity Q4662307
relation P1344
type Q13406554
action filter_type
action find
entity Q4653365
relation P1344
type Q13406554
['Q4662307', 'P1344', {'concept': 'Q13406554'}] ['Q4653365', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { resource:Q4662307 property:P1344 ?t . ?t rdf:type ontology:Q13406554 } UNION { resource:Q4653365 property:P1344 ?t . ?t rdf:type ontology:Q13406554 } }
Aaron Parchem APOEL V.C.
action count
action union
action filter_type
action find
entity Aaron Parchem
relation participant of
type sport competition
action filter_type
action find
entity APOEL V.C.
relation participant of
type sport competition
['Aaron Parchem', 'participant of', {'concept': 'sport competition'}] ['APOEL V.C.', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { resource:Aaron_Parchem property:participant_of ?t . ?t rdf:type ontology:sport_competition } UNION { resource:APOEL_V.C. property:participant_of ?t . ?t rdf:type ontology:sport_competition } }
[]
sport competition
SYSTEM
36
Q27655407 Q27655406 Q27655408 Q20664326 Q23901086 Q20664397 Q20059854 Q27654491 Q27654502 Q20667125 Q27654503 Q27654490 Q27654493 Q27654500 Q27654507 Q27654494 Q27654505 Q27654504 Q27654499 Q27654495 Q27654508 Q27654511 Q27654497 Q27655417 Q27654496 Q27654498 Q20653751 Q27654514 Q27654515 Q27654516 Q27654517 Q27654510 Q27654487 Q27654513 Q27654488 Q27654489
(Q4662307,P1344,c(Q13406554)) (Q4653365,P1344,c(Q13406554))
action count
action union
action filter_type
action find
entity Q4662307
relation P1344
type Q13406554
action filter_type
action find
entity Q4653365
relation P1344
type Q13406554
[ANSWER]
['Q4662307', 'P1344', {'concept': 'Q13406554'}] ['Q4653365', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { resource:Q4662307 property:P1344 ?t . ?t rdf:type ontology:Q13406554 } UNION { resource:Q4653365 property:P1344 ?t . ?t rdf:type ontology:Q13406554 } }
2004-05 Cyprus Volleyball Division 1 2003-04 Cyprus Volleyball Division 1 2005-06 Cyprus Volleyball Division 1 2008-09 Cyprus Volleyball Division 1 2015-16 Cyprus Volleyball Division 1 2007-08 Cyprus Volleyball Division 1 2014-15 Cyprus Volleyball Division 1 1981-1982 Cyprus Volleyball Division 1 1990-1991 Cyprus Volleyball Division 1 2006-07 Cyprus Volleyball Division 1 1991-1992 Cyprus Volleyball Division 1 1980-1981 Cyprus Volleyball Division 1 1982-1983 Cyprus Volleyball Division 1 1989-1990 Cyprus Volleyball Division 1 1994-1995 Cyprus Volleyball Division 1 1983-1984 Cyprus Volleyball Division 1 1993-1994 Cyprus Volleyball Division 1 1992-1993 Cyprus Volleyball Division 1 1988-1989 Cyprus Volleyball Division 1 1984-1985 Cyprus Volleyball Division 1 1995-1996 Cyprus Volleyball Division 1 1997-1998 Cyprus Volleyball Division 1 1986-1987 Cyprus Volleyball Division 1 2016-17 Cyprus Volleyball Division 1 1985-1986 Cyprus Volleyball Division 1 1987-1988 Cyprus Volleyball Division 1 2013-14 Cyprus Volleyball Division 1 1999-2000 Cyprus Volleyball Division 1 2000-2001 Cyprus Volleyball Division 1 2001-2002 Cyprus Volleyball Division 1 2002-2003 Cyprus Volleyball Division 1 1996-1997 Cyprus Volleyball Division 1 1978 Cyprus Volleyball Division 1 1998-1999 Cyprus Volleyball Division 1 1978-1979 Cyprus Volleyball Division 1 1979-1980 Cyprus Volleyball Division 1
36
action count
action union
action filter_type
action find
entity Aaron Parchem
relation participant of
type sport competition
action filter_type
action find
entity APOEL V.C.
relation participant of
type sport competition
['Aaron Parchem', 'participant of', {'concept': 'sport competition'}] ['APOEL V.C.', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { { resource:Aaron_Parchem property:participant_of ?t . ?t rdf:type ontology:sport_competition } UNION { resource:APOEL_V.C. property:participant_of ?t . ?t rdf:type ontology:sport_competition } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q560531
P417
Q502895 Q12737077 Q16970
USER
Which people are the patron saints of more number of occupations or churches than Suitbert of Kaiserswerdt ?
(c(Q12737077)|c(Q16970),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q560531
relation P417
type Q12737077
type Q16970
[[{'concept': 'Q12737077'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P417 resource:Q560531 . { { ?x rdf:type ontology:Q16970 } UNION { ?x rdf:type ontology:Q12737077 } } } } . FILTER ( ?l > ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?l ) WHERE { VALUES ( ?u ) { ( ontology:Q16970 ) ( ontology:Q12737077 ) } . ?r rdf:type ?u } GROUP BY ?j } }
Suitbert of Kaiserswerdt
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Suitbert of Kaiserswerdt
relation patron saint
type occupation
type church
[[{'concept': 'occupation'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:patron_saint resource:Suitbert_of_Kaiserswerdt . { { ?x rdf:type ontology:church } UNION { ?x rdf:type ontology:occupation } } } } . FILTER ( ?l > ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?l ) WHERE { VALUES ( ?u ) { ( ontology:church ) ( ontology:occupation ) } . ?r rdf:type ?u } GROUP BY ?j } }
[]
common name occupation church
Q9438 Q60059 Q8413
SYSTEM
Thomas Aquinas, Albertus Magnus, Constantine the Great
Q453698 Q133704 Q229190 Q152457 Q172390 Q696682 Q43689 Q128267 Q328804 Q174044 Q166876 Q163900 Q170547 Q676555 Q244380 Q539890 Q212850 Q374822 Q115550 Q9438 Q8413 Q130997 Q312758 Q5575577 Q42887 Q191107 Q177903 Q8018 Q242274 Q216946 Q33923 Q161775 Q128538 Q316599 Q183240 Q119289 Q145746 Q360798 Q298845 Q167477 Q297742 Q183332 Q48438 Q119512 Q44281 Q170164 Q43399 Q965463 Q196527 Q336731 Q196653 Q508214 Q9200 Q174880 Q193507 Q2142772 Q463600 Q43999 Q359259 Q43669 Q369691 Q44269 Q44265 Q192816 Q43982 Q179718 Q445357 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q26486 Q324700 Q158504 Q744884 Q44015 Q151967 Q149727 Q232427 Q164294 Q60059 Q159862 Q17590 Q271474 Q200895 Q44248 Q1269112 Q276148 Q310633
(c(Q12737077)|c(Q16970),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q560531
relation P417
type Q12737077
type Q16970
[ANSWERS] are the patron saints of more number of occupations or churches than Suitbert of Kaiserswerdt
[[{'concept': 'Q12737077'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P417 resource:Q560531 . { { ?x rdf:type ontology:Q16970 } UNION { ?x rdf:type ontology:Q12737077 } } } } . FILTER ( ?l > ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?l ) WHERE { VALUES ( ?u ) { ( ontology:Q16970 ) ( ontology:Q12737077 ) } . ?r rdf:type ?u } GROUP BY ?j } }
Saint Amand Martin of Tours Catherine of Siena Saint Roch Martin I Arnold von Arnoldsweiler Ambrose Joseph John the Evangelist Alexander Nevsky Isidore of Seville Saint Francis Xavier Anthony the Great Francis of Assisi Saint Denis Lazarus of Bethany Vitus Adrian of Nicomedia Nicholas of Flüe Thomas Aquinas Constantine the Great Damasus I Jean-Baptiste de La Salle Gobnait Clement I Clare of Assisi Stephen I of Hungary Augustine of Hippo Dorothea of Caesarea Charles Borromeo Peter Stephen Luke the Evangelist Saint Maurice Saint Lucy Leonard of Port Maurice Joseph Saint Eligius Saint Florian Anthony of Padua Margaret the Virgin Saint Sebastian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Pancras of Rome Saint Veronica Cyriacus Paul Teresa of Ávila Saint Christopher Gereon Saint Petronilla James Saint Emeric of Hungary Thomas the Apostle Saint Ursula Saint Nicholas Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria Henry John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Ladislaus I of Hungary Urban of Langres Clement of Ohrid Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Saint Anna Albertus Magnus Elizabeth of Hungary Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Saint Ninian Charalampus Demetrius of Thessaloniki
Thomas Aquinas, Albertus Magnus and Constantine the Great are the patron saints of more number of occupations or churches than Suitbert of Kaiserswerdt
Thomas Aquinas Albertus Magnus Constantine the Great
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Suitbert of Kaiserswerdt
relation patron saint
type occupation
type church
[[{'concept': 'occupation'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:patron_saint resource:Suitbert_of_Kaiserswerdt . { { ?x rdf:type ontology:church } UNION { ?x rdf:type ontology:occupation } } } } . FILTER ( ?l > ?p ) . { SELECT DISTINCT ?j ( COUNT ( ?r ) AS ?l ) WHERE { VALUES ( ?u ) { ( ontology:church ) ( ontology:occupation ) } . ?r rdf:type ?u } GROUP BY ?j } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q453698
P417
Q502895 Q12737077 Q16970
USER
And what about Saint Amand?
(c(Q12737077)|c(Q16970),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q453698
relation P417
type Q12737077
type Q16970
[[{'concept': 'Q12737077'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?o WHERE { { ?o rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 . ?l property:P417 ?o } UNION { ?l property:P417 ?o . ?o rdf:type ontology:Q502895 . ?l rdf:type ontology:Q16970 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { { ?n rdf:type ontology:Q12737077 } UNION { ?n rdf:type ontology:Q16970 } } . ?n property:P417 resource:Q453698 } } . FILTER ( ?e > ?s ) }
Saint Amand
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Saint Amand
relation patron saint
type occupation
type church
[[{'concept': 'occupation'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?o WHERE { { ?o rdf:type ontology:common_name . ?l rdf:type ontology:occupation . ?l property:patron_saint ?o } UNION { ?l property:patron_saint ?o . ?o rdf:type ontology:common_name . ?l rdf:type ontology:church } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { { ?n rdf:type ontology:occupation } UNION { ?n rdf:type ontology:church } } . ?n property:patron_saint resource:Saint_Amand } } . FILTER ( ?e > ?s ) }
[]
common name occupation church
Q166876 Q174044 Q676555
SYSTEM
Isidore of Seville, Alexander Nevsky, Francis of Assisi
Q133704 Q229190 Q152457 Q128267 Q328804 Q174044 Q166876 Q163900 Q170547 Q676555 Q244380 Q212850 Q42887 Q177903 Q33923 Q161775 Q128538 Q183240 Q145746 Q167477 Q48438 Q44281 Q170164 Q196527 Q196653 Q9200 Q2142772 Q43999 Q359259 Q44269 Q44265 Q192816 Q43982 Q179718 Q40662 Q80513 Q43600 Q26486 Q744884 Q151967 Q149727 Q164294 Q159862 Q17590 Q200895 Q44248
(c(Q12737077)|c(Q16970),P417,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action find_reverse_tuple_counts
relation P417
type Q502895
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q453698
relation P417
type Q12737077
type Q16970
[ANSWERS]
[[{'concept': 'Q12737077'}, {'concept': 'Q16970'}], 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?o WHERE { { ?o rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 . ?l property:P417 ?o } UNION { ?l property:P417 ?o . ?o rdf:type ontology:Q502895 . ?l rdf:type ontology:Q16970 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { { ?n rdf:type ontology:Q12737077 } UNION { ?n rdf:type ontology:Q16970 } } . ?n property:P417 resource:Q453698 } } . FILTER ( ?e > ?s ) }
Martin of Tours Catherine of Siena Saint Roch Joseph John the Evangelist Alexander Nevsky Isidore of Seville Saint Francis Xavier Anthony the Great Francis of Assisi Saint Denis Vitus Clement I Stephen I of Hungary Peter Stephen Luke the Evangelist Saint Lucy Joseph Anthony of Padua Saint George Ignatius of Loyola Helena of Constantinople Saint Wenceslaus I, Duke of Bohemia Saint Veronica Paul Gereon James Saint Emeric of Hungary Saint Nicholas Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Saint Cecilia Matthew the Apostle Ladislaus I of Hungary Zita Saint Blaise Saint Giles Saint Anna Elizabeth of Hungary Lawrence of Rome Agatha of Sicily Jerome
Isidore of Seville Alexander Nevsky Francis of Assisi
action greater
action union
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action find_reverse_tuple_counts
relation patron saint
type common name
type church
action count
action filter_multi_types
action find_reverse
entity Saint Amand
relation patron saint
type occupation
type church
[[{'concept': 'occupation'}, {'concept': 'church'}], 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) ?o WHERE { { ?o rdf:type ontology:common_name . ?l rdf:type ontology:occupation . ?l property:patron_saint ?o } UNION { ?l property:patron_saint ?o . ?o rdf:type ontology:common_name . ?l rdf:type ontology:church } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { { ?n rdf:type ontology:occupation } UNION { ?n rdf:type ontology:church } } . ?n property:patron_saint resource:Saint_Amand } } . FILTER ( ?e > ?s ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q174044
P26
Q502895
USER
Who is the spouse of that one ?
(Q174044,P26,c(Q502895))
action filter_type
action find
entity Q174044
relation P26
type Q502895
['Q174044', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q174044 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Alexander Nevsky
action filter_type
action find
entity Alexander Nevsky
relation spouse
type common name
['Alexander Nevsky', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Alexander_Nevsky property:spouse ?v . ?v rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q166876
SYSTEM
Did you mean Isidore of Seville ?
Q166876 Q174044 Q676555
(Q166876,P26,c(Q502895)) (Q174044,P26,c(Q502895)) (Q676555,P26,c(Q502895))
[ANSWER]
['Q166876', 'P26', {'concept': 'Q502895'}] ['Q174044', 'P26', {'concept': 'Q502895'}] ['Q676555', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q174044 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Isidore of Seville Alexander Nevsky Francis of Assisi
Did you mean Isidore of Seville ?
Isidore of Seville
['Isidore of Seville', 'spouse', {'concept': 'common name'}] ['Alexander Nevsky', 'spouse', {'concept': 'common name'}] ['Francis of Assisi', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Alexander_Nevsky property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Alexander Nevsky. Could you tell me the answer for that?
(Q174044,P26,c(Q502895))
Q174044
['Q174044', 'P26', {'concept': 'Q502895'}]
['Alexander Nevsky', 'spouse', {'concept': 'common name'}]
[]
Q13478569
SYSTEM
Alexandra Brachyslavna
Q13478569
(Q174044,P26,c(Q502895))
action filter_type
action find
entity Q174044
relation P26
type Q502895
The spouse of that one is Princess [ANSWER]
['Q174044', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q174044 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Alexandra Brachyslavna
The spouse of that one is Princess Alexandra Brachyslavna
Alexandra Brachyslavna
action filter_type
action find
entity Alexander Nevsky
relation spouse
type common name
['Alexander Nevsky', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Alexander_Nevsky property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q81131
P175
Q15619164 Q6619679
USER
How many abstract beings or fictional humanoids presented Talisa Soto ?
(c(Q15619164),P175,Q81131) (c(Q6619679),P175,Q81131)
action count
action union
action filter_type
action find_reverse
entity Q81131
relation P175
type Q15619164
action filter_type
action find_reverse
entity Q81131
relation P175
type Q6619679
[{'concept': 'Q15619164'}, 'P175', 'Q81131'] [{'concept': 'Q6619679'}, 'P175', 'Q81131']
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15619164 ) ( ontology:Q6619679 ) } }
Talisa Soto
action count
action union
action filter_type
action find_reverse
entity Talisa Soto
relation performer
type abstract being
action filter_type
action find_reverse
entity Talisa Soto
relation performer
type fictional humanoid
[{'concept': 'abstract being'}, 'performer', 'Talisa Soto'] [{'concept': 'fictional humanoid'}, 'performer', 'Talisa Soto']
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:abstract_being ) ( ontology:fictional_humanoid ) } }
[]
abstract being fictional humanoid
SYSTEM
2
Q10321003 Q1654171
(c(Q15619164),P175,Q81131) (c(Q6619679),P175,Q81131)
action count
action union
action filter_type
action find_reverse
entity Q81131
relation P175
type Q15619164
action filter_type
action find_reverse
entity Q81131
relation P175
type Q6619679
[ANSWER]
[{'concept': 'Q15619164'}, 'P175', 'Q81131'] [{'concept': 'Q6619679'}, 'P175', 'Q81131']
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:Q15619164 ) ( ontology:Q6619679 ) } }
Lupe Lamora Kitana
2
action count
action union
action filter_type
action find_reverse
entity Talisa Soto
relation performer
type abstract being
action filter_type
action find_reverse
entity Talisa Soto
relation performer
type fictional humanoid
[{'concept': 'abstract being'}, 'performer', 'Talisa Soto'] [{'concept': 'fictional humanoid'}, 'performer', 'Talisa Soto']
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { ?l rdf:type ?h . VALUES ( ?h ) { ( ontology:abstract_being ) ( ontology:fictional_humanoid ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174044
P7
Q502895
USER
Who are siblings of Alexander Nevsky ?
(c(Q502895),P7,Q174044)
action filter_type
action find
entity Q174044
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q174044']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q174044 property:P7 ?l }
Alexander Nevsky
action filter_type
action find
entity Alexander Nevsky
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Alexander Nevsky']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Alexander_Nevsky property:brother ?l }
[]
common name
Q472739 Q547839 Q548014
SYSTEM
Andrey II of Vladimir, Yaroslav of Tver, Vasily of Kostroma
Q472739 Q547839 Q548014 Q686705
(c(Q502895),P7,Q174044)
action filter_type
action find
entity Q174044
relation P7
type Q502895
Siblings of Alexander Nevsky are [ANSWERS]
[{'concept': 'Q502895'}, 'P7', 'Q174044']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q174044 property:P7 ?l }
Andrey II of Vladimir Yaroslav of Tver Vasily of Kostroma Mikhail Khorobrit
Siblings of Alexander Nevsky are Andrey II of Vladimir, Yaroslav of Tver and Vasily of Kostroma
Andrey II of Vladimir Yaroslav of Tver Vasily of Kostroma
action filter_type
action find
entity Alexander Nevsky
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Alexander Nevsky']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Alexander_Nevsky property:brother ?l }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q472739 Q547839 Q548014
P22
Q502895
USER
Who were the father of those ones ?
(Q472739,P22,c(Q502895)) (Q547839,P22,c(Q502895)) (Q548014,P22,c(Q502895))
action filter_type
action find
entity prev_answer
relation P22
type Q502895
['Q472739', 'P22', {'concept': 'Q502895'}] ['Q547839', 'P22', {'concept': 'Q502895'}] ['Q548014', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?l property:P22 ?y . VALUES ( ?l ) { ( resource:Q472739 ) ( resource:Q547839 ) ( resource:Q548014 ) } . ?y rdf:type ontology:Q502895 }
Andrey II of Vladimir Yaroslav of Tver Vasily of Kostroma
action filter_type
action find
entity prev_answer
relation father
type common name
['Andrey II of Vladimir', 'father', {'concept': 'common name'}] ['Yaroslav of Tver', 'father', {'concept': 'common name'}] ['Vasily of Kostroma', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?l property:father ?y . VALUES ( ?l ) { ( resource:Andrey_II_of_Vladimir ) ( resource:Yaroslav_of_Tver ) ( resource:Vasily_of_Kostroma ) } . ?y rdf:type ontology:common_name }
[]
common name
Q359396 Q359396 Q359396
SYSTEM
Yaroslav II of Vladimir
Q359396 Q359396 Q359396
(Q472739,P22,c(Q502895)) (Q547839,P22,c(Q502895)) (Q548014,P22,c(Q502895))
action filter_type
action find
entity prev_answer
relation P22
type Q502895
The father of those ones were [ANSWER], [ANSWER] and [ANSWER]
['Q472739', 'P22', {'concept': 'Q502895'}] ['Q547839', 'P22', {'concept': 'Q502895'}] ['Q548014', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?l property:P22 ?y . VALUES ( ?l ) { ( resource:Q472739 ) ( resource:Q547839 ) ( resource:Q548014 ) } . ?y rdf:type ontology:Q502895 }
Yaroslav II of Vladimir Yaroslav II of Vladimir Yaroslav II of Vladimir
The father of those ones were Yaroslav II of Vladimir, Yaroslav II of Vladimir and Yaroslav II of Vladimir
Yaroslav II of Vladimir Yaroslav II of Vladimir Yaroslav II of Vladimir
action filter_type
action find
entity prev_answer
relation father
type common name
['Andrey II of Vladimir', 'father', {'concept': 'common name'}] ['Yaroslav of Tver', 'father', {'concept': 'common name'}] ['Vasily of Kostroma', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?l property:father ?y . VALUES ( ?l ) { ( resource:Andrey_II_of_Vladimir ) ( resource:Yaroslav_of_Tver ) ( resource:Vasily_of_Kostroma ) } . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174044
P97
Q4164871
USER
Which position was held by Alexander Nevsky ?
(Q174044,P97,c(Q4164871))
action filter_type
action find
entity Q174044
relation P97
type Q4164871
['Q174044', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?h WHERE { resource:Q174044 property:P97 ?h . ?h rdf:type ontology:Q4164871 }
Alexander Nevsky
action filter_type
action find
entity Alexander Nevsky
relation noble title
type position
['Alexander Nevsky', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?h WHERE { resource:Alexander_Nevsky property:noble_title ?h . ?h rdf:type ontology:position }
[]
position
Q1097003
SYSTEM
Grand Prince of Kiev
Q1097003
(Q174044,P97,c(Q4164871))
action filter_type
action find
entity Q174044
relation P97
type Q4164871
The [ANSWER] was held by Alexander Nevsky
['Q174044', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?h WHERE { resource:Q174044 property:P97 ?h . ?h rdf:type ontology:Q4164871 }
Grand Prince of Kiev
The Grand Prince of Kiev was held by Alexander Nevsky
Grand Prince of Kiev
action filter_type
action find
entity Alexander Nevsky
relation noble title
type position
['Alexander Nevsky', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?h WHERE { resource:Alexander_Nevsky property:noble_title ?h . ?h rdf:type ontology:position }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q174044
P40
Q502895
USER
Which people are a successors of that one ?
(Q1097003,P40,c(Q502895))
action filter_type
action find
entity Q174044
relation P40
type Q502895
['Q1097003', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q174044 property:P40 ?g . ?g rdf:type ontology:Q502895 }
Alexander Nevsky
action filter_type
action find
entity Alexander Nevsky
relation child
type common name
['Grand Prince of Kiev', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Alexander_Nevsky property:child ?g . ?g rdf:type ontology:common_name }
[]
common name
Q295186 Q2296177 Q249270
SYSTEM
Daniel of Moscow, Andrey of Gorodets, Dmitry of Pereslavl
Q249270 Q295186 Q2296177 Q4104407
(Q1097003,P40,c(Q502895))
action filter_type
action find
entity Q174044
relation P40
type Q502895
[ANSWERS] are a successors of that one
['Q1097003', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q174044 property:P40 ?g . ?g rdf:type ontology:Q502895 }
Dmitry of Pereslavl Daniel of Moscow Andrey of Gorodets Vassili Aleksandrovitch
Daniel of Moscow, Andrey of Gorodets and Dmitry of Pereslavl are a successors of that one
Daniel of Moscow Andrey of Gorodets Dmitry of Pereslavl
action filter_type
action find
entity Alexander Nevsky
relation child
type common name
['Grand Prince of Kiev', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Alexander_Nevsky property:child ?g . ?g rdf:type ontology:common_name }
[]