Simple Question (Direct)
Simple Question
Q1180513
P69
Q163740
USER
What is the nonprofit organization where De Witt C. Flanagan was educated ?
(Q1180513,P69,c(Q163740))
action filter_type
action find
entity Q1180513
relation P69
type Q163740
['Q1180513', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?r WHERE { resource:Q1180513 property:P69 ?r . ?r rdf:type ontology:Q163740 }
De Witt C. Flanagan
action filter_type
action find
entity De Witt C. Flanagan
relation educated at
type nonprofit organization
['De Witt C. Flanagan', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?r WHERE { resource:De_Witt_C._Flanagan property:educated_at ?r . ?r rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49088
SYSTEM
Columbia University
Q49088
(Q1180513,P69,c(Q163740))
action filter_type
action find
entity Q1180513
relation P69
type Q163740
The nonprofit organization De Witt C. Flanagan was educated is at [ANSWER]
['Q1180513', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?r WHERE { resource:Q1180513 property:P69 ?r . ?r rdf:type ontology:Q163740 }
Columbia University
The nonprofit organization De Witt C. Flanagan was educated is at Columbia University
Columbia University
action filter_type
action find
entity De Witt C. Flanagan
relation educated at
type nonprofit organization
['De Witt C. Flanagan', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?r WHERE { resource:De_Witt_C._Flanagan property:educated_at ?r . ?r rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1180513
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q49088,P19,c(Q56061))
action filter_type
action find
entity Q1180513
relation P19
type Q56061
['Q49088', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q1180513 property:P19 ?i }
De Witt C. Flanagan
action filter_type
action find
entity De Witt C. Flanagan
relation place of birth
type administrative territorial entity
['Columbia University', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:De_Witt_C._Flanagan property:place_of_birth ?i }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q49088,P19,c(Q56061))
action filter_type
action find
entity Q1180513
relation P19
type Q56061
That person was born in [ANSWER]
['Q49088', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q1180513 property:P19 ?i }
New York City
That person was born in New York City
New York City
action filter_type
action find
entity De Witt C. Flanagan
relation place of birth
type administrative territorial entity
['Columbia University', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:De_Witt_C._Flanagan property:place_of_birth ?i }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q36591
P674
Q502895 Q15850590 Q277759
USER
How many people appear as a character in more number of theatrical genres or book series than Vladimir Nabokov ?
(c(Q15850590)|c(Q277759),P674,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q277759
action count
action filter_multi_types
action find_reverse
entity Q36591
relation P674
type Q15850590
type Q277759
[[{'concept': 'Q15850590'}, {'concept': 'Q277759'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?h ) WHERE { { ?v rdf:type ontology:Q15850590 . ?q rdf:type ontology:Q502895 . ?v property:P674 ?q } UNION { ?v property:P674 ?q . ?v rdf:type ontology:Q277759 . ?q rdf:type ontology:Q502895 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { { ?m rdf:type ontology:Q15850590 } UNION { ?m rdf:type ontology:Q277759 } } . ?m property:P674 resource:Q36591 } } . FILTER ( ?h > ?c ) }
Vladimir Nabokov
action count
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type book series
action count
action filter_multi_types
action find_reverse
entity Vladimir Nabokov
relation characters
type theatrical genre
type book series
[[{'concept': 'theatrical genre'}, {'concept': 'book series'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?h ) WHERE { { ?v rdf:type ontology:theatrical_genre . ?q rdf:type ontology:common_name . ?v property:characters ?q } UNION { ?v property:characters ?q . ?v rdf:type ontology:book_series . ?q rdf:type ontology:common_name } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { { ?m rdf:type ontology:theatrical_genre } UNION { ?m rdf:type ontology:book_series } } . ?m property:characters resource:Vladimir_Nabokov } } . FILTER ( ?h > ?c ) }
[]
common name theatrical genre book series
SYSTEM
78
Q2635523 Q1851366 Q3680198 Q6173387 Q17141 Q36724 Q7322 Q12591 Q955856 Q21916822 Q456931 Q206459 Q765624 Q312660 Q1234647 Q4679883 Q460763 Q13560546 Q234811 Q24061503 Q282220 Q1411 Q1413 Q1416 Q1140161 Q7207 Q223440 Q353188 Q603096 Q83235 Q38370 Q17410 Q128358 Q193232 Q8462 Q692 Q209535 Q236243 Q185476 Q76723 Q83159 Q3080825 Q215512 Q24062019 Q145746 Q80823 Q1773005 Q237201 Q229432 Q170172 Q3261049 Q9588 Q83808 Q66107 Q182637 Q5944261 Q19118331 Q318726 Q5816 Q230716 Q3275910 Q1771963 Q7647581 Q443256 Q981902 Q347133 Q983502 Q517 Q154732 Q568082 Q36517 Q745286 Q1960623 Q158707 Q190116 Q43954 Q236017 Q9960
(c(Q15850590)|c(Q277759),P674,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q277759
action count
action filter_multi_types
action find_reverse
entity Q36591
relation P674
type Q15850590
type Q277759
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q277759'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?h ) WHERE { { ?v rdf:type ontology:Q15850590 . ?q rdf:type ontology:Q502895 . ?v property:P674 ?q } UNION { ?v property:P674 ?q . ?v rdf:type ontology:Q277759 . ?q rdf:type ontology:Q502895 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { { ?m rdf:type ontology:Q15850590 } UNION { ?m rdf:type ontology:Q277759 } } . ?m property:P674 resource:Q36591 } } . FILTER ( ?h > ?c ) }
Henry Percy, 6th Earl of Northumberland Pier Francesco Orsini Claudio Rangoni Jeff Bowen Harvey Milk Attila the Hun Christopher Columbus Nebuchadnezzar II Pallas Giovanni Corrado Orsini Sextus Tarquinius Feodor II of Russia Willem Adriaan van der Stel Gaius Mucius Scaevola Mark Smeaton Adam Tas Benjamin Heidi Blickenstaff Emma, Lady Hamilton Petrus Kalden Judah Claudius Nero Otho Marina Mniszech Elizabeth I of England Lucius Junius Brutus Lucius Tarquinius Collatinus Leon Klinghoffer Horatio Nelson Henry VIII Zhou Enlai Bayezid I Vasili IV of Russia Timur William Shakespeare False Dmitriy I Giulia Farnese Flavius Aetius Maurice de Saxe Clement VII Frances Nelson Levi Henning Huising Joseph Anne Boleyn Simeon Adrienne Lecouvreur Lucretia Boris Godunov Louis Ange Pitou Richard Nixon François Joseph Lefebvre Henry Kissinger Jane Seymour Hunter Bell Andrey Shchelkalov Publius Valerius Publicola Mao Zedong Poppaea Sabina Anne Françoise Elisabeth Lange Naphtali Susan Blackwell Marie Favart Charles Simon Favart George Boleyn, Viscount Rochford St. Nerses I Napoleon Agrippina the Younger Arshak II Francis Drake Sir Thomas Hardy, 1st Baronet Tsarevna Xenia Borisovna of Russia Pat Nixon Benvenuto Cellini Leo I Jiang Qing Ronald Reagan
78
action count
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type book series
action count
action filter_multi_types
action find_reverse
entity Vladimir Nabokov
relation characters
type theatrical genre
type book series
[[{'concept': 'theatrical genre'}, {'concept': 'book series'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?v ) AS ?h ) WHERE { { ?v rdf:type ontology:theatrical_genre . ?q rdf:type ontology:common_name . ?v property:characters ?q } UNION { ?v property:characters ?q . ?v rdf:type ontology:book_series . ?q rdf:type ontology:common_name } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { { ?m rdf:type ontology:theatrical_genre } UNION { ?m rdf:type ontology:book_series } } . ?m property:characters resource:Vladimir_Nabokov } } . FILTER ( ?h > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q378053
P674
Q502895 Q15850590 Q277759
USER
And what about Rob Roy MacGregor?
(c(Q15850590)|c(Q277759),P674,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q277759
action count
action filter_multi_types
action find_reverse
entity Q378053
relation P674
type Q15850590
type Q277759
[[{'concept': 'Q15850590'}, {'concept': 'Q277759'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) ?i WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:Q15850590 ) ( ontology:Q277759 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P674 resource:Q378053 . { { ?d rdf:type ontology:Q15850590 } UNION { ?d rdf:type ontology:Q277759 } } } } . FILTER ( ?a > ?v ) }
Rob Roy MacGregor
action count
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type book series
action count
action filter_multi_types
action find_reverse
entity Rob Roy MacGregor
relation characters
type theatrical genre
type book series
[[{'concept': 'theatrical genre'}, {'concept': 'book series'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) ?i WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:theatrical_genre ) ( ontology:book_series ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:characters resource:Rob_Roy_MacGregor . { { ?d rdf:type ontology:theatrical_genre } UNION { ?d rdf:type ontology:book_series } } } } . FILTER ( ?a > ?v ) }
[]
common name theatrical genre book series
SYSTEM
78
Q2635523 Q1851366 Q3680198 Q6173387 Q17141 Q36724 Q7322 Q12591 Q955856 Q21916822 Q456931 Q206459 Q765624 Q312660 Q1234647 Q4679883 Q460763 Q13560546 Q234811 Q24061503 Q282220 Q1411 Q1413 Q1416 Q1140161 Q7207 Q223440 Q353188 Q603096 Q83235 Q38370 Q17410 Q128358 Q193232 Q8462 Q692 Q209535 Q236243 Q185476 Q76723 Q83159 Q3080825 Q215512 Q24062019 Q145746 Q80823 Q1773005 Q237201 Q229432 Q170172 Q3261049 Q9588 Q83808 Q66107 Q182637 Q5944261 Q19118331 Q318726 Q5816 Q230716 Q3275910 Q1771963 Q7647581 Q443256 Q981902 Q347133 Q983502 Q517 Q154732 Q568082 Q36517 Q745286 Q1960623 Q158707 Q190116 Q43954 Q236017 Q9960
(c(Q15850590)|c(Q277759),P674,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q277759
action count
action filter_multi_types
action find_reverse
entity Q378053
relation P674
type Q15850590
type Q277759
[ANSWER]
[[{'concept': 'Q15850590'}, {'concept': 'Q277759'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) ?i WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:Q15850590 ) ( ontology:Q277759 ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P674 resource:Q378053 . { { ?d rdf:type ontology:Q15850590 } UNION { ?d rdf:type ontology:Q277759 } } } } . FILTER ( ?a > ?v ) }
Henry Percy, 6th Earl of Northumberland Pier Francesco Orsini Claudio Rangoni Jeff Bowen Harvey Milk Attila the Hun Christopher Columbus Nebuchadnezzar II Pallas Giovanni Corrado Orsini Sextus Tarquinius Feodor II of Russia Willem Adriaan van der Stel Gaius Mucius Scaevola Mark Smeaton Adam Tas Benjamin Heidi Blickenstaff Emma, Lady Hamilton Petrus Kalden Judah Claudius Nero Otho Marina Mniszech Elizabeth I of England Lucius Junius Brutus Lucius Tarquinius Collatinus Leon Klinghoffer Horatio Nelson Henry VIII Zhou Enlai Bayezid I Vasili IV of Russia Timur William Shakespeare False Dmitriy I Giulia Farnese Flavius Aetius Maurice de Saxe Clement VII Frances Nelson Levi Henning Huising Joseph Anne Boleyn Simeon Adrienne Lecouvreur Lucretia Boris Godunov Louis Ange Pitou Richard Nixon François Joseph Lefebvre Henry Kissinger Jane Seymour Hunter Bell Andrey Shchelkalov Publius Valerius Publicola Mao Zedong Poppaea Sabina Anne Françoise Elisabeth Lange Naphtali Susan Blackwell Marie Favart Charles Simon Favart George Boleyn, Viscount Rochford St. Nerses I Napoleon Agrippina the Younger Arshak II Francis Drake Sir Thomas Hardy, 1st Baronet Tsarevna Xenia Borisovna of Russia Pat Nixon Benvenuto Cellini Leo I Jiang Qing Ronald Reagan
78
action count
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type book series
action count
action filter_multi_types
action find_reverse
entity Rob Roy MacGregor
relation characters
type theatrical genre
type book series
[[{'concept': 'theatrical genre'}, {'concept': 'book series'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) ?i WHERE { ?y rdf:type ?k . VALUES ( ?k ) { ( ontology:theatrical_genre ) ( ontology:book_series ) } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:characters resource:Rob_Roy_MacGregor . { { ?d rdf:type ontology:theatrical_genre } UNION { ?d rdf:type ontology:book_series } } } } . FILTER ( ?a > ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q49088
P355
Q41176
USER
Which building serves as a subsidiary of Columbia University ?
(Q49088,P355,c(Q41176))
action filter_type
action find
entity Q49088
relation P355
type Q41176
['Q49088', 'P355', {'concept': 'Q41176'}]
SELECT DISTINCT ?i WHERE { resource:Q49088 property:P355 ?i . ?i rdf:type ontology:Q41176 }
Columbia University
action filter_type
action find
entity Columbia University
relation subsidiary
type building
['Columbia University', 'subsidiary', {'concept': 'building'}]
SELECT DISTINCT ?i WHERE { resource:Columbia_University property:subsidiary ?i . ?i rdf:type ontology:building }
[]
building
Q2415975
SYSTEM
Columbia University Medical Center
Q2415975
(Q49088,P355,c(Q41176))
action filter_type
action find
entity Q49088
relation P355
type Q41176
University [ANSWER] serves as a subsidiary of Columbia University
['Q49088', 'P355', {'concept': 'Q41176'}]
SELECT DISTINCT ?i WHERE { resource:Q49088 property:P355 ?i . ?i rdf:type ontology:Q41176 }
Columbia University Medical Center
University Columbia University Medical Center serves as a subsidiary of Columbia University
Columbia University Medical Center
action filter_type
action find
entity Columbia University
relation subsidiary
type building
['Columbia University', 'subsidiary', {'concept': 'building'}]
SELECT DISTINCT ?i WHERE { resource:Columbia_University property:subsidiary ?i . ?i rdf:type ontology:building }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q177220 Q36591
P106 P22
Q502895
USER
Which people have Vladimir Nabokov as a parent and have a job as singer ?
AND((c(Q502895),P22,Q36591), (c(Q502895),P106,Q177220))
action filter_type
action intersection
action find_reverse
entity Q36591
relation P22
action find_reverse
entity Q177220
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q36591'], [{'concept': 'Q502895'}, 'P106', 'Q177220']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P22 resource:Q36591 . ?p property:P106 resource:Q177220 }
singer Vladimir Nabokov
action filter_type
action intersection
action find_reverse
entity Vladimir Nabokov
relation father
action find_reverse
entity singer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Vladimir Nabokov'], [{'concept': 'common name'}, 'occupation', 'singer']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:father resource:Vladimir_Nabokov . ?p property:occupation resource:singer }
[]
common name
Q2447966
SYSTEM
Dmitri Nabokov
Q2447966
AND((c(Q502895),P22,Q36591), (c(Q502895),P106,Q177220))
action filter_type
action intersection
action find_reverse
entity Q36591
relation P22
action find_reverse
entity Q177220
relation P106
type Q502895
[ANSWER] have Vladimir Nabokov as a parent and have a job as singer
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q36591'], [{'concept': 'Q502895'}, 'P106', 'Q177220']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P22 resource:Q36591 . ?p property:P106 resource:Q177220 }
Dmitri Nabokov
Dmitri Nabokov have Vladimir Nabokov as a parent and have a job as singer
Dmitri Nabokov
action filter_type
action intersection
action find_reverse
entity Vladimir Nabokov
relation father
action find_reverse
entity singer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Vladimir Nabokov'], [{'concept': 'common name'}, 'occupation', 'singer']]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:father resource:Vladimir_Nabokov . ?p property:occupation resource:singer }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2447966 Q5077768
P40
Q502895
USER
Does Charles Fracé have that one as a child ?
(Q5077768,P40,Q2447966)
action is_in
entity Q5077768
action find
entity Q2447966
relation P40
['Q5077768', 'P40', 'Q2447966']
ASK WHERE { resource:Q2447966 property:P40 resource:Q5077768 }
Dmitri Nabokov Charles Fracé
action is_in
entity Charles Fracé
action find
entity Dmitri Nabokov
relation child
['Charles Fracé', 'child', 'Dmitri Nabokov']
ASK WHERE { resource:Dmitri_Nabokov property:child resource:Charles_Fracé }
[]
common name
SYSTEM
NO
(Q5077768,P40,Q2447966)
action is_in
entity Q5077768
action find
entity Q2447966
relation P40
[ANSWER]
['Q5077768', 'P40', 'Q2447966']
ASK WHERE { resource:Q2447966 property:P40 resource:Q5077768 }
No
action is_in
entity Charles Fracé
action find
entity Dmitri Nabokov
relation child
['Charles Fracé', 'child', 'Dmitri Nabokov']
ASK WHERE { resource:Dmitri_Nabokov property:child resource:Charles_Fracé }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q49088 Q5710399 Q8034513
P17
Q15617994
USER
Is Columbia University present in Helsey and Worgret ?
(Q49088,P17,Q5710399) (Q49088,P17,Q8034513)
action is_in
entity Q49088
action intersection
action find_reverse
entity Q5710399
relation P17
action find_reverse
entity Q8034513
relation P17
['Q49088', 'P17', 'Q5710399'] ['Q49088', 'P17', 'Q8034513']
ASK WHERE { resource:Q49088 property:P17 resource:Q5710399 . resource:Q49088 property:P17 resource:Q8034513 }
Columbia University Helsey Worgret
action is_in
entity Columbia University
action intersection
action find_reverse
entity Helsey
relation country
action find_reverse
entity Worgret
relation country
['Columbia University', 'country', 'Helsey'] ['Columbia University', 'country', 'Worgret']
ASK WHERE { resource:Columbia_University property:country resource:Helsey . resource:Columbia_University property:country resource:Worgret }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q49088,P17,Q5710399) (Q49088,P17,Q8034513)
action is_in
entity Q49088
action intersection
action find_reverse
entity Q5710399
relation P17
action find_reverse
entity Q8034513
relation P17
[ANSWER]
['Q49088', 'P17', 'Q5710399'] ['Q49088', 'P17', 'Q8034513']
ASK WHERE { resource:Q49088 property:P17 resource:Q5710399 . resource:Q49088 property:P17 resource:Q8034513 }
No
action is_in
entity Columbia University
action intersection
action find_reverse
entity Helsey
relation country
action find_reverse
entity Worgret
relation country
['Columbia University', 'country', 'Helsey'] ['Columbia University', 'country', 'Worgret']
ASK WHERE { resource:Columbia_University property:country resource:Helsey . resource:Columbia_University property:country resource:Worgret }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q757015
P725
Q502895 Q6619679
USER
Which fictional humanoids had their voice dubbing done by more number of people than Sailor Moon ?
(c(Q6619679),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q757015
relation P725
type Q6619679
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?c ) WHERE { ?u property:P725 ?d . ?u rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q757015 property:P725 ?v . ?v rdf:type ontology:Q6619679 } } . FILTER ( ?c > ?j ) }
Sailor Moon
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Sailor Moon
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?c ) WHERE { ?u property:voice_actor ?d . ?u rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Sailor_Moon property:voice_actor ?v . ?v rdf:type ontology:fictional_humanoid } } . FILTER ( ?c > ?j ) }
[]
common name fictional humanoid
Q15711517 Q15707554 Q994344
SYSTEM
Granny Smith, Apple Bloom, Ezio Auditore da Firenze
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q718965 Q3784876 Q1148698 Q11382982 Q18073923 Q18156023 Q6989902 Q11514862 Q15726744 Q601978 Q19796729 Q931 Q15711517 Q716636
(c(Q6619679),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q6619679
type Q502895
action count
action filter_type
action find
entity Q757015
relation P725
type Q6619679
[ANSWERS] had their voice dubbing done by more number of people than Sailor Moon
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?c ) WHERE { ?u property:P725 ?d . ?u rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q502895 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Q757015 property:P725 ?v . ?v rdf:type ontology:Q6619679 } } . FILTER ( ?c > ?j ) }
Apple Bloom Sayaka Miki Diamond Tiara Mami Tomoe Ezio Auditore da Firenze Madoka Kaname Hinata Hyuga Henrietta Ai Haibara Kyoko Sakura Sunset Shimmer Maud Pie Neku Sakuraba Homura Akemi Silver Spoon Kyon Michelle Naruto Uzumaki Granny Smith Mr. Burns
Granny Smith, Apple Bloom and Ezio Auditore da Firenze had their voice dubbing done by more number of people than Sailor Moon
Granny Smith Apple Bloom Ezio Auditore da Firenze
action greater
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
action count
action filter_type
action find
entity Sailor Moon
relation voice actor
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?d ) AS ?c ) WHERE { ?u property:voice_actor ?d . ?u rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:common_name } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?j ) WHERE { resource:Sailor_Moon property:voice_actor ?v . ?v rdf:type ontology:fictional_humanoid } } . FILTER ( ?c > ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P157
Q6619679 Q15619164
USER
How many abstract beings were murdered by exactly 1 fictional humanoid ?
(c(Q15619164),P157,c(Q6619679))
action count
action equal
action find_tuple_counts
relation P157
type Q15619164
type Q6619679
value 1
[{'concept': 'Q15619164'}, 'P157', {'concept': 'Q6619679'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?n ) WHERE { ?g rdf:type ontology:Q15619164 . ?b rdf:type ontology:Q6619679 . ?g property:P157 ?b } GROUP BY ?g } . FILTER ( ?n = 1 ) }
action count
action equal
action find_tuple_counts
relation killed by
type abstract being
type fictional humanoid
value 1
[{'concept': 'abstract being'}, 'killed by', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?n ) WHERE { ?g rdf:type ontology:abstract_being . ?b rdf:type ontology:fictional_humanoid . ?g property:killed_by ?b } GROUP BY ?g } . FILTER ( ?n = 1 ) }
[]
fictional humanoid abstract being
SYSTEM
3
Q897891 Q1051419 Q2264501
(c(Q15619164),P157,c(Q6619679))
action count
action equal
action find_tuple_counts
relation P157
type Q15619164
type Q6619679
value 1
[ANSWER]
[{'concept': 'Q15619164'}, 'P157', {'concept': 'Q6619679'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?n ) WHERE { ?g rdf:type ontology:Q15619164 . ?b rdf:type ontology:Q6619679 . ?g property:P157 ?b } GROUP BY ?g } . FILTER ( ?n = 1 ) }
Hathor Vladimir Harkonnen Rahvin
3
action count
action equal
action find_tuple_counts
relation killed by
type abstract being
type fictional humanoid
value 1
[{'concept': 'abstract being'}, 'killed by', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?b ) AS ?n ) WHERE { ?g rdf:type ontology:abstract_being . ?b rdf:type ontology:fictional_humanoid . ?g property:killed_by ?b } GROUP BY ?g } . FILTER ( ?n = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1080
Q3275581 Q7725634 Q6619679
USER
Which fictional humanoids are a part of approximately 1 shared universes or literary works ?
(c(Q6619679),P1080,c(Q3275581)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q3275581
action find_tuple_counts
relation P1080
type Q6619679
type Q7725634
value 1
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q3275581'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?s ) WHERE { { ?r property:P1080 ?d . ?r rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q7725634 } UNION { ?r property:P1080 ?d . ?r rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q3275581 } } GROUP BY ?r } . FILTER ( ?s = 1 ) }
action approx
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type shared universe
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type literary work
value 1
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'shared universe'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?s ) WHERE { { ?r property:from_fictional_universe ?d . ?r rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:literary_work } UNION { ?r property:from_fictional_universe ?d . ?r rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:shared_universe } } GROUP BY ?r } . FILTER ( ?s = 1 ) }
[]
shared universe literary work fictional humanoid
Q763798 Q3149148 Q1056953
SYSTEM
Esther Gobseck, Imoen, Minsc
Q1610690 Q3309268 Q1056953 Q74087 Q3149148 Q2726964 Q7468126 Q6679806 Q2398300 Q6910820 Q15702161 Q3073857 Q5584641 Q1072331 Q10347277 Q763798 Q2826463 Q3372494 Q2619064 Q3092655 Q44232 Q3294812 Q2519237 Q1977902 Q3060265 Q3040800 Q988862 Q3069618 Q3014849 Q3166474 Q3304979 Q7940668 Q31724 Q3021868
(c(Q6619679),P1080,c(Q3275581)|c(Q7725634))
action approx
action union
action find_tuple_counts
relation P1080
type Q6619679
type Q3275581
action find_tuple_counts
relation P1080
type Q6619679
type Q7725634
value 1
[ANSWERS] are a part of approximately 1 shared universes or literary works
[{'concept': 'Q6619679'}, 'P1080', [{'concept': 'Q3275581'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?s ) WHERE { { ?r property:P1080 ?d . ?r rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q7725634 } UNION { ?r property:P1080 ?d . ?r rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q3275581 } } GROUP BY ?r } . FILTER ( ?s = 1 ) }
Eugène de Rastignac Michel Chrestien Minsc Marquise d'Espard Imoen Miles Vorkosigan Alustriel Silverhand Nasher Alagondar Lucien Chardon Mordenkainen Montolio Debrouchee Flore Brazier Gord the Rogue Elminster Pedrinho Esther Gobseck Agathe Bridau Paul de Manerville Artemis Entreri Félix de Vandenesse Ferdinand du Tillet Marquise de Listomère Wulfgar Khelben "Blackstaff" Arunsun Eugénie Grandet Duchesse de Carigliano Elijah Baley Ferragus XXIII Daniel d’ Arthez Jean-Joachim Goriot Melchior de Canalis Volothamp Geddarm Étienne Lousteau Delphine de Nucingen
Esther Gobseck, Imoen and Minsc are a part of approximately 1 shared universes or literary works
Esther Gobseck Imoen Minsc
action approx
action union
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type shared universe
action find_tuple_counts
relation from fictional universe
type fictional humanoid
type literary work
value 1
[{'concept': 'fictional humanoid'}, 'from fictional universe', [{'concept': 'shared universe'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?d ) AS ?s ) WHERE { { ?r property:from_fictional_universe ?d . ?r rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:literary_work } UNION { ?r property:from_fictional_universe ?d . ?r rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:shared_universe } } GROUP BY ?r } . FILTER ( ?s = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P157
Q6619679 Q6619679
USER
Which fictional humanoids were murdered by max number of fictional humanoids ?
(c(Q6619679),P157,c(Q6619679))
action argmax
action find_tuple_counts
relation P157
type Q6619679
type Q6619679
[{'concept': 'Q6619679'}, 'P157', {'concept': 'Q6619679'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?j ) { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?i ) WHERE { ?d property:P157 ?h . ?h rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q6619679 } GROUP BY ?d } } . FILTER ( ?b = ?j ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?b ) WHERE { ?a property:P157 ?c . ?a rdf:type ontology:Q6619679 . ?c rdf:type ontology:Q6619679 } GROUP BY ?a } }
action argmax
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'killed by', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?j ) { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?i ) WHERE { ?d property:killed_by ?h . ?h rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:fictional_humanoid } GROUP BY ?d } } . FILTER ( ?b = ?j ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?b ) WHERE { ?a property:killed_by ?c . ?a rdf:type ontology:fictional_humanoid . ?c rdf:type ontology:fictional_humanoid } GROUP BY ?a } }
[]
fictional humanoid fictional humanoid
Q3808286
SYSTEM
Jill Masterson
Q3808286
(c(Q6619679),P157,c(Q6619679))
action argmax
action find_tuple_counts
relation P157
type Q6619679
type Q6619679
[ANSWER] was murdered by max number of fictional humanoids
[{'concept': 'Q6619679'}, 'P157', {'concept': 'Q6619679'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?j ) { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?i ) WHERE { ?d property:P157 ?h . ?h rdf:type ontology:Q6619679 . ?d rdf:type ontology:Q6619679 } GROUP BY ?d } } . FILTER ( ?b = ?j ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?b ) WHERE { ?a property:P157 ?c . ?a rdf:type ontology:Q6619679 . ?c rdf:type ontology:Q6619679 } GROUP BY ?a } }
Jill Masterson
Jill Masterson was murdered by max number of fictional humanoids
Jill Masterson
action argmax
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'killed by', {'concept': 'fictional humanoid'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?j ) { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?i ) WHERE { ?d property:killed_by ?h . ?h rdf:type ontology:fictional_humanoid . ?d rdf:type ontology:fictional_humanoid } GROUP BY ?d } } . FILTER ( ?b = ?j ) . { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?b ) WHERE { ?a property:killed_by ?c . ?a rdf:type ontology:fictional_humanoid . ?c rdf:type ontology:fictional_humanoid } GROUP BY ?a } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q15707554 Q15725887
P674
Q36649
USER
How many visual artss have the character Apple Bloom and Snails ?
(c(Q36649),P674,Q15707554) (c(Q36649),P674,Q15725887)
action count
action intersection
action filter_type
action find_reverse
entity Q15707554
relation P674
type Q36649
action filter_type
action find_reverse
entity Q15725887
relation P674
type Q36649
[{'concept': 'Q36649'}, 'P674', 'Q15707554'] [{'concept': 'Q36649'}, 'P674', 'Q15725887']
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P674 resource:Q15725887 . ?a rdf:type ontology:Q36649 . ?a property:P674 resource:Q15707554 . ?a rdf:type ontology:Q36649 }
Apple Bloom Snails
action count
action intersection
action filter_type
action find_reverse
entity Apple Bloom
relation characters
type visual arts
action filter_type
action find_reverse
entity Snails
relation characters
type visual arts
[{'concept': 'visual arts'}, 'characters', 'Apple Bloom'] [{'concept': 'visual arts'}, 'characters', 'Snails']
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:characters resource:Snails . ?a rdf:type ontology:visual_arts . ?a property:characters resource:Apple_Bloom . ?a rdf:type ontology:visual_arts }
[]
visual arts
SYSTEM
2
Q15723614 Q15720633
(c(Q36649),P674,Q15707554) (c(Q36649),P674,Q15725887)
action count
action intersection
action filter_type
action find_reverse
entity Q15707554
relation P674
type Q36649
action filter_type
action find_reverse
entity Q15725887
relation P674
type Q36649
[ANSWER]
[{'concept': 'Q36649'}, 'P674', 'Q15707554'] [{'concept': 'Q36649'}, 'P674', 'Q15725887']
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:P674 resource:Q15725887 . ?a rdf:type ontology:Q36649 . ?a property:P674 resource:Q15707554 . ?a rdf:type ontology:Q36649 }
Magic Duel Ponyville Confidential
2
action count
action intersection
action filter_type
action find_reverse
entity Apple Bloom
relation characters
type visual arts
action filter_type
action find_reverse
entity Snails
relation characters
type visual arts
[{'concept': 'visual arts'}, 'characters', 'Apple Bloom'] [{'concept': 'visual arts'}, 'characters', 'Snails']
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { ?a property:characters resource:Snails . ?a rdf:type ontology:visual_arts . ?a property:characters resource:Apple_Bloom . ?a rdf:type ontology:visual_arts }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1216359 Q5077768
P20
Q56061
USER
Which administrative territories are the places of death of Charles Fracé or András Nemes ?
OR((Q5077768,P20,c(Q56061)), (Q1216359,P20,c(Q56061)))
action filter_type
action union
action find
entity Q5077768
relation P20
action find
entity Q1216359
relation P20
type Q56061
{'OR': [['Q5077768', 'P20', {'concept': 'Q56061'}], ['Q1216359', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { ?g property:P20 ?t . VALUES ( ?g ) { ( resource:Q5077768 ) ( resource:Q1216359 ) } } . ?t rdf:type ontology:Q56061 }
András Nemes Charles Fracé
action filter_type
action union
action find
entity Charles Fracé
relation place of death
action find
entity András Nemes
relation place of death
type administrative territorial entity
{'OR': [['Charles Fracé', 'place of death', {'concept': 'administrative territorial entity'}], ['András Nemes', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?g property:place_of_death ?t . VALUES ( ?g ) { ( resource:Charles_Fracé ) ( resource:András_Nemes ) } } . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q171357 Q23197
SYSTEM
Kecskemét, Nashville
Q171357 Q23197
OR((Q5077768,P20,c(Q56061)), (Q1216359,P20,c(Q56061)))
action filter_type
action union
action find
entity Q5077768
relation P20
action find
entity Q1216359
relation P20
type Q56061
[ANSWERS] are the places of death of Charles Fracé or András Nemes
{'OR': [['Q5077768', 'P20', {'concept': 'Q56061'}], ['Q1216359', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { { ?g property:P20 ?t . VALUES ( ?g ) { ( resource:Q5077768 ) ( resource:Q1216359 ) } } . ?t rdf:type ontology:Q56061 }
Kecskemét Nashville
Kecskemét and Nashville are the places of death of Charles Fracé or András Nemes
Kecskemét Nashville
action filter_type
action union
action find
entity Charles Fracé
relation place of death
action find
entity András Nemes
relation place of death
type administrative territorial entity
{'OR': [['Charles Fracé', 'place of death', {'concept': 'administrative territorial entity'}], ['András Nemes', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { ?g property:place_of_death ?t . VALUES ( ?g ) { ( resource:Charles_Fracé ) ( resource:András_Nemes ) } } . ?t rdf:type ontology:administrative_territorial_entity }
[]