Simple Question (Direct)
Simple Question
Q14632337
P39
Q12737077
USER
Which occupations were a position held by Jacob Carel van de Kasteele ?
(Q14632337,P39,c(Q12737077))
action filter_type
action find
entity Q14632337
relation P39
type Q12737077
['Q14632337', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q14632337 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Jacob Carel van de Kasteele
action filter_type
action find
entity Jacob Carel van de Kasteele
relation position held
type occupation
['Jacob Carel van de Kasteele', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jacob_Carel_van_de_Kasteele property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q21013169 Q21013163 Q18887908
SYSTEM
municipal executive of The Hague, Mayor of The Hague, member of the House of Representatives of the Netherlands
Q21013169 Q21013163 Q18887908
(Q14632337,P39,c(Q12737077))
action filter_type
action find
entity Q14632337
relation P39
type Q12737077
[ANSWERS] were a position held by Jacob Carel van de Kasteele
['Q14632337', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q14632337 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
municipal executive of The Hague Mayor of The Hague member of the House of Representatives of the Netherlands
Municipal executive of The Hague, Mayor of The Hague and member of the House of Representatives of the Netherlands were a position held by Jacob Carel van de Kasteele
municipal executive of The Hague Mayor of The Hague member of the House of Representatives of the Netherlands
action filter_type
action find
entity Jacob Carel van de Kasteele
relation position held
type occupation
['Jacob Carel van de Kasteele', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Jacob_Carel_van_de_Kasteele property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14632337
P135
Q7257
USER
Which ideology did Jacob Carel van de Kasteele belong to
(Q14632337,P135,c(Q7257))
action filter_type
action find
entity Q14632337
relation P135
type Q7257
['Q14632337', 'P135', {'concept': 'Q7257'}]
SELECT DISTINCT ?p WHERE { resource:Q14632337 property:P135 ?p . ?p rdf:type ontology:Q7257 }
Jacob Carel van de Kasteele
action filter_type
action find
entity Jacob Carel van de Kasteele
relation movement
type ideology
['Jacob Carel van de Kasteele', 'movement', {'concept': 'ideology'}]
SELECT DISTINCT ?p WHERE { resource:Jacob_Carel_van_de_Kasteele property:movement ?p . ?p rdf:type ontology:ideology }
[]
ideology
Q20128280
SYSTEM
pro-government
Q20128280
(Q14632337,P135,c(Q7257))
action filter_type
action find
entity Q14632337
relation P135
type Q7257
Jacob Carel de Kasteele vanned as [ANSWER]
['Q14632337', 'P135', {'concept': 'Q7257'}]
SELECT DISTINCT ?p WHERE { resource:Q14632337 property:P135 ?p . ?p rdf:type ontology:Q7257 }
pro-government
Jacob Carel de Kasteele vanned as pro-government
pro-government
action filter_type
action find
entity Jacob Carel van de Kasteele
relation movement
type ideology
['Jacob Carel van de Kasteele', 'movement', {'concept': 'ideology'}]
SELECT DISTINCT ?p WHERE { resource:Jacob_Carel_van_de_Kasteele property:movement ?p . ?p rdf:type ontology:ideology }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q20128280 Q3295008 Q55
P17
Q15617994
USER
Is pro-government located in Marsh Green, Kent and Netherlands ?
(Q20128280,P17,Q3295008) (Q20128280,P17,Q55)
action is_in
entity Q20128280
action intersection
action find_reverse
entity Q3295008
relation P17
action find_reverse
entity Q55
relation P17
['Q20128280', 'P17', 'Q3295008'] ['Q20128280', 'P17', 'Q55']
ASK WHERE { resource:Q20128280 property:P17 resource:Q3295008 . resource:Q20128280 property:P17 resource:Q55 }
pro-government Marsh Green, Kent Netherlands
action is_in
entity pro-government
action intersection
action find_reverse
entity Marsh Green, Kent
relation country
action find_reverse
entity Netherlands
relation country
['pro-government', 'country', 'Marsh Green, Kent'] ['pro-government', 'country', 'Netherlands']
ASK WHERE { resource:pro-government property:country resource:Marsh_Green,_Kent . resource:pro-government property:country resource:Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q20128280,P17,Q3295008) (Q20128280,P17,Q55)
action is_in
entity Q20128280
action intersection
action find_reverse
entity Q3295008
relation P17
action find_reverse
entity Q55
relation P17
[ANSWER]
['Q20128280', 'P17', 'Q3295008'] ['Q20128280', 'P17', 'Q55']
ASK WHERE { resource:Q20128280 property:P17 resource:Q3295008 . resource:Q20128280 property:P17 resource:Q55 }
NO and YES respectively
action is_in
entity pro-government
action intersection
action find_reverse
entity Marsh Green, Kent
relation country
action find_reverse
entity Netherlands
relation country
['pro-government', 'country', 'Marsh Green, Kent'] ['pro-government', 'country', 'Netherlands']
ASK WHERE { resource:pro-government property:country resource:Marsh_Green,_Kent . resource:pro-government property:country resource:Netherlands }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1142
Q7257 Q7278
USER
Which political parties promote atleast 4 ideologies ?
(c(Q7278),P1142,c(Q7257))
action atleast
action find_tuple_counts
relation P1142
type Q7278
type Q7257
value 4
[{'concept': 'Q7278'}, 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?q ) WHERE { ?v property:P1142 ?y . ?v rdf:type ontology:Q7278 . ?y rdf:type ontology:Q7257 } GROUP BY ?v } . FILTER ( ?q >= 4 ) }
action atleast
action find_tuple_counts
relation political ideology
type political party
type ideology
value 4
[{'concept': 'political party'}, 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?q ) WHERE { ?v property:political_ideology ?y . ?v rdf:type ontology:political_party . ?y rdf:type ontology:ideology } GROUP BY ?v } . FILTER ( ?q >= 4 ) }
[]
ideology political party
Q653566 Q130761
SYSTEM
European National Front, Popular Unity Candidates
Q653566 Q130761
(c(Q7278),P1142,c(Q7257))
action atleast
action find_tuple_counts
relation P1142
type Q7278
type Q7257
value 4
[ANSWERS] promote atleast 4 ideologies
[{'concept': 'Q7278'}, 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?q ) WHERE { ?v property:P1142 ?y . ?v rdf:type ontology:Q7278 . ?y rdf:type ontology:Q7257 } GROUP BY ?v } . FILTER ( ?q >= 4 ) }
European National Front Popular Unity Candidates
European National Front and Popular Unity Candidates promote atleast 4 ideologies
European National Front Popular Unity Candidates
action atleast
action find_tuple_counts
relation political ideology
type political party
type ideology
value 4
[{'concept': 'political party'}, 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?y ) AS ?q ) WHERE { ?v property:political_ideology ?y . ?v rdf:type ontology:political_party . ?y rdf:type ontology:ideology } GROUP BY ?v } . FILTER ( ?q >= 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q653566
P488
Q502895
USER
Who chaired European National Front ?
(Q653566,P488,c(Q502895))
action filter_type
action find
entity Q653566
relation P488
type Q502895
['Q653566', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q653566 property:P488 ?a . ?a rdf:type ontology:Q502895 }
European National Front
action filter_type
action find
entity European National Front
relation chairperson
type common name
['European National Front', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:European_National_Front property:chairperson ?a . ?a rdf:type ontology:common_name }
[]
common name
Q1343074
SYSTEM
Roberto Fiore
Q1343074
(Q653566,P488,c(Q502895))
action filter_type
action find
entity Q653566
relation P488
type Q502895
[ANSWER] chaired European National Front
['Q653566', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q653566 property:P488 ?a . ?a rdf:type ontology:Q502895 }
Roberto Fiore
Roberto Fiore chaired European National Front
Roberto Fiore
action filter_type
action find
entity European National Front
relation chairperson
type common name
['European National Front', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:European_National_Front property:chairperson ?a . ?a rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q1792379 Q3516658
USER
Which occupations are demonstrated in max number of art genres and heraldic symbols ?
(c(Q1792379)|c(Q3516658),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
[[{'concept': 'Q1792379'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) ?p WHERE { { ?t property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q1792379 } UNION { ?t property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q3516658 } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?n WHERE { VALUES ( ?w ) { ( ontology:Q1792379 ) ( ontology:Q3516658 ) } . ?u rdf:type ?w } GROUP BY ?n } . FILTER ( ?d = ?g ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
[[{'concept': 'art genre'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) ?p WHERE { { ?t property:depicts ?p . ?p rdf:type ontology:occupation . ?t rdf:type ontology:art_genre } UNION { ?t property:depicts ?p . ?p rdf:type ontology:occupation . ?t rdf:type ontology:heraldic_symbol } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?n WHERE { VALUES ( ?w ) { ( ontology:art_genre ) ( ontology:heraldic_symbol ) } . ?u rdf:type ?w } GROUP BY ?n } . FILTER ( ?d = ?g ) }
[]
occupation art genre heraldic symbol
Q4991371 Q1250916 Q2730732
SYSTEM
soldier, warrior, equestrian
Q2079936 Q1250916 Q4991371 Q2730732
(c(Q1792379)|c(Q3516658),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
The [ANSWERS] are demonstrated in max number of art genres and heraldic symbols
[[{'concept': 'Q1792379'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) ?p WHERE { { ?t property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q1792379 } UNION { ?t property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q3516658 } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?n WHERE { VALUES ( ?w ) { ( ontology:Q1792379 ) ( ontology:Q3516658 ) } . ?u rdf:type ?w } GROUP BY ?n } . FILTER ( ?d = ?g ) }
king of marksmen warrior soldier equestrian
The soldier, warrior and equestrian are demonstrated in max number of art genres and heraldic symbols
soldier warrior equestrian
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
[[{'concept': 'art genre'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) ?p WHERE { { ?t property:depicts ?p . ?p rdf:type ontology:occupation . ?t rdf:type ontology:art_genre } UNION { ?t property:depicts ?p . ?p rdf:type ontology:occupation . ?t rdf:type ontology:heraldic_symbol } } GROUP BY ?p } } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?n WHERE { VALUES ( ?w ) { ( ontology:art_genre ) ( ontology:heraldic_symbol ) } . ?u rdf:type ?w } GROUP BY ?n } . FILTER ( ?d = ?g ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4991371 Q1250916 Q2730732
P180
Q838948
USER
Which works of art depict soldier, warrior and equestrian ?
(c(Q838948),P180,Q4991371) (c(Q838948),P180,Q1250916) (c(Q838948),P180,Q2730732)
action union
action filter_type
action find_reverse
entity Q4991371
relation P180
type Q838948
action filter_type
action find_reverse
entity Q1250916
relation P180
type Q838948
action filter_type
action find_reverse
entity Q2730732
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q4991371'] [{'concept': 'Q838948'}, 'P180', 'Q1250916'] [{'concept': 'Q838948'}, 'P180', 'Q2730732']
SELECT DISTINCT ?n WHERE { ?n property:P180 ?x . VALUES ( ?x ) { ( resource:Q4991371 ) ( resource:Q1250916 ) } }
soldier warrior equestrian
action union
action filter_type
action find_reverse
entity soldier
relation depicts
type work of art
action filter_type
action find_reverse
entity warrior
relation depicts
type work of art
action filter_type
action find_reverse
entity equestrian
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'soldier'] [{'concept': 'work of art'}, 'depicts', 'warrior'] [{'concept': 'work of art'}, 'depicts', 'equestrian']
SELECT DISTINCT ?n WHERE { ?n property:depicts ?x . VALUES ( ?x ) { ( resource:soldier ) ( resource:warrior ) } }
[]
work of art
Q19015792 Q526178 Q848790
SYSTEM
Altarpiece of the Resurrection of Christ, The Age of Bronze, Dying Gaul
Q26721302 Q20671159 Q19015792 Q18917908 Q27616824 Q1212530 Q2520916 Q24037779 Q18609790 Q3501412 Q526178 Q185392 Q848790 Q17566587 Q2559736 Q20807815 Q20683317 Q20807887 Q18168585 Q20807853
(c(Q838948),P180,Q4991371) (c(Q838948),P180,Q1250916) (c(Q838948),P180,Q2730732)
action union
action filter_type
action find_reverse
entity Q4991371
relation P180
type Q838948
action filter_type
action find_reverse
entity Q1250916
relation P180
type Q838948
action filter_type
action find_reverse
entity Q2730732
relation P180
type Q838948
The [ANSWERS] depict soldier, warrior and equestrian
[{'concept': 'Q838948'}, 'P180', 'Q4991371'] [{'concept': 'Q838948'}, 'P180', 'Q1250916'] [{'concept': 'Q838948'}, 'P180', 'Q2730732']
SELECT DISTINCT ?n WHERE { ?n property:P180 ?x . VALUES ( ?x ) { ( resource:Q4991371 ) ( resource:Q1250916 ) } }
Peace Memorial American Expeditionary Forces Memorial Altarpiece of the Resurrection of Christ The Testament of Eudamidas Rinaldo and Armida World War II Memorial, Makó Wounded Gaul Hunne zu Pferde cinerary urn Stele of Avile Tite The Age of Bronze Borghese Gladiator Dying Gaul The Age of Bronze Millennium Monument of Brest Monument to the 2e chasseurs d'Afrique Landscape after Ruisdael Piqueur à cheval cardiotaph of Jacques Nicolas Gobert Monument to the Defense
The Altarpiece of the Resurrection of Christ, The Age of Bronze and Dying Gaul depict soldier, warrior and equestrian
Altarpiece of the Resurrection of Christ The Age of Bronze Dying Gaul
action union
action filter_type
action find_reverse
entity soldier
relation depicts
type work of art
action filter_type
action find_reverse
entity warrior
relation depicts
type work of art
action filter_type
action find_reverse
entity equestrian
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'soldier'] [{'concept': 'work of art'}, 'depicts', 'warrior'] [{'concept': 'work of art'}, 'depicts', 'equestrian']
SELECT DISTINCT ?n WHERE { ?n property:depicts ?x . VALUES ( ?x ) { ( resource:soldier ) ( resource:warrior ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q526178
P800
Q502895
USER
Which person is accredited with being the author of the notable work The Age of Bronze ?
(c(Q502895),P800,Q526178)
action filter_type
action find_reverse
entity Q526178
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q526178']
SELECT DISTINCT ?u WHERE { ?u property:P800 resource:Q526178 . ?u rdf:type ontology:Q502895 }
The Age of Bronze
action filter_type
action find_reverse
entity The Age of Bronze
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Age of Bronze']
SELECT DISTINCT ?u WHERE { ?u property:notable_work resource:The_Age_of_Bronze . ?u rdf:type ontology:common_name }
[]
common name
Q30755
SYSTEM
Auguste Rodin
Q30755
(c(Q502895),P800,Q526178)
action filter_type
action find_reverse
entity Q526178
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work The Age of Bronze
[{'concept': 'Q502895'}, 'P800', 'Q526178']
SELECT DISTINCT ?u WHERE { ?u property:P800 resource:Q526178 . ?u rdf:type ontology:Q502895 }
Auguste Rodin
Auguste Rodin is accredited with being the author of the notable work The Age of Bronze
Auguste Rodin
action filter_type
action find_reverse
entity The Age of Bronze
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Age of Bronze']
SELECT DISTINCT ?u WHERE { ?u property:notable_work resource:The_Age_of_Bronze . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30755
P69
Q3914
USER
Which school was that person educated at ?
(Q30755,P69,c(Q3914))
action filter_type
action find
entity Q30755
relation P69
type Q3914
['Q30755', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?q WHERE { resource:Q30755 property:P69 ?q . ?q rdf:type ontology:Q3914 }
Auguste Rodin
action filter_type
action find
entity Auguste Rodin
relation educated at
type school
['Auguste Rodin', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?q WHERE { resource:Auguste_Rodin property:educated_at ?q . ?q rdf:type ontology:school }
[]
school
Q1135990
SYSTEM
École nationale supérieure des arts décoratifs
Q1135990
(Q30755,P69,c(Q3914))
action filter_type
action find
entity Q30755
relation P69
type Q3914
That person was educated at [ANSWER]
['Q30755', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?q WHERE { resource:Q30755 property:P69 ?q . ?q rdf:type ontology:Q3914 }
École nationale supérieure des arts décoratifs
That person was educated at École nationale supérieure des arts décoratifs
École nationale supérieure des arts décoratifs
action filter_type
action find
entity Auguste Rodin
relation educated at
type school
['Auguste Rodin', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?q WHERE { resource:Auguste_Rodin property:educated_at ?q . ?q rdf:type ontology:school }
[]