Simple Question (Direct)
Simple Question
Q1828070
P106
Q12737077
USER
Which occupations have Lissy Tempelhof as his/her 's career ?
(Q1828070,P106,c(Q12737077))
action filter_type
action find
entity Q1828070
relation P106
type Q12737077
['Q1828070', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1828070 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Lissy Tempelhof
action filter_type
action find
entity Lissy Tempelhof
relation occupation
type occupation
['Lissy Tempelhof', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Lissy_Tempelhof property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q33999 Q2259451
SYSTEM
actor, stage actor
Q33999 Q2259451
(Q1828070,P106,c(Q12737077))
action filter_type
action find
entity Q1828070
relation P106
type Q12737077
[ANSWERS] have Lissy Tempelhof as his/her 's career
['Q1828070', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q1828070 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
actor stage actor
Actor and stage actor have Lissy Tempelhof as his/her 's career
actor stage actor
action filter_type
action find
entity Lissy Tempelhof
relation occupation
type occupation
['Lissy Tempelhof', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Lissy_Tempelhof property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1828070
P161
Q15416
USER
Which television program does Lissy Tempelhof star in ?
(c(Q15416),P161,Q1828070)
action filter_type
action find_reverse
entity Q1828070
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q1828070']
SELECT DISTINCT ?h WHERE { ?h property:P161 resource:Q1828070 . ?h rdf:type ontology:Q15416 }
Lissy Tempelhof
action filter_type
action find_reverse
entity Lissy Tempelhof
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Lissy Tempelhof']
SELECT DISTINCT ?h WHERE { ?h property:cast_member resource:Lissy_Tempelhof . ?h rdf:type ontology:television_program }
[]
television program
Q5347416
SYSTEM
Effi Briest
Q5347416
(c(Q15416),P161,Q1828070)
action filter_type
action find_reverse
entity Q1828070
relation P161
type Q15416
Lissy Tempelhof stars [ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q1828070']
SELECT DISTINCT ?h WHERE { ?h property:P161 resource:Q1828070 . ?h rdf:type ontology:Q15416 }
Effi Briest
Lissy Tempelhof stars Effi Briest
Effi Briest
action filter_type
action find_reverse
entity Lissy Tempelhof
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Lissy Tempelhof']
SELECT DISTINCT ?h WHERE { ?h property:cast_member resource:Lissy_Tempelhof . ?h rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5347416
P495
Q7275
USER
What is the origin of that television program ?
(Q5347416,P495,c(Q7275))
action filter_type
action find
entity Q5347416
relation P495
type Q7275
['Q5347416', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q5347416 property:P495 ?v . ?v rdf:type ontology:Q7275 }
Effi Briest
action filter_type
action find
entity Effi Briest
relation country of origin
type state
['Effi Briest', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Effi_Briest property:country_of_origin ?v . ?v rdf:type ontology:state }
[]
state
Q16957
SYSTEM
East Germany
Q16957
(Q5347416,P495,c(Q7275))
action filter_type
action find
entity Q5347416
relation P495
type Q7275
The origin of that television program is from [ANSWER]
['Q5347416', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?v WHERE { resource:Q5347416 property:P495 ?v . ?v rdf:type ontology:Q7275 }
East Germany
The origin of that television program is from East Germany
East Germany
action filter_type
action find
entity Effi Briest
relation country of origin
type state
['Effi Briest', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?v WHERE { resource:Effi_Briest property:country_of_origin ?v . ?v rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5347416
P57
Q502895
USER
Which person directed that television program ?
(Q16957,P57,c(Q502895))
action filter_type
action find
entity Q5347416
relation P57
type Q502895
['Q16957', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q5347416 property:P57 ?a . ?a rdf:type ontology:Q502895 }
Effi Briest
action filter_type
action find
entity Effi Briest
relation director
type common name
['East Germany', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Effi_Briest property:director ?a . ?a rdf:type ontology:common_name }
[]
common name
Q2590463
SYSTEM
Wolfgang Luderer
Q2590463
(Q16957,P57,c(Q502895))
action filter_type
action find
entity Q5347416
relation P57
type Q502895
The [ANSWER] directed that television program
['Q16957', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q5347416 property:P57 ?a . ?a rdf:type ontology:Q502895 }
Wolfgang Luderer
The Wolfgang Luderer directed that television program
Wolfgang Luderer
action filter_type
action find
entity Effi Briest
relation director
type common name
['East Germany', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Effi_Briest property:director ?a . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2590463 Q4410720 Q183
P27
Q1048835
USER
Is that person a native of Svynari and Germany ?
(Q2590463,P27,Q4410720) (Q2590463,P27,Q183)
action is_in
entity Q2590463
action intersection
action find_reverse
entity Q4410720
relation P27
action find_reverse
entity Q183
relation P27
['Q2590463', 'P27', 'Q4410720'] ['Q2590463', 'P27', 'Q183']
ASK WHERE { resource:Q2590463 property:P27 resource:Q4410720 . resource:Q2590463 property:P27 resource:Q183 }
Wolfgang Luderer Svynari Germany
action is_in
entity Wolfgang Luderer
action intersection
action find_reverse
entity Svynari
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Wolfgang Luderer', 'country of citizenship', 'Svynari'] ['Wolfgang Luderer', 'country of citizenship', 'Germany']
ASK WHERE { resource:Wolfgang_Luderer property:country_of_citizenship resource:Svynari . resource:Wolfgang_Luderer property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q2590463,P27,Q4410720) (Q2590463,P27,Q183)
action is_in
entity Q2590463
action intersection
action find_reverse
entity Q4410720
relation P27
action find_reverse
entity Q183
relation P27
[ANSWER]
['Q2590463', 'P27', 'Q4410720'] ['Q2590463', 'P27', 'Q183']
ASK WHERE { resource:Q2590463 property:P27 resource:Q4410720 . resource:Q2590463 property:P27 resource:Q183 }
NO and YES respectively
action is_in
entity Wolfgang Luderer
action intersection
action find_reverse
entity Svynari
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Wolfgang Luderer', 'country of citizenship', 'Svynari'] ['Wolfgang Luderer', 'country of citizenship', 'Germany']
ASK WHERE { resource:Wolfgang_Luderer property:country_of_citizenship resource:Svynari . resource:Wolfgang_Luderer property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1828070 Q635947 Q653876
P27
Q1048835
USER
Is Lissy Tempelhof a native of São Domingos do Prata and Magaña ?
(Q1828070,P27,Q635947) (Q1828070,P27,Q653876)
action is_in
entity Q1828070
action intersection
action find_reverse
entity Q635947
relation P27
action find_reverse
entity Q653876
relation P27
['Q1828070', 'P27', 'Q635947'] ['Q1828070', 'P27', 'Q653876']
ASK WHERE { resource:Q1828070 property:P27 resource:Q635947 . resource:Q1828070 property:P27 resource:Q653876 }
Lissy Tempelhof São Domingos do Prata Magaña
action is_in
entity Lissy Tempelhof
action intersection
action find_reverse
entity São Domingos do Prata
relation country of citizenship
action find_reverse
entity Magaña
relation country of citizenship
['Lissy Tempelhof', 'country of citizenship', 'São Domingos do Prata'] ['Lissy Tempelhof', 'country of citizenship', 'Magaña']
ASK WHERE { resource:Lissy_Tempelhof property:country_of_citizenship resource:São_Domingos_do_Prata . resource:Lissy_Tempelhof property:country_of_citizenship resource:Magaña }
[]
political territorial entity
SYSTEM
NO
(Q1828070,P27,Q635947) (Q1828070,P27,Q653876)
action is_in
entity Q1828070
action intersection
action find_reverse
entity Q635947
relation P27
action find_reverse
entity Q653876
relation P27
[ANSWER]
['Q1828070', 'P27', 'Q635947'] ['Q1828070', 'P27', 'Q653876']
ASK WHERE { resource:Q1828070 property:P27 resource:Q635947 . resource:Q1828070 property:P27 resource:Q653876 }
No
action is_in
entity Lissy Tempelhof
action intersection
action find_reverse
entity São Domingos do Prata
relation country of citizenship
action find_reverse
entity Magaña
relation country of citizenship
['Lissy Tempelhof', 'country of citizenship', 'São Domingos do Prata'] ['Lissy Tempelhof', 'country of citizenship', 'Magaña']
ASK WHERE { resource:Lissy_Tempelhof property:country_of_citizenship resource:São_Domingos_do_Prata . resource:Lissy_Tempelhof property:country_of_citizenship resource:Magaña }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1828070
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
action filter_type
action find
entity Q1828070
relation P19
type Q56061
SELECT DISTINCT ?x WHERE { resource:Q1828070 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Lissy Tempelhof
action filter_type
action find
entity Lissy Tempelhof
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?x WHERE { resource:Lissy_Tempelhof property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
action filter_type
action find
entity Q1828070
relation P19
type Q56061
[ANSWER] is the birthplace of that person
SELECT DISTINCT ?x WHERE { resource:Q1828070 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Berlin
Berlin is the birthplace of that person
Berlin
action filter_type
action find
entity Lissy Tempelhof
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?x WHERE { resource:Lissy_Tempelhof property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q64 Q16583924
P6
Q502895
USER
Does José Sánchez Lagomarsino have that administrative territory as its head of government ?
(Q64,P6,Q16583924)
action is_in
entity Q16583924
action find
entity Q64
relation P6
['Q64', 'P6', 'Q16583924']
ASK WHERE { resource:Q64 property:P6 resource:Q16583924 }
Berlin José Sánchez Lagomarsino
action is_in
entity José Sánchez Lagomarsino
action find
entity Berlin
relation head of government
['Berlin', 'head of government', 'José Sánchez Lagomarsino']
ASK WHERE { resource:Berlin property:head_of_government resource:José_Sánchez_Lagomarsino }
[]
common name
SYSTEM
NO
(Q64,P6,Q16583924)
action is_in
entity Q16583924
action find
entity Q64
relation P6
[ANSWER]
['Q64', 'P6', 'Q16583924']
ASK WHERE { resource:Q64 property:P6 resource:Q16583924 }
No
action is_in
entity José Sánchez Lagomarsino
action find
entity Berlin
relation head of government
['Berlin', 'head of government', 'José Sánchez Lagomarsino']
ASK WHERE { resource:Berlin property:head_of_government resource:José_Sánchez_Lagomarsino }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q386724 Q838948
USER
How many occupations were the main subjects in the work atmost 79 works or works of art ?
(c(Q386724)|c(Q838948),P921,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 79
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?i WHERE { { ?b property:P921 ?i . ?i rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q386724 } UNION { ?b property:P921 ?i . ?i rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q838948 } } GROUP BY ?i } . FILTER ( ?v <= 79 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 79
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?i WHERE { { ?b property:main_subject ?i . ?i rdf:type ontology:occupation . ?b rdf:type ontology:work } UNION { ?b property:main_subject ?i . ?i rdf:type ontology:occupation . ?b rdf:type ontology:work_of_art } } GROUP BY ?i } . FILTER ( ?v <= 79 ) }
[]
occupation work work of art
SYSTEM
101
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q9402 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q16746569 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q386724)|c(Q838948),P921,c(Q12737077))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
value 79
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?i WHERE { { ?b property:P921 ?i . ?i rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q386724 } UNION { ?b property:P921 ?i . ?i rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q838948 } } GROUP BY ?i } . FILTER ( ?v <= 79 ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist actor writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate ninja taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny high school student caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
101
action count
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type work
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
value 79
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?v ) ?i WHERE { { ?b property:main_subject ?i . ?i rdf:type ontology:occupation . ?b rdf:type ontology:work } UNION { ?b property:main_subject ?i . ?i rdf:type ontology:occupation . ?b rdf:type ontology:work_of_art } } GROUP BY ?i } . FILTER ( ?v <= 79 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4064816 Q4410720
P17
Q15617994
USER
Which administrative territories are Svynari or Ananivka present in ?
OR((Q4410720,P17,c(Q15617994)), (Q4064816,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4410720
relation P17
action find
entity Q4064816
relation P17
type Q15617994
{'OR': [['Q4410720', 'P17', {'concept': 'Q15617994'}], ['Q4064816', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q4410720 property:P17 ?y } UNION { resource:Q4064816 property:P17 ?y } } }
Ananivka Svynari
action filter_type
action union
action find
entity Svynari
relation country
action find
entity Ananivka
relation country
type designation for an administrative territorial entity
{'OR': [['Svynari', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ananivka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Svynari property:country ?y } UNION { resource:Ananivka property:country ?y } } }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
OR((Q4410720,P17,c(Q15617994)), (Q4064816,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4410720
relation P17
action find
entity Q4064816
relation P17
type Q15617994
[ANSWER] is Svynari or Ananivka present in
{'OR': [['Q4410720', 'P17', {'concept': 'Q15617994'}], ['Q4064816', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { { resource:Q4410720 property:P17 ?y } UNION { resource:Q4064816 property:P17 ?y } } }
Ukraine
Ukraine is Svynari or Ananivka present in
Ukraine
action filter_type
action union
action find
entity Svynari
relation country
action find
entity Ananivka
relation country
type designation for an administrative territorial entity
{'OR': [['Svynari', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ananivka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Svynari property:country ?y } UNION { resource:Ananivka property:country ?y } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4064816
P463
Q701632
USER
What was Ananivka a member of ?
(Q4064816,P463,c(Q701632))
action filter_type
action find
entity Q4064816
relation P463
type Q701632
['Q4064816', 'P463', {'concept': 'Q701632'}]
SELECT DISTINCT ?s WHERE { resource:Q4064816 property:P463 ?s . ?s rdf:type ontology:Q701632 }
Ananivka
action filter_type
action find
entity Ananivka
relation member of
type municipal council
['Ananivka', 'member of', {'concept': 'municipal council'}]
SELECT DISTINCT ?s WHERE { resource:Ananivka property:member_of ?s . ?s rdf:type ontology:municipal_council }
[]
municipal council
Q16709952
SYSTEM
Oleksandrivka
Q16709952
(Q4064816,P463,c(Q701632))
action filter_type
action find
entity Q4064816
relation P463
type Q701632
Ananivka was a member of [ANSWER]
['Q4064816', 'P463', {'concept': 'Q701632'}]
SELECT DISTINCT ?s WHERE { resource:Q4064816 property:P463 ?s . ?s rdf:type ontology:Q701632 }
Oleksandrivka
Ananivka was a member of Oleksandrivka
Oleksandrivka
action filter_type
action find
entity Ananivka
relation member of
type municipal council
['Ananivka', 'member of', {'concept': 'municipal council'}]
SELECT DISTINCT ?s WHERE { resource:Ananivka property:member_of ?s . ?s rdf:type ontology:municipal_council }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1376
Q7275 Q20667921 Q515
USER
How many states have around 1 french administrative divisions or cities as their county seat ?
(c(Q20667921)|c(Q515),P1376,c(Q7275))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
value 1
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?u ) WHERE { { ?b rdf:type ontology:Q7275 . ?p rdf:type ontology:Q20667921 . ?p property:P1376 ?b } UNION { ?p property:P1376 ?b . ?p rdf:type ontology:Q515 . ?b rdf:type ontology:Q7275 } } GROUP BY ?b } . FILTER ( ?u = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type city
value 1
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?u ) WHERE { { ?b rdf:type ontology:state . ?p rdf:type ontology:type_of_french_administrative_division . ?p property:capital_of ?b } UNION { ?p property:capital_of ?b . ?p rdf:type ontology:city . ?b rdf:type ontology:state } } GROUP BY ?b } . FILTER ( ?u = 1 ) }
[]
state type of french administrative division city
SYSTEM
78
Q178665 Q18285930 Q3456417 Q855044 Q210198 Q133356 Q215530 Q912043 Q203493 Q1574107 Q15864 Q698089 Q210542 Q2114397 Q220110 Q1414395 Q756895 Q49697 Q6500954 Q274488 Q476757 Q1274468 Q234197 Q1108445 Q153080 Q1154540 Q550374 Q19831559 Q1048918 Q783489 Q618399 Q180573 Q216786 Q752662 Q1668970 Q320930 Q849623 Q139670 Q1138904 Q7352 Q9903 Q941881 Q38060 Q844250 Q738144 Q207521 Q1658411 Q157734 Q1415585 Q146328 Q1508143 Q940821 Q248572 Q697084 Q213586 Q11196 Q842091 Q146713 Q427941 Q697837 Q747314 Q307069 Q28278 Q62454 Q112558 Q1192067 Q2372248 Q505503 Q153015 Q846670 Q696242 Q1479726 Q467864 Q212056 Q3041595 Q484104 Q648297 Q149805
(c(Q20667921)|c(Q515),P1376,c(Q7275))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q7275
type Q515
value 1
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q515'}], 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?u ) WHERE { { ?b rdf:type ontology:Q7275 . ?p rdf:type ontology:Q20667921 . ?p property:P1376 ?b } UNION { ?p property:P1376 ?b . ?p rdf:type ontology:Q515 . ?b rdf:type ontology:Q7275 } } GROUP BY ?b } . FILTER ( ?u = 1 ) }
Mitanni German Empire of 1848/1849 Republic of Saint-Malo Bhopal State Erivan Khanate Ukrainian Soviet Socialist Republic Kingdom of Ireland Jin Kingdom of Romania Han Zhao United Kingdom of the Netherlands Grand Duchy of Würzburg Second Brazilian Republic Yogyakarta Sultanate Rohan Republic of South Maluku Kediri Liu Song dynasty Zaire Eastern Wu Democratic Republic of Afghanistan Republic of Bosnia and Herzegovina Srivijaya Kievan Rus' East Francia Later Jin Dynasty South African Republic Oldenburg Suebic Kingdom of Galicia Later Liang dynasty Republic of the Congo South Vietnam Champa Hafsid dynasty Western Qin Cao Wei Oyo Empire Democratic Republic of Armenia Kingdom of Afghanistan Jin dynasty Ming imperium Netherlands New Guinea Gaul Lordship of Ireland United Provinces of the Río de la Plata Abyssinia Kingdom of Sarawak Muscat and Oman Islamic State of Afghanistan Commonwealth of the Philippines Ukrainian State People's Democratic Republic of Ethiopia Sultanate of Maguindanao Duchy of Oldenburg Gondor Republika Srpska Duchy of Normandy Arab Federation Islamic Emirate of Afghanistan Mengjiang Bechuanaland Protectorate Eastern Wei Provisional Government of the Republic of Korea Chen dynasty Republic of Saugeais Min Free State of Oldenburg Cochinchina Kingdom of Saxony Danishmends Reorganized National Government of China Federation of Malaya People's Socialist Republic of Albania Mongolian People's Republic Republic of Iraq United States Army Military Government in Korea Free State of Brunswick Kingdom of Iraq
78
action count
action approx
action union
action find_reverse_tuple_counts
relation capital of
type state
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type state
type city
value 1
[[{'concept': 'type of french administrative division'}, {'concept': 'city'}], 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?u ) WHERE { { ?b rdf:type ontology:state . ?p rdf:type ontology:type_of_french_administrative_division . ?p property:capital_of ?b } UNION { ?p property:capital_of ?b . ?p rdf:type ontology:city . ?b rdf:type ontology:state } } GROUP BY ?b } . FILTER ( ?u = 1 ) }
[]