Simple Question (Direct)
Simple Question
Q15223667
P410
Q4189293
USER
Which is the title held by Henry Curling ?
(Q15223667,P410,c(Q4189293))
action filter_type
action find
entity Q15223667
relation P410
type Q4189293
['Q15223667', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?p WHERE { resource:Q15223667 property:P410 ?p . ?p rdf:type ontology:Q4189293 }
Henry Curling
action filter_type
action find
entity Henry Curling
relation military rank
type title
['Henry Curling', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?p WHERE { resource:Henry_Curling property:military_rank ?p . ?p rdf:type ontology:title }
[]
title
Q12799162
SYSTEM
colonel
Q12799162
(Q15223667,P410,c(Q4189293))
action filter_type
action find
entity Q15223667
relation P410
type Q4189293
The [ANSWER] is the title held by Henry Curling
['Q15223667', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?p WHERE { resource:Q15223667 property:P410 ?p . ?p rdf:type ontology:Q4189293 }
colonel
The colonel is the title held by Henry Curling
colonel
action filter_type
action find
entity Henry Curling
relation military rank
type title
['Henry Curling', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?p WHERE { resource:Henry_Curling property:military_rank ?p . ?p rdf:type ontology:title }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P410
Q4189293 Q502895
USER
Which titles were the military ranks conferred upon approximately the same number of people as that title ?
(c(Q502895),P410,c(Q4189293))
action approx
action find_reverse_tuple_counts
relation P410
type Q4189293
type Q502895
action count
action filter_type
action find
entity Q12799162
relation P410
type Q4189293
[{'concept': 'Q502895'}, 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:P410 ?z . ?z rdf:type ontology:Q4189293 . ?r rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Q12799162 property:P410 ?s . ?s rdf:type ontology:Q4189293 } } . FILTER ( ?x = ?l ) }
action approx
action find_reverse_tuple_counts
relation military rank
type title
type common name
action count
action filter_type
action find
entity colonel
relation military rank
type title
[{'concept': 'common name'}, 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:military_rank ?z . ?z rdf:type ontology:title . ?r rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:colonel property:military_rank ?s . ?s rdf:type ontology:title } } . FILTER ( ?x = ?l ) }
[]
title common name
Q5531647 Q6544388 Q21074079
SYSTEM
general, lieutenant-general, lieutenant-colonel
Q6544459 Q21824635 Q5531647 Q19688860 Q5036511 Q5036510 Q13099720 Q5036514 Q958321 Q3280545 Q2623629 Q2995864 Q12789686 Q279704 Q4896145 Q5531645 Q2608441 Q4283252 Q522908 Q664101 Q351346 Q302220 Q6867301 Q27231602 Q5257199 Q13390324 Q694005 Q2046665 Q10975529 Q7194476 Q4368198 Q1337825 Q111837 Q852661 Q3123081 Q20630751 Q161546 Q16711404 Q10816384 Q24038912 Q14600956 Q7925088 Q1801805 Q20715023 Q16707903 Q3556878 Q330459 Q6544388 Q1083909 Q2429942 Q4114269 Q11707054 Q21074080 Q798793 Q6620231 Q14108394 Q7821620 Q3100519 Q15615347 Q2273272 Q157696 Q186024 Q10813665 Q163500 Q3983433 Q1068364 Q191079 Q7179399 Q1824398 Q2408844 Q4216901 Q4913 Q212624 Q160910 Q7100887 Q214443 Q17113189 Q3646855 Q11141137 Q2210140 Q4683638 Q14601006 Q4995518 Q64909 Q4683633 Q707995 Q6451223 Q24038807 Q12783974 Q20744063 Q4668082 Q4057849 Q2579265 Q2937535 Q2604857 Q2962006 Q2416232 Q23056163 Q24038803 Q1986828 Q506249 Q21074079 Q4774097 Q2984198 Q842486 Q22672397 Q329741 Q975834 Q3100539 Q7179400 Q2631032 Q7453376 Q5096883 Q2388765 Q1950988 Q524750 Q2723352 Q4967196 Q22957305 Q18966441 Q2624074 Q335954 Q3196427 Q3511995 Q4096450 Q3106078 Q680028 Q16932763 Q475482 Q155327 Q4931543 Q165654 Q14703190 Q481303 Q6451204 Q17378201 Q640375 Q679193 Q21074077 Q2278692 Q322749 Q1501733 Q3832151 Q2937293 Q5459333 Q7820253 Q23055498 Q330399 Q2596083 Q20183 Q453825 Q437767 Q158668 Q1278830 Q871240 Q18398926 Q12789710 Q5013228 Q2501631 Q19963503 Q6497929 Q1642186 Q15215042 Q457271 Q12799162 Q15730331 Q664082 Q5770104 Q4902790 Q56923 Q2828191 Q7925090 Q2300063 Q1426568 Q23020967 Q10918728 Q17056579 Q22814748 Q9304299 Q3756713 Q21074326 Q2703373 Q407033 Q1454304 Q5152182 Q157662 Q4698576 Q2111073 Q694613 Q837643 Q661924 Q11912077 Q23011769 Q4891933 Q1331037 Q125168 Q7581909 Q475681 Q156945 Q2961982 Q6738072 Q727229 Q2352637 Q20157601 Q12805632 Q407517 Q837582 Q14595679 Q2673216 Q41685 Q4833532 Q6544462 Q19254761 Q429703 Q3399716 Q131767 Q3479611 Q13416824 Q13543682 Q17347366 Q1463070 Q1501734 Q15811059
(c(Q502895),P410,c(Q4189293))
action approx
action find_reverse_tuple_counts
relation P410
type Q4189293
type Q502895
action count
action filter_type
action find
entity Q12799162
relation P410
type Q4189293
[ANSWERS] were the military ranks conferred upon approximately the same number of people as that title
[{'concept': 'Q502895'}, 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:P410 ?z . ?z rdf:type ontology:Q4189293 . ?r rdf:type ontology:Q502895 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Q12799162 property:P410 ?s . ?s rdf:type ontology:Q4189293 } } . FILTER ( ?x = ?l ) }
lieutenant colonel Admiral of the fleet (USSR) general Oberleutnant zur See captain captain podpolkovnik captain bombardier major general Chief Marshal Rear-Admiral of the United Kingdom Surgeon General of the German Armed Forces corvette captain major General general air marshal Furir General of the Artillery chief warrant officer Fenrik sub-lieutenant captain of Orlovsky 36th infantry regiment Commodore Generał General of the Infantry lieutenant general group captain Pilot officer lieutenant colonel staff sergeant marshal adjutant général de corps d'armée Patrona Großadmiral First sergeant Chorąży Lieutenant Stabsfeldwebel vice admiral lance sergeant First lieutenant brevet colonel vice-admiral first lieutenant lieutenant-general Marshal of the branch Adjutant general Field marshal (Serbia and Yugoslavia) major commandant Chasu commander Maat (military) Field marshal Generalleutnant rear admiral Landman sergeant lieutenant Praporshchik Captain lieutenant commander Kapudan Pasha Generalissimo Petty officer, first class lieutenant Schout-bij-nacht Mushir Gensui legatus Army General Ordnance Sergeant vice admiral captain at sea Polkovnik midshipman Sotnik Admiral Oberfeldwebel commandant Field marshal-lieutenant Admiral seaman Four-star rank Vice-Admiral of the Blue admiral Captain 1st Rank able seaman admiral maréchal de camp Master corporal general of the army Battalion Chief General-in-Chief brigadier rear-admiral Admiral of the Fleet of the Soviet Union Commodore lieutenant-colonel Anthypolochagos colonel admiral of the fleet captain officer candidate Quartermaster General of the Armies of the United States Petty officer, second class naval lieutenant sergeant Chief Petty Officer Komandarm 2nd rank Lieutenant admiral Kombrig Sparapet brigadier general admiral leutnant General of the Cavalry Strategos Generał broni Stožerni general Brigadier Commissioner air vice-marshal Oberwachtmeister lieutenant-colonel Gefreiter colonel general Boatswain's mate constable Fleet admiral General two-star rank corporal Rittmeister Lieutenant General colonel Sergeant First Class petty officer General of the Cavalry Lieutenant Commander captain Flight sergeant field marshal rear admiral Gardes de la Marine Serdar general of the army Chief Master Sergeant of the Air Force Marshal of the Empire private rear admiral Generalstabsarzt divisional general Generalstabsveterinär flight lieutenant Admiral of the Fleet senior sergeant Officer cadet Leutnant zur See Master Sergeant lieutenant colonel General of the Army General der Panzertruppe Binbashi vice admiral Captain general air chief marshal vice admiral Army General General of the Air Force Captain 2nd Rank second lieutenant Vääpeli Korvettenkapitän oberstleutnant Oberst second lieutenant field marshal air commodore Marshal of Poland commander Korporal aircraftman private cornet warrant officer Stabskapitän Squadron Leader Flottillenadmiral wing commander General of the Army Marshal of the Soviet Union Squadron vice-admiral Ship-of-the-line lieutenant rear admiral Chef d'escadron major general Ataman Starszy szeregowy Midshipman vice admiral air marshal Lieutenant Commander ensign Oberleutnant brigadier Mirliva Lieutenant general Vizeadmiral Feldwebel post-captain shogun regimental sergeant major flying officer Commander tribunus legionis lance corporal Generalarzt Fähnrich zur See
General, lieutenant-general and lieutenant-colonel were the military ranks conferred upon approximately the same number of people as that title
general lieutenant-general lieutenant-colonel
action approx
action find_reverse_tuple_counts
relation military rank
type title
type common name
action count
action filter_type
action find
entity colonel
relation military rank
type title
[{'concept': 'common name'}, 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?r ) AS ?x ) WHERE { ?r property:military_rank ?z . ?z rdf:type ontology:title . ?r rdf:type ontology:common_name } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:colonel property:military_rank ?s . ?s rdf:type ontology:title } } . FILTER ( ?x = ?l ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q21074079
P410 P21
Q502895
USER
Which people ranks lieutenant-colonel in military ranking and have the gender as male ?
AND((c(Q502895),P410,Q21074079), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q21074079
relation P410
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P410', 'Q21074079'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P410 resource:Q21074079 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
male lieutenant-colonel
action filter_type
action intersection
action find_reverse
entity lieutenant-colonel
relation military rank
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'military rank', 'lieutenant-colonel'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:military_rank resource:lieutenant-colonel . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
common name
Q2831179 Q21806388 Q44119 Q2735867 Q2962733 Q23014842 Q21042637 Q21839572 Q23657245 Q3083265
SYSTEM
Some of them are Albert Fossey-François, Paul Petit, François de Chabaud-Latour, Dimitri Amilakhvari, Cherif Cadi, Jean Charles Eloy Remier, Henri Morel, Gabriel Mercier, Paul Saglio, François-Anastase Adam de La Pommeraye
Q23655863 Q21839572 Q23014842 Q5721 Q23657245 Q2976868 Q21806388 Q3167533 Q21042637 Q2735867 Q3083265 Q3131657 Q2962733 Q21916850 Q209181 Q2831179 Q3387740 Q49452 Q44119 Q241944 Q2421623
AND((c(Q502895),P410,Q21074079), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q21074079
relation P410
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] rank lieutenant-colonel in military ranking and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P410', 'Q21074079'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?e WHERE { ?e property:P410 resource:Q21074079 . ?e property:P21 resource:Q6581097 . ?e rdf:type ontology:Q502895 }
Paul de Buchère de l'Epinois Gabriel Mercier Jean Charles Eloy Remier Philippe Pétain Paul Saglio Claude Alphandéry Paul Petit Jean-Marie Aberjoux Henri Morel Dimitri Amilakhvari François-Anastase Adam de La Pommeraye Henri Moll Cherif Cadi Émile Nicq Paul Pau Albert Fossey-François Pierre de Villiers Pierre Clostermann François de Chabaud-Latour Raoul Salan Théobald Dalmas de Lapérouse
Albert Fossey-François, Paul Petit, François de Chabaud-Latour, Dimitri Amilakhvari, Cherif Cadi, Jean Charles Eloy Remier, Henri Morel, Gabriel Mercier, Paul Saglio and François-Anastase Adam de La Pommeraye rank lieutenant-colonel in military ranking and have the gender as male
Albert Fossey-François Paul Petit François de Chabaud-Latour Dimitri Amilakhvari Cherif Cadi Jean Charles Eloy Remier Henri Morel Gabriel Mercier Paul Saglio François-Anastase Adam de La Pommeraye
action filter_type
action intersection
action find_reverse
entity lieutenant-colonel
relation military rank
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'military rank', 'lieutenant-colonel'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?e WHERE { ?e property:military_rank resource:lieutenant-colonel . ?e property:gender resource:male . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q44119
P40
Q502895
USER
How many people have François de Chabaud-Latour as a child ?
(c(Q502895),P40,Q44119)
action count
action filter_type
action find_reverse
entity Q44119
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q44119']
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P40 resource:Q44119 . ?r rdf:type ontology:Q502895 }
François de Chabaud-Latour
action count
action filter_type
action find_reverse
entity François de Chabaud-Latour
relation child
type common name
[{'concept': 'common name'}, 'child', 'François de Chabaud-Latour']
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:child resource:François_de_Chabaud-Latour . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q2853987
(c(Q502895),P40,Q44119)
action count
action filter_type
action find_reverse
entity Q44119
relation P40
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q44119']
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:P40 resource:Q44119 . ?r rdf:type ontology:Q502895 }
Antoine Georges François de Chabaud-Latour
1
action count
action filter_type
action find_reverse
entity François de Chabaud-Latour
relation child
type common name
[{'concept': 'common name'}, 'child', 'François de Chabaud-Latour']
SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { ?r property:child resource:François_de_Chabaud-Latour . ?r rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q963150
P1303
Q34379 Q502895
USER
How many musical instruments can around the same number of people perform with as tenor guitar ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q963150
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:Q963150 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?t = ?p ) }
tenor guitar
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tenor guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:tenor_guitar property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?t = ?p ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q963150
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:Q963150 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?t = ?p ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity tenor guitar
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?p ) WHERE { resource:tenor_guitar property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?t = ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44119
P22
Q502895
USER
Which male person was the parent of François de Chabaud-Latour ?
(Q44119,P22,c(Q502895))
action filter_type
action find
entity Q44119
relation P22
type Q502895
['Q44119', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q44119 property:P22 ?k . ?k rdf:type ontology:Q502895 }
François de Chabaud-Latour
action filter_type
action find
entity François de Chabaud-Latour
relation father
type common name
['François de Chabaud-Latour', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:François_de_Chabaud-Latour property:father ?k . ?k rdf:type ontology:common_name }
[]
common name
Q2853987
SYSTEM
Antoine Georges François de Chabaud-Latour
Q2853987
(Q44119,P22,c(Q502895))
action filter_type
action find
entity Q44119
relation P22
type Q502895
[ANSWER] was the parent of François de Chabaud-Latour
['Q44119', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q44119 property:P22 ?k . ?k rdf:type ontology:Q502895 }
Antoine Georges François de Chabaud-Latour
Antoine Georges François de Chabaud-Latour was the parent of François de Chabaud-Latour
Antoine Georges François de Chabaud-Latour
action filter_type
action find
entity François de Chabaud-Latour
relation father
type common name
['François de Chabaud-Latour', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:François_de_Chabaud-Latour property:father ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q920653
Q502895
USER
And how about Frédéric Belaubre?
(Q920653,P22,c(Q502895))
action filter_type
action find
entity Q920653
relation P22
type Q502895
['Q920653', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q920653 property:P22 ?s . ?s rdf:type ontology:Q502895 }
Frédéric Belaubre
action filter_type
action find
entity Frédéric Belaubre
relation father
type common name
['Frédéric Belaubre', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Frédéric_Belaubre property:father ?s . ?s rdf:type ontology:common_name }
[]
common name
Q19951836
SYSTEM
Georges Belaubre
Q19951836
(Q920653,P22,c(Q502895))
action filter_type
action find
entity Q920653
relation P22
type Q502895
[ANSWER]
['Q920653', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q920653 property:P22 ?s . ?s rdf:type ontology:Q502895 }
Georges Belaubre
Georges Belaubre
action filter_type
action find
entity Frédéric Belaubre
relation father
type common name
['Frédéric Belaubre', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Frédéric_Belaubre property:father ?s . ?s rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5531647
P410
Q502895
USER
How many people holds general ?
(c(Q502895),P410,Q5531647)
action count
action filter_type
action find_reverse
entity Q5531647
relation P410
type Q502895
[{'concept': 'Q502895'}, 'P410', 'Q5531647']
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:P410 resource:Q5531647 . ?g rdf:type ontology:Q502895 }
general
action count
action filter_type
action find_reverse
entity general
relation military rank
type common name
[{'concept': 'common name'}, 'military rank', 'general']
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:military_rank resource:general . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q974089 Q20682472
(c(Q502895),P410,Q5531647)
action count
action filter_type
action find_reverse
entity Q5531647
relation P410
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P410', 'Q5531647']
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:P410 resource:Q5531647 . ?g rdf:type ontology:Q502895 }
Georges Vanier Jonathan Vance
2
action count
action filter_type
action find_reverse
entity general
relation military rank
type common name
[{'concept': 'common name'}, 'military rank', 'general']
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { ?g property:military_rank resource:general . ?g rdf:type ontology:common_name }
[]