Simple Question (Direct)
Simple Question
Q2177787
P1344
Q1499496
USER
Which German presidential elections did Ruth Wagner take part in ?
(Q2177787,P1344,c(Q1499496))
action filter_type
action find
entity Q2177787
relation P1344
type Q1499496
['Q2177787', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?e WHERE { resource:Q2177787 property:P1344 ?e . ?e rdf:type ontology:Q1499496 }
Ruth Wagner
action filter_type
action find
entity Ruth Wagner
relation participant of
type German presidential election
['Ruth Wagner', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?e WHERE { resource:Ruth_Wagner property:participant_of ?e . ?e rdf:type ontology:German_presidential_election }
[]
German presidential election
Q451110 Q314532
SYSTEM
German presidential election, 1999, German presidential election, 2004
Q451110 Q314532
(Q2177787,P1344,c(Q1499496))
action filter_type
action find
entity Q2177787
relation P1344
type Q1499496
[ANSWERS]
['Q2177787', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?e WHERE { resource:Q2177787 property:P1344 ?e . ?e rdf:type ontology:Q1499496 }
German presidential election, 1999 German presidential election, 2004
Ruth Wagner took part in German presidential election, 1999 and German presidential election, 2004
German presidential election, 1999 German presidential election, 2004
action filter_type
action find
entity Ruth Wagner
relation participant of
type German presidential election
['Ruth Wagner', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?e WHERE { resource:Ruth_Wagner property:participant_of ?e . ?e rdf:type ontology:German_presidential_election }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2177787
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q451110,P102,c(Q7210356)) (Q314532,P102,c(Q7210356))
action filter_type
action find
entity Q2177787
relation P102
type Q7210356
['Q451110', 'P102', {'concept': 'Q7210356'}] ['Q314532', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q2177787 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Ruth Wagner
action filter_type
action find
entity Ruth Wagner
relation member of political party
type political organization
['German presidential election, 1999', 'member of political party', {'concept': 'political organization'}] ['German presidential election, 2004', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Ruth_Wagner property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
political organization
Q13124
SYSTEM
Free Democratic Party
Q13124
(Q451110,P102,c(Q7210356)) (Q314532,P102,c(Q7210356))
action filter_type
action find
entity Q2177787
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q451110', 'P102', {'concept': 'Q7210356'}] ['Q314532', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { resource:Q2177787 property:P102 ?e . ?e rdf:type ontology:Q7210356 }
Free Democratic Party
That person is affiliated with Free Democratic Party
Free Democratic Party
action filter_type
action find
entity Ruth Wagner
relation member of political party
type political organization
['German presidential election, 1999', 'member of political party', {'concept': 'political organization'}] ['German presidential election, 2004', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { resource:Ruth_Wagner property:member_of_political_party ?e . ?e rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q13124 Q5277488
P102
Q502895
USER
Does Dimitri Gabiyev belong to the political party named that one ?
(Q5277488,P102,Q13124)
action is_in
entity Q5277488
action find
entity Q13124
relation P102
['Q5277488', 'P102', 'Q13124']
ASK WHERE { resource:Q13124 property:P102 resource:Q5277488 }
Free Democratic Party Dimitri Gabiyev
action is_in
entity Dimitri Gabiyev
action find
entity Free Democratic Party
relation member of political party
['Dimitri Gabiyev', 'member of political party', 'Free Democratic Party']
ASK WHERE { resource:Free_Democratic_Party property:member_of_political_party resource:Dimitri_Gabiyev }
[]
common name
SYSTEM
NO
(Q5277488,P102,Q13124)
action is_in
entity Q5277488
action find
entity Q13124
relation P102
[ANSWER]
['Q5277488', 'P102', 'Q13124']
ASK WHERE { resource:Q13124 property:P102 resource:Q5277488 }
No
action is_in
entity Dimitri Gabiyev
action find
entity Free Democratic Party
relation member of political party
['Dimitri Gabiyev', 'member of political party', 'Free Democratic Party']
ASK WHERE { resource:Free_Democratic_Party property:member_of_political_party resource:Dimitri_Gabiyev }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q47729
P361
Q7210356 Q7210356
USER
How many political organizations are a part of less number of political organizations than Democratic Party ?
(c(Q7210356),P361,c(Q7210356))
action count
action less
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q47729
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Q47729 property:P361 ?o . ?o rdf:type ontology:Q7210356 } } . FILTER ( ?x < ?z ) . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?x ) WHERE { ?b property:P361 ?p . ?b rdf:type ontology:Q7210356 . ?p rdf:type ontology:Q7210356 } GROUP BY ?b } }
Democratic Party
action count
action less
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Democratic Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Democratic_Party property:part_of ?o . ?o rdf:type ontology:political_organization } } . FILTER ( ?x < ?z ) . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?x ) WHERE { ?b property:part_of ?p . ?b rdf:type ontology:political_organization . ?p rdf:type ontology:political_organization } GROUP BY ?b } }
[]
political organization political organization
SYSTEM
51
Q1518193 Q7131032 Q1654268 Q3935996 Q2632305 Q2179086 Q4824226 Q1952211 Q21405813 Q2482138 Q7303029 Q1922340 Q83372 Q1408232 Q291031 Q5874016 Q10564889 Q627189 Q20081274 Q978086 Q3834914 Q1149512 Q1479955 Q4118233 Q3678393 Q2070568 Q25648673 Q18390996 Q192254 Q2256403 Q6357092 Q504564 Q3366586 Q370936 Q5032604 Q17291443 Q941224 Q5305890 Q281745 Q25796237 Q7362579 Q606620 Q2037135 Q213451 Q285388 Q7551721 Q634277 Q5604428 Q5604429 Q4157656 Q2256283
(c(Q7210356),P361,c(Q7210356))
action count
action less
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q47729
relation P361
type Q7210356
[ANSWER]
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Q47729 property:P361 ?o . ?o rdf:type ontology:Q7210356 } } . FILTER ( ?x < ?z ) . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?x ) WHERE { ?b property:P361 ?p . ?b rdf:type ontology:Q7210356 . ?p rdf:type ontology:Q7210356 } GROUP BY ?b } }
Edelweiss Aosta Valley Panhellenic Liberation Movement Party of Christian Democracy Rebirth of Christian Democracy Christian Democracy for Autonomies Christian Democratic Party Australian Greens Victoria Democratic Centre Sinistra Italiana Autonomy Liberty Participation Ecology Recreate Greece Mezhraiontsy Bolsheviks Moderates for Piedmont Allgemeine SS Ho Chi Minh Communist Youth Union The Megaphone - Crocetta List labour party Italian Conservatives, Reformists Ecologist Party "The Greens" List for Trieste Yemeni Socialist Party Förderndes Mitglied der SS Nasserist Unionist People's Organisation Civic Freedom The Other Russia CasaPound Italia Romanian Social Democratic Party National Liberation Front Left Front Progressive Valdotanian Union FRELIMO Pirate Party of Morocco Valdotanian Union cannabis political party National-Democratic Party Trentino Tyrolean Autonomist Party Drasi Italian Socialist Party political group of the European Parliament Romanian Social Democratic Party South Tyrolean People's Party Christian Democracy Green Party Al-Islah Socialist Party of the Islands True Finns Greens South Australia Greens Western Australia Democratic Union Sardinian Reformers
51
action count
action less
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Democratic Party
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { resource:Democratic_Party property:part_of ?o . ?o rdf:type ontology:political_organization } } . FILTER ( ?x < ?z ) . { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?x ) WHERE { ?b property:part_of ?p . ?b rdf:type ontology:political_organization . ?p rdf:type ontology:political_organization } GROUP BY ?b } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q7084151
P361
Q7210356 Q7210356
USER
And also tell me about Old Guard faction?
(c(Q7210356),P361,c(Q7210356))
action count
action less
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q7084151
relation P361
type Q7210356
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?f ) WHERE { ?w property:P361 ?a . ?w rdf:type ontology:Q7210356 . ?a rdf:type ontology:Q7210356 } GROUP BY ?w } . FILTER ( ?f < ?q ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q7084151 property:P361 ?d . ?d rdf:type ontology:Q7210356 } } }
Old Guard faction
action count
action less
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Old Guard faction
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?f ) WHERE { ?w property:part_of ?a . ?w rdf:type ontology:political_organization . ?a rdf:type ontology:political_organization } GROUP BY ?w } . FILTER ( ?f < ?q ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Old_Guard_faction property:part_of ?d . ?d rdf:type ontology:political_organization } } }
[]
political organization political organization
SYSTEM
51
Q1518193 Q7131032 Q1654268 Q3935996 Q2632305 Q2179086 Q4824226 Q1952211 Q21405813 Q2482138 Q7303029 Q1922340 Q83372 Q1408232 Q291031 Q5874016 Q10564889 Q627189 Q20081274 Q978086 Q3834914 Q1149512 Q1479955 Q4118233 Q3678393 Q2070568 Q25648673 Q18390996 Q192254 Q2256403 Q6357092 Q504564 Q3366586 Q370936 Q5032604 Q17291443 Q941224 Q5305890 Q281745 Q25796237 Q7362579 Q606620 Q2037135 Q213451 Q285388 Q7551721 Q634277 Q5604428 Q5604429 Q4157656 Q2256283
(c(Q7210356),P361,c(Q7210356))
action count
action less
action find_tuple_counts
relation P361
type Q7210356
type Q7210356
action count
action filter_type
action find
entity Q7084151
relation P361
type Q7210356
[ANSWER]
[{'concept': 'Q7210356'}, 'P361', {'concept': 'Q7210356'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?f ) WHERE { ?w property:P361 ?a . ?w rdf:type ontology:Q7210356 . ?a rdf:type ontology:Q7210356 } GROUP BY ?w } . FILTER ( ?f < ?q ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q7084151 property:P361 ?d . ?d rdf:type ontology:Q7210356 } } }
Edelweiss Aosta Valley Panhellenic Liberation Movement Party of Christian Democracy Rebirth of Christian Democracy Christian Democracy for Autonomies Christian Democratic Party Australian Greens Victoria Democratic Centre Sinistra Italiana Autonomy Liberty Participation Ecology Recreate Greece Mezhraiontsy Bolsheviks Moderates for Piedmont Allgemeine SS Ho Chi Minh Communist Youth Union The Megaphone - Crocetta List labour party Italian Conservatives, Reformists Ecologist Party "The Greens" List for Trieste Yemeni Socialist Party Förderndes Mitglied der SS Nasserist Unionist People's Organisation Civic Freedom The Other Russia CasaPound Italia Romanian Social Democratic Party National Liberation Front Left Front Progressive Valdotanian Union FRELIMO Pirate Party of Morocco Valdotanian Union cannabis political party National-Democratic Party Trentino Tyrolean Autonomist Party Drasi Italian Socialist Party political group of the European Parliament Romanian Social Democratic Party South Tyrolean People's Party Christian Democracy Green Party Al-Islah Socialist Party of the Islands True Finns Greens South Australia Greens Western Australia Democratic Union Sardinian Reformers
51
action count
action less
action find_tuple_counts
relation part of
type political organization
type political organization
action count
action filter_type
action find
entity Old Guard faction
relation part of
type political organization
[{'concept': 'political organization'}, 'part of', {'concept': 'political organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?f ) WHERE { ?w property:part_of ?a . ?w rdf:type ontology:political_organization . ?a rdf:type ontology:political_organization } GROUP BY ?w } . FILTER ( ?f < ?q ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Old_Guard_faction property:part_of ?d . ?d rdf:type ontology:political_organization } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2177787
P710
Q1499496
USER
Which German presidential elections have Ruth Wagner as their participant ?
(c(Q1499496),P710,Q2177787)
action filter_type
action find_reverse
entity Q2177787
relation P710
type Q1499496
[{'concept': 'Q1499496'}, 'P710', 'Q2177787']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q2177787 . ?n rdf:type ontology:Q1499496 }
Ruth Wagner
action filter_type
action find_reverse
entity Ruth Wagner
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Ruth Wagner']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Ruth_Wagner . ?n rdf:type ontology:German_presidential_election }
[]
German presidential election
Q451110 Q314532
SYSTEM
German presidential election, 1999, German presidential election, 2004
Q451110 Q314532
(c(Q1499496),P710,Q2177787)
action filter_type
action find_reverse
entity Q2177787
relation P710
type Q1499496
[ANSWERS]
[{'concept': 'Q1499496'}, 'P710', 'Q2177787']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q2177787 . ?n rdf:type ontology:Q1499496 }
German presidential election, 1999 German presidential election, 2004
German presidential election, 1999 and German presidential election, 2004 have Ruth Wagner as their participant
German presidential election, 1999 German presidential election, 2004
action filter_type
action find_reverse
entity Ruth Wagner
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Ruth Wagner']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Ruth_Wagner . ?n rdf:type ontology:German_presidential_election }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q451110 Q314532
P17
Q1048835
USER
Which political territories do German presidential election, 1999 and German presidential election, 2004 belong to ?
(Q451110,P17,c(Q1048835)) (Q314532,P17,c(Q1048835))
action union
action filter_type
action find
entity Q451110
relation P17
type Q1048835
action filter_type
action find
entity Q314532
relation P17
type Q1048835
['Q451110', 'P17', {'concept': 'Q1048835'}] ['Q314532', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?b ) { ( resource:Q451110 ) ( resource:Q314532 ) } . ?b property:P17 ?d }
German presidential election, 1999 German presidential election, 2004
action union
action filter_type
action find
entity German presidential election, 1999
relation country
type political territorial entity
action filter_type
action find
entity German presidential election, 2004
relation country
type political territorial entity
['German presidential election, 1999', 'country', {'concept': 'political territorial entity'}] ['German presidential election, 2004', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?b ) { ( resource:German_presidential_election,_1999 ) ( resource:German_presidential_election,_2004 ) } . ?b property:country ?d }
[]
political territorial entity
Q183 Q183
SYSTEM
Germany
Q183 Q183
(Q451110,P17,c(Q1048835)) (Q314532,P17,c(Q1048835))
action union
action filter_type
action find
entity Q451110
relation P17
type Q1048835
action filter_type
action find
entity Q314532
relation P17
type Q1048835
[ANSWER] and [ANSWER] German presidential election, 1999 and German presidential election, 2004 belong to
['Q451110', 'P17', {'concept': 'Q1048835'}] ['Q314532', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?b ) { ( resource:Q451110 ) ( resource:Q314532 ) } . ?b property:P17 ?d }
Germany Germany
Germany and Germany German presidential election, 1999 and German presidential election, 2004 belong to
Germany Germany
action union
action filter_type
action find
entity German presidential election, 1999
relation country
type political territorial entity
action filter_type
action find
entity German presidential election, 2004
relation country
type political territorial entity
['German presidential election, 1999', 'country', {'concept': 'political territorial entity'}] ['German presidential election, 2004', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?b ) { ( resource:German_presidential_election,_1999 ) ( resource:German_presidential_election,_2004 ) } . ?b property:country ?d }
[]