Simple Question (Direct)
Simple Question
Q97056
P102
Q7210356
USER
Which political organization is Hermann Kastner a member of ?
(Q97056,P102,c(Q7210356))
action filter_type
action find
entity Q97056
relation P102
type Q7210356
['Q97056', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7210356 . resource:Q97056 property:P102 ?e }
Hermann Kastner
action filter_type
action find
entity Hermann Kastner
relation member of political party
type political organization
['Hermann Kastner', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_organization . resource:Hermann_Kastner property:member_of_political_party ?e }
[]
political organization
Q328195
SYSTEM
German Democratic Party
Q328195
(Q97056,P102,c(Q7210356))
action filter_type
action find
entity Q97056
relation P102
type Q7210356
Party [ANSWER] is Hermann Kastner a member of
['Q97056', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7210356 . resource:Q97056 property:P102 ?e }
German Democratic Party
Party German Democratic Party is Hermann Kastner a member of
German Democratic Party
action filter_type
action find
entity Hermann Kastner
relation member of political party
type political organization
['Hermann Kastner', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_organization . resource:Hermann_Kastner property:member_of_political_party ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q97056
P937
Q515
USER
What is the location where that person worked ?
(Q328195,P937,c(Q515))
action filter_type
action find
entity Q97056
relation P937
type Q515
['Q328195', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q97056 property:P937 ?u . ?u rdf:type ontology:Q515 }
Hermann Kastner
action filter_type
action find
entity Hermann Kastner
relation work location
type city
['German Democratic Party', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Hermann_Kastner property:work_location ?u . ?u rdf:type ontology:city }
[]
city
Q1731
SYSTEM
Dresden
Q1731
(Q328195,P937,c(Q515))
action filter_type
action find
entity Q97056
relation P937
type Q515
The location that person worked is [ANSWER]
['Q328195', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q97056 property:P937 ?u . ?u rdf:type ontology:Q515 }
Dresden
The location that person worked is Dresden
Dresden
action filter_type
action find
entity Hermann Kastner
relation work location
type city
['German Democratic Party', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Hermann_Kastner property:work_location ?u . ?u rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1731 Q9609871
P20
Q502895
USER
Does Amaro Gomes Coutinho have that city as the area of death ?
(Q9609871,P20,Q1731)
action is_in
entity Q9609871
action find
entity Q1731
relation P20
['Q9609871', 'P20', 'Q1731']
ASK WHERE { resource:Q1731 property:P20 resource:Q9609871 }
Dresden Amaro Gomes Coutinho
action is_in
entity Amaro Gomes Coutinho
action find
entity Dresden
relation place of death
['Amaro Gomes Coutinho', 'place of death', 'Dresden']
ASK WHERE { resource:Dresden property:place_of_death resource:Amaro_Gomes_Coutinho }
[]
common name
SYSTEM
NO
(Q9609871,P20,Q1731)
action is_in
entity Q9609871
action find
entity Q1731
relation P20
[ANSWER]
['Q9609871', 'P20', 'Q1731']
ASK WHERE { resource:Q1731 property:P20 resource:Q9609871 }
No
action is_in
entity Amaro Gomes Coutinho
action find
entity Dresden
relation place of death
['Amaro Gomes Coutinho', 'place of death', 'Dresden']
ASK WHERE { resource:Dresden property:place_of_death resource:Amaro_Gomes_Coutinho }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1731
P551
Q502895
USER
Which people have residence at that city ?
action filter_type
action find_reverse
entity Q1731
relation P551
type Q502895
SELECT DISTINCT ?u WHERE { ?u property:P551 resource:Q1731 . ?u rdf:type ontology:Q502895 }
Dresden
action filter_type
action find_reverse
entity Dresden
relation residence
type common name
SELECT DISTINCT ?u WHERE { ?u property:residence resource:Dresden . ?u rdf:type ontology:common_name }
[]
common name
Q7747 Q79822 Q36661
SYSTEM
Vladimir Putin, Adam Mickiewicz, Henrik Ibsen
Q79822 Q19850444 Q7883834 Q36661 Q1350807 Q164735 Q10365180 Q522167 Q21693556 Q7747
action filter_type
action find_reverse
entity Q1731
relation P551
type Q502895
[ANSWERS] have residence at that city
SELECT DISTINCT ?u WHERE { ?u property:P551 resource:Q1731 . ?u rdf:type ontology:Q502895 }
Adam Mickiewicz Moritz Conradi Leopold Blaschka Henrik Ibsen Erhard Frommhold Johan Christian Dahl Rudolf Blaschka Fanny Bullock Workman Andrey Klassen Vladimir Putin
Vladimir Putin, Adam Mickiewicz and Henrik Ibsen have residence at that city
Vladimir Putin Adam Mickiewicz Henrik Ibsen
action filter_type
action find_reverse
entity Dresden
relation residence
type common name
SELECT DISTINCT ?u WHERE { ?u property:residence resource:Dresden . ?u rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P793
Q628455 Q1190554
USER
How many rites or events are that person associated with ?
(Q79822,P793,c(Q628455)) (Q79822,P793,c(Q1190554)) (Q7747,P793,c(Q628455)) (Q7747,P793,c(Q1190554)) (Q79822,P793,c(Q628455)) (Q79822,P793,c(Q1190554)) (Q36661,P793,c(Q628455)) (Q36661,P793,c(Q1190554))
['Q79822', 'P793', {'concept': 'Q628455'}] ['Q79822', 'P793', {'concept': 'Q1190554'}] ['Q7747', 'P793', {'concept': 'Q628455'}] ['Q7747', 'P793', {'concept': 'Q1190554'}] ['Q79822', 'P793', {'concept': 'Q628455'}] ['Q79822', 'P793', {'concept': 'Q1190554'}] ['Q36661', 'P793', {'concept': 'Q628455'}] ['Q36661', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q79822 property:P793 ?z } UNION { resource:Q79822 property:P793 ?y } UNION { resource:Q7747 property:P793 ?z } UNION { resource:Q7747 property:P793 ?y } UNION { resource:Q79822 property:P793 ?z } UNION { resource:Q79822 property:P793 ?y } UNION { resource:Q36661 property:P793 ?z } UNION { resource:Q36661 property:P793 ?y } } . ?z rdf:type ontology:Q628455 . ?y rdf:type ontology:Q5416694 }
['Adam Mickiewicz', 'significant event', {'concept': 'rite'}] ['Adam Mickiewicz', 'significant event', {'concept': 'event'}] ['Vladimir Putin', 'significant event', {'concept': 'rite'}] ['Vladimir Putin', 'significant event', {'concept': 'event'}] ['Adam Mickiewicz', 'significant event', {'concept': 'rite'}] ['Adam Mickiewicz', 'significant event', {'concept': 'event'}] ['Henrik Ibsen', 'significant event', {'concept': 'rite'}] ['Henrik Ibsen', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Adam_Mickiewicz property:significant_event ?z } UNION { resource:Adam_Mickiewicz property:significant_event ?y } UNION { resource:Vladimir_Putin property:significant_event ?z } UNION { resource:Vladimir_Putin property:significant_event ?y } UNION { resource:Adam_Mickiewicz property:significant_event ?z } UNION { resource:Adam_Mickiewicz property:significant_event ?y } UNION { resource:Henrik_Ibsen property:significant_event ?z } UNION { resource:Henrik_Ibsen property:significant_event ?y } } . ?z rdf:type ontology:rite . ?y rdf:type ontology:event }
[]
rite event
Quantitative|Count|Mult. entity type|Clarification
Q7747
SYSTEM
Did you mean Vladimir Putin ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q79822 property:P793 ?z } UNION { resource:Q79822 property:P793 ?y } UNION { resource:Q7747 property:P793 ?z } UNION { resource:Q7747 property:P793 ?y } UNION { resource:Q79822 property:P793 ?z } UNION { resource:Q79822 property:P793 ?y } UNION { resource:Q36661 property:P793 ?z } UNION { resource:Q36661 property:P793 ?y } } . ?z rdf:type ontology:Q628455 . ?y rdf:type ontology:Q5416694 }
Did you mean Vladimir Putin ?
Vladimir Putin
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Adam_Mickiewicz property:significant_event ?z } UNION { resource:Adam_Mickiewicz property:significant_event ?y } UNION { resource:Vladimir_Putin property:significant_event ?z } UNION { resource:Vladimir_Putin property:significant_event ?y } UNION { resource:Adam_Mickiewicz property:significant_event ?z } UNION { resource:Adam_Mickiewicz property:significant_event ?y } UNION { resource:Henrik_Ibsen property:significant_event ?z } UNION { resource:Henrik_Ibsen property:significant_event ?y } } . ?z rdf:type ontology:rite . ?y rdf:type ontology:event }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Adam Mickiewicz. Could you tell me the answer for that?
(Q79822,P793,c(Q628455)) (Q79822,P793,c(Q1190554)) (Q7747,P793,c(Q628455)) (Q7747,P793,c(Q1190554)) (Q79822,P793,c(Q628455)) (Q79822,P793,c(Q1190554)) (Q36661,P793,c(Q628455)) (Q36661,P793,c(Q1190554))
Q79822
['Q79822', 'P793', {'concept': 'Q628455'}] ['Q79822', 'P793', {'concept': 'Q1190554'}] ['Q7747', 'P793', {'concept': 'Q628455'}] ['Q7747', 'P793', {'concept': 'Q1190554'}] ['Q79822', 'P793', {'concept': 'Q628455'}] ['Q79822', 'P793', {'concept': 'Q1190554'}] ['Q36661', 'P793', {'concept': 'Q628455'}] ['Q36661', 'P793', {'concept': 'Q1190554'}]
['Adam Mickiewicz', 'significant event', {'concept': 'rite'}] ['Adam Mickiewicz', 'significant event', {'concept': 'event'}] ['Vladimir Putin', 'significant event', {'concept': 'rite'}] ['Vladimir Putin', 'significant event', {'concept': 'event'}] ['Adam Mickiewicz', 'significant event', {'concept': 'rite'}] ['Adam Mickiewicz', 'significant event', {'concept': 'event'}] ['Henrik Ibsen', 'significant event', {'concept': 'rite'}] ['Henrik Ibsen', 'significant event', {'concept': 'event'}]
[]
SYSTEM
2
Q35856 Q254106
(Q79822,P793,c(Q628455)) (Q79822,P793,c(Q1190554)) (Q7747,P793,c(Q628455)) (Q7747,P793,c(Q1190554)) (Q79822,P793,c(Q628455)) (Q79822,P793,c(Q1190554)) (Q36661,P793,c(Q628455)) (Q36661,P793,c(Q1190554))
[ANSWER]
['Q79822', 'P793', {'concept': 'Q628455'}] ['Q79822', 'P793', {'concept': 'Q1190554'}] ['Q7747', 'P793', {'concept': 'Q628455'}] ['Q7747', 'P793', {'concept': 'Q1190554'}] ['Q79822', 'P793', {'concept': 'Q628455'}] ['Q79822', 'P793', {'concept': 'Q1190554'}] ['Q36661', 'P793', {'concept': 'Q628455'}] ['Q36661', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q79822 property:P793 ?z } UNION { resource:Q79822 property:P793 ?y } UNION { resource:Q7747 property:P793 ?z } UNION { resource:Q7747 property:P793 ?y } UNION { resource:Q79822 property:P793 ?z } UNION { resource:Q79822 property:P793 ?y } UNION { resource:Q36661 property:P793 ?z } UNION { resource:Q36661 property:P793 ?y } } . ?z rdf:type ontology:Q628455 . ?y rdf:type ontology:Q5416694 }
baptism Crimean War
2
['Adam Mickiewicz', 'significant event', {'concept': 'rite'}] ['Adam Mickiewicz', 'significant event', {'concept': 'event'}] ['Vladimir Putin', 'significant event', {'concept': 'rite'}] ['Vladimir Putin', 'significant event', {'concept': 'event'}] ['Adam Mickiewicz', 'significant event', {'concept': 'rite'}] ['Adam Mickiewicz', 'significant event', {'concept': 'event'}] ['Henrik Ibsen', 'significant event', {'concept': 'rite'}] ['Henrik Ibsen', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Adam_Mickiewicz property:significant_event ?z } UNION { resource:Adam_Mickiewicz property:significant_event ?y } UNION { resource:Vladimir_Putin property:significant_event ?z } UNION { resource:Vladimir_Putin property:significant_event ?y } UNION { resource:Adam_Mickiewicz property:significant_event ?z } UNION { resource:Adam_Mickiewicz property:significant_event ?y } UNION { resource:Henrik_Ibsen property:significant_event ?z } UNION { resource:Henrik_Ibsen property:significant_event ?y } } . ?z rdf:type ontology:rite . ?y rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1731
P1001
Q1752346
USER
Which assembly has control over the jurisdiction of Dresden ?
(c(Q1752346),P1001,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P1001
type Q1752346
[{'concept': 'Q1752346'}, 'P1001', 'Q1731']
SELECT DISTINCT ?j WHERE { ?j property:P1001 resource:Q1731 . ?j rdf:type ontology:Q1752346 }
Dresden
action filter_type
action find_reverse
entity Dresden
relation applies to jurisdiction
type assembly
[{'concept': 'assembly'}, 'applies to jurisdiction', 'Dresden']
SELECT DISTINCT ?j WHERE { ?j property:applies_to_jurisdiction resource:Dresden . ?j rdf:type ontology:assembly }
[]
assembly
Q5123134
SYSTEM
City Council of Dresden
Q5123134
(c(Q1752346),P1001,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P1001
type Q1752346
The [ANSWER] has control over the jurisdiction of Dresden
[{'concept': 'Q1752346'}, 'P1001', 'Q1731']
SELECT DISTINCT ?j WHERE { ?j property:P1001 resource:Q1731 . ?j rdf:type ontology:Q1752346 }
City Council of Dresden
The City Council of Dresden has control over the jurisdiction of Dresden
City Council of Dresden
action filter_type
action find_reverse
entity Dresden
relation applies to jurisdiction
type assembly
[{'concept': 'assembly'}, 'applies to jurisdiction', 'Dresden']
SELECT DISTINCT ?j WHERE { ?j property:applies_to_jurisdiction resource:Dresden . ?j rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5123134
P17
Q1048835
USER
Which political territory is that assembly located in ?
(Q5123134,P17,c(Q1048835))
action filter_type
action find
entity Q5123134
relation P17
type Q1048835
['Q5123134', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q5123134 property:P17 ?a . ?a rdf:type ontology:Q1048835 }
City Council of Dresden
action filter_type
action find
entity City Council of Dresden
relation country
type political territorial entity
['City Council of Dresden', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:City_Council_of_Dresden property:country ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q5123134,P17,c(Q1048835))
action filter_type
action find
entity Q5123134
relation P17
type Q1048835
That assembly is located in [ANSWER]
['Q5123134', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q5123134 property:P17 ?a . ?a rdf:type ontology:Q1048835 }
Germany
That assembly is located in Germany
Germany
action filter_type
action find
entity City Council of Dresden
relation country
type political territorial entity
['City Council of Dresden', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:City_Council_of_Dresden property:country ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q7732
P674
Q502895 Q234460 Q2342494
USER
Which people plays a role in more number of texts or collectables than Louis XVI of France ?
(c(Q234460)|c(Q2342494),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P674
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q7732
relation P674
type Q234460
type Q2342494
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?x ) WHERE { { ?h property:P674 ?e . ?e rdf:type ontology:Q502895 . ?h rdf:type ontology:Q234460 } UNION { ?h property:P674 ?e . ?h rdf:type ontology:Q2342494 . ?e rdf:type ontology:Q502895 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P674 resource:Q7732 . { { ?k rdf:type ontology:Q234460 } UNION { ?k rdf:type ontology:Q2342494 } } } } . FILTER ( ?x > ?t ) }
Louis XVI of France
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type text
action find_reverse_tuple_counts
relation characters
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Louis XVI of France
relation characters
type text
type collectable
[[{'concept': 'text'}, {'concept': 'collectable'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?x ) WHERE { { ?h property:characters ?e . ?e rdf:type ontology:common_name . ?h rdf:type ontology:text } UNION { ?h property:characters ?e . ?h rdf:type ontology:collectable . ?e rdf:type ontology:common_name } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:characters resource:Louis_XVI_of_France . { { ?k rdf:type ontology:text } UNION { ?k rdf:type ontology:collectable } } } } . FILTER ( ?x > ?t ) }
[]
common name text collectable
Q47365 Q913 Q145746
SYSTEM
Marie Antoinette, Socrates, Joseph
Q854177 Q47365 Q145746 Q913
(c(Q234460)|c(Q2342494),P674,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q234460
action find_reverse_tuple_counts
relation P674
type Q502895
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q7732
relation P674
type Q234460
type Q2342494
[ANSWERS] play a role in more number of texts or collectables than Louis XVI of France
[[{'concept': 'Q234460'}, {'concept': 'Q2342494'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?x ) WHERE { { ?h property:P674 ?e . ?e rdf:type ontology:Q502895 . ?h rdf:type ontology:Q234460 } UNION { ?h property:P674 ?e . ?h rdf:type ontology:Q2342494 . ?e rdf:type ontology:Q502895 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P674 resource:Q7732 . { { ?k rdf:type ontology:Q234460 } UNION { ?k rdf:type ontology:Q2342494 } } } } . FILTER ( ?x > ?t ) }
Kay Scarpetta Marie Antoinette Joseph Socrates
Marie Antoinette, Socrates and Joseph play a role in more number of texts or collectables than Louis XVI of France
Marie Antoinette Socrates Joseph
action greater
action union
action find_reverse_tuple_counts
relation characters
type common name
type text
action find_reverse_tuple_counts
relation characters
type common name
type collectable
action count
action filter_multi_types
action find_reverse
entity Louis XVI of France
relation characters
type text
type collectable
[[{'concept': 'text'}, {'concept': 'collectable'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?x ) WHERE { { ?h property:characters ?e . ?e rdf:type ontology:common_name . ?h rdf:type ontology:text } UNION { ?h property:characters ?e . ?h rdf:type ontology:collectable . ?e rdf:type ontology:common_name } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:characters resource:Louis_XVI_of_France . { { ?k rdf:type ontology:text } UNION { ?k rdf:type ontology:collectable } } } } . FILTER ( ?x > ?t ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q464980 Q1656682 Q502895
USER
How many people were exhibited at approximately 2 exhibitions or events ?
(c(Q502895),P608,c(Q464980)|c(Q1656682))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q1656682
value 2
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { FILTER ( ?y = 2 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) ?k WHERE { VALUES ( ?v ) { ( ontology:Q1656682 ) ( ontology:Q464980 ) } . ?n rdf:type ?v } GROUP BY ?k } }
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type event
value 2
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { FILTER ( ?y = 2 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) ?k WHERE { VALUES ( ?v ) { ( ontology:event ) ( ontology:exhibition ) } . ?n rdf:type ?v } GROUP BY ?k } }
[]
exhibition event common name
SYSTEM
2
Q20888837 Q3335569
(c(Q502895),P608,c(Q464980)|c(Q1656682))
action count
action approx
action union
action find_tuple_counts
relation P608
type Q502895
type Q464980
action find_tuple_counts
relation P608
type Q502895
type Q1656682
value 2
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q464980'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { FILTER ( ?y = 2 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) ?k WHERE { VALUES ( ?v ) { ( ontology:Q1656682 ) ( ontology:Q464980 ) } . ?n rdf:type ?v } GROUP BY ?k } }
Angélique Bègue Nancy Elizabeth Prophet
2
action count
action approx
action union
action find_tuple_counts
relation exhibition history
type common name
type exhibition
action find_tuple_counts
relation exhibition history
type common name
type event
value 2
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'exhibition'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { FILTER ( ?y = 2 ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) ?k WHERE { VALUES ( ?v ) { ( ontology:event ) ( ontology:exhibition ) } . ?n rdf:type ?v } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47365
P921
Q2160811
USER
Which artistic theme is Marie Antoinette a main subject of ?
(c(Q2160811),P921,Q47365)
action filter_type
action find_reverse
entity Q47365
relation P921
type Q2160811
[{'concept': 'Q2160811'}, 'P921', 'Q47365']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q47365 . ?y rdf:type ontology:Q2160811 }
Marie Antoinette
action filter_type
action find_reverse
entity Marie Antoinette
relation main subject
type artistic theme
[{'concept': 'artistic theme'}, 'main subject', 'Marie Antoinette']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:Marie_Antoinette . ?y rdf:type ontology:artistic_theme }
[]
artistic theme
Q16147897
SYSTEM
Marie Antoinette in popular culture
Q16147897
(c(Q2160811),P921,Q47365)
action filter_type
action find_reverse
entity Q47365
relation P921
type Q2160811
As [ANSWER] is Marie Antoinette a main subject of
[{'concept': 'Q2160811'}, 'P921', 'Q47365']
SELECT DISTINCT ?y WHERE { ?y property:P921 resource:Q47365 . ?y rdf:type ontology:Q2160811 }
Marie Antoinette in popular culture
As Marie Antoinette in popular culture is Marie Antoinette a main subject of
Marie Antoinette in popular culture
action filter_type
action find_reverse
entity Marie Antoinette
relation main subject
type artistic theme
[{'concept': 'artistic theme'}, 'main subject', 'Marie Antoinette']
SELECT DISTINCT ?y WHERE { ?y property:main_subject resource:Marie_Antoinette . ?y rdf:type ontology:artistic_theme }
[]